| /external/skia/tools/ |
| render_pdfs_main.cpp | 219 static void parse_commandline(int argc, char* const argv[], 222 const char* argv0 = argv[0]; 223 char* const* stop = argv + argc; 225 for (++argv; argv < stop; ++argv) { 226 if ((0 == strcmp(*argv, "-h")) || (0 == strcmp(*argv, "--help"))) { 229 } else if (0 == strcmp(*argv, "-w")) { 230 ++argv; [all...] |
| /external/iproute2/tc/ |
| q_gred.c | 50 static int init_gred(struct qdisc_util *qu, int argc, char **argv, 60 DPRINTF(stderr,"init_gred: invoked with %s\n",*argv); 61 if (strcmp(*argv, "DPs") == 0) { 63 DPRINTF(stderr,"init_gred: next_arg with %s\n",*argv); 64 dps = strtol(*argv, (char **)NULL, 10); 72 } else if (strcmp(*argv, "default") == 0) { 74 def_dp = strtol(*argv, (char **)NULL, 10); 86 } else if (strcmp(*argv, "grio") == 0) { 88 } else if (strcmp(*argv, "help") == 0) { 92 fprintf(stderr, "What is \"%s\"?\n", *argv); [all...] |
| q_tbf.c | 39 static int tbf_parse_opt(struct qdisc_util *qu, int argc, char **argv, struct nlmsghdr *n) 54 if (matches(*argv, "limit") == 0) { 60 if (get_size(&opt.limit, *argv)) { 65 } else if (matches(*argv, "latency") == 0) { 71 if (get_time(&latency, *argv)) { 76 } else if (matches(*argv, "burst") == 0 || 77 strcmp(*argv, "buffer") == 0 || 78 strcmp(*argv, "maxburst") == 0) { 84 if (get_size_and_cell(&buffer, &Rcell_log, *argv) < 0) { 89 } else if (strcmp(*argv, "mtu") == 0 | [all...] |
| m_police.c | 128 char **argv = *argv_p; local 153 if (matches(*argv, "index") == 0) { 155 if (get_u32(&p.index, *argv, 10)) { 159 } else if (matches(*argv, "burst") == 0 || 160 strcmp(*argv, "buffer") == 0 || 161 strcmp(*argv, "maxburst") == 0) { 167 if (get_size_and_cell(&buffer, &Rcell_log, *argv) < 0) { 171 } else if (strcmp(*argv, "mtu") == 0 || 172 strcmp(*argv, "minburst") == 0) { 178 if (get_size_and_cell(&mtu, &Pcell_log, *argv) < 0) [all...] |
| q_hfsc.c | 74 hfsc_parse_opt(struct qdisc_util *qu, int argc, char **argv, struct nlmsghdr *n) 81 if (matches(*argv, "default") == 0) { 87 if (get_u16(&qopt.defcls, *argv, 16) < 0) { 91 } else if (matches(*argv, "help") == 0) { 95 fprintf(stderr, "HFSC: What is \"%s\" ?\n", *argv); 99 argc--, argv++; 146 hfsc_parse_class_opt(struct qdisc_util *qu, int argc, char **argv, 159 if (matches(*argv, "rt") == 0) { 161 if (hfsc_get_sc(&argc, &argv, &rsc) < 0) { 166 } else if (matches(*argv, "ls") == 0) 295 char **argv = *argvp; local 338 char **argv = *argvp; local [all...] |
| q_atm.c | 30 static int atm_parse_opt(struct qdisc_util *qu, int argc, char **argv, struct nlmsghdr *n) 49 static int atm_parse_class_opt(struct qdisc_util *qu, int argc, char **argv, 67 if (!strcmp(*argv,"pvc")) { 69 if (text2atm(*argv,(struct sockaddr *) &addr, 75 else if (!strcmp(*argv,"svc")) { 77 if (text2atm(*argv,(struct sockaddr *) &addr, 83 else if (!strcmp(*argv,"qos")) { 85 if (text2qos(*argv,&qos,0) < 0) { 90 else if (!strcmp(*argv,"sndbuf")) { 94 sndbuf = strtol(*argv,&end,0) [all...] |
| q_choke.c | 34 static int choke_parse_opt(struct qdisc_util *qu, int argc, char **argv, 51 if (strcmp(*argv, "limit") == 0) { 53 if (get_unsigned(&opt.limit, *argv, 0)) { 57 } else if (strcmp(*argv, "bandwidth") == 0) { 59 if (get_rate(&rate, *argv)) { 63 } else if (strcmp(*argv, "ecn") == 0) { 65 } else if (strcmp(*argv, "min") == 0) { 67 if (get_unsigned(&opt.qth_min, *argv, 0)) { 71 } else if (strcmp(*argv, "max") == 0) { 73 if (get_unsigned(&opt.qth_max, *argv, 0)) [all...] |
| /external/chromium_org/third_party/openssl/openssl/apps/ |
| ec.c | 86 int MAIN(int argc, char **argv) 119 prog = argv[0]; 121 argv++; 124 if (strcmp(*argv,"-inform") == 0) 127 informat=str2fmt(*(++argv)); 129 else if (strcmp(*argv,"-outform") == 0) 132 outformat=str2fmt(*(++argv)); 134 else if (strcmp(*argv,"-in") == 0) 137 infile= *(++argv); 139 else if (strcmp(*argv,"-out") == 0 [all...] |
| /external/openssl/apps/ |
| ec.c | 86 int MAIN(int argc, char **argv) 119 prog = argv[0]; 121 argv++; 124 if (strcmp(*argv,"-inform") == 0) 127 informat=str2fmt(*(++argv)); 129 else if (strcmp(*argv,"-outform") == 0) 132 outformat=str2fmt(*(++argv)); 134 else if (strcmp(*argv,"-in") == 0) 137 infile= *(++argv); 139 else if (strcmp(*argv,"-out") == 0 [all...] |
| /hardware/ti/wlan/mac80211/ti-utils/ |
| misc_cmds.c | 22 int argc, char **argv) 33 fd = open(argv[0], O_RDONLY); 83 int argc, char **argv) 122 struct nl_msg *msg, int argc, char **argv) 128 argv += 2; 134 fd = open(argv[0], O_RDONLY); 159 struct nl_msg *msg, int argc, char **argv) 166 argv += 2; 168 if (argc < 1 || (argc == 2 && (strlen(argv[1]) != 17))) { 173 sscanf(argv[1], "%2x:%2x:%2x:%2x:%2x:%2x" [all...] |
| /external/qemu/distrib/sdl-1.2.15/test/ |
| testgamma.c | 34 int get_video_args(char *argv[], int *w, int *h, int *bpp, Uint32 *flags) 43 for ( i=1; argv[i]; ++i ) { 44 if ( strcmp(argv[i], "-width") == 0 ) { 45 if ( argv[i+1] ) { 46 *w = atoi(argv[++i]); 49 if ( strcmp(argv[i], "-height") == 0 ) { 50 if ( argv[i+1] ) { 51 *h = atoi(argv[++i]); 54 if ( strcmp(argv[i], "-bpp") == 0 ) { 55 if ( argv[i+1] ) [all...] |
| /system/core/toolbox/ |
| ifconfig.c | 60 int ifconfig_main(int argc, char *argv[]) 70 argv++; 75 strncpy(ifr.ifr_name, argv[0], IFNAMSIZ); 77 argc--, argv++; 128 if (!strcmp(argv[0], "up")) { 130 } else if (!strcmp(argv[0], "mtu")) { 131 argc--, argv++; 136 setmtu(s, &ifr, argv[0]); 137 } else if (!strcmp(argv[0], "-pointopoint")) { 139 } else if (!strcmp(argv[0], "pointopoint")) [all...] |
| /art/runtime/ |
| common_test.cc | 20 int main(int argc, char **argv) { 21 art::InitLogging(argv); 23 testing::InitGoogleTest(&argc, argv);
|
| /build/libs/host/ |
| list.java | 7 public static void main(String[] argv) 17 int n = Integer.parseInt(argv[1], 16); 27 System.out.print(" case '" + argv[0] + "': return \"");
|
| /external/chromium_org/build/android/ |
| enable_asserts.py | 14 def main(argv): 22 options, _ = option_parser.parse_args(argv) 31 main(sys.argv)
|
| /external/chromium_org/build/android/gyp/ |
| ant.py | 19 def main(argv): 20 stdout = build_utils.CheckCallDie(['ant'] + argv[1:], suppress_output=True) 29 sys.exit(main(sys.argv))
|
| /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/chrome/app/ |
| chrome_main.cc | 20 int ChromeMain(int argc, const char** argv); 30 int ChromeMain(int argc, const char** argv) { 32 return content::ContentMain(argc, argv, &chrome_main_delegate);
|
| /external/chromium_org/content/common/ |
| set_process_title_linux.h | 10 // the original main() argv[] array should not be used. By default, the 11 // original argv[0] is prepended to the format; this can be disabled by 18 // Initialize state needed for setproctitle() on Linux. Pass the argv pointer
|
| /external/chromium_org/gpu/command_buffer/common/ |
| unittest_main.cc | 11 int main(int argc, char** argv) { 18 CommandLine::Init(argc, argv); 20 testing::InitGoogleMock(&argc, argv);
|
| /external/chromium_org/gpu/gles2_conform_support/native/ |
| main.cc | 25 int main(int argc, char *argv[]) { 27 CommandLine::Init(argc, argv); 37 GTFMain(argc, argv);
|
| /external/compiler-rt/BlocksRuntime/tests/ |
| byrefcopy.c | 24 int main(int argc, char *argv[]) { 36 printf("*** %s didn't update i\n", argv[0]); 39 printf("%s: success\n", argv[0]);
|
| byrefcopystack.c | 30 int main(int argc, char *argv[]) { 36 printf("*** %s didn't update i\n", argv[0]); 39 printf("%s: success\n", argv[0]);
|
| nestedimport.c | 27 int main(int argc, char *argv[]) { 39 printf("%s: error, Global not set to captured value\n", argv[0]); 42 printf("%s: success\n", argv[0]);
|
| varargs.c | 16 int main (int argc, const char * argv[]) { 33 printf("%s: Expected 6 but got %d\n", argv[0], six); 37 printf("%s: success\n", argv[0]);
|