Home
last modified time | relevance | path

Searched refs:err (Results 1 – 23 of 23) sorted by relevance

/build/tools/atree/
Dfs.cpp21 int err; in is_dir() local
23 err = stat(path.c_str(), &st); in is_dir()
24 return err != 0 || S_ISDIR(st.st_mode); in is_dir()
30 int err = unlink(path.c_str()); in remove_file() local
31 if (err != 0) { in remove_file()
42 int err; in remove_recursively() local
81 err = remove_file(*it); in remove_recursively()
82 if (err != 0) { in remove_recursively()
83 return err; in remove_recursively()
88 err = remove_recursively(*it); in remove_recursively()
[all …]
Datree.cpp78 int err; in main() local
173 err = read_list_file(*it, g_variables, &files, &excludes); in main()
174 if (err != 0) { in main()
175 return err; in main()
180 err = 0; in main()
183 err |= locate(&(*it), g_inputBases); in main()
191 err |= list_dir(*it, excludes, &more); in main()
205 if (err != 0) { in main()
237 err = remove_recursively(*it); in main()
238 if (err != 0) { in main()
[all …]
Dfiles.cpp163 int err = 0; in read_list_file() local
174 err = errno; in read_list_file()
178 err = fseek(f, 0, SEEK_END); in read_list_file()
179 if (err != 0) { in read_list_file()
182 err = errno; in read_list_file()
188 err = fseek(f, 0, SEEK_SET); in read_list_file()
189 if (err != 0) { in read_list_file()
192 err = errno; in read_list_file()
200 err = ENOMEM; in read_list_file()
207 err = errno; in read_list_file()
[all …]
/build/tools/kcm/
Dkcm.cpp58 int err; in main() local
142 err = parse_key_line(filename, lineno, thisline, &kr); in main()
143 if (err == 0) { in main()
157 else if (err > 0) { in main()
158 errorcount += err; in main()
223 err = write(out, "keychar", 8); in main()
224 if (err == -1) goto bad_write; in main()
227 err = write(out, &n, 4); in main()
228 if (err == -1) goto bad_write; in main()
231 err = write(out, &n, 4); in main()
[all …]
/build/libs/host/
Dlist.java14 e.printStackTrace(System.err); in main()
22 e.printStackTrace(System.err); in main()
/build/tools/releasetools/
Dcheck_target_files_signatures95 out, err = p.communicate(cert)
96 if err and not err.strip():
169 out, err = p.communicate(data)
170 if err and not err.strip():
171 AddProblem("error reading cert:\n" + err)
216 manifest, err = p.communicate()
217 if err:
Dcommon.py446 except getopt.GetoptError, err:
448 print "**", str(err), "**"
712 _, err = p.communicate()
713 if err or p.returncode != 0:
714 print "WARNING: failure running %s:\n%s\n" % (diff_program, err)
/build/tools/droiddoc/templates/
Dtodo.cs87 <?cs each:err=cl.errors ?>
89 <td><?cs var:err.pos ?></td>
90 <td><?cs var:err.name ?></td>
91 <td><?cs var:err.descr ?></td>
/build/tools/droiddoc/src/
DClearPage.java171 System.err.println(from.getAbsolutePath() + ": Error opening file"); in copyFile()
179 System.err.println(from.getAbsolutePath() + ": Error opening file"); in copyFile()
192 System.err.println(from.getAbsolutePath() in copyFile()
201 System.err.println(from.getAbsolutePath() in copyFile()
DDocFile.java95 System.err.println(docfile + ":" + lineno + ": error parsing docfile"); in writePage()
97 System.err.println(docfile + ":" + lineno + ":" + line); in writePage()
DErrors.java74 System.err.println(m.toString()); in printErrors()
79 System.err.println(m.toString()); in printErrors()
DHierarchy.java73 System.err.println("The following classes are hidden but" in makeHierarchy()
76 System.err.println(" " + n); in makeHierarchy()
DDroidDoc.java319 System.err.println("template.escape." + i + ".key must have a length of 1: " + k); in readTemplateSettings()
351 System.err.println(fn + ":" + lineno in readKnownTagsFiles()
363 System.err.println("Error reading file: " + fn + " (" + ex.getMessage() + ")"); in readKnownTagsFiles()
594 System.err.println("Error reading package: " + pkg.name()); in makePackageHDF()
658 System.err.println("htmlDir not a directory: " + htmlDir); in writeHTMLPages()
761 System.err.println("error writing file: " + filename); in writeKeepList()
818 System.err.println("Error reading package: " + pkg.name()); in choosePackages()
DProofread.java44 System.err.println("error opening file: " + filename); in initProofread()
DStubs.java334 System.err.println("error writing file: " + filename); in writeClassFile()
/build/tools/
Djava-event-log-tags.py38 except getopt.GetoptError, err:
39 print str(err)
Dmerge-event-log-tags.py48 except getopt.GetoptError, err:
49 print str(err)
/build/tools/apriori/
Drangesort.c170 static void handle_range_error(range_error_t err, in handle_range_error() argument
172 switch (err) { in handle_range_error()
198 static void handle_contiguous_range_error(range_error_t err, in handle_contiguous_range_error() argument
224 handle_range_error(err, left, right); in handle_contiguous_range_error()
Dapriori.c127 static void handle_range_error(range_error_t err, in handle_range_error() argument
129 switch (err) { in handle_range_error()
/build/tools/zipalign/
DZipFile.cpp46 static status_t errnoToStatus(int err) in errnoToStatus() argument
48 if (err == ENOENT) in errnoToStatus()
50 else if (err == EACCES) in errnoToStatus()
98 int err = errno; in open() local
99 LOGD("fopen failed: %d\n", err); in open()
100 return errnoToStatus(err); in open()
/build/tools/apicheck/src/com/android/apicheck/
DErrors.java71 System.err.println(m.toString()); in printErrors()
DApiCheck.java79 System.err.println("Bad argument: " + a[0] + " " + a[1]); in main()
/build/tools/signapk/
DSignApk.java141 System.err.println("signapk: Password for " + keyFile + " may be bad."); in decryptPrivateKey()
430 System.err.println("Usage: signapk [-w] " + in main()