Home
last modified time | relevance | path

Searched refs:TruncatePlatformFile (Results 1 – 24 of 24) sorted by relevance

/external/chromium/base/
Dplatform_file_unittest.cc202 TEST(PlatformFile, TruncatePlatformFile) { in TEST() argument
223 EXPECT_TRUE(base::TruncatePlatformFile(file, kExtendedFileLength)); in TEST()
238 EXPECT_TRUE(base::TruncatePlatformFile(file, kTruncatedFileLength)); in TEST()
Dplatform_file.h124 BASE_API bool TruncatePlatformFile(PlatformFile file, int64 length);
Dplatform_file_posix.cc157 bool TruncatePlatformFile(PlatformFile file, int64 length) { in TruncatePlatformFile() function
Dplatform_file_win.cc153 bool TruncatePlatformFile(PlatformFile file, int64 length) { in TruncatePlatformFile() function
Dfile_util_proxy.cc663 if (!base::TruncatePlatformFile(file_, length_)) in RunWork()
695 if (!base::TruncatePlatformFile(file, length_)) in RunWork()
/external/chromium_org/base/
Dplatform_file_unittest.cc277 TEST(PlatformFile, TruncatePlatformFile) { in TEST() argument
298 EXPECT_TRUE(TruncatePlatformFile(file, kExtendedFileLength)); in TEST()
313 EXPECT_TRUE(TruncatePlatformFile(file, kTruncatedFileLength)); in TEST()
Dplatform_file.h211 BASE_EXPORT bool TruncatePlatformFile(PlatformFile file, int64 length);
Dplatform_file_win.cc210 bool TruncatePlatformFile(PlatformFile file, int64 length) { in TruncatePlatformFile() function
Dplatform_file_posix.cc344 bool TruncatePlatformFile(PlatformFile file, int64 length) { in TruncatePlatformFile() function
/external/chromium_org/courgette/
Dmemory_allocator.cc60 return base::TruncatePlatformFile(file_, size); in SetSize()
/external/chromium_org/chrome/browser/chromeos/drive/file_system/
Dtruncate_operation.cc54 if (!base::TruncatePlatformFile(file, length)) in TruncateOnBlockingPool()
/external/chromium_org/net/disk_cache/
Dfile_posix.cc147 return base::TruncatePlatformFile(platform_file_, length); in SetLength()
Dfile_ios.cc266 return base::TruncatePlatformFile(platform_file_, length); in SetLength()
Dentry_unittest.cc2503 const bool result = base::TruncatePlatformFile(file, length); in TruncatePath()
/external/chromium_org/net/disk_cache/simple/
Dsimple_synchronous_entry.cc42 using base::TruncatePlatformFile;
367 if (!TruncatePlatformFile(files_[file_index], file_eof_offset)) { in WriteData()
390 if (!TruncatePlatformFile(files_[file_index], file_eof_offset)) { in WriteData()
671 !TruncatePlatformFile(files_[file_index], eof_offset)) { in Close()
1249 if (!TruncatePlatformFile(sparse_file_, header_and_key_length)) { in TruncateSparseFile()
/external/chromium_org/webkit/browser/fileapi/
Dsandbox_prioritized_origin_database.cc38 base::TruncatePlatformFile(file, 0); in WritePrimaryOriginFile()
Dnative_file_util.cc241 if (!base::TruncatePlatformFile(file, length)) in Truncate()
/external/chromium_org/chrome/browser/chromeos/drive/
Dfileapi_worker_unittest.cc91 EXPECT_TRUE(base::TruncatePlatformFile(platform_file, data_size)); in VerifyWrite()
/external/chromium_org/content/browser/renderer_host/pepper/
Dquota_reservation_unittest.cc112 ASSERT_TRUE(base::TruncatePlatformFile(file, size)); in SetFileSize()
/external/chromium_org/webkit/browser/fileapi/quota/
Dquota_reservation_manager_unittest.cc127 ASSERT_TRUE(base::TruncatePlatformFile(file, size)); in SetFileSize()
/external/chromium_org/content/browser/indexed_db/leveldb/
Dleveldb_unittest.cc71 base::TruncatePlatformFile(handle, 0); in TEST()
/external/chromium_org/base/files/
Dfile_util_proxy.cc373 Bind(&TruncatePlatformFile, file, length), in Truncate()
/external/chromium_org/webkit/browser/database/
Ddatabase_tracker_unittest.cc183 if (!base::TruncatePlatformFile(file, length)) in EnsureFileOfSize()
/external/chromium_org/content/browser/fileapi/
Dobfuscated_file_util_unittest.cc551 ASSERT_TRUE(base::TruncatePlatformFile(file_handle, src_file_length)); in TestCopyInForeignFileHelper()