/build/tools/applypatch/ |
D | utils.c | 22 void Write4(int value, FILE* f) { in Write4() argument 23 fputc(value & 0xff, f); in Write4() 24 fputc((value >> 8) & 0xff, f); in Write4() 25 fputc((value >> 16) & 0xff, f); in Write4() 26 fputc((value >> 24) & 0xff, f); in Write4() 30 void Write8(long long value, FILE* f) { in Write8() argument 31 fputc(value & 0xff, f); in Write8() 32 fputc((value >> 8) & 0xff, f); in Write8() 33 fputc((value >> 16) & 0xff, f); in Write8() 34 fputc((value >> 24) & 0xff, f); in Write8() [all …]
|
D | bspatch.c | 112 FILE* f; in ApplyBSDiffPatchMem() local 113 if ((f = fopen(patch_filename, "rb")) == NULL) { in ApplyBSDiffPatchMem() 130 fseek(f, patch_offset, SEEK_SET); in ApplyBSDiffPatchMem() 133 if (fread(header, 1, 32, f) < 32) { in ApplyBSDiffPatchMem() 153 fclose(f); in ApplyBSDiffPatchMem() 157 #define OPEN_AT(f, bzf, offset) \ in ApplyBSDiffPatchMem() argument 158 FILE* f; \ in ApplyBSDiffPatchMem() 160 if ((f = fopen(patch_filename, "rb")) == NULL) { \ in ApplyBSDiffPatchMem() 164 if (fseeko(f, offset+patch_offset, SEEK_SET)) { \ in ApplyBSDiffPatchMem() 168 if ((bzf = BZ2_bzReadOpen(&bzerr, f, 0, 0, NULL, 0)) == NULL) { \ in ApplyBSDiffPatchMem()
|
D | imgdiff.c | 187 FILE* f = fopen(filename, "rb"); in ReadZip() local 188 if (fread(img, 1, st.st_size, f) != st.st_size) { in ReadZip() 190 fclose(f); in ReadZip() 193 fclose(f); in ReadZip() 377 FILE* f = fopen(filename, "rb"); in ReadImage() local 378 if (fread(img, 1, st.st_size, f) != st.st_size) { in ReadImage() 380 fclose(f); in ReadImage() 383 fclose(f); in ReadImage() 636 FILE* f = fopen(ptemp, "rb"); in MakePatch() local 637 if (f == NULL) { in MakePatch() [all …]
|
D | utils.h | 24 void Write4(int value, FILE* f); 25 void Write8(long long value, FILE* f);
|
D | imgpatch.c | 41 FILE* f; in ApplyImagePatch() local 42 if ((f = fopen(patch_filename, "rb")) == NULL) { in ApplyImagePatch() 48 if (fread(header, 1, 12, f) != 12) { in ApplyImagePatch() 67 if (fread(chunk, 1, 4, f) != 4) { in ApplyImagePatch() 76 if (fread(normal_header, 1, 24, f) != 24) { in ApplyImagePatch() 100 if (fread(gzip, 1, 64, f) != 64) { in ApplyImagePatch() 107 if (fread(gzip+64, 1, gzip_header_len+8, f) != gzip_header_len+8) { in ApplyImagePatch() 228 if (fread(raw_header, 1, 4, f) != 4) { in ApplyImagePatch() 238 if (fread(temp, 1, data_len, f) != data_len) { in ApplyImagePatch() 250 if (fread(deflate_header, 1, 60, f) != 60) { in ApplyImagePatch()
|
D | applypatch.c | 55 FILE* f = fopen(filename, "rb"); in LoadFileContents() local 56 if (f == NULL) { in LoadFileContents() 63 size_t bytes_read = fread(file->data, 1, file->size, f); in LoadFileContents() 71 fclose(f); in LoadFileContents() 256 FILE* f = fopen(filename, "wb"); in SaveFileContents() local 257 if (f == NULL) { in SaveFileContents() 263 size_t bytes_written = fwrite(file.data, 1, file.size, f); in SaveFileContents() 269 fflush(f); in SaveFileContents() 270 fsync(fileno(f)); in SaveFileContents() 271 fclose(f); in SaveFileContents()
|
/build/tools/droiddoc/src/ |
D | SampleCode.java | 42 File f = new File(mSource); in write() local 43 if (!f.isDirectory()) { in write() 47 if (offlineMode) writeIndexOnly(f, mDest); in write() 48 else writeDirectory(f, mDest); in write() 73 for (File f: dir.listFiles()) { in writeDirectory() 74 String name = f.getName(); in writeDirectory() 78 if (f.isFile()) { in writeDirectory() 83 ClearPage.copyFile(f, out); in writeDirectory() 84 writeImagePage(f, convertExtension(out, DroidDoc.htmlExtension), subdir); in writeDirectory() 89 ClearPage.copyFile(f, out); in writeDirectory() [all …]
|
D | TodoFile.java | 123 for (FieldInfo f: cl.enumConstants()) { in writeTodoFile() 126 if (f.checkLevel()) { in writeTodoFile() 127 if (!areTagsUseful(f.inlineTags())) { in writeTodoFile() 128 setHDF(data, base + errors, f.position(), f.name(), MISSING); in writeTodoFile() 137 for (FieldInfo f: cl.selfFields()) { in writeTodoFile() 140 if (f.checkLevel()) { in writeTodoFile() 141 if (!areTagsUseful(f.inlineTags())) { in writeTodoFile() 142 setHDF(data, base + errors, f.position(), f.name(), MISSING); in writeTodoFile()
|
D | Proofread.java | 155 for (FieldInfo f: cl.enumConstants()) { in writeClass() 156 write("ENUM: " + f.name() + "\n"); in writeClass() 157 writeTagList(f.inlineTags()); in writeClass() 161 for (FieldInfo f: cl.selfFields()) { in writeClass() 162 write("FIELD: " + f.name() + "\n"); in writeClass() 163 writeTagList(f.inlineTags()); in writeClass()
|
D | AnnotationValueInfo.java | 51 FieldInfo f = (FieldInfo)v; in valueString() local 52 str.append(f.containingClass().qualifiedName()); in valueString() 54 str.append(f.name()); in valueString()
|
D | Converter.java | 461 FieldInfo f = Converter.obtainField(fields[i]); in convertFields() local 462 if (f.checkLevel()) { in convertFields() 463 out.add(f); in convertFields() 482 FieldDoc f = (FieldDoc)o; 483 return new FieldInfo(f.name(), 484 Converter.obtainClass(f.containingClass()), 485 Converter.obtainClass(f.containingClass()), 486 f.isPublic(), f.isProtected(), 487 f.isPackagePrivate(), f.isPrivate(), 488 f.isFinal(), f.isStatic(), f.isTransient(), f.isVolatile(), [all …]
|
D | ClassInfo.java | 437 FieldInfo f = fields[i]; in addFields() local 438 all.put(f.name(), f); in addFields() local 462 FieldInfo f = fields[i]; in fields() local 463 if (!f.isHidden()) { in fields() 464 String key = f.name(); in fields() 465 all.put(key, f); in fields() 476 for (FieldInfo f: flds) { in gatherFields() 477 if (f.checkLevel()) { in gatherFields() 478 fields.put(f.name(), f.cloneForClass(owner)); in gatherFields() 499 FieldInfo f = selfFields[i]; in selfFields() local [all …]
|
D | DocFile.java | 34 File f = new File(filename); in readFile() local 35 int length = (int)f.length(); in readFile() 36 FileInputStream is = new FileInputStream(f); in readFile()
|
D | AttributeInfo.java | 37 public AttributeInfo(ClassInfo cl, FieldInfo f) { in AttributeInfo() argument 39 attrField = f; in AttributeInfo()
|
/build/tools/ |
D | mktarball.sh | 28 for f in ${subdirs} ${files} ; do 29 curr_perms=`stat -c 0%a $f` 30 [ -d "$f" ] && is_dir=1 || is_dir=0 31 new_info=`${fs_get_stats} ${curr_perms} ${is_dir} ${f}` 38 --group $new_gid --mode $new_perms -p -rf ${target_tar} ${f}
|
D | fileslist.py | 31 for f in files: 34 get_file_size(os.path.sep.join((dir, f))), 35 os.path.sep.join((relative, f)),
|
D | compare_fileslist.py | 36 f = file(input, "r") 37 lines = f.readlines() 38 f.close()
|
/build/tools/releasetools/ |
D | common.py | 383 f = open(self.pwfile, "w") 385 f.write("# Enter key passwords between the [[[ ]]] brackets.\n") 386 f.write("# (Additional spaces are harmless.)\n\n") 392 f.write("[[[ %s ]]] %s\n" % (v, k)) 396 f.close() 407 f = open(self.pwfile, "r") 408 for line in f: 416 f.close() 448 d, f = os.path.split(path) 449 b, x = os.path.splitext(f) [all …]
|
/build/tools/atree/ |
D | atree.cpp | 283 FILE *f = fopen(g_dependency.c_str(), "w"); in main() local 284 if (f != NULL) { in main() 285 fprintf(f, "ATREE_FILES := $(ATREE_FILES) \\\n"); in main() 289 fprintf(f, "%s \\\n", it->sourcePath.c_str()); in main() 292 fprintf(f, "\n"); in main() 293 fclose(f); in main()
|
D | files.cpp | 164 FILE* f = NULL; in read_list_file() local 170 f = fopen(filename.c_str(), "r"); in read_list_file() 171 if (f == NULL) { in read_list_file() 178 err = fseek(f, 0, SEEK_END); in read_list_file() 186 size = ftell(f); in read_list_file() 188 err = fseek(f, 0, SEEK_SET); in read_list_file() 204 if (1 != fread(buf, size, 1, f)) { in read_list_file() 286 if (f != NULL) { in read_list_file() 287 fclose(f); in read_list_file()
|
/build/ |
D | envsetup.sh | 751 … find -E . -type f -iregex '.*\.(c|h|cpp|S|java|xml|sh|mk)' -print0 | xargs -0 grep --color -n "$@" 758 …find . -type f -iregex '.*\.\(c\|h\|cpp\|S\|java\|xml\|sh\|mk\)' -print0 | xargs -0 grep --color -… 765 find . -type f -name "*\.java" -print0 | xargs -0 grep --color -n "$@" 770 find . -type f -name "*\.c*" -print0 | xargs -0 grep --color -n "$@" 775 …for dir in `find . -name res -type d`; do find $dir -type f -name '*\.xml' -print0 | xargs -0 grep… 782 …find -E . -type f -iregex '.*/(Makefile|Makefile\..*|.*\.make|.*\.mak|.*\.mk)' -print0 | xargs -0 … 787 … find -E . -type f -iregex '.*\.(c|h|cpp|S|java|xml)' -print0 | xargs -0 grep --color -n -i "$@" 794 …rep -iregex '(.*\/Makefile|.*\/Makefile\..*|.*\.make|.*\.mak|.*\.mk)' -type f -print0 | xargs -0 g… 799 …find . -regextype posix-egrep -iregex '.*\.(c|h|cpp|S|java|xml)' -type f -print0 | xargs -0 grep -… 987 (cd $T; find . -wholename ./out -prune -o -type f > filelist) [all …]
|
/build/tools/zipalign/ |
D | README.txt | 3 usage: zipalign [-f] [-v] <align> infile.zip outfile.zip 7 -f : overwrite existing outfile.zip 32 "-f" flag, an existing file will be overwritten.
|
/build/core/ |
D | product.mk | 37 $(foreach f,$(_find-android-products-files), \ 39 $(eval LOCAL_DIR := $(patsubst %/,%,$(dir $(f)))) \ 40 $(eval include $(f)) \
|
/build/tools/droiddoc/templates/assets/ |
D | jquery-resizable.min.js | 12 …f=/^.[^:#\[\.,]*$/;o.fn=o.prototype={init:function(E,H){E=E||document;if(E.nodeType){this[0]=E;thi… 29 …f=c.attr,e=c.fn.removeAttr,h="http://www.w3.org/2005/07/aaa",a=/^aria-/,b=/^wairole:/;c.attr=funct… 40 …f=0;f<k.length;f++){var h=c.trim(k[f]),d="ui-resizable-"+h;var g=c('<div class="ui-resizable-handl… argument
|
/build/tools/droiddoc/test/stubs/src/com/android/stubs/ |
D | Parent.java | 46 public int method(boolean b, char c, int i, long l, float f, double d) { in method() argument
|