Home
last modified time | relevance | path

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

/development/treble/
Dcompare_build_trace.py59 def main(argv): argument
64 if len(argv) == 6:
65 ignore_text = argv[5]
66 elif len(argv) < 5 or len(argv) > 6:
72 additional_modules, additional_time = compare(Trace(argv[1]), argv[2],
73 Trace(argv[3]), argv[4],
84 main(sys.argv)
Dread_build_trace_gz.py67 def main(argv): argument
68 trace = Trace(argv[1])
72 main(sys.argv)
/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/scripts/
Daday18 if len(sys.argv) != 2:
21 print(build_to_date(sys.argv[1]))
Dcargo2rulesmk.py800 print_args = sys.argv[1:].copy()
/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.cpp99 int main(int argc, const char **argv);
112 int main(int argc, const char **argv) { in main() argument
116 FixedArgv fixed_argv(argc, argv); 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()
Dchewie.py48 f = open(sys.argv[1], "r")
/development/tools/otagui/
Dweb_server.py182 from sys import argv
183 print(argv)
203 if len(argv) == 2:
204 run_server(port=int(argv[1]))
/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/logblame/
Danalyze_logs.py118 def ParseArgs(argv): argument
136 def main(argv): argument
137 args = ParseArgs(argv)
260 main(sys.argv)
/development/tools/etc1tool/
Detc1tool.cpp482 int main(int argc, char** argv) { in main() argument
483 gpExeName = argv[0]; in main()
495 const char* pArg = argv[i]; in main()
506 pOutput = argv[++i]; in main()
527 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/tools/ops/
Dandroid_test_parser.py83 input_test_url = sys.argv[1]
/development/vndk/tools/header-checker/src/diff/
Dheader_abi_diff.cpp227 int main(int argc, const char **argv) { in main() argument
228 llvm::cl::ParseCommandLineOptions(argc, argv, "header-checker"); in main()
/development/tools/winscope/
DREADME.md29 …redDict(sorted(collections.ChainMap(*map(lambda x:json.load(open(x)), sys.argv[1:])).items())), in…
/development/vndk/tools/header-checker/src/linker/
Dheader_abi_linker.cpp517 int main(int argc, const char **argv) { in main() argument
519 llvm::cl::ParseCommandLineOptions(argc, argv, "header-linker"); in main()
/development/host/windows/usb/adb_winapi_test/
Dadb_winapi_test.cpp88 int __cdecl _tmain(int argc, TCHAR* argv[], TCHAR* envp[]) { in _tmain() argument