Searched refs:new_file_size (Results 1 – 12 of 12) sorted by relevance
/external/icing/icing/file/ |
D | file-backed-bitmap.cc | 249 size_t new_file_size = kHeaderByteSize + (word_index + 1) * sizeof(Word); in FileSizeForBits() local 250 return math_util::RoundUpTo(new_file_size, in FileSizeForBits() 261 const size_t new_file_size = FileSizeForBits(new_num_bits); in GrowTo() local 262 if (!filesystem_->Grow(file_path_.c_str(), new_file_size)) { in GrowTo() 265 file_path_.c_str(), new_file_size)); in GrowTo() 270 libtextclassifier3::Status status = mmapper_->Remap(0, new_file_size); in GrowTo() 277 << new_file_size; in GrowTo() 287 const size_t new_file_size = FileSizeForBits(new_num_bits); in TruncateTo() local 290 libtextclassifier3::Status status = mmapper_->Remap(0, new_file_size); in TruncateTo() 295 if (!filesystem_->Truncate(file_path_.c_str(), new_file_size)) { in TruncateTo() [all …]
|
D | memory-mapped-file.cc | 239 int64_t new_file_size) { in GrowFileSize() argument 243 if (new_file_size <= file_size_) { in GrowFileSize() 247 if (new_file_size > max_file_size_) { in GrowFileSize() 251 new_file_size, max_file_size_)); in GrowFileSize() 263 if (new_file_size <= actual_file_size) { in GrowFileSize() 280 new_file_size - file_size_); in GrowFileSize() 286 while (size_to_write > 0 && file_size_ < new_file_size) { in GrowFileSize() 293 new_file_size - file_size_); in GrowFileSize()
|
D | memory-mapped-file.h | 290 libtextclassifier3::Status GrowFileSize(int64_t new_file_size);
|
/external/e2fsprogs/resize/ |
D | main.c | 267 __s64 new_file_size; in main() local 587 new_file_size = ((__u64) new_size) * blocksize; in main() 588 if ((__u64) new_file_size > in main() 591 if ((new_file_size > st_buf.st_size) && in main() 593 if ((ext2fs_llseek(fd, new_file_size-1, SEEK_SET) >= 0) && in main() 683 if ((st_buf.st_size > new_file_size) && in main() 686 retval = ftruncate64(fd, new_file_size); in main() 690 if (((off_t) new_file_size) == new_file_size) in main() 691 retval = ftruncate(fd, (off_t) new_file_size); in main()
|
/external/icing/icing/legacy/index/ |
D | icing-flash-bitmap.cc | 259 bool IcingFlashBitmap::Grow(size_t new_file_size) { in Grow() argument 261 if (!filesystem_->Grow(fd.get(), new_file_size)) { in Grow() 262 ICING_LOG(ERROR) << "Grow " << filename_ << " to new size " << new_file_size << " failed"; in Grow() 265 if (!mmapper_->Remap(fd.get(), 0, new_file_size)) { in Grow() 269 ICING_VLOG(1) << "Grew " << filename_ << " new size " << new_file_size; in Grow()
|
D | icing-array-storage.cc | 199 uint64_t new_file_size = fd_offset_ + uint64_t{num_elts} * elt_size_; in GrowIfNecessary() 201 new_file_size = AlignUp(new_file_size, kGrowElts * elt_size_); in GrowIfNecessary() 202 if (!filesystem_.Grow(fd_, new_file_size)) { in GrowIfNecessary() 205 capacity_num_ = (new_file_size - fd_offset_) / elt_size_; in GrowIfNecessary()
|
D | icing-flash-bitmap.h | 136 bool Grow(size_t new_file_size);
|
/external/bsdiff/ |
D | bspatch.cc | 266 while (newpos < patch_reader.new_file_size()) { in bspatch() 274 if (newpos + control_entry.diff_size > patch_reader.new_file_size()) { in bspatch() 349 if (newpos + control_entry.extra_size > patch_reader.new_file_size()) { in bspatch()
|
D | patch_reader_unittest.cc | 88 EXPECT_EQ(new_file_size_, patch_reader.new_file_size()); in VerifyPatch()
|
/external/bsdiff/include/bsdiff/ |
D | patch_reader.h | 45 uint64_t new_file_size() const { return new_file_size_; } in new_file_size() function
|
/external/arm-trusted-firmware/tools/nxp/create_pbl/ |
D | create_pbl.c | 527 uint32_t file_size, new_file_size; in add_blk_cpy_cmd() local 557 new_file_size = (file_size + (file_size % align)); in add_blk_cpy_cmd() 588 if (fwrite(&new_file_size, sizeof(new_file_size), in add_blk_cpy_cmd()
|
/external/libabigail/tests/data/test-read-dwarf/ |
D | PR22015-libboost_iostreams.so.abi | 3463 …<var-decl name='new_file_size' type-id='type-id-274' visibility='default' filepath='src/third_part…
|