/development/scripts/ |
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 | 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 | 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 | stack | 30 print " usage: " + sys.argv[0] + " [options] [FILE]" 47 options, arguments = getopt.getopt(sys.argv[1:], "",
|
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/vndk/tools/header-checker/tests/ |
D | gen_expected_output.py | 7 sys.stdout.write(run_header_checker(sys.argv[1], sys.argv[2:]))
|
/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/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/vndk/tools/header-checker/header-abi-dumper/src/ |
D | header_checker.cpp | 65 int main(int argc, const char **argv) { in main() argument 71 std::vector<const char *> fixedArgv(argv, argv + argc); in main()
|
/development/vndk/tools/vtable-dumper/ |
D | vndk_vtable_dumper.cpp | 61 int main(int argc, char **argv) { in main() argument 65 ParseCommandLineOptions(argc, argv); in main()
|
/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/ndk/platforms/android-9/arch-arm/src/ |
D | crtbegin_dynamic.c | 37 extern int main(int argc, char **argv, char **env);
|
D | crtbegin_static.c | 37 extern int main(int argc, char **argv, char **env);
|
/development/ndk/platforms/android-21/arch-arm/src/ |
D | crtbegin.c | 37 extern int main(int argc, char **argv, char **env);
|
/development/ndk/platforms/android-9/arch-mips/src/ |
D | crtbegin.c | 33 extern int main(int argc, char** argv, char** env);
|
/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/merge-abi-diff/src/ |
D | merge_abi_diff.cpp | 121 int main(int argc, const char **argv) { in main() argument 123 llvm::cl::ParseCommandLineOptions(argc, argv, "merge-abi-diff"); in main()
|
/development/vndk/tools/header-checker/header-abi-diff/src/ |
D | header_abi_diff.cpp | 75 int main(int argc, const char **argv) { in main() argument 77 llvm::cl::ParseCommandLineOptions(argc, argv, "header-checker"); 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()
|
/development/vndk/tools/definition-tool/tests/ |
D | test_elfdump.py | 167 unittest.main(argv=[sys.argv[0]] + unittest_args)
|