/external/pdfium/testing/utils/ |
D | file_util.cpp | 20 size_t file_length = ftell(file); in GetFileContents() local 21 if (!file_length) { in GetFileContents() 26 static_cast<char*>(malloc(file_length))); in GetFileContents() 30 size_t bytes_read = fread(buffer.get(), 1, file_length, file); in GetFileContents() 32 if (bytes_read != file_length) { in GetFileContents()
|
/external/ltp/testcases/kernel/syscalls/ftruncate/ |
D | ftruncate01.c | 33 int i, file_length; in check_and_report() local 40 file_length = stat_buf.st_size; in check_and_report() 42 if (file_length != trunc_len) { in check_and_report() 44 file_length); in check_and_report()
|
/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/u-boot/common/ |
D | xyzModem.c | 52 unsigned long file_length, read_length; member 439 xyz.file_length = 0; in xyzModem_stream_open() 461 parse_num ((char *) xyz.bufp, &xyz.file_length, NULL, " "); in xyzModem_stream_open() 514 if (xyz.mode == xyzModem_xmodem || xyz.file_length == 0) in xyzModem_stream_read() 536 if (xyz.mode != xyzModem_xmodem && 0 != xyz.file_length) in xyzModem_stream_read() 539 if (xyz.read_length > xyz.file_length) in xyzModem_stream_read() 541 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/v8/src/d8/ |
D | d8-posix.cc | 730 int32_t file_length = bit_cast<int32_t>(htonl(big_endian_file_length)); in ReadCharsFromTcpPort() local 732 if (file_length < 0) { in ReadCharsFromTcpPort() 734 file_length, name, Shell::options.read_from_tcp_port.get()); in ReadCharsFromTcpPort() 740 char* chars = new char[file_length]; in ReadCharsFromTcpPort() 744 while (total_received < file_length) { in ReadCharsFromTcpPort() 746 recv(sockfd, chars + total_received, file_length - total_received, 0); in ReadCharsFromTcpPort() 758 *size_out = file_length; in ReadCharsFromTcpPort()
|
/external/pdfium/fpdfsdk/ |
D | fpdf_dataavail_embeddertest.cpp | 92 size_t file_length() const { return file_length_; } in file_length() function in __anon826ac76f0111::TestAsyncLoader 302 ByteString data(loader.file_contents(), loader.file_length()); in TEST_F() 329 ByteString data(loader.file_contents(), loader.file_length()); in TEST_F() 355 ByteString data(loader.file_contents(), loader.file_length()); in TEST_F()
|
D | fpdf_view_embeddertest.cpp | 1061 size_t file_length = 0; in TEST_F() local 1063 GetFileContents(file_path.c_str(), &file_length); in TEST_F() 1066 FPDF_LoadMemDocument(file_contents.get(), file_length, "")); in TEST_F()
|
/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/zlib/google/ |
D | zip_reader.h | 259 int64_t file_length() { return file_length_; } in file_length() function
|
/external/v8/third_party/zlib/google/ |
D | zip_reader.h | 259 int64_t file_length() { return file_length_; } in file_length() function
|
/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 | 1141 size_t file_length = 0; in main() local 1143 GetFileContents(filename.c_str(), &file_length); in main() 1172 RenderPdf(filename, file_contents.get(), file_length, options, events); in main()
|