HomeSort by relevance Sort by last modified time
    Searched refs:argv (Results 226 - 250 of 5111) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /system/core/toolbox/
route.c 51 int route_main(int argc, char *argv[])
60 if (argc > 2 && !strcmp(argv[1], "add")) {
61 if (!strcmp(argv[2], "default")) {
63 if (argc > 4 && !strcmp(argv[3], "dev")) {
65 rt.rt_dev = argv[4];
71 if (argc > 6 && !strcmp(argv[3], "gw") && !strcmp(argv[5], "dev")) {
73 rt.rt_dev = argv[6];
74 if (set_address(argv[4], &rt.rt_gateway)) {
82 if (argc > 7 && !strcmp(argv[2], "-net") &
    [all...]
  /external/chromium_org/tools/gyp/samples/
samples 58 def Main(argv):
59 if len(argv) != 3 or argv[1] not in ['push', 'pull']:
60 print 'Usage: %s push/pull PATH_TO_CHROME' % argv[0]
63 path_to_chrome = argv[2]
67 local_file = os.path.join(os.path.dirname(argv[0]), os.path.split(g)[1])
68 if argv[1] == 'push':
71 elif argv[1] == 'pull':
81 sys.exit(Main(sys.argv))
  /external/openfst/src/bin/
fstconcat.cc 27 int main(int argc, char **argv) {
33 usage += argv[0];
37 SET_FLAGS(usage.c_str(), &argc, &argv, true);
43 string in1_name = strcmp(argv[1], "-") == 0 ? "" : argv[1];
44 string in2_name = strcmp(argv[2], "-") == 0 ? "" : argv[2];
45 string out_fname = argc > 3 ? argv[3] : "";
48 LOG(ERROR) << argv[0] << ": Can't take both inputs from standard input.";
fstunion.cc 30 int main(int argc, char **argv) {
36 usage += argv[0];
40 SET_FLAGS(usage.c_str(), &argc, &argv, true);
46 string in1_name = strcmp(argv[1], "-") != 0 ? argv[1] : "";
47 string in2_name = strcmp(argv[2], "-") != 0 ? argv[2] : "";
48 string out_name = argc > 3 ? argv[3] : "";
51 LOG(ERROR) << argv[0]
fstconnect.cc 26 int main(int argc, char **argv) {
32 usage += argv[0];
36 SET_FLAGS(usage.c_str(), &argc, &argv, true);
42 string in_name = (argc > 1 && strcmp(argv[1], "-") != 0) ? argv[1] : "";
43 string out_name = argc > 2 ? argv[2] : "";
fstinvert.cc 25 int main(int argc, char **argv) {
31 usage += argv[0];
35 SET_FLAGS(usage.c_str(), &argc, &argv, true);
41 string in_name = (argc > 1 && strcmp(argv[1], "-") != 0) ? argv[1] : "";
42 string out_name = argc > 2 ? argv[2] : "";
  /external/tinyalsa/
tinypcminfo.c 34 int main(int argc, char **argv)
41 fprintf(stderr, "Usage: %s -D card -d device\n", argv[0]);
46 argv += 1;
47 while (*argv) {
48 if (strcmp(*argv, "-D") == 0) {
49 argv++;
50 if (*argv)
51 card = atoi(*argv);
53 if (strcmp(*argv, "-d") == 0) {
54 argv++
    [all...]
  /bootable/recovery/applypatch/
main.c 26 int CheckMode(int argc, char** argv) {
30 return applypatch_check(argv[2], argc-3, argv+3);
33 int SpaceMode(int argc, char** argv) {
38 size_t bytes = strtol(argv[2], &endptr, 10);
39 if (bytes == 0 && endptr == argv[2]) {
40 printf("can't parse \"%s\" as byte count\n\n", argv[2]);
50 static int ParsePatchArgs(int argc, char** argv,
61 char* colon = strchr(argv[i], ':');
67 if (ParseSha1(argv[i], digest) != 0)
    [all...]
  /external/iproute2/tc/
m_csum.c 43 char **argv = *argv_p; local
49 if ((matches(*argv, "iph") == 0) ||
50 (matches(*argv, "ip4h") == 0) ||
51 (matches(*argv, "ipv4h") == 0))
54 else if (matches(*argv, "icmp") == 0)
57 else if (matches(*argv, "igmp") == 0)
60 else if (matches(*argv, "tcp") == 0)
63 else if (matches(*argv, "udp") == 0)
66 else if (matches(*argv, "udplite") == 0)
69 else if ((matches(*argv, "and") == 0) |
92 char **argv = *argv_p; local
    [all...]
tc_filter.c 48 int tc_filter_modify(int cmd, unsigned flags, int argc, char **argv)
79 if (strcmp(*argv, "dev") == 0) {
82 duparg("dev", *argv);
83 strncpy(d, *argv, sizeof(d)-1);
84 } else if (strcmp(*argv, "root") == 0) {
90 } else if (strcmp(*argv, "parent") == 0) {
94 duparg("parent", *argv);
95 if (get_tc_classid(&handle, *argv))
96 invarg(*argv, "Invalid parent ID");
98 } else if (strcmp(*argv, "handle") == 0)
    [all...]
p_ip.c 31 char **argv = *argv_p; local
36 if (strcmp(*argv, "src") == 0) {
39 res = parse_cmd(&argc, &argv, 4, TIPV4,RU32,sel,tkey);
42 if (strcmp(*argv, "dst") == 0) {
45 res = parse_cmd(&argc, &argv, 4, TIPV4,RU32,sel,tkey);
52 if (strcmp(*argv, "tos") == 0 || matches(*argv, "dsfield") == 0) {
55 res = parse_cmd(&argc, &argv, 1, TU32,RU8,sel,tkey);
58 if (strcmp(*argv, "ihl") == 0) {
61 res = parse_cmd(&argc, &argv, 1, TU32,RU8,sel,tkey)
    [all...]
  /system/vold/
CommandListener.cpp 57 void CommandListener::dumpArgs(int argc, char **argv, int argObscure) {
65 unsigned int len = strlen(argv[i]) + 1; // Account for space
76 strcpy(p, argv[i]);
77 p+= strlen(argv[i]);
92 int argc, char **argv) {
122 int argc, char **argv) {
123 dumpArgs(argc, argv, -1);
133 if (!strcmp(argv[1], "list")) {
135 } else if (!strcmp(argv[1], "debug")) {
136 if (argc != 3 || (argc == 3 && (strcmp(argv[2], "off") && strcmp(argv[2], "on"))))
    [all...]
  /external/e2fsprogs/lib/ss/
parse.c 31 * the "argc" and "argv" values.
38 * argv (char **)
50 register char **argv, *cp; local
54 argv = (char **) malloc (sizeof(char *));
55 if (argv == (char **)NULL) {
58 return(argv);
60 *argv = (char *)NULL;
83 argv = NEW_ARGV (argv, argc);
84 argv[argc++] = cp
    [all...]
  /external/oprofile/libpopt/
poptparse.c 14 int poptDupArgv(int argc, const char **argv,
17 size_t nb = (argc + 1) * sizeof(*argv);
22 if (argc <= 0 || argv == NULL) /* XXX can't happen */
25 if (argv[i] == NULL)
27 nb += strlen(argv[i]) + 1;
34 dst += (argc + 1) * sizeof(*argv);
39 dst += strlen(strcpy(dst, argv[i])) + 1;
62 const char ** argv = malloc(sizeof(*argv) * argvAlloced); local
68 if (argv == NULL) return rc
    [all...]
  /system/netd/
CommandListener.cpp 219 int argc, char **argv) {
225 if (!strcmp(argv[1], "list")) {
242 } else if (!strcmp(argv[1], "driver")) {
251 rc = sInterfaceCtrl->interfaceCommand(argc, argv, &rbuf);
275 if (!strcmp(argv[1], "fwmark")) {
276 if (!strcmp(argv[2], "rule")) {
281 if (!strcmp(argv[3], "add")) {
282 if (!sSecondaryTableCtrl->addFwmarkRule(argv[4])) {
289 } else if (!strcmp(argv[3], "remove")) {
290 if (!sSecondaryTableCtrl->removeFwmarkRule(argv[4]))
943 const char **argv = const_cast<const char **>(margv); local
    [all...]
  /external/chromium_org/base/test/launcher/
unit_test_launcher.h 17 char** argv,
22 char** argv,
  /external/chromium_org/chrome/installer/setup/
run_all_unittests.cc 10 int main(int argc, char** argv) {
11 TestSuite test_suite(argc, argv);
  /external/chromium_org/chrome/installer/util/
run_all_unittests.cc 9 int main(int argc, char** argv) {
10 TestSuite test_suite(argc, argv);
  /external/chromium_org/chrome/test/perf/
perftests.cc 9 int main(int argc, char **argv) {
10 base::PerfTestSuite suite(argc, argv);
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/unittest2/
__main__.py 4 if sys.argv[0].endswith("__main__.py"):
5 sys.argv[0] = "unittest2"
  /external/chromium_org/third_party/sqlite/src/tool/
diffdb.c 17 int main(int argc, char **argv){
21 fprintf(stderr,"Usage: %s FILENAME FILENAME\n", argv[0]);
24 db1 = open(argv[1], O_RDONLY);
26 fprintf(stderr,"%s: can't open %s\n", argv[0], argv[1]);
29 db2 = open(argv[2], O_RDONLY);
31 fprintf(stderr,"%s: can't open %s\n", argv[0], argv[2]);
  /external/chromium_org/tools/gyp/test/actions-none/src/
fake_cross.py 9 fh = open(sys.argv[-1], 'wb')
10 for filename in sys.argv[1:-1]:
  /external/chromium_org/tools/gyp/test/ninja/action_dependencies/src/
b.c 10 int main(int argc, char** argv) {
14 f = fopen(argv[1], "wt");
  /external/chromium_org/tools/gyp/test/rules-use-built-dependencies/src/
main.cc 6 int main(int argc, char *argv[]) {
11 file = fopen(argv[1], "wb");
  /external/chromium_org/tools/gyp/test/win/vs-macros/
test_exists.py 8 if not os.path.exists(sys.argv[1]):
10 open(sys.argv[2], 'w').close()

Completed in 455 milliseconds

1 2 3 4 5 6 7 8 91011>>