Lines Matching refs:options

42 /* How the options get to OnLoad: */
64 * Options set through the OnLoad options string. All of these values
83 static char *names; /* strings derived from OnLoad options */
111 * options and set up a simple initial event callbacks for JVMTI events.
197 Agent_OnLoad(JavaVM *vm, char *options, void *reserved)
210 ERROR_MESSAGE(("Cannot load this JVM TI agent twice, check your java command line for duplicate jdwp options."));
289 /* Parse input options */
290 if (!parseOptions(options)) {
296 LOG_MISC(("Onload: %s", options));
946 " then it will be added to the end of the options supplied via the\n"
970 add_to_options(char *options, char *new_options)
979 originalLength = strlen(options);
986 (void)strcpy(combinedOptions, options);
1020 parseOptions(char *options)
1035 if (options == NULL) {
1036 options = "";
1040 if ((strcmp(options, "help")) == 0) {
1050 * Add environmentally specified options.
1054 options = add_to_options(options, envOptions);
1055 if ( options==NULL ) {
1056 EXIT_ERROR(AGENT_ERROR_OUT_OF_MEMORY,"options");
1062 * never be longer than the original options string itself.
1063 * Also keep a copy of the options in gdata->options.
1065 length = (int)strlen(options);
1066 gdata->options = jvmtiAllocate(length + 1);
1067 if (gdata->options == NULL) {
1068 EXIT_ERROR(AGENT_ERROR_OUT_OF_MEMORY,"options");
1070 (void)strcpy(gdata->options, options);
1073 EXIT_ERROR(AGENT_ERROR_OUT_OF_MEMORY,"options");
1085 str = options;
1288 ERROR_MESSAGE(("JDWP option syntax error: %s=%s", AGENTLIB, options));
1292 ERROR_MESSAGE(("JDWP %s: %s=%s", errmsg, AGENTLIB, options));
1296 ERROR_MESSAGE(("JDWP %s: %s=%s", "invalid option", AGENTLIB, options));