HomeSort by relevance Sort by last modified time
    Searched refs:file_size (Results 1 - 25 of 215) sorted by null

1 2 3 4 5 6 7 8 9

  /external/chromium_org/content/browser/download/
mhtml_generation_browsertest.cc 37 int64 file_size() const { return file_size_; } function in class:content::MHTMLGenerationTest
65 EXPECT_GT(file_size(), 0);
68 int64 file_size; local
69 ASSERT_TRUE(base::GetFileSize(path, &file_size));
70 EXPECT_GT(file_size, 100);
  /external/chromium_org/chrome/installer/util/
logging_installer_unittest.cc 26 int64 file_size = 0; local
27 EXPECT_TRUE(base::GetFileSize(temp_file, &file_size));
28 EXPECT_EQ(test_data.size(), file_size);
33 EXPECT_TRUE(base::GetFileSize(temp_file, &file_size));
34 EXPECT_EQ(installer::kTruncatedInstallerLogFileSize , file_size);
51 int64 file_size = 0; local
52 EXPECT_TRUE(base::GetFileSize(temp_file, &file_size));
53 EXPECT_EQ(test_data.size(), file_size);
58 EXPECT_TRUE(base::GetFileSize(temp_file, &file_size));
59 EXPECT_EQ(test_data.size(), file_size);
72 int64 file_size = 0; local
101 int64 file_size = 0; local
    [all...]
  /external/chromium_org/media/base/
test_data_util.cc 36 int file_size = static_cast<int>(tmp); local
38 scoped_refptr<DecoderBuffer> buffer(new DecoderBuffer(file_size));
39 CHECK_EQ(file_size,
42 file_size)) << "Failed to read '" << name << "'";
  /external/chromium_org/webkit/browser/fileapi/quota/
open_file_handle_context.cc 45 int64 file_size = 0; local
46 base::GetFileSize(platform_path_, &file_size);
47 int64 usage_delta = file_size - initial_file_size_;
54 std::max(maximum_written_offset_, file_size) - initial_file_size_;
  /external/chromium_org/media/filters/
blocking_url_protocol.cc 37 int64 file_size;
38 if (data_source_->GetSize(&file_size) && read_position_ >= file_size)
69 int64 file_size; local
70 if ((data_source_->GetSize(&file_size) && position > file_size) ||
file_data_source.cc 55 int64 file_size = file_.length(); local
57 CHECK_GE(file_size, 0);
62 position = std::min(position, file_size);
63 int64 clamped_size = std::min(static_cast<int64>(size), file_size - position);
  /external/chromium_org/chrome/browser/chromeos/settings/
owner_key_util.cc 41 int64 file_size; local
42 if (!base::GetFileSize(key_file_, &file_size)) {
46 if (file_size > static_cast<int64>(std::numeric_limits<int>::max())) {
48 << file_size << "bytes!!! Too big!";
51 int32 safe_file_size = static_cast<int32>(file_size);
  /external/chromium_org/third_party/leveldatabase/src/db/
builder.cc 24 meta->file_size = 0;
47 meta->file_size = builder->FileSize();
48 assert(meta->file_size > 0);
69 meta->file_size);
80 if (s.ok() && meta->file_size > 0) {
table_cache.h 27 // file length must be exactly "file_size" bytes). If "tableptr" is
35 uint64_t file_size,
42 uint64_t file_size,
56 Status FindTable(uint64_t file_number, uint64_t file_size, Cache::Handle**);
version_edit.h 21 uint64_t file_size; // File size in bytes member in struct:leveldb::FileMetaData
25 FileMetaData() : refs(0), allowed_seeks(1 << 30), file_size(0) { }
63 uint64_t file_size,
68 f.file_size = file_size;
table_cache.cc 45 Status TableCache::FindTable(uint64_t file_number, uint64_t file_size,
64 s = Table::Open(*options_, file, file_size, &table);
84 uint64_t file_size,
91 Status s = FindTable(file_number, file_size, &handle);
107 uint64_t file_size,
112 Status s = FindTable(file_number, file_size, &handle);
  /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_org/tools/deep_memory_profiler/tests/
mock_gsutil.py 36 assert heap_1.file_size == 1107
40 assert buckets_1.file_size == 2146
44 assert nm_chrome.file_size == 131049
  /external/chromium_org/tools/telemetry/telemetry/core/
temporary_http_server_unittest.py 35 file_size = self.test_file_size
36 last_byte = file_size - 1
38 self.CheckContentHeaders(b, t, '0-', '0-%d' % last_byte, file_size)
42 file_size - 100)
49 '%d-%d' % (file_size - 228, last_byte),
54 file_size - 100)
  /external/chromium_org/chrome/browser/chromeos/drive/file_system/
truncate_operation_unittest.cc 36 const int64 file_size = src_entry.file_info().size(); local
39 ASSERT_GE(file_size, 2);
71 const int64 file_size = src_entry.file_info().size(); local
74 ASSERT_GE(file_size, 2);
102 const int64 file_size = src_entry.file_info().size(); local
107 file_size + 10, // Extend to 10 bytes.
128 EXPECT_EQ(file_size + 10, static_cast<int64>(content.size()));
130 EXPECT_EQ(std::string(10, '\0'), content.substr(file_size));
  /external/chromium_org/third_party/ots/test/
idempotent.cc 39 bool ReadFile(const char *file_name, uint8_t **data, size_t *file_size);
49 bool ReadFile(const char *file_name, uint8_t **data, size_t *file_size) {
58 *file_size = st.st_size;
159 size_t file_size = 0;
161 if (!ReadFile(argv[1], &data, &file_size)) {
172 uint8_t *result = new uint8_t[file_size * 8];
173 ots::MemoryStream output(result, file_size * 8);
175 bool r = ots::Process(&output, data, file_size);
  /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:__anon3109
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);
  /external/chromium_org/third_party/sfntly/cpp/src/sample/subsetter/
subset_util.cc 52 size_t file_size = ftell(input_file); local
54 input_buffer.resize(file_size);
55 size_t bytes_read = fread(&(input_buffer[0]), 1, file_size, input_file);
  /external/sfntly/cpp/src/sample/subsetter/
subset_util.cc 52 size_t file_size = ftell(input_file); local
54 input_buffer.resize(file_size);
55 size_t bytes_read = fread(&(input_buffer[0]), 1, file_size, input_file);
  /external/chromium_org/net/base/
file_stream_unittest.cc 227 int64 file_size; local
228 bool ok = base::GetFileSize(temp_file_path(), &file_size);
238 EXPECT_EQ(file_size, total_bytes_avail);
252 EXPECT_EQ(file_size, total_bytes_read);
257 int64 file_size; local
258 bool ok = base::GetFileSize(temp_file_path(), &file_size);
271 EXPECT_EQ(file_size, total_bytes_avail);
287 EXPECT_EQ(file_size, total_bytes_read);
292 int64 file_size; local
293 bool ok = base::GetFileSize(temp_file_path(), &file_size);
323 int64 file_size; local
358 int64 file_size; local
466 int64 file_size; local
490 int64 file_size; local
527 int64 file_size; local
555 int64 file_size; local
574 int64 file_size; local
616 int64 file_size; local
656 int64 file_size; local
705 int64 file_size; local
765 int64 file_size; local
932 int64 file_size; local
1042 int64 file_size; local
1195 int64 file_size; local
    [all...]
  /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...]

Completed in 1454 milliseconds

1 2 3 4 5 6 7 8 9