Searched refs:file_size (Results 1 – 8 of 8) sorted by relevance
/bionic/libc/bionic/ |
D | execinfo.cpp | 115 off_t file_size = lseek(fd.get(), 0, SEEK_END); in backtrace_symbols() local 116 if (file_size <= 0) { in backtrace_symbols() 125 if (__builtin_add_overflow(ptr_size, file_size, &symbol_data_size) || in backtrace_symbols() 139 ssize_t num_read = read(fd.get(), cur_string, file_size); in backtrace_symbols() 141 if (num_read != file_size) { in backtrace_symbols() 147 if (cur_string[file_size] != '\n') { in backtrace_symbols() 148 cur_string[file_size++] = '\n'; in backtrace_symbols()
|
/bionic/tests/ |
D | unistd_test.cpp | 1200 constexpr off64_t file_size = 32*1024LL; in TEST() local 1203 ASSERT_EQ(0, ftruncate(tf.fd, file_size)); in TEST() 1207 ASSERT_EQ(0, lockf64(tf.fd, F_LOCK, file_size)); in TEST() 1211 ASSERT_EQ(0, lockf64(tf.fd, F_TLOCK, file_size)); in TEST() 1215 ASSERT_EQ(0, lockf64(tf.fd, F_TEST, file_size)); in TEST() 1219 ASSERT_EQ(0, lockf64(tf.fd, F_ULOCK, file_size)); in TEST() 1223 constexpr off64_t file_size = 32*1024LL; in TEST() local 1226 ASSERT_EQ(0, ftruncate(tf.fd, file_size)); in TEST() 1234 ASSERT_EQ(0, lockf64(tf.fd, F_TEST, file_size)); in TEST() 1237 ASSERT_EQ(0, ftruncate(tf.fd, 2*file_size)); in TEST() [all …]
|
/bionic/libc/kernel/uapi/sound/sof/ |
D | fw.h | 61 __u32 file_size; member
|
/bionic/linker/ |
D | linker_phdr.cpp | 153 bool ElfReader::Read(const char* name, int fd, off64_t file_offset, off64_t file_size) { in Read() argument 160 file_size_ = file_size; in Read() 1020 off_t file_size = file_stat.st_size; in phdr_table_map_gnu_relro() local 1022 if (file_size > 0) { in phdr_table_map_gnu_relro() 1023 temp_mapping = mmap(nullptr, file_size, PROT_READ, MAP_PRIVATE, fd, 0); in phdr_table_map_gnu_relro() 1046 if (file_size - *file_offset < size) { in phdr_table_map_gnu_relro() 1072 munmap(temp_mapping, file_size); in phdr_table_map_gnu_relro() 1083 munmap(temp_mapping, file_size); in phdr_table_map_gnu_relro()
|
D | linker_phdr.h | 46 bool Read(const char* name, int fd, off64_t file_offset, off64_t file_size);
|
D | linker.cpp | 621 bool read(const char* realpath, off64_t file_size) { in read() argument 623 return elf_reader.Read(realpath, fd_, file_offset_, file_size); in read()
|
/bionic/libc/kernel/uapi/drm/ |
D | panfrost_drm.h | 149 __u32 file_size; member
|
/bionic/libc/kernel/uapi/linux/ |
D | hyperv.h | 83 __u64 file_size; member
|