Searched refs:file_length (Results 1 – 5 of 5) sorted by relevance
/system/libbase/ |
D | mapped_file.cpp | 52 off64_t file_length = length + slop; in FromOsHandle() local 67 file_offset, file_length); in FromOsHandle() 75 void* base = mmap(nullptr, file_length, prot, MAP_SHARED, h, file_offset); in FromOsHandle()
|
/system/core/fs_mgr/liblp/ |
D | images.cpp | 331 uint64_t file_length; in AddPartitionImage() local 332 if (!GetDescriptorSize(fd, &file_length)) { in AddPartitionImage() 337 if (file_length > partition_size) { in AddPartitionImage() 339 << "' is greater than its size (" << file_length << ", expected " << partition_size in AddPartitionImage() 363 uint64_t remaining = file_length; in AddPartitionImage()
|
/system/libziparchive/ |
D | zip_archive.cc | 213 off64_t file_length, uint32_t read_amount, in FindCentralDirectoryInfo() argument 216 const off64_t search_start = file_length - read_amount; in FindCentralDirectoryInfo() 253 if (calculated_length != file_length) { in FindCentralDirectoryInfo() 255 static_cast<int64_t>(file_length - calculated_length)); in FindCentralDirectoryInfo() 292 off64_t file_length = archive->mapped_zip.GetFileLength(); in MapCentralDirectory() local 293 if (file_length == -1) { in MapCentralDirectory() 297 if (file_length > kMaxFileLength) { in MapCentralDirectory() 298 ALOGV("Zip: zip file too long %" PRId64, static_cast<int64_t>(file_length)); in MapCentralDirectory() 302 if (file_length < static_cast<off64_t>(sizeof(EocdRecord))) { in MapCentralDirectory() 303 ALOGV("Zip: length %" PRId64 " is too small to be zip", static_cast<int64_t>(file_length)); in MapCentralDirectory() [all …]
|
/system/nfc/src/nfc/tags/ |
D | ce_t4t.cc | 242 uint8_t file_length[2]; in ce_t4t_update_binary() local 255 p = file_length; in ce_t4t_update_binary() 259 *(file_length + offset++) = *(p_data++); in ce_t4t_update_binary() 263 p = file_length; in ce_t4t_update_binary()
|
/system/update_engine/payload_consumer/ |
D | delta_performer_unittest.cc | 754 const uint64_t file_length = 4 * block_size - 13; in TEST_F() local 764 extents, block_size, file_length, &actual_output)); in TEST_F()
|