Home
last modified time | relevance | path

Searched refs:file_length (Results 1 – 9 of 9) sorted by relevance

/system/libbase/
Dmapped_file.cpp52 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/iorap/src/prefetcher/
Dread_ahead.cc374 if (file_entry.file_length() < 0 || file_entry.file_offset() < 0) { in BeginTask()
381 …if (!PerformReadAhead(session, file_entry.index_id(), kind, file_entry.file_length(), file_entry.f… in BeginTask()
385 prefetch_bytes += static_cast<size_t>(file_entry.file_length()); in BeginTask()
395 length_sum += static_cast<size_t>(file_entry.file_length()); in BeginTask()
433 if (file_entry.file_length() < 0 || file_entry.file_offset() < 0) { in PrefetchSizeInBytes()
439 length_sum += static_cast<size_t>(file_entry.file_length()); in PrefetchSizeInBytes()
Dsession.cc395 if (file_entry.file_length() < 0 || file_entry.file_offset() < 0) { in ProcessFd()
404 file_entry.file_length(), in ProcessFd()
/system/core/fs_mgr/liblp/
Dimages.cpp331 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/
Dzip_archive.cc217 off64_t file_length, in FindCentralDirectoryInfo() argument
221 const off64_t search_start = file_length - read_amount; in FindCentralDirectoryInfo()
258 if (calculated_length != file_length) { in FindCentralDirectoryInfo()
260 static_cast<int64_t>(file_length - calculated_length)); in FindCentralDirectoryInfo()
297 off64_t file_length = archive->mapped_zip.GetFileLength(); in MapCentralDirectory() local
298 if (file_length == -1) { in MapCentralDirectory()
302 if (file_length > kMaxFileLength) { in MapCentralDirectory()
303 ALOGV("Zip: zip file too long %" PRId64, static_cast<int64_t>(file_length)); in MapCentralDirectory()
307 if (file_length < static_cast<off64_t>(sizeof(EocdRecord))) { in MapCentralDirectory()
308 ALOGV("Zip: length %" PRId64 " is too small to be zip", static_cast<int64_t>(file_length)); in MapCentralDirectory()
[all …]
/system/iorap/src/serialize/
DTraceFile.proto44 required int64 file_length = 3; field
/system/nfc/src/nfc/tags/
Dce_t4t.cc242 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/iorap/src/compiler/
Dcompiler.cc945 entry->file_offset() + entry->file_length() == in PerformCompilation()
947 entry->set_file_length(entry->file_length() + kPageSize); in PerformCompilation()
/system/update_engine/payload_consumer/
Ddelta_performer_unittest.cc664 const uint64_t file_length = 4 * block_size - 13; in TEST_F() local
674 extents, block_size, file_length, &actual_output)); in TEST_F()