/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 | 1130 status_t ZipFile::filemove(FILE* fp, off_t dst, off_t src, size_t n) in filemove() argument 1144 if (fseek(fp, (long) src, SEEK_SET) != 0) { in filemove() 1150 if (fread(readBuf, 1, getSize, fp) != getSize) { in filemove() 1151 if (feof(fp)) { in filemove() 1161 if (fseek(fp, (long) dst, SEEK_SET) != 0) { in filemove() 1167 if (fwrite(readBuf, 1, getSize, fp) != getSize) { in filemove() 1261 FileReader(FILE* fp) : Reader(), fp_(fp), current_offset_(0) { in FileReader() argument 1404 status_t ZipFile::EndOfCentralDir::write(FILE* fp) in write() argument 1417 if (fwrite(buf, 1, kEOCDLen, fp) != kEOCDLen) { in write() 1423 if (fwrite(mComment, mCommentLen, 1, fp) != mCommentLen) { in write()
|
D | ZipFile.h | 185 status_t write(FILE* fp); 232 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_ota_utils.py | 50 fp = io.BytesIO(magic_zip) 51 with zipfile.ZipFile(fp, 'r') as zfp:
|
D | test_utils.py | 132 with open(sparse_image, 'wb') as fp: 133 fp.write(struct.pack( 149 fp.write(struct.pack( 152 fp.write(os.urandom(data_size))
|
D | ota_utils.py | 417 zfp = zfp.fp 694 with open(entry_path, "r") as fp: 695 return fp.read()
|
D | validate_target_files.py | 505 with open(path, 'r') as fp: 506 dupKey = CheckDataInconsistency(fp.readlines())
|
D | non_ab_ota.py | 560 with open(OPTIONS.extra_script) as fp: 561 OPTIONS.extra_script = fp.read()
|
D | common.py | 3008 with open(os.path.join(d, self.name), "wb") as fp: 3009 fp.write(self.data) 4090 with open(filepath, 'rb') as fp: 4093 return fp.read(4) == b'\x3A\xFF\x26\xED'
|
D | ota_from_target_files.py | 637 payload_fp = input_zip.fp
|
D | ota_from_target_files | 637 payload_fp = input_zip.fp
|
/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 | 125 if fp, err := os.Create(f); err == nil { 126 fp.Close()
|
/build/make/core/tasks/ |
D | general-tests.mk | 77 cp -fp $(PRIVATE_TOOLS) $(PRIVATE_INTERMEDIATES_DIR)/tools/
|