Home
last modified time | relevance | path

Searched refs:fn (Results 1 – 19 of 19) sorted by relevance

/build/make/tools/
Dcheck_radio_versions.py40 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])
Dcompare_fileslist.py41 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]
Djava-event-log-tags.py59 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))
Dmerge-event-log-tags.py85 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)
Dproduct_debug.py71 def read_file(fn): argument
72 f = file(fn)
Djava-layers.py175 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/
Djquery-history.js62 $.fn.history = function(fn) { argument
63 $(this).bind('history', fn);
66 $.fn.historyadd = function(fn) { argument
67 $(this).bind('historyadd', fn);
Dmicrotemplate.js9 var fn = !/\W/.test(str) ?
33 return data ? fn( data ) : fn;
/build/blueprint/bootstrap/bpdoc/
Dreader.go122 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
Dreader_test.go112 fn := runtime.FuncForPC(pc)
115 pkgPath, err = funcNameToPkgPath(fn.Name())
/build/make/tools/releasetools/
Dmake_recovery_patch.py58 def output_sink(fn, data): argument
60 *fn.split("/")), "wb") as f:
Dcommon.py683 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 …]
Dcheck_target_files_signatures.py318 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)
Dtest_utils.py248 for fn in files:
249 if dirpath == base_path and re.match('test_.*\\.py$', fn):
250 test_modules.append(fn[:-3])
Dsparse_img.py239 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
Dedify_generator.py375 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}
Dadd_img_to_target_files.py121 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
Dadd_img_to_target_files121 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/
Dlogger.go125 func Recover(fn func(err error)) {
131 fn(error(log))