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()
99 static bool FindAgentNameAndOptions(char* options, in FindAgentNameAndOptions() argument
103 *name = options; in FindAgentNameAndOptions()
104 char* rest = options; in FindAgentNameAndOptions()
117 static void SetIsJVM(const char* options) { in SetIsJVM() argument
118 SetJVM(strncmp(options, "jvm", 3) == 0); in SetIsJVM()
123 extern "C" JNIEXPORT jint JNICALL Agent_OnLoad(JavaVM* vm, char* options, void* reserved) { in Agent_OnLoad() argument
126 if (!FindAgentNameAndOptions(options, &name_option, &remaining_options)) { in Agent_OnLoad()
127 printf("Unable to find agent name in options: %s\n", options); in Agent_OnLoad()
147 extern "C" JNIEXPORT jint JNICALL Agent_OnAttach(JavaVM* vm, char* options, void* reserved) { in Agent_OnAttach() argument
150 if (!FindAgentNameAndOptions(options, &name_option, &remaining_options)) { in Agent_OnAttach()
151 printf("Unable to find agent name in options: %s\n", options); in Agent_OnAttach()