/external/ltp/testcases/kernel/syscalls/ftruncate/ |
ftruncate01.c | 97 off_t file_length; /* test file length */ local 128 file_length = stat_buf.st_size; 134 if (file_length != TRUNC_LEN) { 138 (int64_t) file_length, TRUNC_LEN);
|
/external/ltp/testcases/kernel/syscalls/truncate/ |
truncate01.c | 98 off_t file_length; /* test file length */ local 130 file_length = stat_buf.st_size; 136 if (file_length != TRUNC_LEN) { 140 (int64_t) file_length,
|
/frameworks/av/media/mtp/ |
MtpFfsCompatHandle.cpp | 163 uint32_t file_length = mfr.length; local 182 while (file_length > 0 || write) { 183 if (file_length > 0) { 184 length = std::min(static_cast<uint32_t>(MAX_FILE_CHUNK_SIZE), file_length); 189 if (file_length != MAX_MTP_FILE_SIZE && ret < static_cast<int>(length)) { 218 if (file_length == MAX_MTP_FILE_SIZE) { 221 file_length = 0; 224 file_length -= ret; 247 uint64_t file_length = mfr.length; local 249 file_length + sizeof(mtp_data_header)) [all...] |
MtpFfsHandle.cpp | 439 uint32_t file_length = mfr.length; local 459 while (file_length > 0 || has_write) { 461 if (file_length > 0) { 462 length = std::min(static_cast<uint32_t>(MAX_FILE_CHUNK_SIZE), file_length); 484 if (file_length > 0) { 517 if (file_length == MAX_MTP_FILE_SIZE) { 520 file_length = 0; 528 file_length -= ret; 556 uint64_t file_length = mfr.length; local 558 file_length + sizeof(mtp_data_header)) [all...] |
/external/pdfium/testing/ |
test_support.cpp | 87 size_t file_length = ftell(file); local 88 if (!file_length) { 93 static_cast<char*>(malloc(file_length))); 97 size_t bytes_read = fread(buffer.get(), 1, file_length, file); 99 if (bytes_read != file_length) {
|
/external/e2fsprogs/ext2ed/ |
file_com.c | 39 file_info.file_length=ptr->i_size; 267 if (file_info.file_offset+offset>file_info.file_length-1) break; 271 if (file_info.file_offset+offset+i>file_info.file_length-1) { 291 if (file_info.file_offset+offset+i>file_info.file_length-1) break; 332 if (file_info.file_offset+last_offset > file_info.file_length-1) 333 last_offset=file_info.file_length-1-file_info.file_offset; 388 wprintw (show_win,"File Offset %ld of %ld.",file_info.file_offset,file_info.file_length-1);
|
dir_com.c | 68 info_ptr->file_length=ptr->i_size; 109 while (info.file_offset < info.file_length) { /* While we haven't reached the end */ 127 if (info.file_offset >= info.file_length) break; 530 wprintw (show_win,"Directory Offset %ld of %ld. ",file_info.file_offset,file_info.file_length-1);
|
ext2ed.h | 136 long file_offset,file_length; member in struct:struct_file_info
|
/external/toolchain-utils/bestflags/ |
task.py | 270 (checksum, cost, image, file_length, text_length) = out.split() 288 self._file_length = file_length 339 def __SetBuildResult(self, (checksum, build_cost, image, file_length, 344 self._file_length = file_length
|
/external/tensorflow/tensorflow/core/util/ |
memmapped_file_system_test.cc | 155 uint64 file_length = 0; local 156 TF_EXPECT_OK(memmapped_env.GetFileSize(filename, &file_length)); 157 EXPECT_EQ(test_string.length(), file_length);
|
/external/ltp/testcases/kernel/fs/inode/ |
inode02.c | 85 int max_depth, max_breadth, file_length; variable 142 file_length = 8; 147 ("\tinode02 max_depth max_breadth file_length #children\n\tdefault: inode02 6 5 8 5\n"); 155 if (sscanf(argv[i++], "%d", &file_length) != 1) 223 "Bad argument - %s - could not parse as number.\n\tinode02 [max_depth] [max_breadth] [file_length] [#children]\n\tdefault: inode02 6 5 8 5\n", 471 for (j = 1; j <= file_length; j++) { 623 for (j = 1; j <= file_length; j++) {
|
/system/core/libziparchive/ |
zip_archive.cc | 169 off64_t file_length, off64_t read_amount, uint8_t* scan_buffer) { 170 const off64_t search_start = file_length - read_amount; 206 if (calculated_length != file_length) { 208 static_cast<int64_t>(file_length - calculated_length)); 266 off64_t file_length = archive->mapped_zip.GetFileLength(); local 267 if (file_length == -1) { 271 if (file_length > static_cast<off64_t>(0xffffffff)) { 272 ALOGV("Zip: zip file too long %" PRId64, static_cast<int64_t>(file_length)); 276 if (file_length < static_cast<off64_t>(sizeof(EocdRecord))) { 277 ALOGV("Zip: length %" PRId64 " is too small to be zip", static_cast<int64_t>(file_length)); [all...] |
/art/runtime/ |
elf_file.cc | 114 size_t file_length = static_cast<size_t>(temp_file_length); local 115 if (file_length < sizeof(Elf_Ehdr)) { 117 "%zd bytes: '%s'", file_length, sizeof(Elf_Ehdr), 139 if (file_length < program_header_size) { 141 "header of %zd bytes: '%s'", file_length, 1129 size_t file_length = static_cast<size_t>(temp_file_length); local [all...] |
/bionic/linker/ |
linker_phdr.cpp | 641 ElfW(Addr) file_length = file_end - file_page_start; 657 if (file_length != 0) { 673 file_length, [all...] |
/external/pdfium/third_party/libopenjpeg20/ |
openjpeg.c | 100 OPJ_OFF_T file_length = 0; local 103 file_length = (OPJ_OFF_T)OPJ_FTELL(p_file); 106 return (OPJ_UINT64)file_length; [all...] |
/system/update_engine/payload_consumer/ |
delta_performer_unittest.cc | 599 const uint64_t file_length = 4 * block_size - 13; local 610 file_length, [all...] |
/external/pdfium/samples/ |
pdfium_test.cc | 1599 size_t file_length = 0; local [all...] |