/build/make/tools/ziptime/ |
D | ZipEntry.cpp | 44 status_t ZipEntry::initAndRewriteFromCDE(FILE* fp) in initAndRewriteFromCDE() argument 50 result = mCDE.rewrite(fp); in initAndRewriteFromCDE() 57 posn = ftell(fp); in initAndRewriteFromCDE() 58 if (fseek(fp, mCDE.mLocalHeaderRelOffset, SEEK_SET) != 0) { in initAndRewriteFromCDE() 64 result = mLFH.rewrite(fp); in initAndRewriteFromCDE() 70 if (fseek(fp, posn, SEEK_SET) != 0) in initAndRewriteFromCDE() 87 status_t ZipEntry::LocalFileHeader::rewrite(FILE* fp) in rewrite() argument 91 if (fread(buf, 1, kLFHLen, fp) != kLFHLen) in rewrite() 102 if (fseek(fp, -kLFHLen, SEEK_CUR) != 0) in rewrite() 105 if (fwrite(buf, 1, kLFHLen, fp) != kLFHLen) in rewrite() [all …]
|
D | ZipEntry.h | 69 status_t initAndRewriteFromCDE(FILE* fp); 83 status_t rewrite(FILE* fp); 101 status_t rewrite(FILE* fp);
|
/build/make/tools/zipalign/ |
D | ZipEntry.cpp | 41 status_t ZipEntry::initFromCDE(FILE* fp) in initFromCDE() argument 50 result = mCDE.read(fp); in initFromCDE() 59 posn = ftell(fp); in initFromCDE() 60 if (fseek(fp, mCDE.mLocalHeaderRelOffset, SEEK_SET) != 0) { in initFromCDE() 66 result = mLFH.read(fp); in initFromCDE() 72 if (fseek(fp, posn, SEEK_SET) != 0) in initFromCDE() 404 status_t ZipEntry::LocalFileHeader::read(FILE* fp) in read() argument 412 if (fread(buf, 1, kLFHLen, fp) != kLFHLen) { in read() 443 if (fread(mFileName, 1, mFileNameLength, fp) != mFileNameLength) { in read() 457 if (fread(mExtraField, 1, mExtraFieldLength, fp) != mExtraFieldLength) { in read() [all …]
|
D | ZipEntry.h | 158 status_t initFromCDE(FILE* fp); 242 status_t read(FILE* fp); 243 status_t write(FILE* fp); 300 status_t read(FILE* fp); 301 status_t write(FILE* fp);
|
D | ZipFile.cpp | 1097 status_t ZipFile::filemove(FILE* fp, off_t dst, off_t src, size_t n) in filemove() argument 1111 if (fseek(fp, (long) src, SEEK_SET) != 0) { in filemove() 1116 if (fread(readBuf, 1, getSize, fp) != getSize) { in filemove() 1122 if (fseek(fp, (long) dst, SEEK_SET) != 0) { in filemove() 1127 if (fwrite(readBuf, 1, getSize, fp) != getSize) { in filemove() 1221 FileReader(FILE* fp) : Reader(), fp_(fp), current_offset_(0) { in FileReader() argument 1364 status_t ZipFile::EndOfCentralDir::write(FILE* fp) in write() argument 1377 if (fwrite(buf, 1, kEOCDLen, fp) != kEOCDLen) in write() 1381 if (fwrite(mComment, mCommentLen, 1, fp) != mCommentLen) in write()
|
D | ZipFile.h | 183 status_t write(FILE* fp); 230 status_t filemove(FILE* fp, off_t dest, off_t src, size_t n);
|
/build/make/tools/releasetools/ |
D | edify_generator.py | 96 def AssertSomeFingerprint(self, *fp): argument 98 if not fp: 101 for i in fp]) + 104 common.ErrorCode.FINGERPRINT_MISMATCH, " or ".join(fp)) 107 def AssertSomeThumbprint(self, *fp): argument 109 if not fp: 112 for i in fp]) + 115 common.ErrorCode.THUMBPRINT_MISMATCH, " or ".join(fp)) 118 def AssertFingerprintOrThumbprint(self, fp, tp): argument 126 '+ getprop("ro.build.thumbprint") + ".");').format(fp=fp, tp=tp)
|
D | test_utils.py | 123 with open(sparse_image, 'wb') as fp: 124 fp.write(struct.pack( 140 fp.write(struct.pack( 143 fp.write(os.urandom(data_size))
|
D | validate_target_files.py | 450 with open(path, 'r') as fp: 451 dupKey = CheckDataDuplicity(fp.readlines())
|
D | ota_from_target_files | 505 with open(oem_file) as fp: 506 oem_dicts.append(common.LoadDictionaryFromLines(fp.readlines())) 1955 with open(OPTIONS.extra_script) as fp: 1956 OPTIONS.extra_script = fp.read()
|
D | ota_from_target_files.py | 505 with open(oem_file) as fp: 506 oem_dicts.append(common.LoadDictionaryFromLines(fp.readlines())) 1955 with open(OPTIONS.extra_script) as fp: 1956 OPTIONS.extra_script = fp.read()
|
D | common.py | 2541 with open(os.path.join(d, self.name), "wb") as fp: 2542 fp.write(self.data)
|
/build/make/core/ |
D | filter_symbols.sh | 15 $NM -g -fp $1 | while read -a line
|
/build/soong/ui/build/paths/ |
D | logs_test.go | 122 if fp, err := os.Create(f); err == nil { 123 fp.Close()
|
/build/make/core/tasks/ |
D | general-tests.mk | 64 cp -fp $(PRIVATE_TOOLS) $(PRIVATE_INTERMEDIATES_DIR)/tools/
|