Home
last modified time | relevance | path

Searched refs:args (Results 1 – 22 of 22) sorted by relevance

/build/tools/
Djava-event-log-tags.py38 opts, args = getopt.getopt(sys.argv[1:], "ho:") variable
54 if len(args) != 2:
55 print "need exactly two input files, not %d" % (len(args),)
59 fn = args[0]
65 merged_fn = args[1]
136 args = [arg.strip("() ").split("|") for arg in t.description.split(",")] variable
138 args = [] variable
139 argTypesNames = ", ".join([javaTypes[int(arg[1])] + " " + javaName(arg[0]) for arg in args])
140 argNames = "".join([", " + javaName(arg[0]) for arg in args])
Dgenerate-notice-files.py42 opts, args = getopt.getopt(sys.argv[1:], "h") variable
55 if len(args) != 4:
57 and the directory containing notices, not %d""" % (len(args),)
166 def main(args): argument
167 txt_output_file = args[0]
168 html_output_file = args[1]
169 file_title = args[2]
172 input_dir = os.path.normpath(args[3])
188 main(args)
Dmerge-event-log-tags.py50 opts, args = getopt.getopt(sys.argv[1:], "ho:m:") variable
85 for fn in args:
Dparsedeps.py85 (options, args) = opts.parse_args()
89 filename = args[0]
/build/tools/atree/
Dfs.cpp187 const char** args = (const char**) malloc(sizeof(const char*) * (num_args + 2)); in strip_file() local
189 const char** curr = args; in strip_file()
204 args[num_args] = path.c_str(); in strip_file()
205 args[num_args + 1] = NULL; in strip_file()
207 int ret = execvp(args[0], (char* const*)args); in strip_file()
208 free(args); in strip_file()
/build/tools/fs_get_stats/
Dfs_get_stats.c10 #define ERROR(fmt,args...) \ argument
13 __FILE__, __LINE__, ##args); \
17 #define DEBUG(fmt,args...) \ argument
18 do { fprintf(stderr, "DEBUG: " fmt, ##args); } while(0)
/build/tools/signapk/
DSignApk.java840 public static void main(String[] args) { in main() argument
841 if (args.length < 4) usage(); in main()
852 while (argstart < args.length && args[argstart].startsWith("-")) { in main()
853 if ("-w".equals(args[argstart])) { in main()
856 } else if ("-providerClass".equals(args[argstart])) { in main()
857 if (argstart + 1 >= args.length) { in main()
860 providerClass = args[++argstart]; in main()
862 } else if ("-a".equals(args[argstart])) { in main()
863 alignment = Integer.parseInt(args[++argstart]); in main()
870 if ((args.length - argstart) % 2 == 1) usage(); in main()
[all …]
/build/tools/releasetools/
Dimg_from_target_files68 args = common.ParseOptions(argv, __doc__,
75 if len(args) != 2:
79 OPTIONS.input_tmp, input_zip = common.UnzipTemp(args[0])
80 output_zip = zipfile.ZipFile(args[1], "w", compression=zipfile.ZIP_DEFLATED)
Dimg_from_target_files.py68 args = common.ParseOptions(argv, __doc__,
75 if len(args) != 2:
79 OPTIONS.input_tmp, input_zip = common.UnzipTemp(args[0])
80 output_zip = zipfile.ZipFile(args[1], "w", compression=zipfile.ZIP_DEFLATED)
Dmake_recovery_patch32 args = common.ParseOptions(argv, __doc__)
33 input_dir, output_dir = args
Dedify_generator.py267 args = {'device': p.device, 'fn': fn}
271 % args)
274 args["map"] = mapfn
276 'package_extract_file("%(fn)s", "%(device)s", "%(map)s");' % args)
279 'package_extract_file("%(fn)s", "%(device)s");' % args)
Dcommon.py73 def Run(args, **kwargs): argument
77 print " running: ", " ".join(args)
78 return subprocess.Popen(args, **kwargs)
336 args = info_dict.get("mkbootimg_args", None)
337 if args and args.strip():
338 cmd.extend(shlex.split(args))
619 opts, args = getopt.getopt(
665 return args
823 def _DoCall(self, function_name, *args, **kwargs): argument
831 return getattr(self.module, function_name)(*((self,) + args), **kwargs)
Dsign_target_files_apks453 args = common.ParseOptions(argv, __doc__,
464 if len(args) != 2:
468 input_zip = zipfile.ZipFile(args[0], "r")
469 output_zip = zipfile.ZipFile(args[1], "w")
485 add_img_to_target_files.AddImagesToTargetFiles(args[1])
Dadd_img_to_target_files.py249 args = common.ParseOptions(argv, __doc__)
251 if len(args) != 1:
255 AddImagesToTargetFiles(args[0])
Dadd_img_to_target_files249 args = common.ParseOptions(argv, __doc__)
251 if len(args) != 1:
255 AddImagesToTargetFiles(args[0])
Dcheck_target_files_signatures385 args = common.ParseOptions(argv, __doc__,
391 if len(args) != 1:
400 target_files.LoadZipFile(args[0])
Dota_from_target_files1426 args = common.ParseOptions(argv, __doc__,
1446 if len(args) != 2:
1454 OPTIONS.input_tmp, input_zip = common.UnzipTemp(args[0])
1492 if os.path.exists(args[1]): os.unlink(args[1])
1493 output_zip = zipfile.ZipFile(args[1], "w", compression=zipfile.ZIP_DEFLATED)
1534 SignOutput(temp_zip_file.name, args[1])
/build/core/
Dprocess_wrapper_gdb.sh17 gdb -q -x $2/process_wrapper_gdb.cmds --args "$@"
Ddefinitions.mk816 define transform-d-to-p-args
824 $(call transform-d-to-p-args,$(@:%.o=%.d),$(@:%.o=%.P))
/build/tools/droiddoc/test/stubs/src/com/android/stubs/a/
DA.java26 public A varargs(Parent... args) { in varargs() argument
/build/tools/droiddoc/test/stubs/expected/com/android/stubs/a/
DA.java11 public com.android.stubs.a.A varargs(com.android.stubs.Parent[]... args) { throw new RuntimeExcept… in varargs() argument
/build/core/tasks/check_boot_jars/
Dcheck_boot_jars.py46 p = subprocess.Popen(args='jar tf %s' % jar,