Home
last modified time | relevance | path

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

/build/tools/isprelinked/
Disprelinked.c47 const char *filename; in main() local
49 filename = *argv++; in main()
57 INFO("Processing file [%s]\n", filename); in main()
59 fd = open(filename, O_RDONLY); in main()
61 filename, in main()
72 prelinked = check_prelinked(filename, elf_hdr.e_ident[EI_DATA] == ELFDATA2LSB, in main()
79 PRINT("%s: 0x%08x\n", filename, prelink_addr); in main()
81 PRINT("%s: not prelinked\n", filename); in main()
/build/tools/droiddoc/src/
DProofread.java29 public static void initProofread(String filename) in initProofread() argument
32 out = new FileWriter(filename); in initProofread()
33 out.write("javadoc proofread file: " + filename + "\n"); in initProofread()
44 System.err.println("error opening file: " + filename); in initProofread()
48 public static void finishProofread(String filename) in finishProofread() argument
83 public static void writeFileHeader(String filename) in writeFileHeader() argument
86 write(filename); in writeFileHeader()
125 public static void writePackages(String filename, TagInfo[] tags) in writePackages() argument
131 writeFileHeader(filename); in writePackages()
135 public static void writePackage(String filename, TagInfo[] tags) in writePackage() argument
[all …]
DSampleTagInfo.java84 String filename = m.group(1); in SampleTagInfo() local
89 mIncluded = readFile(position, filename, id, trim, true, false); in SampleTagInfo()
91 mIncluded = loadInclude(position, filename, id, trim); in SampleTagInfo()
96 + "' not found in file: " + filename); in SampleTagInfo()
117 static String loadInclude(SourcePositionInfo pos, String filename, in loadInclude() argument
127 input = new FileReader(filename); in loadInclude()
197 + " include \"" + id + "\" " + filename); in loadInclude()
209 + " in file " + filename); in loadInclude()
213 static String readFile(SourcePositionInfo pos, String filename, in readFile() argument
222 input = new FileReader(filename); in readFile()
[all …]
DClearPage.java73 public static void write(HDF data, String templ, String filename) in write() argument
75 write(data, templ, filename, false); in write()
78 public static void write(HDF data, String templ, String filename, boolean fullPath) in write() argument
88 int slashcount = countSlashes(filename); in write()
100 data.setValue("filename", filename); in write()
103 filename = outputDir + "/" + filename; in write()
125 File file = new File(outputFilename(filename)); in write()
137 System.out.println("error: " + e.getMessage() + "; when writing file: " + filename); in write()
DSampleCode.java134 String filename = dir.getPath() + "/_index.html"; in writeIndex() local
135 String summary = SampleTagInfo.readFile(new SourcePositionInfo(filename, in writeIndex()
136 -1,-1), filename, "sample code", true, false, true); in writeIndex()
149 String filename = f.getPath(); in writePage() local
150 String data = SampleTagInfo.readFile(new SourcePositionInfo(filename, -1,-1), filename, in writePage()
DDroidDoc.java636 String filename = templ.substring(0,len-3) + htmlExtension; in writeDirectory() local
637 ClearPage.write(data, templ, filename); in writeDirectory()
640 String filename = templ.substring(0,len-3) + htmlExtension; in writeDirectory() local
641 DocFile.writePage(f.getAbsolutePath(), relative, filename); in writeDirectory() local
741 public static void writeKeepList(String filename) { in writeKeepList() argument
755 stream = new PrintStream(filename); in writeKeepList()
761 System.err.println("error writing file: " + filename); in writeKeepList()
843 public static void writePackages(String filename) in writePackages() argument
864 ClearPage.write(data, "packages.cs", filename); in writePackages()
867 Proofread.writePackages(filename, in writePackages()
[all …]
DDocFile.java31 public static String readFile(String filename) in readFile() argument
34 File f = new File(filename); in readFile()
DTodoFile.java65 public static void writeTodoFile(String filename) { in writeTodoFile() argument
192 ClearPage.write(data, "todo.cs", filename, true); in writeTodoFile()
DStubs.java324 String filename = stubsDir + '/' + javaFileName(cl); in writeClassFile() local
325 File file = new File(filename); in writeClassFile()
334 System.err.println("error writing file: " + filename); in writeClassFile()
/build/tools/kcm/
Dkcm.cpp49 static int parse_key_line(const char* filename, int lineno, char* line,
63 const char* filename = argv[1]; in main() local
66 int in = open(filename, O_RDONLY); in main()
68 fprintf(stderr, "kcm: error opening file for read: %s\n", filename); in main()
121 filename, lineno, thisline); in main()
132 filename, lineno, thisline); in main()
142 err = parse_key_line(filename, lineno, thisline, &kr); in main()
149 filename, lineno, kr.values[0]); in main()
151 filename, old->second.lineno); in main()
167 fprintf(stderr, "%s:%d: too many errors. stopping.\n", filename, in main()
[all …]
/build/tools/
Devent_log_tags.py23 def __init__(self, tagnum, tagname, description, filename, linenum): argument
27 self.filename = filename
36 self.errors.append((self.filename, linenum, msg))
41 self.warnings.append((self.filename, linenum, msg))
43 def __init__(self, filename, file_object=None): argument
52 self.filename = filename
57 file_object = open(filename, "rb")
94 self.filename, self.linenum))
Dfindleaves.py26 def perform_find(mindepth, prune, dirlist, filename): argument
51 if filename in files:
52 result.append(os.path.join(root, filename))
91 filename = argv[-1]
92 results = perform_find(mindepth, prune, dirlist, filename)
Dmerge-event-log-tags.py105 (t.tagname, t.tagnum, orig.filename, orig.linenum),
110 (t.tagname, orig.tagnum, orig.filename, orig.linenum),
120 (t.tagnum, orig.tagname, orig.filename, orig.linenum),
/build/tools/releasetools/
Dcheck_target_files_signatures158 def CertFromPKCS7(data, filename): argument
161 Push(filename + ":")
184 def __init__(self, full_filename, filename): argument
185 self.filename = filename
187 Push(filename+":")
200 if info.filename.startswith("META-INF/") and \
201 (info.filename.endswith(".DSA") or info.filename.endswith(".RSA")):
204 pkcs7 = apk.read(info.filename)
205 self.cert = CertFromPKCS7(pkcs7, info.filename)
247 def LoadZipFile(self, filename): argument
[all …]
Dsign_target_files_apks106 if info.filename.endswith(".apk"):
107 name = os.path.basename(info.filename)
135 maxsize = max([len(os.path.basename(i.filename))
137 if i.filename.endswith('.apk')])
140 data = input_tf_zip.read(info.filename)
142 if info.filename.endswith(".apk"):
143 name = os.path.basename(info.filename)
153 elif info.filename in ("SYSTEM/build.prop",
155 print "rewriting %s:" % (info.filename,)
Dedify_generator.py114 def PatchCheck(self, filename, *sha1): argument
118 self.script.append('assert(apply_patch_check("%s"' % (filename,) +
122 def FileCheck(self, filename, *sha1): argument
125 self.script.append('assert(sha1_check(read_file("%s")' % (filename,) +
Dota_from_target_files256 if info.filename.startswith("SYSTEM/"):
257 basefilename = info.filename[7:]
259 symlinks.append((input_zip.read(info.filename),
263 fn = info2.filename = "system/" + basefilename
270 data = input_zip.read(info.filename)
424 if info.filename.startswith("SYSTEM/") and not IsSymlink(info):
425 fn = "system/" + info.filename[7:]
426 data = z.read(info.filename)
Dcommon.py259 def UnzipTemp(filename, pattern=None): argument
264 cmd = ["unzip", "-o", "-q", filename, "-d", tmp]
271 (filename,))
583 def ZipWriteStr(zip, filename, data, perms=0644): argument
585 zinfo = zipfile.ZipInfo(filename=filename,
/build/tools/atree/
Dfiles.cpp158 read_list_file(const string& filename, in read_list_file() argument
170 f = fopen(filename.c_str(), "r"); in read_list_file()
173 filename.c_str(), strerror(errno)); in read_list_file()
181 filename.c_str(), strerror(errno)); in read_list_file()
191 filename.c_str(), strerror(errno)); in read_list_file()
206 filename.c_str(), strerror(errno)); in read_list_file()
257 add_file(files, filename, i+1, w0, w0); in read_list_file()
271 add_file(files, filename, i+1, w0, w1); in read_list_file()
274 fprintf(stderr, "%s:%d: bad format: %s\n", filename.c_str(), in read_list_file()
335 dir_part(const string& filename) in dir_part() argument
[all …]
Dfiles.h29 int read_list_file(const string& filename,
35 string dir_part(const string& filename);
/build/core/
Dmulti_prebuilt.mk54 $(if $(word 3,$(tw)),$(error $(LOCAL_PATH): Bad prebuilt filename '$(t)')) \
/build/tools/apriori/
Dapriori.c2067 static source_t* process_file(const char *filename, in process_file() argument
2092 find_source(filename, lib_lookup_dirs, num_lib_lookup_dirs); in process_file()
2096 INFO("Processing [%s].\n", filename); in process_file()
2097 char *full = find_file(filename, lib_lookup_dirs, num_lib_lookup_dirs); in process_file()
2100 "the search paths!\n", filename); in process_file()
2107 INFO("File [%s] is a static executable.\n", filename); in process_file()
2218 INFO("[%s] depends on [%s].\n", filename, dep_lib); in process_file()
2266 INFO("Handling [%s].\n", filename); in process_file()
2501 filename, in process_file()
2504 } else INFO("[%s] has been processed already.\n", filename); in process_file()