/build/tools/ |
D | findleaves.py | 65 "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)
|
D | diff_package_overlays.py | 39 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)
|
D | check_radio_versions.py | 25 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])
|
D | post_process_props.py | 65 def main(argv): argument 66 filename = argv[1] 77 sys.stderr.write("bad command line: " + str(argv) + "\n") 85 main(sys.argv)
|
D | filter-product-graph.py | 45 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:]
|
D | fileslist.py | 24 def main(argv): argument 26 roots = argv[1:] 45 main(sys.argv)
|
D | compare_fileslist.py | 31 def main(argv): argument 32 inputs = argv[1:] 104 main(sys.argv)
|
D | java-layers.py | 237 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)
|
D | product_debug.py | 77 def main(argv): argument 160 main(sys.argv)
|
D | parsedeps.py | 81 def main(argv): argument 146 main(sys.argv)
|
D | warn.py | 7 if len(sys.argv) == 1: 8 print 'usage: ' + sys.argv[0] + ' <build.log>' 517 infile = open(sys.argv[1], 'r')
|
D | java-event-log-tags.py | 38 opts, args = getopt.getopt(sys.argv[1:], "ho:")
|
/build/tools/zipalign/ |
D | ZipAlign.cpp | 193 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/ |
D | fs_get_stats.c | 37 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/ |
D | acp.c | 41 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/ |
D | atree.cpp | 94 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/ |
D | build_image.py | 152 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:])
|
D | img_from_target_files | 205 def main(argv): argument 217 args = common.ParseOptions(argv, __doc__, 265 main(sys.argv[1:])
|
D | sign_target_files_apks | 325 def main(argv): argument 353 args = common.ParseOptions(argv, __doc__, 390 main(sys.argv[1:])
|
D | check_target_files_signatures | 373 def main(argv): argument 385 args = common.ParseOptions(argv, __doc__, 435 r = main(sys.argv[1:])
|
/build/tools/check_prereq/ |
D | check_prereq.c | 26 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/ |
D | list.java | 7 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/ |
D | to565.c | 131 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/ |
D | checktree | 69 if len(sys.argv) == 1: 71 elif len(sys.argv) == 2 and sys.argv[1] == "-a":
|
/build/tools/fs_config/ |
D | fs_config.c | 74 int main(int argc, char** argv) { in main() argument 80 while((opt = getopt(argc, argv, "CS:")) != -1) { in main()
|