/external/ltp/testcases/kernel/syscalls/ftruncate/ |
ftruncate01.c | 96 off_t file_length; /* test file length */ local 127 file_length = stat_buf.st_size; 133 if (file_length != TRUNC_LEN) { 137 (int64_t) file_length, TRUNC_LEN);
|
/external/ltp/testcases/kernel/syscalls/truncate/ |
truncate01.c | 97 off_t file_length; /* test file length */ local 129 file_length = stat_buf.st_size; 135 if (file_length != TRUNC_LEN) { 139 (int64_t) file_length,
|
/external/pdfium/testing/ |
test_support.cpp | 85 size_t file_length = ftell(file); local 86 if (!file_length) { 91 static_cast<char*>(malloc(file_length))); 95 size_t bytes_read = fread(buffer.get(), 1, file_length, file); 97 if (bytes_read != file_length) {
|
/external/pdfium/third_party/libopenjpeg20/ |
openjpeg.c | 99 OPJ_OFF_T file_length = 0; local 102 file_length = (OPJ_OFF_T)OPJ_FTELL(p_file); 105 return (OPJ_UINT64)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", 474 for (j = 1; j <= file_length; j++) { 626 for (j = 1; j <= file_length; j++) {
|
/system/update_engine/payload_consumer/ |
delta_performer_unittest.cc | 517 const uint64_t file_length = 4 * block_size - 13; local 528 file_length, [all...] |
/external/e2fsprogs/ext2ed/ |
ext2ed.h | 136 long file_offset,file_length; member in struct:struct_file_info
|
/prebuilts/ndk/r13/sources/third_party/shaderc/third_party/glslang/glslang/Public/ |
ShaderLang.h | 329 IncludeResult(const std::string& file_name, const char* const file_data, const size_t file_length, void* user_data) : 330 file_name(file_name), file_data(file_data), file_length(file_length), user_data(user_data) { } 342 const size_t file_length; member in struct:glslang::TShader::Includer::IncludeResult
|
/art/runtime/ |
elf_file.cc | 115 size_t file_length = static_cast<size_t>(temp_file_length); local 116 if (file_length < sizeof(Elf_Ehdr)) { 118 "%zd bytes: '%s'", file_length, sizeof(Elf_Ehdr), 140 if (file_length < program_header_size) { 142 "header of %zd bytes: '%s'", file_length, 1130 size_t file_length = static_cast<size_t>(temp_file_length); local [all...] |
/external/pdfium/samples/ |
pdfium_test.cc | 978 size_t file_length = 0; local 980 GetFileContents(filename.c_str(), &file_length); 1003 RenderPdf(filename, file_contents.get(), file_length, options, events);
|
/frameworks/av/media/mtp/ |
MtpFfsHandle.cpp | 646 uint32_t file_length = mfr.length; local 674 while (file_length > 0 || write) { 675 if (file_length > 0) { 676 length = std::min(static_cast<uint32_t>(MAX_FILE_CHUNK_SIZE), file_length); 681 if (file_length != MAX_MTP_FILE_SIZE && ret < static_cast<int>(length)) { 710 if (file_length == MAX_MTP_FILE_SIZE) { 713 file_length = 0; 718 file_length -= ret; 744 uint64_t file_length = mfr.length; local 746 file_length + sizeof(mtp_data_header)) [all...] |
/system/core/libziparchive/ |
zip_archive.cc | 163 off64_t file_length, off64_t read_amount, uint8_t* scan_buffer) { 164 const off64_t search_start = file_length - read_amount; 200 if (calculated_length != file_length) { 202 static_cast<int64_t>(file_length - calculated_length)); 258 off64_t file_length = archive->mapped_zip.GetFileLength(); local 259 if (file_length == -1) { 263 if (file_length > static_cast<off64_t>(0xffffffff)) { 264 ALOGV("Zip: zip file too long %" PRId64, static_cast<int64_t>(file_length)); 268 if (file_length < static_cast<off64_t>(sizeof(EocdRecord))) { 269 ALOGV("Zip: length %" PRId64 " is too small to be zip", static_cast<int64_t>(file_length)); [all...] |