HomeSort by relevance Sort by last modified time
    Searched full:argv (Results 451 - 475 of 12101) sorted by null

<<11121314151617181920>>

  /external/e2fsprogs/tests/progs/
crcsum.c 28 int main(int argc, char **argv)
38 while ((c = getopt (argc, argv, "h")) != EOF) {
42 com_err(argv[0], 0, "Usage: crcsum [file]\n");
50 f = fopen(argv[optind], "r");
52 com_err(argv[0], errno, "while trying to open %s\n",
53 argv[optind]);
  /external/icu/icu4c/source/tools/toolutil/
uoptions.h 29 /*# define U_MAIN_INIT_ARGS(argc, argv) __argvtoascii_a(argc, argv)*/
34 # define U_MAIN_INIT_ARGS(argc, argv) argc = ccommand((char***)&argv)
37 # define U_MAIN_INIT_ARGS(argc, argv)
86 * This function takes the argv[argc] command line and a description of
93 * the same argv[] entry for short options, or it may always follow
94 * in the next argv[] entry.
96 * An argument is in the next argv[] entry for both long and short name
98 * its own argv[] entry if there are characters following the option letter
    [all...]
  /external/iproute2/ip/
iplink_macvlan.c 65 static int macvlan_parse_opt(struct link_util *lu, int argc, char **argv,
76 if (matches(*argv, "mode") == 0) {
79 if (strcmp(*argv, "private") == 0)
81 else if (strcmp(*argv, "vepa") == 0)
83 else if (strcmp(*argv, "bridge") == 0)
85 else if (strcmp(*argv, "passthru") == 0)
87 else if (strcmp(*argv, "source") == 0)
90 return mode_arg(*argv);
91 } else if (matches(*argv, "flag") == 0) {
94 if (strcmp(*argv, "nopromisc") == 0
    [all...]
  /external/iproute2/tc/
p_icmp.c 34 char **argv = *argv_p;
39 if (strcmp(*argv, "type") == 0) {
41 res = parse_u8(&argc, &argv, 0);
44 if (strcmp(*argv, "code") == 0) {
46 res = parse_u8(&argc, &argv, 1);
53 *argv_p = argv;
p_udp.c 32 char **argv = *argv_p; local
42 if (strcmp(*argv, "sport") == 0) {
45 res = parse_cmd(&argc, &argv, 2, TU32, RU16, sel, tkey);
49 if (strcmp(*argv, "dport") == 0) {
52 res = parse_cmd(&argc, &argv, 2, TU32, RU16, sel, tkey);
60 *argv_p = argv;
q_cbq.c 50 static int cbq_parse_opt(struct qdisc_util *qu, int argc, char **argv, struct nlmsghdr *n)
63 if (matches(*argv, "bandwidth") == 0 ||
64 matches(*argv, "rate") == 0) {
66 if (get_rate(&r.rate, *argv)) {
70 } else if (matches(*argv, "ewma") == 0) {
72 if (get_integer(&ewma_log, *argv, 0)) {
80 } else if (matches(*argv, "cell") == 0) {
85 if (get_size(&cell, *argv)) {
97 } else if (matches(*argv, "avpkt") == 0) {
99 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)
48 if (strcmp(*argv, "quantum") == 0) {
50 if (get_size(&opt.v0.quantum, *argv)) {
55 } else if (strcmp(*argv, "perturb") == 0) {
57 if (get_integer(&opt.v0.perturb_period, *argv, 0)) {
62 } else if (strcmp(*argv, "limit") == 0) {
64 if (get_u32(&opt.v0.limit, *argv, 0)) {
73 } else if (strcmp(*argv, "divisor") == 0) {
75 if (get_u32(&opt.v0.divisor, *argv, 0)) {
80 } else if (strcmp(*argv, "flows") == 0)
    [all...]
tc_class.c 57 static int tc_class_modify(int cmd, unsigned int flags, int argc, char **argv)
75 if (strcmp(*argv, "dev") == 0) {
78 duparg("dev", *argv);
79 strncpy(d, *argv, sizeof(d)-1);
80 } else if (strcmp(*argv, "classid") == 0) {
85 duparg("classid", *argv);
86 if (get_tc_classid(&handle, *argv))
87 invarg("invalid class ID", *argv);
89 } else if (strcmp(*argv, "handle") == 0) {
92 } else if (strcmp(*argv, "root") == 0)
    [all...]
  /external/iw/
ocb.c 11 struct nl_msg *msg, int argc, char **argv,
31 freq = strtoul(argv[0], &end, 10);
36 argv++;
41 if (strcasecmp(chanmode[i].name, argv[0]) == 0) {
51 argv++;
67 struct nl_msg *msg, int argc, char **argv,
  /external/libdivsufsort/examples/
bwt.c 79 main(int argc, const char *argv[]) {
92 (strcmp(argv[1], "-h") == 0) ||
93 (strcmp(argv[1], "--help") == 0)) { print_help(argv[0], EXIT_SUCCESS); }
94 if((argc != 3) && (argc != 5)) { print_help(argv[0], EXIT_FAILURE); }
97 if(strcmp(argv[i], "-b") != 0) { print_help(argv[0], EXIT_FAILURE); }
98 blocksize = atoi(argv[i + 1]);
106 if(strcmp(argv[i], "-") != 0) {
108 if(fopen_s(&fp, fname = argv[i], "rb") != 0)
    [all...]
  /external/ltp/testcases/kernel/security/tomoyo/
newns.c 35 char **argv = (char **)arg; local
36 argv++;
38 execvp(argv[0], argv);
42 int main(int argc, char *argv[])
45 const pid_t pid = ltp_clone_quick(CLONE_NEWNS, child, (void *)argv);
  /external/pdfium/testing/libfuzzer/
unittest_main.cc 18 __attribute__((weak)) int LLVMFuzzerInitialize(int* argc, char*** argv);
27 int main(int argc, char** argv) {
29 std::cerr << "Usage: " << argv[0] << " <file>..." << std::endl;
34 LLVMFuzzerInitialize(&argc, &argv);
37 std::cout << argv[i] << std::endl;
38 auto v = readFile(argv[i]);
  /external/perf_data_converter/src/quipper/
quipper.cc 26 bool ParseArguments(int argc, char* argv[], std::vector<string>* perf_args,
30 LOG(ERROR) << "Usage: " << argv[0] << " <duration in seconds>"
36 *duration = StringToInt(argv[1]);
39 perf_args->emplace_back(argv[i]);
48 int main(int argc, char* argv[]) {
52 if (!ParseArguments(argc, argv, &perf_args, &perf_duration)) return 1;
  /external/ply/ply/example/yply/
yply.py 31 if len(sys.argv) == 1:
35 if len(sys.argv) == 3:
36 if sys.argv[1] == '-nocode':
39 print("Unknown option '%s'" % sys.argv[1])
41 filename = sys.argv[2]
43 filename = sys.argv[1]
  /external/python/cpython2/Doc/includes/
run-func.c 4 main(int argc, char *argv[])
16 pName = PyString_FromString(argv[1]);
23 pFunc = PyObject_GetAttrString(pModule, argv[2]);
29 pValue = PyInt_FromLong(atoi(argv[i + 3]));
56 fprintf(stderr, "Cannot find function \"%s\"\n", argv[2]);
63 fprintf(stderr, "Failed to load \"%s\"\n", argv[1]);
  /external/python/cpython3/Doc/includes/
run-func.c 4 main(int argc, char *argv[])
16 pName = PyUnicode_DecodeFSDefault(argv[1]);
23 pFunc = PyObject_GetAttrString(pModule, argv[2]);
29 pValue = PyLong_FromLong(atoi(argv[i + 3]));
56 fprintf(stderr, "Cannot find function \"%s\"\n", argv[2]);
63 fprintf(stderr, "Failed to load \"%s\"\n", argv[1]);
  /external/selinux/libselinux/utils/
selinuxexeccon.c 32 int main(int argc, char **argv)
37 usage(argv[0], "Invalid number of arguments", -1);
41 perror(argv[0]);
45 con = strdup(argv[2]);
48 proccon = get_selinux_proc_context(argv[1], con);
53 perror(argv[0]);
  /external/skia/experimental/tools/
gerrit-change-id-to-number 34 if len(sys.argv) == 2 and len(sys.argv[1]) == 41 and sys.argv[1][0] == 'I':
35 gerrit_change_id_to_number(sys.argv[1])
37 changeid = retrieve_changeid(sys.argv[1] if len(sys.argv) == 2 else 'HEAD')
  /external/skia/tools/lua/
lua_app.cpp 30 int main(int argc, char** argv) {
39 if (!strcmp(argv[i], "--lua") && i < argc-1) {
40 ptr = argv[i + 1];
41 len = strlen(argv[i + 1]);
44 data = read_into_data(argv[i]);
49 SkDebugf("failed to load %s\n", argv[i]);
  /external/skqp/experimental/tools/
gerrit-change-id-to-number 34 if len(sys.argv) == 2 and len(sys.argv[1]) == 41 and sys.argv[1][0] == 'I':
35 gerrit_change_id_to_number(sys.argv[1])
37 changeid = retrieve_changeid(sys.argv[1] if len(sys.argv) == 2 else 'HEAD')
  /external/skqp/tools/lua/
lua_app.cpp 30 int main(int argc, char** argv) {
39 if (!strcmp(argv[i], "--lua") && i < argc-1) {
40 ptr = argv[i + 1];
41 len = strlen(argv[i + 1]);
44 data = read_into_data(argv[i]);
49 SkDebugf("failed to load %s\n", argv[i]);
  /external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/
main.cpp 17 WpaGuiApp::WpaGuiApp(int &argc, char **argv) :
18 QApplication(argc, argv),
20 argv(argv)
34 int main(int argc, char *argv[])
36 WpaGuiApp app(argc, argv);
  /frameworks/base/tools/fonts/
add_additional_fonts.py 20 def main(argv):
23 if len(argv) == 3:
24 output_file_path = argv[1]
25 override_file_path = argv[2]
27 raise ValueError("Wrong number of arguments %s" % len(argv))
44 main(sys.argv)
  /test/vts/compilation_tools/vtsc/
VtsCompilerMain.cpp 45 int main(int argc, char* argv[]) {
55 cout << "- args[" << i << "] " << argv[i] << endl;
57 if (argv[i] && strlen(argv[i]) > 1 && argv[i][0] == '-') {
59 if (argv[i][1] == 'm') {
60 if (!strcmp(&argv[i][2], "PROFILER")) {
65 } else if (!strcmp(&argv[i][2], "FUZZER")) {
72 if (argv[i][1] == 't') {
73 if (!strcmp(&argv[i][2], "HEADER"))
    [all...]
  /external/iproute2/genl/
genl.c 45 static int parse_nofopt(struct genl_util *f, int argc, char **argv)
49 "is unparsable\n", f->name, *argv);
108 int main(int argc, char **argv)
111 if (argv[1][0] != '-')
113 if (matches(argv[1], "-stats") == 0 ||
114 matches(argv[1], "-statistics") == 0) {
116 } else if (matches(argv[1], "-details") == 0) {
118 } else if (matches(argv[1], "-raw") == 0) {
120 } else if (matches(argv[1], "-Version") == 0) {
123 } else if (matches(argv[1], "-help") == 0)
    [all...]

Completed in 791 milliseconds

<<11121314151617181920>>