Searched refs:file_size (Results 1 – 8 of 8) sorted by relevance
/frameworks/libs/binary_translation/tiny_loader/ |
D | tiny_loader.cc | 128 bool LoadFromFile(int fd, off64_t file_size, size_t align, TinyLoader::mmap64_fn_t mmap64_fn, 138 bool ReadProgramHeadersFromFile(const ElfEhdr* header, int fd, off64_t file_size, 148 bool LoadSegments(int fd, size_t file_size, ElfHalf e_type, const ElfPhdr* phdr_table, 157 static bool CheckFileRange(off64_t file_size, ElfAddr offset, size_t size, size_t alignment); 284 bool TinyElfLoader::CheckFileRange(off64_t file_size, ElfAddr offset, size_t size, in CheckFileRange() argument 290 (range_start < file_size) && (range_end <= file_size) && ((offset % alignment) == 0); in CheckFileRange() 303 bool TinyElfLoader::ReadProgramHeadersFromFile(const ElfEhdr* header, int fd, off64_t file_size, in ReadProgramHeadersFromFile() argument 308 if (!CheckFileRange(file_size, header->e_phoff, size, alignof(ElfPhdr))) { in ReadProgramHeadersFromFile() 407 bool TinyElfLoader::LoadSegments(int fd, size_t file_size, ElfHalf e_type, in LoadSegments() argument 441 if (file_size <= 0) { in LoadSegments() [all …]
|
/frameworks/base/tools/streaming_proto/test/unit/ |
D | streaming_proto_java.cpp | 127 auto generated_file_count = response.file_size(); in TEST() 148 auto generated_file_count = response.file_size(); in TEST() 162 auto generated_file_count = response.file_size(); in TEST() 183 auto generated_file_count = response.file_size(); in TEST()
|
/frameworks/libs/binary_translation/tools/nogrod/ |
D | elf_reader.cc | 199 size_t file_size = mapped_file_.size(); in ValidateShdrTable() local 214 if (shdr->sh_offset >= file_size) { in ValidateShdrTable() 218 file_size); in ValidateShdrTable() 223 if (section_end > file_size) { in ValidateShdrTable() 227 file_size); in ValidateShdrTable()
|
/frameworks/base/core/proto/ |
D | README.md | 39 `screen_time`, or `file_size_bytes` or `file_size_mebibytes` vs `file_size`.
|
/frameworks/minikin/tools/ |
D | mk_hyb_file.py | 315 file_size = pattern_off + len(pattern) 316 data = [0x62ad7968, 0, alphabet_off, trie_off, pattern_off, file_size] 519 (magic, version, alphabet_off, trie_off, pattern_off, file_size) = struct.unpack('<6I', header) 522 pattern_data = hyb_data[pattern_off:file_size]
|
/frameworks/libs/binary_translation/tests/ndk_program_tests/ |
D | file_test.cc | 142 void TestStatBuf(const struct stat& buf, int file_size, const char* msg) { in TestStatBuf() argument 143 EXPECT_EQ(buf.st_size, file_size) << msg; in TestStatBuf()
|
/frameworks/minikin/doc/ |
D | hyb_file_format.md | 55 uint32_t file_size (in bytes)
|
/frameworks/minikin/libs/minikin/ |
D | Hyphenator.cpp | 86 uint32_t file_size; member
|