Home
last modified time | relevance | path

Searched refs:file_number (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/third_party/leveldatabase/src/db/
Dtable_cache.cc45 Status TableCache::FindTable(uint64_t file_number, uint64_t file_size, in FindTable() argument
48 char buf[sizeof(file_number)]; in FindTable()
49 EncodeFixed64(buf, file_number); in FindTable()
53 std::string fname = TableFileName(dbname_, file_number); in FindTable()
58 std::string old_fname = SSTTableFileName(dbname_, file_number); in FindTable()
83 uint64_t file_number, in NewIterator() argument
91 Status s = FindTable(file_number, file_size, &handle); in NewIterator()
106 uint64_t file_number, in Get() argument
112 Status s = FindTable(file_number, file_size, &handle); in Get()
121 void TableCache::Evict(uint64_t file_number) { in Evict() argument
[all …]
Dtable_cache.h34 uint64_t file_number,
41 uint64_t file_number,
48 void Evict(uint64_t file_number);
56 Status FindTable(uint64_t file_number, uint64_t file_size, Cache::Handle**);
Dversion_set.h196 void ReuseFileNumber(uint64_t file_number) { in ReuseFileNumber() argument
197 if (next_file_number_ == file_number + 1) { in ReuseFileNumber()
198 next_file_number_ = file_number; in ReuseFileNumber()
Ddb_impl.cc760 uint64_t file_number; in OpenCompactionOutputFile() local
763 file_number = versions_->NewFileNumber(); in OpenCompactionOutputFile()
764 pending_outputs_.insert(file_number); in OpenCompactionOutputFile()
766 out.number = file_number; in OpenCompactionOutputFile()
774 std::string fname = TableFileName(dbname_, file_number); in OpenCompactionOutputFile()
/external/chromium_org/net/disk_cache/blockfile/
Daddr.cc21 bool Addr::SetFileNumber(int file_number) { in SetFileNumber() argument
23 if (file_number & ~kFileNameMask) in SetFileNumber()
25 value_ = kInitializedMask | file_number; in SetFileNumber()
Daddr.h110 bool SetFileNumber(int file_number);
Dindex_table_v3.cc275 int file_number = FileNumberFromLocation(location); in GetAddress() local
277 DCHECK_EQ(0, file_number); in GetAddress()
278 file_number = (GetGroup() == ENTRY_EVICTED) ? kEvictedEntriesFile : in GetAddress()
281 DCHECK_NE(0, file_number); in GetAddress()
284 return Addr(file_type, 1, file_number, StartBlockFromLocation(location)); in GetAddress()
Dbackend_impl.cc668 int file_number = data_->header.last_file + 1; in CreateExternalFile() local
671 for (int i = 0; i < 0x0fffffff; i++, file_number++) { in CreateExternalFile()
672 if (!file_address.SetFileNumber(file_number)) { in CreateExternalFile()
673 file_number = 1; in CreateExternalFile()
697 data_->header.last_file = file_number; in CreateExternalFile()
/external/chromium_org/third_party/webrtc/tools/barcode_tools/
Dhelper_functions.py83 file_number = start_number
87 zero_padded_file_number = zero_pad(file_number)
93 file_number += 1
/external/chromium_org/chrome/browser/chromeos/drive/
Dfile_cache.cc436 int file_number = 1; in RecoverFilesFromCacheDirectory() local
516 .InsertBeforeExtensionASCII(base::StringPrintf("%08d", file_number++)); in RecoverFilesFromCacheDirectory()
525 file_number - 1); in RecoverFilesFromCacheDirectory()
/external/valgrind/main/coregrind/m_debuginfo/
Dreadpdb.c1032 unsigned file_number, in pdb_ds_read_file() argument
1036 if (!reader->u.ds.toc || file_number >= reader->u.ds.toc->num_files) in pdb_ds_read_file()
1038 if (reader->u.ds.toc->file_size[file_number] == 0 in pdb_ds_read_file()
1039 || reader->u.ds.toc->file_size[file_number] == 0xFFFFFFFF) in pdb_ds_read_file()
1044 for (i = 0; i < file_number; i++) in pdb_ds_read_file()
1050 *plength = reader->u.ds.toc->file_size[file_number]; in pdb_ds_read_file()
1052 reader->u.ds.toc->file_size[file_number]); in pdb_ds_read_file()