/external/chromium/net/base/ |
file_stream_unittest.cc | 104 int64 file_size; local 105 bool ok = file_util::GetFileSize(temp_file_path(), &file_size); 115 EXPECT_EQ(file_size, total_bytes_avail); 129 EXPECT_EQ(file_size, total_bytes_read); 134 int64 file_size; local 135 bool ok = file_util::GetFileSize(temp_file_path(), &file_size); 146 EXPECT_EQ(file_size, total_bytes_avail); 164 EXPECT_EQ(file_size, total_bytes_read); 169 int64 file_size; local 170 bool ok = file_util::GetFileSize(temp_file_path(), &file_size); 199 int64 file_size; local 234 int64 file_size; local 302 int64 file_size; local 324 int64 file_size; local 356 int64 file_size; local 387 int64 file_size; local 406 int64 file_size; local 441 int64 file_size; local 480 int64 file_size; local 528 int64 file_size; local 583 int64 file_size; local 733 int64 file_size; local 835 int64 file_size; local [all...] |
/external/chromium/chrome/browser/ui/webui/ |
screenshot_source.cc | 39 int64 file_size = 0; local 40 if (!file_util::GetFileSize(file, &file_size)) { 46 read_bytes->resize(file_size); 52 static_cast<int>(file_size))))
|
/external/bluetooth/bluedroid/bta/include/ |
bta_fs_ci.h | 38 UINT32 file_size; member in struct:__anon2663 158 ** file_size - The total size of the file 166 UINT32 file_size, UINT16 evt); 241 ** file_size - The total size of the file 249 UINT32 file_size, UINT16 evt);
|
/frameworks/compile/libbcc/lib/ExecutionEngine/ |
ObjectLoader.cpp | 105 size_t file_size; local 118 file_size = pFile.getSize(); 126 if (file_size <= 0) { 132 file_map = pFile.createMap(0, file_size, /* pIsReadOnly */true); 140 result = Load(file_map->getDataPtr(), file_size, input_filename, pResolver,
|
/external/grub/util/ |
mkbimage | 285 file_size=`$decompress $tarfile | wc -c | tr -d ' '` 286 file_size=$(($file_size / $block_size + 1)) 290 file_size=$(($file_size + $file_size / 10)) 299 cylinders=$(($file_size / $cyl_size + 2));; 300 1.20) [ $file_size -ge $bk_120 ] && error wont_fit; 305 1.44) [ $file_size -ge $bk_144 ] && error wont_fit; 310 1.60) [ $file_size -ge $bk_160 ] && error wont_fit; [all...] |
/external/bluetooth/bluedroid/bta/fs/ |
bta_fs_ci.c | 114 ** file_size - The total size of the file 121 void bta_fs_ci_open(int fd, tBTA_FS_CO_STATUS status, UINT32 file_size, UINT16 evt) 130 p_evt->file_size = file_size; 252 ** file_size - The total size of the file 260 UINT32 file_size, UINT16 evt) 272 p_evt->file_size = file_size;
|
/external/chromium/base/ |
platform_file_unittest.cc | 183 int64 file_size = 0; local 184 EXPECT_TRUE(file_util::GetFileSize(file_path, &file_size)); 185 EXPECT_EQ(kOffsetBeyondEndOfFile + kPartialWriteLength, file_size); 189 bytes_read = ReadFully(file, 0, data_read_2, static_cast<int>(file_size)); 190 EXPECT_EQ(file_size, bytes_read); 195 for (int i = kOffsetBeyondEndOfFile; i < file_size; i++) 222 int64 file_size = 0; local 224 EXPECT_TRUE(file_util::GetFileSize(file_path, &file_size)); 225 EXPECT_EQ(kExtendedFileLength, file_size); 229 int bytes_read = ReadFully(file, 0, data_read, static_cast<int>(file_size)); [all...] |
/external/chromium/chrome/browser/chromeos/login/ |
owner_key_utils.cc | 114 int64 file_size; local 115 if (!file_util::GetFileSize(key_file, &file_size)) { 119 if (file_size > static_cast<int64>(std::numeric_limits<int>::max())) { 121 << file_size << "bytes!!! Too big!"; 124 int32 safe_file_size = static_cast<int32>(file_size);
|
/external/libvpx/libvpx/test/ |
cq_test.cc | 68 int file_size() const { return file_size_; } function in class:__anon10892::CQTest 90 const int cq_actual_bitrate = file_size() * 8 * 30 / (n_frames() * 1000);
|
/external/marisa-trie/lib/marisa/ |
mapper.cc | 72 const UInt64 file_size = st.st_size; local 73 MARISA_THROW_IF(file_size > MARISA_UINT32_MAX, MARISA_SIZE_ERROR); 76 temp.size_ = (std::size_t)file_size; 100 UInt64 file_size = st.st_size; local 101 MARISA_THROW_IF(file_size > MARISA_UINT32_MAX, MARISA_SIZE_ERROR); 104 temp.size_ = (std::size_t)file_size;
|
/external/marisa-trie/v0_1_5/lib/marisa_alpha/ |
mapper.cc | 74 const UInt64 file_size = st.st_size; local 75 MARISA_ALPHA_THROW_IF(file_size > MARISA_ALPHA_UINT32_MAX, 79 temp.size_ = (std::size_t)file_size; 103 UInt64 file_size = st.st_size; local 104 MARISA_ALPHA_THROW_IF(file_size > MARISA_ALPHA_UINT32_MAX, 108 temp.size_ = (std::size_t)file_size;
|
/external/netperf/ |
netcpu_looper.c | 279 unsigned int i, file_size; 287 file_size = ((netlib_get_page_size() * PAGES_PER_CHILD) * 317 if (truncate("/tmp/netperf_cpu",file_size) == -1) { 334 file_size, 346 fprintf(where,"num CPUs %d, file_size %d, lib_base_pointer %p\n", 348 file_size, 385 if ((lib_base_pointer = malloc(file_size)) == NULL) { 388 file_size); 278 unsigned int i, file_size; local
|
/external/oprofile/libutil++/ |
op_spu_bfd.cpp | 47 file_size(-1), 83 file_size = st.st_size; 182 file_size = -1;
|
/external/bluetooth/bluedroid/stack/include/ |
goep_fs.h | 104 UINT32 file_size; member in struct:__anon3358 330 ** file_size - total number of bytes in this file. 337 UINT32 file_size, UINT16 event_id);
|
/external/llvm/include/llvm-c/ |
lto.h | 137 lto_module_create_from_fd(int fd, const char *path, size_t file_size); 144 lto_module_create_from_fd_at_offset(int fd, const char *path, size_t file_size,
|
/external/llvm/tools/lto/ |
lto.cpp | 78 size_t file_size, 81 return LTOModule::makeLTOModule(fd, path, file_size, map_size,
|
/external/llvm/unittests/Support/ |
FileOutputBufferTest.cpp | 61 ASSERT_NO_ERROR(fs::file_size(Twine(File1), File1Size)); 99 ASSERT_NO_ERROR(fs::file_size(Twine(File3), File3Size));
|
/external/chromium/sdch/open-vcdiff/src/gtest/ |
gtest-port.cc | 142 const size_t file_size = GetFileSize(file); local 143 char* const buffer = new char[file_size]; 153 bytes_last_read = fread(buffer+bytes_read, 1, file_size-bytes_read, file); 155 } while (bytes_last_read > 0 && bytes_read < file_size);
|
/external/freetype/include/freetype/ |
ftwinfnt.h | 186 FT_ULong file_size; member in struct:FT_WinFNT_HeaderRec_
|
/external/qemu/telephony/ |
sim_card.c | 208 int file_size, perm; local 215 file_size = file->dedicated.length; 217 file_size = file->linear.rec_count * file->linear.rec_len; 219 gsm_hex_from_short( dst, file_size );
|
/frameworks/av/libvideoeditor/osal/inc/ |
M4OSA_FileCommon_priv.h | 54 M4OSA_FilePosition file_size; member in struct:__anon18761
|
/system/core/fastboot/ |
util_windows.c | 39 int64_t file_size(const char *fn) function
|
/external/chromium/sdch/open-vcdiff/src/ |
vcdiff_main.cc | 91 // returns true and populates file_size if successful; otherwise, it returns 93 static bool FileSize(FILE* file, size_t* file_size); 209 bool VCDiffFileBasedCoder::FileSize(FILE* file, size_t* file_size) { 214 *file_size = static_cast<size_t>(ftell(file)); 272 size_t file_size = 0U; local 273 if (!FileSize(*file, &file_size)) { 279 if (file_size < buffer_size) { 281 buffer_size = file_size;
|
/external/open-vcdiff/src/ |
vcdiff_main.cc | 92 // returns true and populates file_size if successful; otherwise, it returns 94 static bool FileSize(FILE* file, size_t* file_size); 210 bool VCDiffFileBasedCoder::FileSize(FILE* file, size_t* file_size) { 215 *file_size = static_cast<size_t>(ftell(file)); 273 size_t file_size = 0U; local 274 if (!FileSize(*file, &file_size)) { 280 if (file_size < buffer_size) { 282 buffer_size = file_size;
|
/frameworks/av/libvideoeditor/osal/src/ |
M4OSA_FileWriter.c | 118 if(pFileContext->write_position > pFileContext->file_size) 120 pFileContext->file_size = pFileContext->write_position; 165 if(pFileContext->write_position > pFileContext->file_size) 167 pFileContext->file_size = pFileContext->write_position; 451 *position = pFileContext->file_size;
|