Home
last modified time | relevance | path

Searched refs:argv (Results 1 – 25 of 34) sorted by relevance

12

/development/scripts/
Dadd-accounts-sdk57 def main(argv): argument
58 if len(argv) == 1:
61 "[<gmail address[:password]>]") % (argv[0],)
64 argv = argv[1:]
68 while argv and "@" in argv[-1]:
69 addr = argv.pop()
75 adb_flags = tuple(argv)
128 main(sys.argv)
Dadd-accounts60 def main(argv): argument
61 if len(argv) == 1:
64 "[<gmail address[:password]>]") % (argv[0],)
67 argv = argv[1:]
71 while argv and "@" in argv[-1]:
72 addr = argv.pop()
78 adb_flags = tuple(argv)
131 main(sys.argv)
Dcompare-installed-size.py28 print "usage: " + sys.argv[0] + " filename [filename2]"
87 if len(sys.argv) < 2 or len(sys.argv) > 3:
90 ParseFile(sys.argv[1], 0)
93 if len(sys.argv) == 3:
94 ParseFile(sys.argv[2], 1)
Dnative_heapdump_viewer.py71 while i < len(sys.argv):
72 if sys.argv[i] == "--symbols":
74 self.symboldir = sys.argv[i] + "/"
75 elif sys.argv[i] == "--app-symbols":
77 self.app_symboldir = sys.argv[i] + "/"
78 elif sys.argv[i] == "--verbose":
80 elif sys.argv[i] == "--html":
82 elif sys.argv[i] == "--reverse":
84 elif sys.argv[i][0] == '-':
85 print("Invalid option %s" % (sys.argv[i]))
[all …]
Daday18 if len(sys.argv) != 2:
21 print build_to_date(sys.argv[1])
Ddisassemble_tombstone.py171 def main(argv): argument
172 for fn in argv[1:]:
178 main(sys.argv)
Dusb-reset-by-serial.py148 """ % os.path.basename(sys.argv[0])
157 optlist, args = getopt.getopt(sys.argv[1:], "d")
/development/samples/ToyVpn/server/linux/
DToyVpnServer.cpp125 static void build_parameters(char *parameters, int size, int argc, char **argv) in build_parameters() argument
130 char *parameter = argv[i]; in build_parameters()
162 int main(int argc, char **argv) in main() argument
176 "read the comments in the source code.\n\n", argv[0]); in main()
182 build_parameters(parameters, sizeof(parameters), argc, argv); in main()
185 int interface = get_interface(argv[1]); in main()
189 while ((tunnel = get_tunnel(argv[2], argv[3])) != -1) { in main()
190 printf("%s: Here comes a new tunnel\n", argv[1]); in main()
283 printf("%s: The tunnel is broken\n", argv[1]); in main()
/development/tools/line_endings/
Dline_endings.c26 main(int argc, char** argv) in main() argument
35 if (0 == strcmp("unix", argv[1])) { in main()
38 else if (0 == strcmp("dos", argv[1])) { in main()
50 chmod(argv[i], S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP); in main()
52 fd = open(argv[i], O_RDWR); in main()
54 fprintf(stderr, "unable to open file for read/write: %s\n", argv[i]); in main()
76 fprintf(stderr, "unable to read file: %s\n", argv[i]); in main()
98 fprintf(stderr, "unable to write file: %s\n", argv[i]); in main()
/development/gsi/gsi_util/
Dgsi_util.py40 def run(self, argv): argument
60 args = parser.parse_args(argv[1:])
67 logging.error('%s: %s', argv[0], e.message)
75 tool.run(sys.argv)
Dbuild.py57 prog = sys.argv[0]
128 def main(argv): argument
155 args = parser.parse_args(argv[1:])
160 main(sys.argv)
/development/testrunner/
Dcreate_test.py174 def _ParseArgs(argv): argument
182 parser = optparse.OptionParser(usage="%s <app_path>" % sys.argv[0])
183 options, args = parser.parse_args(argv)
219 def main(argv): argument
220 options, args = _ParseArgs(argv)
246 main(sys.argv[1:])
/development/vndk/tools/definition-tool/tests/testdata/test_elfdump/input/
Dmain.c4 int main(int argc, char **argv) { in main() argument
10 void *handle = dlopen(argv[1], RTLD_NOW); in main()
/development/tools/axl/
Dchewperf.py12 f = open(sys.argv[1]).read()
28 f = open(sys.argv[1]).read()
46 f = open(sys.argv[1]).read()
/development/vndk/tools/header-checker/src/dumper/
Dfixed_argv.h41 FixedArgv(int argc, const char **argv) : argv_(argv, argv + argc) {} in FixedArgv() argument
Dheader_checker.cpp100 int main(int argc, const char **argv);
113 int main(int argc, const char **argv) { in main() argument
117 FixedArgv fixed_argv(argc, argv); in main()
/development/build/tools/
Dmk_sources_zip.py77 """ % sys.argv[0]
85 def parseArgs(argv): argument
91 opts, args = getopt.getopt(argv[1:],
221 p = parseArgs(sys.argv)
/development/tools/logblame/
Danalyze_logs.py118 def ParseArgs(argv): argument
136 def main(argv): argument
137 args = ParseArgs(argv)
260 main(sys.argv)
/development/tools/repo_diff/service/repodiff/tools/
Dupgrade_db.py152 }[sys.argv[1]](sys.argv[2])
Denv_variable_load.py8 serialized_env_vars = sys.argv[1]
Dtech_area_csv_to_hashes.py39 csv_file = sys.argv[1]
Dclear_service_account_keys.py34 service_account = sys.argv[1]
/development/tools/etc1tool/
Detc1tool.cpp482 int main(int argc, char** argv) { in main() argument
483 gpExeName = argv[0]; in main()
496 const char* pArg = argv[i]; in main()
507 pOutput = argv[++i]; in main()
529 pDiffFile = argv[++i]; in main()
/development/python-packages/fastboot/
Ddevice.py205 argv = map(escape_arg, args[0])
213 ps_code += u'& ' + u' '.join(argv)
/development/vndk/tools/header-checker/src/diff/
Dheader_abi_diff.cpp196 int main(int argc, const char **argv) { in main() argument
197 llvm::cl::ParseCommandLineOptions(argc, argv, "header-checker"); in main()

12