/development/scripts/ |
D | add-accounts | 60 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)
|
D | add-accounts-sdk | 57 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)
|
D | compare-installed-size.py | 28 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)
|
D | aday | 18 if len(sys.argv) != 2: 21 print build_to_date(sys.argv[1])
|
D | native_heapdump_viewer.py | 71 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 …]
|
D | disassemble_tombstone.py | 171 def main(argv): argument 172 for fn in argv[1:]: 178 main(sys.argv)
|
D | usb-reset-by-serial.py | 148 """ % os.path.basename(sys.argv[0]) 157 optlist, args = getopt.getopt(sys.argv[1:], "d")
|
/development/samples/ToyVpn/server/linux/ |
D | ToyVpnServer.cpp | 125 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/ |
D | line_endings.c | 26 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/ |
D | gsi_util.py | 40 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)
|
D | build.py | 57 prog = sys.argv[0] 128 def main(argv): argument 155 args = parser.parse_args(argv[1:]) 160 main(sys.argv)
|
/development/vndk/tools/definition-tool/tests/testdata/test_elfdump/input/ |
D | main.c | 4 int main(int argc, char **argv) { in main() argument 10 void *handle = dlopen(argv[1], RTLD_NOW); in main()
|
/development/testrunner/ |
D | create_test.py | 174 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/header-checker/src/dumper/ |
D | fixed_argv.h | 41 FixedArgv(int argc, const char **argv) : argv_(argv, argv + argc) {} in FixedArgv() argument
|
D | header_checker.cpp | 88 int main(int argc, const char **argv) { in main() argument 92 FixedArgv fixed_argv(argc, argv); in main()
|
/development/tools/axl/ |
D | chewperf.py | 12 f = open(sys.argv[1]).read() 28 f = open(sys.argv[1]).read() 46 f = open(sys.argv[1]).read()
|
/development/tools/repo_diff/service/repodiff/tools/ |
D | upgrade_db.py | 152 }[sys.argv[1]](sys.argv[2])
|
D | env_variable_load.py | 8 serialized_env_vars = sys.argv[1]
|
D | tech_area_csv_to_hashes.py | 39 csv_file = sys.argv[1]
|
D | clear_service_account_keys.py | 34 service_account = sys.argv[1]
|
/development/build/tools/ |
D | mk_sources_zip.py | 77 """ % sys.argv[0] 85 def parseArgs(argv): argument 91 opts, args = getopt.getopt(argv[1:], 221 p = parseArgs(sys.argv)
|
/development/tools/logblame/ |
D | analyze_logs.py | 118 def ParseArgs(argv): argument 136 def main(argv): argument 137 args = ParseArgs(argv) 260 main(sys.argv)
|
/development/vndk/tools/header-checker/src/diff_merge/ |
D | merge_abi_diff.cpp | 115 int main(int argc, const char **argv) { in main() argument 117 llvm::cl::ParseCommandLineOptions(argc, argv, "merge-abi-diff"); in main()
|
/development/python-packages/fastboot/ |
D | device.py | 205 argv = map(escape_arg, args[0]) 213 ps_code += u'& ' + u' '.join(argv)
|
/development/tools/etc1tool/ |
D | etc1tool.cpp | 482 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()
|