Home
last modified time | relevance | path

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

12

/build/tools/
Dfindleaves.py65 "progName": os.path.split(sys.argv[0])[1],
69 def main(argv): argument
73 while i<len(argv) and len(argv[i])>2 and argv[i][0:2] == "--":
74 arg = argv[i]
88 if len(argv)-i < 2: # need both <dirlist> and <filename>
90 dirlist = argv[i:-1]
91 filename = argv[-1]
98 main(sys.argv)
Ddiff_package_overlays.py39 def main(argv): argument
40 if len(argv) != 4:
44 f = open(argv[1])
60 current_overlays = load_overlay_config(argv[2])
61 previous_overlays = load_overlay_config(argv[3])
81 f = open(argv[2], "a")
91 main(sys.argv)
Dcheck_radio_versions.py25 if len(sys.argv) < 2:
29 f = open(sys.argv[1])
39 for item in sys.argv[2:]:
74 fn, versions[digest], key, sys.argv[1])
Dpost_process_props.py65 def main(argv): argument
66 filename = argv[1]
77 sys.stderr.write("bad command line: " + str(argv) + "\n")
85 main(sys.argv)
Dfilter-product-graph.py45 sys.stderr.write("argv: " + str(sys.argv) + "\n")
46 if not (len(sys.argv) == 2 and sys.argv[1] == "--all"):
47 targets = sys.argv[1:]
Dfileslist.py24 def main(argv): argument
26 roots = argv[1:]
45 main(sys.argv)
Dcompare_fileslist.py31 def main(argv): argument
32 inputs = argv[1:]
104 main(sys.argv)
Djava-layers.py237 def main(argv): argument
238 if len(argv) < 3:
240 deps = parse_dependency_file(argv[1])
245 java = find_java_files(argv[2:])
250 sys.stderr.write("%s: Using this file as dependency file.\n" % argv[1])
256 main(sys.argv)
Dproduct_debug.py77 def main(argv): argument
160 main(sys.argv)
Dparsedeps.py81 def main(argv): argument
146 main(sys.argv)
Dwarn.py7 if len(sys.argv) == 1:
8 print 'usage: ' + sys.argv[0] + ' <build.log>'
517 infile = open(sys.argv[1], 'r')
Djava-event-log-tags.py38 opts, args = getopt.getopt(sys.argv[1:], "ho:")
/build/tools/zipalign/
DZipAlign.cpp193 int main(int argc, char* const argv[]) in main() argument
209 argv++; in main()
211 while (argc && argv[0][0] == '-') { in main()
212 const char* cp = argv[0] +1; in main()
235 argv++; in main()
243 alignment = strtol(argv[0], &endp, 10); in main()
245 fprintf(stderr, "Invalid value for alignment: %s\n", argv[0]); in main()
252 result = verify(argv[1], alignment, verbose); in main()
255 result = process(argv[1], argv[2], alignment, force); in main()
259 result = verify(argv[2], alignment, verbose); in main()
/build/tools/fs_get_stats/
Dfs_get_stats.c37 main(int argc, const char *argv[]) in main() argument
51 perms = (unsigned)strtoul(argv[1], &endptr, 0); in main()
52 if (!endptr || (endptr == argv[1]) || (*endptr != '\0')) { in main()
53 ERROR("current permissions must be a number. Got '%s'.\n", argv[1]); in main()
57 if (!strcmp(argv[2], "1")) in main()
61 fs_config(argv[3], is_dir, &uid, &gid, &perms, &capabilities); in main()
/build/tools/acp/
Dacp.c41 int process(int argc, char* const argv[], unsigned int options) in process() argument
61 stripDestLen = strlen(argv[argc-1]); in process()
63 memcpy(stripDest, argv[argc-1], stripDestLen+1); in process()
122 srcLen = strlen(argv[i]); in process()
124 memcpy(src, argv[i], srcLen+1); in process()
172 int main(int argc, char* const argv[]) in main() argument
184 ic = getopt(argc, argv, "defprtuv"); in main()
248 retVal = process(argc-optind, argv+optind, options); in main()
/build/tools/atree/
Datree.cpp94 main(int argc, char* const* argv) in main() argument
99 int opt = getopt(argc, argv, "f:I:o:hlm:v:d"); in main()
114 "-o %s\n", argv[0], optarg); in main()
125 "-m %s\n", argv[0], optarg); in main()
134 argv[0], optarg); in main()
148 fprintf(stderr, "%s: invalid argument -- %s\n", argv[0], argv[optind]); in main()
154 argv[0]); in main()
160 argv[0]); in main()
165 fprintf(stderr, "%s: -o option must be supplied.\n", argv[0]); in main()
/build/tools/releasetools/
Dbuild_image.py152 def main(argv): argument
153 if len(argv) != 3:
157 in_dir = argv[0]
158 glob_dict_file = argv[1]
159 out_file = argv[2]
183 main(sys.argv[1:])
Dimg_from_target_files205 def main(argv): argument
217 args = common.ParseOptions(argv, __doc__,
265 main(sys.argv[1:])
Dsign_target_files_apks325 def main(argv): argument
353 args = common.ParseOptions(argv, __doc__,
390 main(sys.argv[1:])
Dcheck_target_files_signatures373 def main(argv): argument
385 args = common.ParseOptions(argv, __doc__,
435 r = main(sys.argv[1:])
/build/tools/check_prereq/
Dcheck_prereq.c26 int main(int argc, char** argv) { in main() argument
29 fprintf(stderr, "usage: %s <timestamp>\n", argv[0]); in main()
40 long install = strtol(argv[1], &end, 10); in main()
/build/libs/host/
Dlist.java7 public static void main(String[] argv) in main() argument
17 int n = Integer.parseInt(argv[1], 16); in main()
27 System.out.print(" case '" + argv[0] + "': return \""); in main()
/build/tools/rgb2565/
Dto565.c131 int main(int argc, char **argv) in main() argument
133 if ((argc == 2) && (!strcmp(argv[1],"-rle"))) { in main()
136 if (argc > 2 && (!strcmp(argv[1], "-w"))) { in main()
137 to_565_raw_dither(atoi(argv[2])); in main()
/build/core/
Dchecktree69 if len(sys.argv) == 1:
71 elif len(sys.argv) == 2 and sys.argv[1] == "-a":
/build/tools/fs_config/
Dfs_config.c74 int main(int argc, char** argv) { in main() argument
80 while((opt = getopt(argc, argv, "CS:")) != -1) { in main()

12