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

<<11121314151617181920>>

  /external/chromium_org/third_party/openssl/openssl/apps/
prime.c 61 int MAIN(int argc, char **argv)
78 ++argv;
79 while (argc >= 1 && **argv == '-')
81 if(!strcmp(*argv,"-hex"))
83 else if(!strcmp(*argv,"-generate"))
85 else if(!strcmp(*argv,"-bits"))
89 bits=atoi(*++argv);
90 else if(!strcmp(*argv,"-safe"))
92 else if(!strcmp(*argv,"-checks"))
96 checks=atoi(*++argv);
    [all...]
  /external/iproute2/tc/
tc_class.c 43 int tc_class_modify(int cmd, unsigned flags, int argc, char **argv)
66 if (strcmp(*argv, "dev") == 0) {
69 duparg("dev", *argv);
70 strncpy(d, *argv, sizeof(d)-1);
71 } else if (strcmp(*argv, "classid") == 0) {
75 duparg("classid", *argv);
76 if (get_tc_classid(&handle, *argv))
77 invarg(*argv, "invalid class ID");
79 } else if (strcmp(*argv, "handle") == 0) {
82 } else if (strcmp(*argv, "root") == 0)
    [all...]
m_estimator.c 40 char **argv = *p_argv; local
45 duparg("estimator", *argv);
46 if (matches(*argv, "help") == 0)
48 if (get_time(&A, *argv))
51 if (matches(*argv, "help") == 0)
53 if (get_time(&time_const, *argv))
62 *p_argv = argv;
  /external/openssl/apps/
prime.c 61 int MAIN(int argc, char **argv)
78 ++argv;
79 while (argc >= 1 && **argv == '-')
81 if(!strcmp(*argv,"-hex"))
83 else if(!strcmp(*argv,"-generate"))
85 else if(!strcmp(*argv,"-bits"))
89 bits=atoi(*++argv);
90 else if(!strcmp(*argv,"-safe"))
92 else if(!strcmp(*argv,"-checks"))
96 checks=atoi(*++argv);
    [all...]
  /external/chromium_org/build/
protoc_java.py 25 def main(argv):
26 if len(argv) < 5:
30 protoc_path, proto_path, java_out, stamp_file = argv[1:5]
31 proto_files = argv[5:]
56 sys.exit(main(sys.argv))
  /external/chromium_org/chrome/app/
chrome_exe_main_mac.cc 36 char** argv = *argvp; local
39 if (strcmp(argv[i], kNaClFlag) == 0) {
48 int ChromeMain(int argc, char** argv);
52 int main(int argc, char* argv[]) {
53 int rv = ChromeMain(argc, argv);
  /external/chromium_org/courgette/
courgette_minimal_tool.cc 35 int wmain(int argc, const wchar_t* argv[]) {
37 int main(int argc, const char* argv[]) {
43 courgette::ApplyEnsemblePatch(argv[1], argv[2], argv[3]);
  /external/chromium_org/third_party/protobuf/
protobuf_lite_java_descriptor_proto.py 25 def main(argv):
26 if len(argv) < 4:
30 protoc_path, java_out, include = argv[1:4]
31 proto_files = argv[4:]
49 sys.exit(main(sys.argv))
  /external/chromium_org/third_party/sqlite/src/tool/
rollback-test.c 75 int main(int argc, char **argv){
79 if( argc<3 ) usage(argv[0]);
80 if( strcmp(argv[1], "new")==0 ){
81 db = openDb(argv[argc-1]);
83 if( strcmp(argv[i],"-utf8")==0 ){
85 }else if( strcmp(argv[i], "-utf16le")==0 ){
87 }else if( strcmp(argv[i], "-utf16be")==0 ){
89 }else if( strncmp(argv[i], "-pagesize=", 10)==0 ){
90 int szPg = atoi(&argv[i][10]);
95 fprintf(stderr, "unknown option %s\n", argv[i])
    [all...]
  /external/e2fsprogs/lib/ext2fs/
tst_getsize.c 28 int main(int argc, const char *argv[])
34 fprintf(stderr, "%s device\n", argv[0]);
38 retval = ext2fs_get_device_size(argv[1], 1024, &blocks);
40 com_err(argv[0], retval, "while getting device size");
43 printf("%s is device has %u blocks.\n", argv[1], blocks);
  /external/e2fsprogs/lib/ss/
execute_cmd.c 26 char *argv[], int sci_idx));
28 char **argv[]));
63 * check_request_table(rqtbl, argc, argv, sci_idx)
66 * If the command string in argv[0] is in the request table, execute
73 * number of elements in argv[]
74 * argv (char *[])
84 static int check_request_table (rqtbl, argc, argv, sci_idx)
87 char *argv[];
97 char *string = argv[0];
102 info->argv = argv
208 char **argv; local
    [all...]
  /external/elfutils/tests/
early-offscn.c 37 main (int argc, char *argv[])
40 error (1, 0, "Usage: %s FILE OFFSET", argv[0]);
46 int fd = open (argv[1], O_RDONLY);
48 error (1, errno, "cannot open '%s'", argv[1]);
54 Elf_Scn *scn = gelf_offscn (elf, strtoull (argv[2], NULL, 0));
  /external/oprofile/libutil/
op_popt.c 18 int argc, char const ** argv,
24 xmalloc_set_program_name(argv[0]);
27 optcon = poptGetContext(name, argc, argv, options, flags);
29 optcon = poptGetContext((char *)name, argc, (char **)argv, options, flags);
35 fprintf(stderr, "%s: %s: %s\n", argv[0],
  /external/bison/lib/
getopt1.c 41 getopt_long (int argc, char *__getopt_argv_const *argv, const char *options,
44 return _getopt_internal (argc, (char **) argv, options, long_options,
49 _getopt_long_r (int argc, char **argv, const char *options,
53 return _getopt_internal_r (argc, argv, options, long_options, opt_index,
63 getopt_long_only (int argc, char *__getopt_argv_const *argv,
67 return _getopt_internal (argc, (char **) argv, options, long_options,
72 _getopt_long_only_r (int argc, char **argv, const char *options,
76 return _getopt_internal_r (argc, argv, options, long_options, opt_index,
87 main (int argc, char **argv)
107 c = getopt_long (argc, argv, "abc:d:0123456789"
    [all...]
  /external/chromium_org/chrome/browser/nacl_host/test/
mock_nacl_gdb.cc 20 int main(int argc, char** argv) {
26 CHECK_EQ(strcmp(argv[1], kEvalCommand), 0);
28 CHECK_GE(strlen(argv[2]), strlen(kNaClIrt));
29 CHECK_EQ(strncmp(argv[2], kNaClIrt, strlen(kNaClIrt)), 0);
30 char* irt_file_name = strdup(&argv[2][strlen(kNaClIrt)]);
39 CHECK_EQ(strcmp(argv[3], kEvalCommand), 0);
40 CHECK_EQ(strcmp(argv[4], kAttach), 0);
44 if (strcmp(argv[i], kEvalCommand) == 0) {
48 if (strcmp(argv[i], kCommand) == 0) {
52 std::string nacl_gdb_script(argv[i - 1])
    [all...]
  /external/libmtp/examples/
delfile.c 59 void delfile_command(int argc, char **argv)
67 if (strncmp(argv[1],"-f",2) == 0) {
69 strcpy(argv[1],"");
70 } else if (strncmp(argv[1],"-n",2) == 0) {
72 strcpy(argv[1],"0");
89 id = strtoul(argv[i], &endptr, 10);
91 fprintf(stderr, "illegal value %s .. skipping\n", argv[i]);
95 if (strlen(argv[i]) > 0) {
96 id = parse_path (argv[i],files,folders);
102 printf("Deleting %s\n",argv[i])
    [all...]
  /external/openfst/src/bin/
fstcompose.cc 33 int main(int argc, char **argv) {
40 usage += argv[0];
44 SET_FLAGS(usage.c_str(), &argc, &argv, true);
50 string in1_name = strcmp(argv[1], "-") != 0 ? argv[1] : "";
51 string in2_name = (argc > 2 && (strcmp(argv[2], "-") != 0)) ? argv[2] : "";
52 string out_name = argc > 3 ? argv[3] : "";
55 LOG(ERROR) << argv[0] << ": Can't take both inputs from standard input.";
66 LOG(ERROR) << argv[0] << ": Input FSTs must have the same arc type."
    [all...]
fstarcsort.cc 31 int main(int argc, char **argv) {
37 usage += argv[0];
41 SET_FLAGS(usage.c_str(), &argc, &argv, true);
48 string in_name = (argc > 1 && (strcmp(argv[1], "-") != 0)) ? argv[1] : "";
49 string out_name = argc > 2 ? argv[2] : "";
59 LOG(ERROR) << argv[0] << ": Unknown sort type \""
  /ndk/sources/host-tools/sed-4.2.1/lib/
getopt1.c 41 getopt_long (int argc, char *__getopt_argv_const *argv, const char *options,
44 return _getopt_internal (argc, (char **) argv, options, long_options,
49 _getopt_long_r (int argc, char **argv, const char *options,
53 return _getopt_internal_r (argc, argv, options, long_options, opt_index,
63 getopt_long_only (int argc, char *__getopt_argv_const *argv,
67 return _getopt_internal (argc, (char **) argv, options, long_options,
72 _getopt_long_only_r (int argc, char **argv, const char *options,
76 return _getopt_internal_r (argc, argv, options, long_options, opt_index,
87 main (int argc, char **argv)
107 c = getopt_long (argc, argv, "abc:d:0123456789"
    [all...]
  /external/chromium-trace/trace-viewer/build/
gjslint 14 if sys.argv[1:] == ['--help']:
17 if len(sys.argv) > 1:
20 sys.argv.append('--strict')
21 sys.argv.append('--unix_mode')
22 sys.argv.append('--check_html')
23 sys.argv.extend(['--exclude_files', 'src/about_tracing.js'])
24 sys.argv.extend(['-r', 'src/'])
  /external/chromium_org/chrome_frame/
chrome_frame_unittest_main.cc 35 NoAtExitBaseTestSuite(int argc, char** argv)
36 : base::TestSuite(argc, argv, false) {
40 int RunTests(int argc, char** argv) {
43 NoAtExitBaseTestSuite test_suite(argc, argv);
51 int main(int argc, char** argv) {
58 argv,
59 base::Bind(&RunTests, argc, argv));
  /external/chromium_org/third_party/simplejson/
tool.py 17 if len(sys.argv) == 1:
20 elif len(sys.argv) == 2:
21 infile = open(sys.argv[1], 'rb')
23 elif len(sys.argv) == 3:
24 infile = open(sys.argv[1], 'rb')
25 outfile = open(sys.argv[2], 'wb')
27 raise SystemExit(sys.argv[0] + " [infile [outfile]]")
  /external/chromium_org/tools/deep_memory_profiler/tests/
mock_gsutil.py 15 assert len(sys.argv) == 6
16 assert sys.argv[1] == 'cp'
17 assert sys.argv[2] == '-a'
18 assert sys.argv[3] == 'public-read'
19 assert ZIP_PATTERN.match(os.path.basename(sys.argv[4]))
20 assert sys.argv[5] == 'gs://test-storage/'
22 zip_file = zipfile.ZipFile(sys.argv[4], 'r')
  /external/iproute2/ip/
ip.c 57 static int do_help(int argc, char **argv)
64 int (*func)(int argc, char **argv);
90 static int do_cmd(const char *argv0, int argc, char **argv)
96 return -(c->func(argc-1, argv+1));
148 int main(int argc, char **argv)
152 basename = strrchr(argv[0], '/');
154 basename = argv[0];
159 char *opt = argv[1];
161 argc--; argv++;
170 argv++
    [all...]
  /external/llvm/utils/
makellvm 18 while ( !( $?options_done ) && ($#argv > 0))
19 switch ($argv[1])
23 if ($#argv < 2) usage
24 shift argv; set MFILE = $argv[1]; shift argv; breaksw
26 set doit = 0; shift argv; breaksw
28 set OBJROOT = $argv[2]; shift argv; shift argv
    [all...]

Completed in 2905 milliseconds

<<11121314151617181920>>