Home
last modified time | relevance | path

Searched refs:fileSize (Results 1 – 5 of 5) sorted by relevance

/system/core/adb/client/
Dincremental_utils.cpp44 Size verity_tree_blocks_for_file(Size fileSize) { in verity_tree_blocks_for_file() argument
45 if (fileSize == 0) { in verity_tree_blocks_for_file()
53 auto block_count = 1 + (fileSize - 1) / kBlockSize; in verity_tree_blocks_for_file()
62 Size verity_tree_size_for_file(Size fileSize) { in verity_tree_size_for_file() argument
63 return verity_tree_blocks_for_file(fileSize) * kBlockSize; in verity_tree_size_for_file()
151 static off64_t CentralDirOffset(borrowed_fd fd, Size fileSize) { in CentralDirOffset() argument
159 off64_t maxEocdOffset = fileSize - kZipEocdRecMinSize; in CentralDirOffset()
163 for (int16_t commentLen = 0; commentLen < fileSize; ++commentLen) { in CentralDirOffset()
186 static off64_t SignerBlockOffset(borrowed_fd fd, Size fileSize) { in SignerBlockOffset() argument
192 off64_t cdOffset = CentralDirOffset(fd, fileSize); in SignerBlockOffset()
[all …]
Dincremental_utils.h41 Size fileSize);
43 Size verity_tree_blocks_for_file(Size fileSize);
44 Size verity_tree_size_for_file(Size fileSize);
/system/extras/boottime_tools/bootanalyze/stressfs/src/com/android/car/test/stressfs/
DWritingService.java83 int fileSize, in WriteToDisk() argument
87 mFileSize = fileSize; in WriteToDisk()
137 int fileSize = getQueryParam(data, "file", DEFAULT_FILE_SIZE); in onBind() local
139 Log.i(TAG, "File Size: " + fileSize); in onBind()
141 if (fileSize % blockSize != 0) { in onBind()
154 new WriteToDisk("data", dataPartitionFile, fileSize, testData).start(); in onBind()
155 new WriteToDisk("external", externalPartitionFile, fileSize, testData).start(); in onBind()
/system/timezone/debug_tools/host/main/java/
DZoneSplitter.java68 final int fileSize = (int) tzData.length(); in execute() local
70 validateOffset(index_offset, fileSize); in execute()
72 validateOffset(data_offset, fileSize); in execute()
77 || final_offset > fileSize) { in execute()
80 + ", fileSize=" + fileSize); in execute()
87 if (final_offset != fileSize) { in execute()
91 "final_offset (" + final_offset + ") != fileSize (" + fileSize + ")"); in execute()
/system/core/adb/fastdeploy/deployagent/src/com/android/fastdeploy/
DApkArchive.java99 final long fileSize = mChannel.size(); in findEndOfCDRecord() local
100 int sizeToRead = Math.toIntExact(Math.min(fileSize, EOCD_MAX_SIZE)); in findEndOfCDRecord()
101 final long readOffset = fileSize - sizeToRead; in findEndOfCDRecord()