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

1 2 3 4 5 6 7 8 91011>>

  /system/core/toolbox/
prlimit.c 45 int prlimit_main(int argc, char *argv[])
53 usage(*argv);
55 if (sscanf(argv[1], "%d", &pid) != 1)
56 usage(*argv);
58 if (sscanf(argv[2], "%d", &resource) != 1)
59 usage(*argv);
61 if (sscanf(argv[3], "%llu", &rl.rlim_cur) != 1)
62 usage(*argv);
64 if (sscanf(argv[4], "%llu", &rl.rlim_max) != 1)
65 usage(*argv);
    [all...]
toolbox.c 7 static int toolbox_main(int argc, char **argv)
11 return main(argc - 1, argv + 1);
34 int main(int argc, char **argv)
37 char *name = argv[0];
39 if((argc > 1) && (argv[1][0] == '@')) {
40 name = argv[1] + 1;
42 argv++;
44 char *cmd = strrchr(argv[0], '/');
51 return tools[i].func(argc, argv);
55 printf("%s: no such tool\n", argv[0])
    [all...]
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/chrome_elf/dll_hash/
dll_hash_main.cc 15 int main(int argc, char** argv) {
17 fprintf(stderr, "Usage: %s <dll name> <dll name> <...>\n", argv[0]);
20 fprintf(stderr, "Example: %s \"my_dll.dll\" \"user32.dll\"\n", argv[0]);
24 int hash = DllNameToHash(std::string(argv[i]));
25 printf("<int value=\"%d\" label=\"%s\"/>\n", hash, argv[i]);
  /external/chromium_org/chromecast/media/cma/base/
run_all_unittests.cc 18 CmaTestSuite(int argc, char** argv) : TestSuite(argc, argv) {}
34 int main(int argc, char** argv) {
35 CmaTestSuite test_suite(argc, argv);
38 argc, argv, base::Bind(&CmaTestSuite::Run,
  /external/chromium_org/third_party/yasm/source/patched-yasm/
test_hd.c 32 main(int argc, char *argv[])
38 fprintf(stderr, "Usage: %s <file>\n", argv[0]);
42 bfile = fopen(argv[1], "rb");
45 fprintf(stderr, "Could not open `%s'.\n", argv[1]);
53 fprintf(stderr, "Error reading from `%s'.\n", argv[1]);
  /external/compiler-rt/test/BlocksRuntime/
globalexpression.c 16 int main(int argc, char *argv[]) {
19 printf("%s: *** did not set global to 1\n", argv[0]);
30 printf("%s: *** did not set global to 3\n", argv[0]);
36 printf("%s: *** did not set global to 5\n", argv[0]);
39 printf("%s: Success!\n", argv[0]);
  /external/iproute2/ip/
ip_common.h 14 extern int ipaddr_list(int argc, char **argv);
15 extern int ipaddr_list_link(int argc, char **argv);
16 extern int iproute_monitor(int argc, char **argv);
28 extern int do_ipaddr(int argc, char **argv);
29 extern int do_ipaddrlabel(int argc, char **argv);
30 extern int do_iproute(int argc, char **argv);
31 extern int do_iprule(int argc, char **argv);
32 extern int do_ipneigh(int argc, char **argv);
33 extern int do_ipntable(int argc, char **argv);
34 extern int do_iptunnel(int argc, char **argv);
    [all...]
  /external/linux-tools-perf/perf-3.12.0/tools/perf/bench/
bench.h 28 extern int bench_numa(int argc, const char **argv, const char *prefix);
29 extern int bench_sched_messaging(int argc, const char **argv, const char *prefix);
30 extern int bench_sched_pipe(int argc, const char **argv, const char *prefix);
31 extern int bench_mem_memcpy(int argc, const char **argv,
33 extern int bench_mem_memset(int argc, const char **argv, const char *prefix);
  /external/lldb/source/Interpreter/
OptionValueArgs.cpp 25 std::vector<const char *> argv; local
30 argv.push_back(string_value);
33 if (argv.empty())
36 args.SetArguments(argv.size(), &argv[0]);
  /system/vold/
CommandListener.cpp 57 void CommandListener::dumpArgs(int argc, char **argv, int argObscure) {
64 unsigned int len = strlen(argv[i]) + 1; // Account for space
75 strcpy(p, argv[i]);
76 p+= strlen(argv[i]);
85 void CommandListener::dumpArgs(int /*argc*/, char ** /*argv*/, int /*argObscure*/) { }
93 int /*argc*/, char ** /*argv*/) {
122 int argc, char **argv) {
123 dumpArgs(argc, argv, -1);
133 if (!strcmp(argv[1], "list")) {
134 bool broadcast = argc >= 3 && !strcmp(argv[2], "broadcast")
    [all...]
  /external/e2fsprogs/lib/ss/
parse.c 31 * the "argc" and "argv" values.
38 * argv (char **)
47 register char **argv, *cp; local
51 argv = (char **) malloc (sizeof(char *));
52 if (argv == (char **)NULL) {
55 return(argv);
57 *argv = (char *)NULL;
80 argv = NEW_ARGV (argv, argc);
81 argv[argc++] = cp
    [all...]
  /device/moto/shamu/dataservices/rmnetctl/cli/
rmnetcli.c 248 * @param argv Value of the arguments which vary based on the commands
258 static int rmnet_api_call(int argc, char *argv[])
263 if ((!argc) || (!*argv)) {
268 if (!strcmp(*argv, "help")) {
280 if (!strcmp(*argv, "assocnetdev")) {
282 argv[1], &error_number, RMNETCTL_DEVICE_ASSOCIATE);
283 } else if (!strcmp(*argv, "unassocnetdev")) {
285 argv[1], &error_number, RMNETCTL_DEVICE_UNASSOCIATE);
286 } else if (!strcmp(*argv, "getnetdevassoc")) {
289 argv[1], &register_status, &error_number)
    [all...]
  /external/e2fsprogs/debugfs/
extent_inode.c 49 static int common_extent_args_process(int argc, char *argv[], int min_argc,
53 if (common_args_process(argc, argv, min_argc, max_argc, cmd,
66 void do_extent_open(int argc, char *argv[])
73 if (check_fs_open(argv[0]))
84 if (common_inode_args_process(argc, argv, &inode, 0))
91 com_err(argv[1], retval, "while opening extent handle");
110 void do_extent_close(int argc, char *argv[])
114 if (common_args_process(argc, argv, 1, 1,
119 com_err(argv[0], 0, "Extent handle not open");
133 char **argv, int op
    [all...]
  /external/chromium_org/third_party/skia/tools/lua/
lua_app.cpp 28 int tool_main(int argc, char** argv);
29 int tool_main(int argc, char** argv) {
38 if (!strcmp(argv[i], "--lua") && i < argc-1) {
39 ptr = argv[i + 1];
40 len = strlen(argv[i + 1]);
43 data = read_into_data(argv[i]);
48 SkDebugf("failed to load %s\n", argv[i]);
57 int main(int argc, char * const argv[]) {
58 return tool_main(argc, (char**) argv);
  /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]
  /external/linux-tools-perf/perf-3.12.0/tools/perf/
builtin-list.c 18 int cmd_list(int argc, const char **argv, const char *prefix __maybe_unused)
30 if (strncmp(argv[i], "tracepoint", 10) == 0)
32 else if (strcmp(argv[i], "hw") == 0 ||
33 strcmp(argv[i], "hardware") == 0)
35 else if (strcmp(argv[i], "sw") == 0 ||
36 strcmp(argv[i], "software") == 0)
38 else if (strcmp(argv[i], "cache") == 0 ||
39 strcmp(argv[i], "hwcache") == 0)
41 else if (strcmp(argv[i], "pmu") == 0)
43 else if (strcmp(argv[i], "--raw-dump") == 0
    [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...]
  /external/chromium_org/mojo/public/tools/bindings/pylib/mojom_tests/support/
find_files.py 21 def main(argv):
22 if len(argv) != 3:
23 print "usage: %s path pattern" % argv[0]
26 for filename in FindFiles(argv[1], argv[2]):
32 sys.exit(main(sys.argv))
  /external/chromium_org/third_party/webrtc/build/
extra_gitignore.py 24 def main(argv):
25 if not argv[1]:
29 modify_string = MODIFY_STRING % argv[0]
30 gitignore_file = os.path.dirname(argv[0]) + '/../../.gitignore'
42 f.write(open(argv[1], 'r').read())
46 sys.exit(main(sys.argv))
  /external/chromium_org/ui/ozone/
run_all_unittests.cc 14 OzoneTestSuite(int argc, char** argv);
25 OzoneTestSuite::OzoneTestSuite(int argc, char** argv)
26 : base::TestSuite(argc, argv) {}
38 int main(int argc, char** argv) {
39 OzoneTestSuite test_suite(argc, argv);
42 argv,

Completed in 2511 milliseconds

1 2 3 4 5 6 7 8 91011>>