Home
last modified time | relevance | path

Searched refs:sparse_file_ (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/net/disk_cache/simple/
Dsimple_synchronous_entry.cc687 sparse_file_.Close(); in Close()
1188 sparse_file_.Initialize(filename, flags); in OpenSparseFileIfExists()
1189 if (sparse_file_.IsValid()) in OpenSparseFileIfExists()
1192 return sparse_file_.error_details() == File::FILE_ERROR_NOT_FOUND; in OpenSparseFileIfExists()
1201 sparse_file_.Initialize(filename, flags); in CreateSparseFile()
1202 if (!sparse_file_.IsValid()) in CreateSparseFile()
1210 sparse_file_.Close(); in CloseSparseFile()
1217 if (!sparse_file_.SetLength(header_and_key_length)) { in TruncateSparseFile()
1237 sparse_file_.Write(0, reinterpret_cast<char*>(&header), sizeof(header)); in InitializeSparseFile()
1243 int key_write_result = sparse_file_.Write(sizeof(header), key_.data(), in InitializeSparseFile()
[all …]
Dsimple_synchronous_entry.h308 return sparse_file_.IsValid(); in sparse_file_open()
328 base::File sparse_file_; variable