/external/bison/lib/ |
getopt1.c | 45 getopt_long (int argc, char *__getopt_argv_const *argv, const char *options, 48 return _getopt_internal (argc, (char **) argv, options, long_options, 53 _getopt_long_r (int argc, char **argv, const char *options, 57 return _getopt_internal_r (argc, argv, options, long_options, opt_index, 67 getopt_long_only (int argc, char *__getopt_argv_const *argv, 71 return _getopt_internal (argc, (char **) argv, options, long_options, 76 _getopt_long_only_r (int argc, char **argv, const char *options, 80 return _getopt_internal_r (argc, argv, options, long_options, opt_index, 91 main (int argc, char **argv) 111 c = getopt_long (argc, argv, "abc:d:0123456789" [all...] |
/system/netd/ |
CommandListener.cpp | 83 int argc, char **argv) { 89 if (!strcmp(argv[1], "list")) { 106 } else if (!strcmp(argv[1], "readrxcounter")) { 113 if (readInterfaceCounters(argv[2], &rx, &tx)) { 124 } else if (!strcmp(argv[1], "readtxcounter")) { 131 if (readInterfaceCounters(argv[2], &rx, &tx)) { 141 } else if (!strcmp(argv[1], "getthrottle")) { 142 if (argc != 4 || (argc == 4 && (strcmp(argv[3], "rx") && (strcmp(argv[3], "tx"))))) { 151 if (!strcmp(argv[3], "rx")) [all...] |
/external/iproute2/ip/ |
xfrm_policy.c | 106 char **argv = *argvp; local 108 if (strcmp(*argv, "in") == 0) 110 else if (strcmp(*argv, "out") == 0) 112 else if (strcmp(*argv, "fwd") == 0) 115 invarg("\"DIR\" is invalid", *argv); 118 *argvp = argv; 126 char **argv = *argvp; local 128 if (strcmp(*argv, "main") == 0) 130 else if (strcmp(*argv, "sub") == 0) 133 invarg("\"PTYPE\" is invalid", *argv); 144 char **argv = *argvp; local 178 char **argv = *argvp; local [all...] |
link_gre.c | 42 static int gre_parse_opt(struct link_util *lu, int argc, char **argv, 133 if (!matches(*argv, "key")) { 139 if (strchr(*argv, '.')) 140 uval = get_addr32(*argv); 142 if (get_unsigned(&uval, *argv, 0) < 0) { 151 } else if (!matches(*argv, "ikey")) { 156 if (strchr(*argv, '.')) 157 uval = get_addr32(*argv); 159 if (get_unsigned(&uval, *argv, 0)<0) { 166 } else if (!matches(*argv, "okey")) [all...] |
iprule.c | 192 static int iprule_list(int argc, char **argv) 218 static int iprule_modify(int cmd, int argc, char **argv) 245 if (strcmp(*argv, "not") == 0) { 247 } else if (strcmp(*argv, "from") == 0) { 250 get_prefix(&dst, *argv, req.r.rtm_family); 253 } else if (strcmp(*argv, "to") == 0) { 256 get_prefix(&dst, *argv, req.r.rtm_family); 259 } else if (matches(*argv, "preference") == 0 || 260 matches(*argv, "order") == 0 || 261 matches(*argv, "priority") == 0) [all...] |
ipntable.c | 63 static int ipntable_modify(int cmd, int flags, int argc, char **argv) 93 if (strcmp(*argv, "name") == 0) { 98 duparg("NAME", *argv); 100 namep = *argv; 103 } else if (strcmp(*argv, "thresh1") == 0) { 107 threshsp = *argv; 109 if (get_u32(&thresh1, *argv, 0)) 110 invarg("\"thresh1\" value is invalid", *argv); 113 } else if (strcmp(*argv, "thresh2") == 0) { 117 threshsp = *argv; [all...] |
/system/core/toolbox/ |
cat.c | 125 cook_args(char **argv) 132 if (*argv) { 133 if (!strcmp(*argv, "-")) 135 else if ((fp = fopen(*argv, 139 ++argv; 142 filename = *argv++; 147 } while (*argv); 187 raw_args(char **argv) 194 if (*argv) { 195 if (!strcmp(*argv, "-") [all...] |
printenv.c | 6 int printenv_main (int argc, char **argv) 20 v = getenv(argv[i]);
|
/device/samsung/crespo/alsa-lib/test/ |
namehint.c | 4 int main(int argc, char *argv[]) 11 iface = argv[1];
|
/external/e2fsprogs/misc/ |
partinfo.c | 32 int main(int argc, char **argv) 47 "For example: %s /dev/hda\n\n", argv[0], argv[0]); 52 fd = open(argv[i], O_RDONLY); 55 print_error(_("open"), errno, argv[i]); 60 print_error(_("HDIO_GETGEO ioctl"), errno, argv[i]); 67 print_error(_("BLKGETSIZE ioctl"), errno, argv[i]); 73 argv[i],
|
/external/gtest/test/ |
gtest_break_on_failure_unittest_.cc | 57 int main(int argc, char **argv) { 63 testing::InitGoogleTest(&argc, argv);
|
gtest_color_test_.cc | 55 int main(int argc, char** argv) { 56 testing::InitGoogleTest(&argc, argv);
|
/external/ppp/pppd/plugins/ |
passprompt.c | 53 char *argv[4], fdstr[32]; local 59 argv[0] = promptprog; 60 argv[1] = user; 61 argv[2] = remote_name; 63 argv[3] = fdstr; 64 argv[4] = 0; 65 execv(*argv, argv);
|
/external/protobuf/gtest/test/ |
gtest_break_on_failure_unittest_.cc | 57 int main(int argc, char **argv) { 63 testing::InitGoogleTest(&argc, argv);
|
gtest_color_test_.cc | 55 int main(int argc, char** argv) { 56 testing::InitGoogleTest(&argc, argv);
|
/external/webkit/WebKit/chromium/tests/ |
RunAllTests.cpp | 41 int main(int argc, char** argv) 46 int result = TestSuite(argc, argv).Run();
|
/external/webkit/WebKit/qt/docs/webkitsnippets/simple/ |
main.cpp | 24 int main(int argc, char *argv[]) 26 QApplication app(argc, argv);
|
/system/extras/tests/bionic/libc/other/ |
test_system.c | 7 main(int argc, char *argv[]) 14 rv = system(argv[1]);
|
/external/e2fsprogs/debugfs/ |
debugfs.c | 121 void do_open_filesys(int argc, char **argv) 131 while ((c = getopt (argc, argv, "iwfecb:s:d:")) != EOF) { 152 blocksize = parse_ulong(optarg, argv[0], 158 superblock = parse_ulong(optarg, argv[0], 170 if (check_fs_not_open(argv[0])) 172 open_filesystem(argv[optind], open_flags, 179 "[-c] [-w] <device>\n", argv[0]); 182 void do_lcd(int argc, char **argv) 185 com_err(argv[0], 0, "Usage: %s %s", argv[0], "<native dir>") [all...] |
/external/clearsilver/cgi/ |
fcgi_hello.c | 24 int main(int argc, char **argv, char **envp) { 25 openlog(argv[0], 0, LOG_USER); 26 syslog(LOG_INFO, "%s started.", argv[0]); 43 cgiwrap_init_std(argc, argv, environ); 57 syslog(LOG_INFO, "%s ending.", argv[0]);
|
/external/e2fsprogs/lib/ss/ |
requests.c | 19 #define DECLARE(name) void name(int argc,const char * const *argv, \ 26 const char * const *argv __SS_ATTR((unused)), 38 const char * const *argv __SS_ATTR((unused)), 49 const char * const *argv __SS_ATTR((unused)), 61 const char * const *argv __SS_ATTR((unused)),
|
/external/iproute2/tc/ |
tc_common.h | 5 extern int do_qdisc(int argc, char **argv); 6 extern int do_class(int argc, char **argv); 7 extern int do_filter(int argc, char **argv); 8 extern int do_action(int argc, char **argv); 9 extern int do_tcmonitor(int argc, char **argv);
|
/external/openssl/crypto/x509v3/ |
v3prin.c | 67 int main(int argc, char **argv) 75 if(!argv[1]) { 79 if(!(inf = fopen(argv[1], "r"))) { 80 fprintf(stderr, "Can't open %s\n", argv[1]); 84 fprintf(stderr, "Can't read certificate %s\n", argv[1]);
|
/external/protobuf/examples/ |
add_person.py | 38 if len(sys.argv) != 2: 39 print "Usage:", sys.argv[0], "ADDRESS_BOOK_FILE" 46 f = open(sys.argv[1], "rb") 50 print sys.argv[1] + ": File not found. Creating a new file." 56 f = open(sys.argv[1], "wb")
|
/external/qemu/distrib/sdl-1.2.12/src/main/qtopia/ |
SDL_qtopia_main.cc | 20 QString appname(qApp->argv()[0]); 32 extern int SDL_main(int argc, char *argv[]); 34 int main(int argc, char *argv[]) 39 app = new QPEApplication(argc, argv); 46 exit(SDL_main(argc, argv));
|