/external/ltp/testcases/kernel/syscalls/ftruncate/ |
D | ftruncate01.c | 97 off_t file_length; /* test file length */ in main() local 128 file_length = stat_buf.st_size; in main() 134 if (file_length != TRUNC_LEN) { in main() 138 (int64_t) file_length, TRUNC_LEN); in main()
|
/external/ltp/testcases/kernel/syscalls/truncate/ |
D | truncate01.c | 98 off_t file_length; /* test file length */ in main() local 130 file_length = stat_buf.st_size; in main() 136 if (file_length != TRUNC_LEN) { in main() 140 (int64_t) file_length, in main()
|
/external/dynamic_depth/internal/dynamic_depth/ |
D | dynamic_depth.cc | 97 size_t file_length = 0; in GetItemPayload() local 105 file_length = item->GetLength(); in GetItemPayload() 113 if (file_length == 0) { in GetItemPayload() 131 ParseFileAfterImageFromStream(file_offset, file_length, input_jpeg_stream, in GetItemPayload()
|
/external/pdfium/testing/ |
D | test_support.cpp | 87 size_t file_length = ftell(file); in GetFileContents() local 88 if (!file_length) { in GetFileContents() 93 static_cast<char*>(malloc(file_length))); in GetFileContents() 97 size_t bytes_read = fread(buffer.get(), 1, file_length, file); in GetFileContents() 99 if (bytes_read != file_length) { in GetFileContents()
|
/external/u-boot/common/ |
D | xyzModem.c | 51 unsigned long file_length, read_length; member 437 xyz.file_length = 0; in xyzModem_stream_open() 459 parse_num ((char *) xyz.bufp, &xyz.file_length, NULL, " "); in xyzModem_stream_open() 512 if (xyz.mode == xyzModem_xmodem || xyz.file_length == 0) in xyzModem_stream_read() 534 if (xyz.mode != xyzModem_xmodem && 0 != xyz.file_length) in xyzModem_stream_read() 537 if (xyz.read_length > xyz.file_length) in xyzModem_stream_read() 539 xyz.len -= (xyz.read_length - xyz.file_length); in xyzModem_stream_read()
|
/external/e2fsprogs/ext2ed/ |
D | file_com.c | 39 file_info.file_length=ptr->i_size; in init_file_info() 267 if (file_info.file_offset+offset>file_info.file_length-1) break; in file_show_hex() 271 if (file_info.file_offset+offset+i>file_info.file_length-1) { in file_show_hex() 291 if (file_info.file_offset+offset+i>file_info.file_length-1) break; in file_show_hex() 332 if (file_info.file_offset+last_offset > file_info.file_length-1) in file_show_text() 333 last_offset=file_info.file_length-1-file_info.file_offset; in file_show_text() 388 wprintw (show_win,"File Offset %ld of %ld.",file_info.file_offset,file_info.file_length-1); in show_status()
|
D | dir_com.c | 68 info_ptr->file_length=ptr->i_size; in init_dir_info() 109 while (info.file_offset < info.file_length) { /* While we haven't reached the end */ in search_dir_entries() 127 if (info.file_offset >= info.file_length) break; in search_dir_entries() 530 wprintw (show_win,"Directory Offset %ld of %ld. ",file_info.file_offset,file_info.file_length-1); in show_dir_status()
|
D | ext2ed.h | 136 long file_offset,file_length; member
|
/external/toolchain-utils/bestflags/ |
D | 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, argument 344 self._file_length = file_length
|
/external/ltp/testcases/kernel/fs/inode/ |
D | inode02.c | 85 int max_depth, max_breadth, file_length; variable 140 file_length = 8; in main() 153 if (sscanf(argv[i++], "%d", &file_length) != 1) in main() 468 for (j = 1; j <= file_length; j++) { in generate() 620 for (j = 1; j <= file_length; j++) { in check()
|
/external/tensorflow/tensorflow/core/util/ |
D | memmapped_file_system_test.cc | 155 uint64 file_length = 0; in TEST() local 156 TF_EXPECT_OK(memmapped_env.GetFileSize(filename, &file_length)); in TEST() 157 EXPECT_EQ(test_string.length(), file_length); in TEST()
|
/external/epid-sdk/example/util/src/ |
D | bufutil.c | 51 size_t file_length = 0; in GetFileSize() local 55 file_length = ftell(fp); in GetFileSize() 58 return file_length; in GetFileSize()
|
/external/v8/src/ |
D | d8-posix.cc | 819 int32_t file_length = bit_cast<int32_t>(htonl(big_endian_file_length)); in ReadCharsFromTcpPort() local 821 if (file_length < 0) { in ReadCharsFromTcpPort() 823 file_length, name, Shell::options.read_from_tcp_port); in ReadCharsFromTcpPort() 829 char* chars = new char[file_length]; in ReadCharsFromTcpPort() 833 while (total_received < file_length) { in ReadCharsFromTcpPort() 835 recv(sockfd, chars + total_received, file_length - total_received, 0); in ReadCharsFromTcpPort() 847 *size_out = file_length; in ReadCharsFromTcpPort()
|
/external/image_io/src/gcontainer/ |
D | gcontainer.cc | 131 size_t file_start_offset, size_t file_length, in ParseFileAfterImage() argument 137 return ParseFileAfterImageFromStream(file_start_offset, file_length, in ParseFileAfterImage()
|
/external/image_io/includes/image_io/gcontainer/ |
D | gcontainer.h | 30 size_t file_start_offset, size_t file_length,
|
/external/libchrome/base/metrics/ |
D | persistent_memory_allocator_unittest.cc | 962 for (size_t file_length : {a2_used, a1_used, a1_used / 2}) { in TEST_F() 963 SCOPED_TRACE(StringPrintf("file_length=%zu", file_length)); in TEST_F() 964 SetFileLength(file_path, file_length); in TEST_F() 984 EXPECT_EQ(file_length >= a1_used ? a1_ref : 0U, iter.GetNext(&type_id)); in TEST_F() 985 EXPECT_EQ(file_length >= a2_used ? a2_ref : 0U, iter.GetNext(&type_id)); in TEST_F() 989 EXPECT_EQ(file_length < a2_used, allocator.IsCorrupt()); in TEST_F() 995 EXPECT_EQ(file_length, static_cast<size_t>(actual_length)); in TEST_F()
|
/external/u-boot/drivers/usb/gadget/ |
D | storage_common.c | 276 loff_t file_length; member 575 curlun->file_length = num_sectors << 9; in fsg_lun_open()
|
/external/pdfium/third_party/libopenjpeg20/ |
D | openjpeg.c | 100 OPJ_OFF_T file_length = 0; in opj_get_data_length_from_file() local 103 file_length = (OPJ_OFF_T)OPJ_FTELL(p_file); in opj_get_data_length_from_file() 106 return (OPJ_UINT64)file_length; in opj_get_data_length_from_file()
|
/external/pdfium/samples/ |
D | pdfium_test.cc | 1599 size_t file_length = 0; in main() local 1601 GetFileContents(filename.c_str(), &file_length); in main() 1630 RenderPdf(filename, file_contents.get(), file_length, options, events); in main()
|