Searched refs:argv (Results 51 - 75 of 174) sorted by relevance

1234567

/frameworks/rs/tests/cppallocation/
H A Dcompute.cpp9 int main(int argc, char** argv) argument
15 int tempNumElems = atoi(argv[1]);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A DTestBenchMultipleInstance.c25 #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 Dscreencap.cpp89 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 Dstream.cpp301 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 DslesTestEqFdPath.cpp277 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 DslesTestEqOutputPath.cpp281 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 DslesTestBassBoostPath.cpp248 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 DslesTestVirtualizerPath.cpp250 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 DslesTestSendToPresetReverb.cpp327 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 DslesTestLoopUri.cpp289 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 DslesTestPlayUri.cpp323 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 DslesTestPlayStreamType.cpp235 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 Dip-up-vpn.c67 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 Drtp_test.cpp37 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 Dbootanimation_main.cpp39 int main(int argc, char** argv) argument
/frameworks/wilhelm/tests/listening/
H A DseekTorture.c28 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 Dgetch.c56 int main(int argc, char *argv[])
/frameworks/wilhelm/tools/mphtogen/
H A Dmphtogen.c52 int main(int argc, char **argv) argument
/frameworks/base/tools/validatekeymaps/
H A DMain.cpp128 int main(int argc, const char** argv) { argument
136 if (!validateFile(argv[i])) {
/frameworks/rs/tests/cppstrided/
H A Dcompute.cpp9 int main(int argc, char** argv) argument
16 int tempStride = atoi(argv[1]);
/frameworks/webview/chromium/tools/
H A Dmemreport.py130 def main(argv):
135 main(sys.argv)
/frameworks/base/tools/aidl/
H A Doptions_test.cpp9 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 Dbuild_font.py64 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 Dbackup.cpp659 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 Dcommands.c677 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...]

Completed in 458 milliseconds

1234567