/external/openssl/apps/ |
dhparam.c | 150 int MAIN(int argc, char **argv) 183 prog=argv[0]; 185 argv++; 188 if (strcmp(*argv,"-inform") == 0) 191 informat=str2fmt(*(++argv)); 193 else if (strcmp(*argv,"-outform") == 0) 196 outformat=str2fmt(*(++argv)); 198 else if (strcmp(*argv,"-in") == 0) 201 infile= *(++argv); 203 else if (strcmp(*argv,"-out") == 0 [all...] |
dsaparam.c | 112 int MAIN(int argc, char **argv) 145 prog=argv[0]; 147 argv++; 150 if (strcmp(*argv,"-inform") == 0) 153 informat=str2fmt(*(++argv)); 155 else if (strcmp(*argv,"-outform") == 0) 158 outformat=str2fmt(*(++argv)); 160 else if (strcmp(*argv,"-in") == 0) 163 infile= *(++argv); 165 else if (strcmp(*argv,"-out") == 0 [all...] |
/sdk/emulator/qtools/ |
q2g.cpp | 33 int main(int argc, char **argv) 35 ParseOptions(argc, argv); 37 Usage(argv[0]); 41 char *qemu_trace_file = argv[optind++]; 42 char *elf_file = argv[optind++]; 43 char *gtrace_file = argv[optind++];
|
read_pid.cpp | 6 int main(int argc, char **argv) { 8 fprintf(stderr, "Usage: %s trace_file\n", argv[0]); 12 char *trace_filename = argv[1]; 53 printf(" argv[%d]: %s\n", ii, event.argv[ii]); 54 delete[] event.argv[ii]; 56 delete[] event.argv;
|
/system/core/toolbox/ |
insmod.c | 49 int insmod_main(int argc, char **argv) 63 file = read_file(argv[1], &size); 65 fprintf(stderr, "insmod: can't open '%s'\n", argv[1]); 76 len = min(strlen(argv[i]), end - ptr); 77 memcpy(ptr, argv[i], len); 90 argv[1], strerror(errno));
|
/external/bluetooth/bluez/tools/ |
bccmd.c | 219 static int opt_help(int argc, char *argv[], int *help) 223 while ((opt=getopt_long(argc, argv, "+h", help_options, NULL)) != EOF) { 236 opt_help(argc, argv, (help)); \ 237 argc -= optind; argv += optind; optind = 0; \ 240 static int cmd_builddef(int transport, int argc, char *argv[]) 274 static int cmd_keylen(int transport, int argc, char *argv[]) 282 handle = atoi(argv[0]); 302 static int cmd_clock(int transport, int argc, char *argv[]) 325 static int cmd_rand(int transport, int argc, char *argv[]) 348 static int cmd_chiprev(int transport, int argc, char *argv[]) [all...] |
/development/tools/line_endings/ |
line_endings.c | 26 main(int argc, char** argv) 35 if (0 == strcmp("unix", argv[1])) { 38 else if (0 == strcmp("dos", argv[1])) { 50 chmod(argv[i], S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP); 52 fd = open(argv[i], O_RDWR); 54 fprintf(stderr, "unable to open file for read/write: %s\n", argv[i]); 76 fprintf(stderr, "unable to read file: %s\n", argv[i]); 98 fprintf(stderr, "unable to write file: %s\n", argv[i]);
|
/device/samsung/crespo/alsa-utils/alsactl/ |
alsactl.c | 73 int main(int argc, char *argv[]) 105 command = argv[0]; 109 if ((c = getopt_long(argc, argv, "hdvf:FgE:i:Pr:R", long_option, NULL)) < 0) 165 cardname = argc - optind > 1 ? argv[optind + 1] : NULL; 176 if (!strcmp(argv[optind], "init")) { 178 } else if (!strcmp(argv[optind], "store")) { 180 } else if (!strcmp(argv[optind], "restore")) { 186 argv[optind]);
|
init_utils_run.c | 41 char *argv[(sizeof(arg) / 2) + 1]; local 45 /* build argv from comand */ 55 argv[i] = strsep(&pos, "\'"); 59 argv[i] = strsep(&pos, " "); 61 dbg("arg[%i] '%s'", i, argv[i]); 64 argv[i] = NULL; 66 argv[0] = arg; 67 argv[1] = NULL; 86 if (strchr(argv[0], '/') == NULL) { 88 strlcat(program, argv[0], sizeof(program)) [all...] |
/external/bluetooth/bluez/test/ |
simple-service | 107 if len(sys.argv) > 1: 108 path = manager.FindAdapter(sys.argv[1])
|
/external/chromium/base/test/ |
perf_test_suite.h | 18 PerfTestSuite(int argc, char** argv) : TestSuite(argc, argv) {
|
/external/chromium/net/base/ |
net_test_suite.h | 15 NetTestSuite(int argc, char** argv) : TestSuite(argc, argv) {
|
/external/dbus/test/ |
spawn-test.c | 16 main (int argc, char **argv) 31 argv_copy [i] = argv[i + 1];
|
/external/gtest/test/ |
gtest_list_tests_unittest_.cc | 83 int main(int argc, char **argv) { 84 testing::InitGoogleTest(&argc, argv);
|
gtest_throw_on_failure_ex_test.cc | 81 int main(int argc, char** argv) { 82 testing::InitGoogleTest(&argc, argv);
|
/external/icu4c/samples/ufortune/ |
ufortune.c | 53 int main(int argc, char **argv) 62 const char * programName = argv[0]; /* Program invocation name. */ 85 if (strcmp(argv[i], "-l") ==0) { 87 locale = argv[i]; 91 if (strcmp(argv[i], "-v") == 0) { 94 if (strcmp(argv[i], "-?") == 0 || 95 strcmp(argv[i], "--help") == 0) { 98 optionError = argv[i]; 149 u_fprintf(u_stdout, " %s\n", optionError); /* optionError is char *, from argv */
|
/external/iptables/extensions/ |
libipt_2set.c | 54 parse(int c, char **argv, int invert, unsigned int *flags, 72 if (!argv[optind] 73 || argv[optind][0] == '-' 74 || argv[optind][0] == '!') 78 if (strlen(argv[optind-1]) > IP_SET_MAXNAMELEN - 1) 81 argv[optind-1], IP_SET_MAXNAMELEN - 1); 83 get_set_byname(argv[optind - 1], info); 84 parse_bindings(argv[optind], info);
|
/external/iptables/ |
ip6tables-standalone.c | 40 main(int argc, char *argv[]) 57 ret = do_command6(argc, argv, &table, &handle);
|
/external/ppp/pppd/ |
pppox.c | 45 static int pppox_set(char **argv) { 46 if (!int_option(*argv, &pppox)) {
|
/external/protobuf/gtest/test/ |
gtest_list_tests_unittest_.cc | 81 int main(int argc, char **argv) { 82 ::testing::InitGoogleTest(&argc, argv);
|
gtest_throw_on_failure_ex_test.cc | 81 int main(int argc, char** argv) { 82 testing::InitGoogleTest(&argc, argv);
|
/external/qemu/distrib/sdl-1.2.12/src/main/win32/ |
SDL_win32_main.c | 57 static int ParseCommandLine(char *cmdline, char **argv) 72 if ( argv ) { 73 argv[argc] = bufp; 83 if ( argv ) { 84 argv[argc] = bufp; 94 if ( argv ) { 100 if ( argv ) { 101 argv[argc] = NULL; 174 int console_main(int argc, char *argv[]) 180 /* Get the class name from argv[0] * 234 char **argv; local [all...] |
/external/strace/ |
ioctlsort.c | 59 main(argc, argv) 61 char *argv[];
|
/external/webkit/WebKitTools/Scripts/ |
run-chromium-webkit-tests | 34 sys.path.append(os.path.join(os.path.dirname(os.path.abspath(sys.argv[0])), 36 sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(sys.argv[0]))))
|
/frameworks/base/include/utils/ |
misc.h | 54 char* concatArgv(int argc, const char* const argv[]); 57 * Count up the number of arguments in "argv". The count does not include 60 int countArgv(const char* const argv[]);
|