HomeSort by relevance Sort by last modified time
    Searched full:argv (Results 276 - 300 of 6038) sorted by null

<<11121314151617181920>>

  /system/core/toolbox/
printenv.c 6 int printenv_main (int argc, char **argv)
20 v = getenv(argv[i]);
  /system/extras/tests/bionic/libc/other/
test_system.c 7 main(int argc, char *argv[])
14 rv = system(argv[1]);
  /external/iproute2/ip/
iprule.c 198 static int iprule_list(int argc, char **argv)
224 static int iprule_modify(int cmd, int argc, char **argv)
251 if (strcmp(*argv, "not") == 0) {
253 } else if (strcmp(*argv, "from") == 0) {
256 get_prefix(&dst, *argv, req.r.rtm_family);
259 } else if (strcmp(*argv, "to") == 0) {
262 get_prefix(&dst, *argv, req.r.rtm_family);
265 } else if (matches(*argv, "preference") == 0 ||
266 matches(*argv, "order") == 0 ||
267 matches(*argv, "priority") == 0)
    [all...]
ipxfrm.c 664 char **argv = *argvp; local
667 if (get_u32(&mark->v, *argv, 0)) {
668 invarg("Illegal \"mark\" value\n", *argv);
677 if (strcmp(*argv, "mask") == 0) {
679 if (get_u32(&mark->m, *argv, 0)) {
680 invarg("Illegal \"mark\" mask\n", *argv);
689 *argvp = argv;
1005 char **argv = *argvp; local
1013 if (strcmp(*argv, "src") == 0) {
1016 get_prefix(&src, *argv, preferred_family)
1091 char **argv = *argvp; local
1115 char **argv = *argvp; local
1134 char **argv = *argvp; local
1149 char **argv = *argvp; local
1307 char **argv = *argvp; local
1390 char **argv = *argvp; local
    [all...]
  /bootable/recovery/mtdutils/
flash_image.c 51 int main(int argc, char **argv) {
58 fprintf(stderr, "usage: %s partition file.img\n", argv[0]);
63 const MtdPartition *partition = mtd_find_partition_by_name(argv[1]);
64 if (partition == NULL) die("can't find %s partition", argv[1]);
68 int fd = open(argv[2], O_RDONLY);
69 if (fd < 0) die("error opening %s", argv[2]);
73 if (headerlen <= 0) die("error reading %s header", argv[2]);
77 ALOGW("error opening %s: %s\n", argv[1], strerror(errno));
83 ALOGW("error reading %s: %s\n", argv[1], strerror(errno));
86 ALOGI("header is the same, not flashing %s\n", argv[1])
    [all...]
  /build/tools/fs_get_stats/
fs_get_stats.c 37 main(int argc, const char *argv[])
51 perms = (unsigned)strtoul(argv[1], &endptr, 0);
52 if (!endptr || (endptr == argv[1]) || (*endptr != '\0')) {
53 ERROR("current permissions must be a number. Got '%s'.\n", argv[1]);
57 if (!strcmp(argv[2], "1"))
61 fs_config(argv[3], is_dir, &uid, &gid, &perms, &capabilities);
  /external/chromium_org/third_party/icu/source/tools/toolutil/
uoptions.h 27 /*# define U_MAIN_INIT_ARGS(argc, argv) __argvtoascii_a(argc, argv)*/
32 # define U_MAIN_INIT_ARGS(argc, argv) argc = ccommand((char***)&argv)
35 # define U_MAIN_INIT_ARGS(argc, argv)
84 * This function takes the argv[argc] command line and a description of
91 * the same argv[] entry for short options, or it may always follow
92 * in the next argv[] entry.
94 * An argument is in the next argv[] entry for both long and short name
96 * its own argv[] entry if there are characters following the option letter
    [all...]
  /external/chromium_org/third_party/yasm/source/patched-yasm/frontends/yasm/
yasm-options.c 45 parse_cmdline(int argc, char **argv, opt_option *options, size_t nopts,
56 argv++;
58 if (argv[0][0] == '-') { /* opt */
60 if (argv[0][1] == '-') { /* lopt */
61 if (argv[0][2] == '\0') { /* --, end of options */
64 argv++;
65 if (not_an_option_handler(argv[0]))
74 strncmp(&argv[0][2], options[i].lopt,
77 char c = argv[0][2 + optlen];
83 param = strchr(&argv[0][2], '=')
    [all...]
  /external/e2fsprogs/lib/e2p/
percent.c 37 main(int argc, char **argv)
45 fprintf(stderr, "Usage: %s percent base\n", argv[0]);
49 percent = strtoul(argv[1], &p, 0);
51 fprintf(stderr, "Bad percent: %s\n", argv[1]);
55 base = strtoul(argv[2], &p, 0);
57 fprintf(stderr, "Bad base: %s\n", argv[2]);
  /external/icu4c/tools/toolutil/
uoptions.h 27 /*# define U_MAIN_INIT_ARGS(argc, argv) __argvtoascii_a(argc, argv)*/
32 # define U_MAIN_INIT_ARGS(argc, argv) argc = ccommand((char***)&argv)
35 # define U_MAIN_INIT_ARGS(argc, argv)
84 * This function takes the argv[argc] command line and a description of
91 * the same argv[] entry for short options, or it may always follow
92 * in the next argv[] entry.
94 * An argument is in the next argv[] entry for both long and short name
96 * its own argv[] entry if there are characters following the option letter
    [all...]
  /external/iproute2/tc/
p_icmp.c 33 char **argv = *argv_p;
38 if (strcmp(*argv, "type") == 0) {
40 res = parse_u8(&argc, &argv, 0);
43 if (strcmp(*argv, "code") == 0) {
45 res = parse_u8(&argc, &argv, 1);
52 *argv_p = argv;
q_cbq.c 50 static int cbq_parse_opt(struct qdisc_util *qu, int argc, char **argv, struct nlmsghdr *n)
66 if (matches(*argv, "bandwidth") == 0 ||
67 matches(*argv, "rate") == 0) {
69 if (get_rate(&r.rate, *argv)) {
73 } else if (matches(*argv, "ewma") == 0) {
75 if (get_integer(&ewma_log, *argv, 0)) {
83 } else if (matches(*argv, "cell") == 0) {
87 if (get_size(&cell, *argv)) {
99 } else if (matches(*argv, "avpkt") == 0) {
101 if (get_size(&avpkt, *argv)) {
    [all...]
q_sfq.c 38 static int sfq_parse_opt(struct qdisc_util *qu, int argc, char **argv, struct nlmsghdr *n)
50 if (strcmp(*argv, "quantum") == 0) {
52 if (get_size(&opt.v0.quantum, *argv)) {
57 } else if (strcmp(*argv, "perturb") == 0) {
59 if (get_integer(&opt.v0.perturb_period, *argv, 0)) {
64 } else if (strcmp(*argv, "limit") == 0) {
66 if (get_u32(&opt.v0.limit, *argv, 0)) {
75 } else if (strcmp(*argv, "divisor") == 0) {
77 if (get_u32(&opt.v0.divisor, *argv, 0)) {
82 } else if (strcmp(*argv, "flows") == 0)
    [all...]
  /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];
graywin.c 134 int main(int argc, char *argv[])
155 if ( argv[argc-1] && (strcmp(argv[argc-1], "-width") == 0) ) {
156 width = atoi(argv[argc]);
159 if ( argv[argc-1] && (strcmp(argv[argc-1], "-height") == 0) ) {
160 height = atoi(argv[argc]);
163 if ( argv[argc-1] && (strcmp(argv[argc-1], "-bpp") == 0) ) {
164 bpp = atoi(argv[argc])
    [all...]
  /external/iproute2/genl/
genl.c 46 static int parse_nofopt(struct genl_util *f, int argc, char **argv)
50 "is unparsable\n", f->name, *argv);
110 int main(int argc, char **argv)
113 if (argv[1][0] != '-')
115 if (matches(argv[1], "-stats") == 0 ||
116 matches(argv[1], "-statistics") == 0) {
118 } else if (matches(argv[1], "-details") == 0) {
120 } else if (matches(argv[1], "-raw") == 0) {
122 } else if (matches(argv[1], "-Version") == 0) {
125 } else if (matches(argv[1], "-help") == 0)
    [all...]
  /external/e2fsprogs/debugfs/
debugfs.c 124 void do_open_filesys(int argc, char **argv)
134 while ((c = getopt (argc, argv, "iwfecb:s:d:D")) != EOF) {
158 blocksize = parse_ulong(optarg, argv[0],
164 superblock = parse_ulong(optarg, argv[0],
176 if (check_fs_not_open(argv[0]))
178 open_filesystem(argv[optind], open_flags,
185 "[-c] [-w] <device>\n", argv[0]);
188 void do_lcd(int argc, char **argv)
191 com_err(argv[0], 0, "Usage: %s %s", argv[0], "<native dir>")
    [all...]
  /system/core/adb/
commandline.c 45 int install_app(transport_type transport, char* serial, int argc, char** argv);
46 int uninstall_app(transport_type transport, char* serial, int argc, char** argv);
555 int ppp(int argc, char **argv)
558 fprintf(stderr, "error: adb %s not implemented on Win32\n", argv[0]);
567 argv[0]);
572 adb_service_name = argv[1];
596 //argv[2] and beyond become ppp_args[1] and beyond
597 ppp_args[i - 1] = argv[i];
644 static int logcat(transport_type transport, char* serial, int argc, char **argv)
660 if (!strcmp(argv[0],"longcat"))
1503 char *argv[16]; local
    [all...]
  /bootable/recovery/edify/
expr.c 36 Value* v = expr->fn(expr->name, state, expr->argc, expr->argv);
49 return expr->fn(expr->name, state, expr->argc, expr->argv);
67 Value* ConcatFn(const char* name, State* state, int argc, Expr* argv[]) {
79 strings[i] = Evaluate(state, argv[i]);
102 Value* IfElseFn(const char* name, State* state, int argc, Expr* argv[]) {
108 char* cond = Evaluate(state, argv[0]);
115 return EvaluateValue(state, argv[1]);
119 return EvaluateValue(state, argv[2]);
126 Value* AbortFn(const char* name, State* state, int argc, Expr* argv[]) {
129 msg = Evaluate(state, argv[0])
    [all...]
  /frameworks/av/media/libstagefright/codecs/aacenc/SampleCode/
AAC_E_SAMPLES.c 48 static int parsecmdline(int argc, char **argv,char **input_filename, char **output_filename, AACENC_PARAM *param)
65 argv++;
68 if (!strcmp(*argv, "-if"))
70 argv++;
72 *input_filename = *argv;
74 else if (!strcmp(*argv, "-of"))
76 argv++;
78 *output_filename = *argv;
80 else if (!strcmp(*argv, "-sr"))
82 argv++
    [all...]
  /external/chromium_org/third_party/mesa/src/src/glsl/
test.cpp 56 static const char *extract_command_from_argv(int *argc, char **argv)
59 usage_fail(argv[0]);
61 const char *command = argv[1];
63 memmove(&argv[1], &argv[2], (*argc) * sizeof(argv[1]));
67 int main(int argc, char **argv)
69 const char *command = extract_command_from_argv(&argc, argv);
71 return test_optpass(argc, argv);
73 usage_fail(argv[0])
    [all...]
  /external/clang/tools/c-arcmt-test/
c-arcmt-test.c 74 int carcmttest_main(int argc, const char **argv) {
76 if (argc == 3 && strncmp(argv[1], "-mt-migrate-directory", 21) == 0)
77 return print_remappings(argv[2]);
80 return print_remappings_filelist(argv+1, argc-1);
94 const char **argv; member in struct:thread_info
99 client_data->result = carcmttest_main(client_data->argc, client_data->argv);
105 int main(int argc, const char **argv) {
117 return carcmttest_main(argc, argv);
120 client_data.argv = argv;
    [all...]
  /external/mesa3d/src/glsl/
test.cpp 56 static const char *extract_command_from_argv(int *argc, char **argv)
59 usage_fail(argv[0]);
61 const char *command = argv[1];
63 memmove(&argv[1], &argv[2], (*argc) * sizeof(argv[1]));
67 int main(int argc, char **argv)
69 const char *command = extract_command_from_argv(&argc, argv);
71 return test_optpass(argc, argv);
73 usage_fail(argv[0])
    [all...]
  /external/openfst/src/bin/
fstdifference.cc 31 int main(int argc, char **argv) {
38 usage += argv[0];
42 SET_FLAGS(usage.c_str(), &argc, &argv, true);
48 string in1_name = strcmp(argv[1], "-") == 0 ? "" : argv[1];
49 string in2_name = strcmp(argv[2], "-") == 0 ? "" : argv[2];
50 string out_name = argc > 3 ? argv[3] : "";
53 LOG(ERROR) << argv[0] << ": Can't take both inputs from standard input.";
75 LOG(ERROR) << argv[0] << ": Bad filter type \"
    [all...]
fstintersect.cc 31 int main(int argc, char **argv) {
38 usage += argv[0];
43 SET_FLAGS(usage.c_str(), &argc, &argv, true);
49 string in1_name = strcmp(argv[1], "-") == 0 ? "" : argv[1];
50 string in2_name = strcmp(argv[2], "-") == 0 ? "" : argv[2];
51 string out_name = argc > 3 ? argv[3] : "";
54 LOG(ERROR) << argv[0] << ": Can't take both inputs from standard input.";
76 LOG(ERROR) << argv[0] << "Unknown compose filter type:
    [all...]

Completed in 1215 milliseconds

<<11121314151617181920>>