Searched refs:argv (Results 76 - 100 of 195) sorted by relevance

12345678

/frameworks/compile/libbcc/runtime/test/timing/
H A Dnegdi2.c18 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[])
H A Durimime.c30 int main(int argc, char **argv) argument
33 fprintf(stderr, "usage: %s URI\n", argv[0]);
59 loc_uri.URI = (SLchar *) argv[1];
/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/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/wilhelm/tests/examples/
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);
H A DslesTestFeedback.cpp174 int main(int argc, char **argv) argument
179 char *arg = argv[i];
187 fprintf(stderr, "%s: unusual receive buffer queue size (%u buffers)\n", argv[0],
194 fprintf(stderr, "%s: unusual transmit buffer queue size (%u buffers)\n", argv[0],
201 fprintf(stderr, "%s: unusual buffer size (%u frames)\n", argv[0],
208 fprintf(stderr, "%s: unusual channel count ignored (%u)\n", argv[0],
227 fprintf(stderr, "%s: unusual sample rate (%u Hz)\n", argv[0],
235 fprintf(stderr, "%s: unknown option %s\n", argv[0], arg);
239 fprintf(stderr, "usage: %s -r# -t# -f# -s# -c#\n", argv[0]);
H A DslesTestEffectCapabilities.cpp154 int main(int argc, char* const argv[]) argument
159 fprintf(stdout, "OpenSL ES test %s: exercises SLAndroidEffectCapabilitiesItf.\n", argv[0]);
/frameworks/wilhelm/tests/mimeUri/
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]));
H A DslesTestGetPositionUri.cpp314 int main(int argc, char* const argv[]) argument
319 fprintf(stdout, "OpenSL ES test %s: exercises SLPlayItf", argv[0]);
324 fprintf(stdout, "Usage: %s path \n\t%s url\n", argv[0], argv[0]);
326 argv[0], argv[0]);
340 TestGetPositionUri(sl, argv[1]);
H A DslesTestManyPlayers.cpp313 int main(int argc, char* const argv[]) argument
315 fprintf(stdout, "OpenSL ES test %s: creates and destroys as many ", argv[0]);
319 fprintf(stdout, "Usage: %s path \n\t%s url\n", argv[0], argv[0]);
321 argv[0], argv[0]);
325 TestSetup(argv[1]);
H A DslesTest_playStates.cpp204 int main(int argc, char* const argv[]) argument
210 argv[0]);
217 fprintf(stdout, "Usage: \t%s url\n", argv[0]);
218 fprintf(stdout, "Example: \"%s /sdcard/my.mp3\"\n", argv[0]);
234 TestPlayUri(sl, argv[1]);
/frameworks/base/cmds/rawbu/
H A Dbackup.cpp653 int main (int argc, char **argv) argument
658 fprintf(stderr, "error -- %s must run as root\n", argv[0]);
664 android::show_help(argv[0]);
668 if (0 == strcmp(argv[1], "restore")) {
670 } else if (0 == strcmp(argv[1], "help")) {
671 android::show_help(argv[0]);
673 } else if (0 != strcmp(argv[1], "backup")) {
674 fprintf(stderr, "Unknown command: %s\n", argv[1]);
675 android::show_help(argv[0]);
686 ret = getopt(argc, argv, "a
[all...]
/frameworks/av/cmds/stagefright/
H A Drecordvideo.cpp152 int main(int argc, char **argv) { argument
170 while ((res = getopt(argc, argv, "b:c:f:i:n:w:t:l:p:v:hs")) >= 0) {
182 usage(argv[0]);
233 usage(argv[0]);
247 usage(argv[0]);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A DEvaluationTestBench.c38 int main(int argc, char **argv) argument
60 printf( "Usage: %s file.h264\n", argv[0]);
75 finput = fopen(argv[argc-1], "rb");
/frameworks/native/opengl/tests/angeles/
H A Dapp-linux.cpp187 int main(int argc, char *argv[]) argument
190 printf("usage: %s [samples]\n", argv[0]);
192 samples = atoi( argv[1] );
/frameworks/wilhelm/tests/sandbox/streamSource/
H A DslesTestPlayStream.cpp379 int main(int argc, char* const argv[]) argument
385 argv[0]);
391 fprintf(stdout, "Usage: %s path \n", argv[0]);
393 argv[0], argv[0]);
407 TestPlayStream(sl, argv[1]);
/frameworks/av/media/libstagefright/id3/
H A Dtestid3.cpp154 int main(int argc, char **argv) { argument
160 scan(argv[i]);
/frameworks/base/core/java/com/android/internal/os/
H A DZygoteInit.java105 * Invokes a static "main(argv[]) method on class "className".
111 * @param argv Argument vector for main()
114 String className, String[] argv)
149 throw new ZygoteInit.MethodAndArgsCaller(m, argv);
521 public static void main(String argv[]) { argument
540 if (argv.length != 2) {
541 throw new RuntimeException(argv[0] + USAGE_STRING);
544 if (argv[1].equals("start-system-server")) {
546 } else if (!argv[1].equals("")) {
547 throw new RuntimeException(argv[
113 invokeStaticMain(ClassLoader loader, String className, String[] argv) argument
[all...]
/frameworks/base/tools/aapt/
H A Dprintapk.cpp25 main(int argc, char** argv) argument
43 filename = argv[1];
/frameworks/compile/libbcc/lib/Support/
H A Dsha1.c417 int main(int argc, char** argv) argument
441 if (argv[i][0] == '-')
443 switch (argv[i][1])
447 binary_output_file = argv[i];
458 syntax(argv[0]);
481 if (argv[i][0] != '-')
484 fnsplit(argv[i], drive, dir, name, ext);
485 done = findfirst(argv[i], &f, FA_RDONLY |
492 s = argv[i];
523 argv[
[all...]

Completed in 364 milliseconds

12345678