/sdk/emulator/opengl/host/renderer/ |
D | main.cpp | 44 int main(int argc, char *argv[]) in main() argument 57 if (!strcmp(argv[i], "-windowid")) { in main() 58 if (++i >= argc || sscanf(argv[i],"%d", &iWindowId) != 1) { in main() 59 printUsage(argv[0]); in main() 62 else if (!strncmp(argv[i], "-x", 2)) { in main() 63 if (++i >= argc || sscanf(argv[i],"%d", &winX) != 1) { in main() 64 printUsage(argv[0]); in main() 67 else if (!strncmp(argv[i], "-y", 2)) { in main() 68 if (++i >= argc || sscanf(argv[i],"%d", &winY) != 1) { in main() 69 printUsage(argv[0]); in main() [all …]
|
/sdk/emulator/opengl/shared/OpenglOsUtils/ |
D | osProcessUnix.cpp | 41 char **argv = NULL; in buildArgList() local 52 if (!argv) { \ in buildArgList() 54 argv = (char **)malloc(argvSize * sizeof(char *)); \ in buildArgList() 58 argv = (char **)realloc(argv, argvSize * sizeof(char *)); \ in buildArgList() 60 argv[nArgs-1] = t; \ in buildArgList() 91 return argv; in buildArgList() 115 char **argv = buildArgList(command); in start_process() local 116 if (!argv) { in start_process() 119 execvp(argv[0], argv); in start_process()
|
/sdk/emulator/opengl/tests/translator_tests/GLES_V2/ |
D | triangleV2.cpp | 276 char **argv = (char **)malloc(argvSize * sizeof(char *)); in parseCmdLine() local 282 argv[(*argc)++] = strdup("playdump"); in parseCmdLine() 293 argv = (char **)realloc(argv, argvSize * sizeof(char *)); in parseCmdLine() 295 argv[(*argc)++] = &cmdLine[argStart]; in parseCmdLine() 304 argv[(*argc)++] = &cmdLine[argStart]; in parseCmdLine() 306 return argv; in parseCmdLine() 313 int main(int argc, char **argv) in WinMain() 318 char **argv = parseCmdLine(lpCmdLine, &argc); in WinMain() local 324 if (!strcmp(argv[i],"-vs")) { in WinMain() 326 printUsage(argv[0]); in WinMain() [all …]
|
/sdk/find_java/src/source/ |
D | find_java_exe.cpp | 62 int main(int argc, char* argv[]) { in main() argument 71 if (strncmp(argv[i], "-t", 2) == 0) { in main() 75 } else if (strncmp(argv[i], "-d", 2) == 0) { in main() 78 } else if (strncmp(argv[i], "-s", 2) == 0) { in main() 81 } else if (strncmp(argv[i], "-v", 2) == 0) { in main() 84 } else if (strcmp(argv[i], "-w") == 0 || strcmp(argv[i], "-javaw") == 0) { in main()
|
/sdk/emulator/opengl/host/tools/emugen/ |
D | getopt.c | 13 int getopt(int argc, char* const argv[], const char* ostr) { in getopt() argument 20 const char* arg = argv[optind]; in getopt() 46 (void)fprintf(stderr, "%s: illegal option -- %c\n", argv[0]); in getopt() 62 optarg = (char *)argv[optind]; in getopt() 72 argv[0], optopt); in getopt()
|
D | main.cpp | 41 int main(int argc, char *argv[]) in main() argument 50 while((c = getopt(argc, argv, "TE:D:i:hW:")) != -1) { in main() 59 usage(argv[0]); in main() 75 usage(argv[0]); in main() 81 fprintf(stderr, "Usage: %s [options] <base name> \n", argv[0]); in main() 93 std::string baseName = std::string(argv[optind]); in main()
|
D | getopt.h | 12 int getopt(int argc, char* const argv[], const char* ostr);
|
/sdk/emulator/mksdcard/src/source/ |
D | mksdcard.c | 221 int main( int argc, char** argv ) in main() argument 230 for ( ; argc > 1 && argv[1][0] == '-'; argc--, argv++ ) in main() 232 char* arg = argv[1] + 1; in main() 239 argv++; in main() 242 arg = argv[1]; in main() 255 disk_size = strtoll( argv[1], &end, 10 ); in main() 257 fprintf(stderr, "Invalid argument size '%s'\n\n", argv[1]); in main() 269 fprintf(stderr, "Invalid argument: size '%s' is too small.\n\n", argv[1]); in main() 272 fprintf(stderr, "Invalid argument: size '%s' is too large.\n\n", argv[1]); in main() 282 f = fopen( argv[2], "wb" ); in main() [all …]
|
/sdk/find_lock/ |
D | find_lock_exe.cpp | 28 int main(int argc, char* argv[]) { in main() argument 36 if (strncmp(argv[i], "-d", 2) == 0) { in main() 40 dirPath.set(argv[i]); in main()
|
/sdk/eclipse/scripts/ |
D | collect_sources_for_sdk.py | 62 """ % sys.argv[0] 70 def parseArgs(argv): argument 75 opts, args = getopt.getopt(argv[1:], 170 p = parseArgs(sys.argv)
|
D | gen_icon.py | 35 …Usage: %s <file_name> <size> <circle-color> <border-color> <letter-color> <letter>""" % sys.argv[0] 71 main(sys.argv[1:])
|
/sdk/avdlauncher/src/source/ |
D | avdlauncher.c | 127 int main(int argc, char **argv) { in main() argument 128 _enable_dprintf = argc > 1 && strcmp(argv[1], "-v") == 0; in main()
|
/sdk/sdklauncher/src/source/ |
D | sdklauncher.c | 147 int main(int argc, char **argv) { in main() argument 148 _enable_dprintf = argc > 1 && strcmp(argv[1], "-v") == 0; in main()
|
/sdk/emulator/opengl/tests/ut_renderer/ |
D | ut_renderer.cpp | 28 int main(int argc, char **argv) in main() argument
|
/sdk/emulator/opengl/tests/emulator_test_renderer/ |
D | main.cpp | 34 int main(int argc, char *argv[]) in WinMain()
|
/sdk/emulator/opengl/tests/translator_tests/GLES_CM/ |
D | triangleCM.cpp | 133 int main(int argc, char **argv) in WinMain()
|