/external/qemu/distrib/sdl-1.2.15/test/ |
testloadso.c | 12 int main(int argc, char *argv[]) 22 const char *app = argv[0]; 34 if (strcmp(argv[1], "--hello") == 0) { 36 libname = argv[2]; 39 libname = argv[1]; 40 symname = argv[2];
|
/external/sfntly/cpp/src/sample/subtly/ |
merger_main.cc | 43 int main(int argc, const char** argv) { 45 PrintUsage(argv[0]); 52 font.Attach(LoadFont(argv[i])); 53 CheckLoading(argv[i], font); 61 fprintf(stderr, "Serializing font to %s\n", argv[argc - 1]); 62 SerializeFont(argv[argc - 1], new_font);
|
/frameworks/webview/chromium/tools/ |
jar_check.py | 58 def main(argv): 59 if len(argv) != 3: 60 print >>sys.stderr, 'Usage: %s jar_file whitelist_file' % argv[0] 62 invalid_files = JarCheck(argv[1], argv[2]) 74 sys.exit(main(sys.argv))
|
/sdk/emulator/opengl/shared/OpenglOsUtils/ |
osProcessUnix.cpp | 41 char **argv = NULL; local 52 if (!argv) { \ 54 argv = (char **)malloc(argvSize * sizeof(char *)); \ 58 argv = (char **)realloc(argv, argvSize * sizeof(char *)); \ 60 argv[nArgs-1] = t; \ 91 return argv; 115 char **argv = buildArgList(command); local 116 if (!argv) { 119 execvp(argv[0], argv) [all...] |
/system/core/toolbox/ |
readlink.c | 43 int readlink_main(int argc, char* argv[]) { 45 while ((c = getopt(argc, argv, "nfqs")) != -1) { 59 usage(argv[0]); 65 usage(argv[0]); 71 if(!realpath(argv[optind], name)) { 78 ssize_t len = readlink(argv[1], name, PATH_MAX);
|
cmp.c | 10 int cmp_main(int argc, char *argv[]) 25 c = getopt(argc, argv, "bln:"); 40 argv[0], optopt); 46 fprintf(stderr, "Usage: %s [-b] [-l] [-n count] file1 file2\n", argv[0]); 50 fd1 = open(argv[optind], O_RDONLY); 52 fprintf(stderr, "could not open %s, %s\n", argv[optind], strerror(errno)); 56 fd2 = open(argv[optind+1], O_RDONLY); 58 fprintf(stderr, "could not open %s, %s\n", argv[optind+1], strerror(errno)); 71 printf("%s %s differ byte %d", argv[optind], argv[optind+1], filepos + i) [all...] |
/build/tools/check_prereq/ |
check_prereq.c | 26 int main(int argc, char** argv) { 29 fprintf(stderr, "usage: %s <timestamp>\n", argv[0]); 40 long install = strtol(argv[1], &end, 10);
|
/external/chromium_org/build/win/ |
setup_cygwin_mount.py | 9 if len(sys.argv) != 2 or sys.argv[1] != '--win-only': 12 self_dir = os.path.dirname(sys.argv[0])
|
/external/chromium_org/content/shell/app/ |
shell_main.cc | 29 int main(int argc, const char** argv) { 33 return ::ContentMain(argc, argv); 36 return content::ContentMain(argc, argv, &delegate);
|
/external/chromium_org/third_party/lcov/example/ |
example.c | 29 int main (int argc, char* argv[]) 37 start = atoi(argv[1]); 38 end = atoi(argv[2]);
|
/external/compiler-rt/BlocksRuntime/tests/ |
copy-block-literal-rdar6439600.c | 13 int main (int argc, const char * argv[]) { 21 printf("%s: failure, %d != %d\n", argv[0], x[i](), i); 26 printf("%s: success\n", argv[0]);
|
k-and-r.c | 13 int main(int argc, char *argv[]) { 20 printf("%s: rot13('a') returned %c, rot13('p') returns %c\n", argv[0], n, c); 31 printf("%s: success\n", argv[0]);
|
/external/iproute2/tc/ |
q_qfq.c | 38 static int qfq_parse_opt(struct qdisc_util *qu, int argc, char **argv, 42 if (matches(*argv, "help") == 0) { 46 fprintf(stderr, "What is \"%s\"?\n", *argv); 50 argc--; argv++; 56 static int qfq_parse_class_opt(struct qdisc_util *qu, int argc, char **argv, 66 if (matches(*argv, "weight") == 0) { 68 if (get_u32(&tmp, *argv, 10)) { 72 } else if (matches(*argv, "maxpkt") == 0) { 74 if (get_u32(&tmp, *argv, 10)) { 78 } else if (strcmp(*argv, "help") == 0) [all...] |
/external/llvm/utils/ |
DSAclean.py | 13 if( len(sys.argv) < 3 ): 17 input = open(sys.argv[1], 'r') 18 output = open(sys.argv[2], 'w')
|
/frameworks/native/cmds/servicemanager/ |
bctest.c | 58 int main(int argc, char **argv) 67 argv++; 69 if (!strcmp(argv[0],"alt")) { 77 } else if (!strcmp(argv[0],"lookup")) { 83 ptr = svcmgr_lookup(bs, svcmgr, argv[1]); 84 fprintf(stderr,"lookup(%s) = %p\n", argv[1], ptr); 86 argv++; 87 } else if (!strcmp(argv[0],"publish")) { 92 svcmgr_publish(bs, svcmgr, argv[1], &token); 94 argv++ [all...] |
/hardware/libhardware/tests/camera2/ |
main.cpp | 24 int main(int argc, char **argv) { 26 bool printUsage = !TestSettings::ParseArgs(argc, argv); 28 ::testing::InitGoogleTest(&argc, argv);
|
/packages/inputmethods/PinyinIME/jni/command/ |
pinyinime_dictbuilder.cpp | 30 int main(int argc, char* argv[]) { 34 success = dict_trie->build_dict(argv[1], argv[2]);
|
/sdk/emulator/qtools/ |
read_addr.cpp | 6 int main(int argc, char **argv) { 8 fprintf(stderr, "Usage: %s trace_file\n", argv[0]); 12 char *trace_filename = argv[1];
|
/system/core/logwrapper/include/logwrap/ |
logwrap.h | 35 * argc: the number of elements in argv 36 * argv: an array of strings containing the command to be executed and its 37 * arguments as separate strings. argv does not need to be 71 int android_fork_execvp_ext(int argc, char* argv[], int *status, bool ignore_int_quit, 78 static inline int android_fork_execvp(int argc, char* argv[], int *status, 81 return android_fork_execvp_ext(argc, argv, status, ignore_int_quit,
|
/system/netd/ |
CommandListener.h | 59 int runCommand(SocketClient *c, int argc, char ** argv); 66 int runCommand(SocketClient *c, int argc, char ** argv); 73 int runCommand(SocketClient *c, int argc, char ** argv); 80 int runCommand(SocketClient *c, int argc, char ** argv); 87 int runCommand(SocketClient *c, int argc, char ** argv); 94 int runCommand(SocketClient *c, int argc, char ** argv); 101 int runCommand(SocketClient *c, int argc, char ** argv); 108 int runCommand(SocketClient *c, int argc, char ** argv); 119 int runCommand(SocketClient *c, int argc, char ** argv); 126 int runCommand(SocketClient *c, int argc, char ** argv); [all...] |
/external/iproute2/ip/ |
xfrm_policy.c | 111 char **argv = *argvp; local 113 if (strcmp(*argv, "in") == 0) 115 else if (strcmp(*argv, "out") == 0) 117 else if (strcmp(*argv, "fwd") == 0) 120 invarg("\"DIR\" is invalid", *argv); 123 *argvp = argv; 131 char **argv = *argvp; local 133 if (strcmp(*argv, "main") == 0) 135 else if (strcmp(*argv, "sub") == 0) 138 invarg("\"PTYPE\" is invalid", *argv); 149 char **argv = *argvp; local 185 char **argv = *argvp; local [all...] |
/development/tools/yuv420sp2rgb/ |
cmdline.h | 6 extern int get_options(int argc, char **argv,
|
/external/chromium/base/test/ |
perf_test_suite.h | 15 PerfTestSuite(int argc, char** argv);
|
/external/chromium/testing/gmock/src/ |
gmock.cc | 127 void InitGoogleMockImpl(int* argc, CharType** argv) { 130 InitGoogleTest(argc, argv); 134 const String arg_string = StreamableToString(argv[i]); 141 // Yes. Shift the remainder of the argv list left by one. Note 142 // that argv has (*argc + 1) elements, the last one always being 146 argv[j] = argv[j + 1]; 164 // removed from argv, and *argc is decremented. 172 void InitGoogleMock(int* argc, char** argv) { 173 internal::InitGoogleMockImpl(argc, argv); [all...] |
/external/chromium_org/base/test/ |
perf_test_suite.h | 14 PerfTestSuite(int argc, char** argv);
|