/frameworks/rs/tests/cppallocation/ |
H A D | compute.cpp | 9 int main(int argc, char** argv) argument 15 int tempNumElems = atoi(argv[1]);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | TestBenchMultipleInstance.c | 25 #define DEBUG(argv) printf argv 60 int main(int argc, char **argv) argument 76 if ( argc > 1 && strcmp(argv[1], "-T") == 0 ) 86 argv[0])); 106 if ( strncmp(argv[i], "-N", 2) == 0 ) 108 maxNumPics = (u32)atoi(argv[i]+2); 111 else if ( strncmp(argv[i], "-O", 2) == 0 ) 113 strcpy(outFileName, argv[i]+2); 116 else if ( strcmp(argv[ [all...] |
/frameworks/base/cmds/screencap/ |
H A D | screencap.cpp | 89 int main(int argc, char** argv) argument 93 const char* pname = argv[0]; 97 while ((c = getopt(argc, argv, "phd:")) != -1) { 112 argv += optind; 118 const char* fn = argv[0];
|
/frameworks/av/cmds/stagefright/ |
H A D | stream.cpp | 301 int main(int argc, char **argv) { argument 307 fprintf(stderr, "Usage: %s filename\n", argv[0]); 356 size_t len = strlen(argv[1]); 357 if ((!usemp4 && len >= 3 && !strcasecmp(".ts", &argv[1][len - 3])) || 359 (!strcasecmp(".mp4", &argv[1][len - 4]) 360 || !strcasecmp(".3gp", &argv[1][len- 4]) 361 || !strcasecmp(".3g2", &argv[1][len- 4])))) { 362 int fd = open(argv[1], O_RDONLY); 365 fprintf(stderr, "Failed to open file '%s'.", argv[1]); 373 source = new MyConvertingStreamSource(argv[ [all...] |
/frameworks/wilhelm/tests/examples/ |
H A D | slesTestEqFdPath.cpp | 277 int main(int argc, char* const argv[]) argument 279 const char *programName = argv[0]; 293 if (argc >= 2 && !strcmp(argv[1], "--always-on")) { 296 ++argv; 325 TestEQPathFromFD(sl, argv[1], (SLAint64)atoi(argv[2]), 328 TestEQPathFromFD(sl, argv[1], (SLAint64)atoi(argv[2]), (SLAint64)atoi(argv[3]), alwaysOn); 331 TestEQPathFromFD(sl, argv[ [all...] |
H A D | slesTestEqOutputPath.cpp | 281 int main(int argc, char* const argv[]) argument 283 const char *programName = argv[0]; 297 if (argc >= 2 && !strcmp(argv[1], "--always-on")) { 300 ++argv; 326 TestEQPathFromFD(sl, argv[1], (SLAint64)atoi(argv[2]), 329 TestEQPathFromFD(sl, argv[1], (SLAint64)atoi(argv[2]), (SLAint64)atoi(argv[3]), alwaysOn); 332 TestEQPathFromFD(sl, argv[ [all...] |
H A D | slesTestBassBoostPath.cpp | 248 int main(int argc, char* const argv[]) argument 250 const char *programName = argv[0]; 264 if (argc >= 2 && !strcmp(argv[1], "--always-on")) { 267 ++argv; 287 // intentionally not checking that argv[2], the bassboost strength, is between 0 and 1000 288 TestBassBoostPathFromFD(sl, argv[1], (int16_t)atoi(argv[2]), alwaysOn);
|
H A D | slesTestVirtualizerPath.cpp | 250 int main(int argc, char* const argv[]) argument 252 const char *programName = argv[0]; 266 if (argc >= 2 && !strcmp(argv[1], "--always-on")) { 269 ++argv; 289 // intentionally not checking that argv[2], the virtualizer strength, is between 0 and 1000 290 TestVirtualizerPathFromFD(sl, argv[1], (int16_t)atoi(argv[2]), alwaysOn);
|
H A D | slesTestSendToPresetReverb.cpp | 327 int main(int argc, char* const argv[]) argument 329 const char *programName = argv[0]; 347 const char *arg = argv[i]; 380 TestSendToPresetReverb(sl, argv[i], atoi(argv[i+1]), (SLmillibel)atoi(argv[i+2]), 381 (SLmillibel)atoi(argv[i+3]), alwaysOn, useFd, loop);
|
/frameworks/wilhelm/tests/mimeUri/ |
H A D | slesTestLoopUri.cpp | 289 int main(int argc, char* const argv[]) argument 294 fprintf(stdout, "OpenSL ES test %s: exercises SLPlayItf, SLSeekItf ", argv[0]); 299 fprintf(stdout, "Usage: \n\t%s path \n\t%s url\n", argv[0], argv[0]); 301 argv[0], argv[0]); 315 TestLoopUri(sl, argv[1]);
|
H A D | slesTestPlayUri.cpp | 323 int main(int argc, char* const argv[]) argument 328 fprintf(stdout, "OpenSL ES test %s: exercises SLPlayItf, SLVolumeItf ", argv[0]); 333 fprintf(stdout, "Usage: %s path \n\t%s url\n", argv[0], argv[0]); 335 argv[0], argv[0]); 349 TestPlayUri(sl, argv[1]);
|
H A D | slesTestPlayStreamType.cpp | 235 int main(int argc, char* const argv[]) argument 241 argv[0]); 246 fprintf(stdout, "Usage: \t%s url stream_type\n", argv[0]); 248 fprintf(stdout, "Example: \"%s /sdcard/my.mp3 5\" \n", argv[0]); 265 TestStreamTypeConfiguration(sl, argv[1], (SLint32)atoi(argv[2]));
|
/frameworks/native/cmds/ip-up-vpn/ |
H A D | ip-up-vpn.c | 67 int main(int argc, char **argv) argument 77 fprintf(state, "%s\n", argv[1]); 78 fprintf(state, "%s/32\n", argv[4]);
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | rtp_test.cpp | 37 int main(int argc, char **argv) { argument 46 rtpFilename = argv[1]; 47 rtcpFilename = argv[2]; 49 fprintf(stderr, "usage: %s [ rtpFilename rtcpFilename ]\n", argv[0]);
|
/frameworks/base/cmds/bootanimation/ |
H A D | bootanimation_main.cpp | 39 int main(int argc, char** argv) argument
|
/frameworks/wilhelm/tests/listening/ |
H A D | seekTorture.c | 28 int main(int argc, char **argv) argument 31 fprintf(stderr, "usage: %s file.wav file.map\n", argv[0]); 62 locator_uri.URI = (SLchar *) argv[1]; 98 FILE *fp_map = fopen(argv[2], "r");
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | getch.c | 56 int main(int argc, char *argv[])
|
/frameworks/wilhelm/tools/mphtogen/ |
H A D | mphtogen.c | 52 int main(int argc, char **argv) argument
|
/frameworks/base/tools/validatekeymaps/ |
H A D | Main.cpp | 128 int main(int argc, const char** argv) { argument 136 if (!validateFile(argv[i])) {
|
/frameworks/rs/tests/cppstrided/ |
H A D | compute.cpp | 9 int main(int argc, char** argv) argument 16 int tempStride = atoi(argv[1]);
|
/frameworks/webview/chromium/tools/ |
H A D | memreport.py | 130 def main(argv): 135 main(sys.argv)
|
/frameworks/base/tools/aidl/ |
H A D | options_test.cpp | 9 const char* argv[8]; member in struct:Answer 60 while (answer.argv[argc]) { 67 int result = parse_options(argc, answer.argv, &options); 140 /* argv */ { "test", "-i/moof", "-I/blah", "-Ibleh", "-imoo", "inputFileName.aidl_cpp", NULL, NULL }, 152 /* argv */ { "test", "inputFileName.aidl_cpp", "-oh", "outputH", NULL, NULL, NULL, NULL }, 164 /* argv */ { "test", "inputFileName.aidl_cpp", "-ocpp", "outputCPP", NULL, NULL, NULL, NULL }, 176 /* argv */ { "test", "inputFileName.aidl_cpp", "-ojava", "outputJava", NULL, NULL, NULL, NULL }, 188 /* argv */ { "test", "inputFileName.aidl_cpp", "-oh", "outputH", "-ocpp", "outputCPP", "-ojava", "outputJava" }, 200 /* argv */ { "test", "inputFileName.aidl_cpp", "-oh", "outputH", "-oh", "outputH1", NULL, NULL }, 212 /* argv */ { "tes 238 main(int argc, const char** argv) argument [all...] |
/frameworks/base/tools/layoutlib/rename_font/ |
H A D | build_font.py | 64 def main(argv): 65 if len(argv) < 2: 67 for directory in argv: 71 dest_dir = argv[-1] 72 src_dirs = argv[:-1] 224 main(sys.argv[1:])
|
/frameworks/native/cmds/rawbu/ |
H A D | backup.cpp | 659 int main (int argc, char **argv) argument 664 fprintf(stderr, "error -- %s must run as root\n", argv[0]); 670 android::show_help(argv[0]); 674 if (0 == strcmp(argv[1], "restore")) { 676 } else if (0 == strcmp(argv[1], "help")) { 677 android::show_help(argv[0]); 679 } else if (0 != strcmp(argv[1], "backup")) { 680 fprintf(stderr, "Unknown command: %s\n", argv[1]); 681 android::show_help(argv[0]); 692 ret = getopt(argc, argv, "a [all...] |
/frameworks/native/cmds/installd/ |
H A D | commands.c | 677 char* argv[7]; local 678 argv[0] = (char*) PATCHOAT_BIN; 679 argv[1] = (char*) patched_image_location_arg; 680 argv[2] = (char*) no_lock_arg; 681 argv[3] = instruction_set_arg; 682 argv[4] = output_oat_fd_arg; 683 argv[5] = input_oat_fd_arg; 684 argv[6] = NULL; 686 execv(PATCHOAT_BIN, (char* const *)argv); 799 char* argv[ local [all...] |