Lines Matching refs:options
36 jint OnLoad(JavaVM* vm, char* options, void* reserved);
40 jint OnLoad(JavaVM* vm, char* options, void* reserved);
44 jint OnLoad(JavaVM* vm, char* options, void* reserved);
49 using OnLoad = jint (*)(JavaVM* vm, char* options, void* reserved);
50 using OnAttach = jint (*)(JavaVM* vm, char* options, void* reserved);
60 char* options ATTRIBUTE_UNUSED, in MinimalOnLoad()
98 static bool FindAgentNameAndOptions(char* options, in FindAgentNameAndOptions() argument
102 *name = options; in FindAgentNameAndOptions()
103 char* rest = options; in FindAgentNameAndOptions()
116 static void SetIsJVM(const char* options) { in SetIsJVM() argument
117 SetJVM(strncmp(options, "jvm", 3) == 0); in SetIsJVM()
122 extern "C" JNIEXPORT jint JNICALL Agent_OnLoad(JavaVM* vm, char* options, void* reserved) { in Agent_OnLoad() argument
125 if (!FindAgentNameAndOptions(options, &name_option, &remaining_options)) { in Agent_OnLoad()
126 printf("Unable to find agent name in options: %s\n", options); in Agent_OnLoad()
146 extern "C" JNIEXPORT jint JNICALL Agent_OnAttach(JavaVM* vm, char* options, void* reserved) { in Agent_OnAttach() argument
149 if (!FindAgentNameAndOptions(options, &name_option, &remaining_options)) { in Agent_OnAttach()
150 printf("Unable to find agent name in options: %s\n", options); in Agent_OnAttach()