Lines Matching refs:argv
277 BOOL getCommandLine(const char* argv[], char* command, unsigned int maxSize)
284 for (i = 0; (argv[i] != NULL); i++)
286 debug(" argv[%d]: %s", i, argv[i]);
290 while ((argv[i] != NULL) && !overflow)
292 const char* curarg = argv[i++];
396 int start(const char* instanceDir, char* argv[])
403 if (getCommandLine(argv, command, COMMAND_SIZE))
501 int launch(char* argv[])
507 if (getCommandLine(argv, command, COMMAND_SIZE))
535 int run(char* argv[])
546 if (getCommandLine(argv, command, COMMAND_SIZE))
579 int main(int argc, char* argv[])
588 debug(" argv[%d] = '%s'", i, argv[i]);
599 subcommand = argv[1];
603 instanceDir = argv[2];
604 argv += 3;
605 returnCode = start(instanceDir, argv);
609 instanceDir = argv[2];
610 argv += 3;
615 argv += 2;
616 returnCode = launch(argv);
620 argv += 2;
621 returnCode = run(argv);