/build/make/tools/ |
D | check_radio_versions.py | 40 key, fn = item.split(":", 1) variable 47 f = open(fn, "rb") 53 f = open(fn + ".sha1") 56 print "*** Error opening \"%s.sha1\"; can't verify %s" % (fn, key) 67 print "*** SHA-1 hash of \"%s\" doesn't appear in \"%s.sha1\"" % (fn, fn) 74 fn, versions[digest], key, sys.argv[1])
|
D | compare_fileslist.py | 41 for fn,sz in lines: 42 if not data.has_key(fn): 43 data[fn] = {} 44 data[fn][index] = sz 47 for fn,sizes in data.iteritems(): 48 row = [fn]
|
D | java-event-log-tags.py | 59 fn = args[0] variable 60 tagfile = event_log_tags.TagFile(fn) 94 for fn, ln, msg in tagfile.errors: 95 print >> sys.stderr, "%s:%d: error: %s" % (fn, ln, msg) 101 " */\n\n" % (fn,)) 105 basename, _ = os.path.splitext(os.path.basename(fn))
|
D | merge-event-log-tags.py | 85 for fn in args: 86 tagfile = event_log_tags.TagFile(fn) 135 for fn, ln, msg in errors: 136 print >> sys.stderr, "%s:%d: error: %s" % (fn, ln, msg) 140 for fn, ln, msg in warnings: 141 print >> sys.stderr, "%s:%d: warning: %s" % (fn, ln, msg)
|
D | product_debug.py | 71 def read_file(fn): argument 72 f = file(fn)
|
D | java-layers.py | 175 result.extend([fn for fn in [s.strip() for s in f.readlines()] 176 if len(fn) != 0])
|
/build/make/tools/droiddoc/templates-pdk/assets/ |
D | jquery-history.js | 62 $.fn.history = function(fn) { argument 63 $(this).bind('history', fn); 66 $.fn.historyadd = function(fn) { argument 67 $(this).bind('historyadd', fn);
|
D | microtemplate.js | 9 var fn = !/\W/.test(str) ? 33 return data ? fn( data ) : fn;
|
/build/blueprint/bootstrap/bpdoc/ |
D | reader.go | 122 for _, fn := range goPkg.Funcs { 123 if fn.Name == factoryFuncName { 124 return fn.Doc, nil 130 for _, fn := range typ.Funcs { 131 if fn.Name == factoryFuncName { 132 return fn.Doc, nil
|
D | reader_test.go | 112 fn := runtime.FuncForPC(pc) 115 pkgPath, err = funcNameToPkgPath(fn.Name())
|
/build/make/tools/releasetools/ |
D | make_recovery_patch.py | 58 def output_sink(fn, data): argument 60 *fn.split("/")), "wb") as f:
|
D | common.py | 683 def ReadFromInputFile(input_file, fn): argument 686 return input_file.read(fn).decode() 688 path = os.path.join(input_file, *fn.split("/")) 694 raise KeyError(fn) 697 def ExtractFromInputFile(input_file, fn): argument 700 tmp_file = MakeTempFile(os.path.basename(fn)) 702 f.write(input_file.read(fn)) 705 file = os.path.join(input_file, *fn.split("/")) 707 raise KeyError(fn) 760 def read_helper(fn): argument [all …]
|
D | check_target_files_signatures.py | 318 for fn in filenames: 320 if compressed_extension and fn.endswith(compressed_extension): 322 uncompressed_fn = fn[:-len(compressed_extension)] 325 common.Gunzip(os.path.join(dirpath, fn), 332 os.remove(os.path.join(dirpath, fn)) 333 fn = uncompressed_fn 335 if fn.endswith(('.apk', '.apex')): 336 fullname = os.path.join(dirpath, fn)
|
D | test_utils.py | 248 for fn in files: 249 if dirpath == base_path and re.match('test_.*\\.py$', fn): 250 test_modules.append(fn[:-3])
|
D | sparse_img.py | 239 def LoadFileBlockMap(self, fn, clobbered_blocks, allow_shared_blocks): argument 250 with open(fn) as f: 252 fn, ranges_text = line.rstrip().split(None, 1) 280 out[fn] = ranges
|
D | edify_generator.py | 375 def _CheckSecondTokenNotSlotSuffixed(self, s, fn): argument 382 "Use %s because %s is slot suffixed" % (fn, lst[1]) 384 def WriteRawImage(self, mount_point, fn, mapfn=None): argument 393 args = {'device': device, 'fn': fn}
|
D | add_img_to_target_files.py | 121 def output_sink(fn, data): argument 122 output_file = os.path.join(OPTIONS.input_tmp, "SYSTEM", fn) 127 arc_name = "SYSTEM/" + fn 169 def output_sink(fn, data): argument 170 ofile = open(os.path.join(OPTIONS.input_tmp, "VENDOR", fn), "w") 175 arc_name = "VENDOR/" + fn
|
D | add_img_to_target_files | 121 def output_sink(fn, data): 122 output_file = os.path.join(OPTIONS.input_tmp, "SYSTEM", fn) 127 arc_name = "SYSTEM/" + fn 169 def output_sink(fn, data): 170 ofile = open(os.path.join(OPTIONS.input_tmp, "VENDOR", fn), "w") 175 arc_name = "VENDOR/" + fn
|
/build/soong/ui/logger/ |
D | logger.go | 125 func Recover(fn func(err error)) { 131 fn(error(log))
|