Home
last modified time | relevance | path

Searched refs:FileBackedBitmap (Results 1 – 3 of 3) sorted by relevance

/external/icing/icing/file/
Dfile-backed-bitmap.cc34 int FileBackedBitmap::GetBlockCapacity(int num_blocks) { in GetBlockCapacity()
40 libtextclassifier3::StatusOr<std::unique_ptr<FileBackedBitmap>>
41 FileBackedBitmap::Create(const Filesystem* filesystem, in Create()
50 auto bitmap = std::unique_ptr<FileBackedBitmap>( in Create()
51 new FileBackedBitmap(filesystem, file_path, mmap_strategy)); in Create()
63 FileBackedBitmap::FileBackedBitmap(const Filesystem* filesystem, in FileBackedBitmap() function in icing::lib::FileBackedBitmap
70 FileBackedBitmap::~FileBackedBitmap() { in ~FileBackedBitmap()
88 const FileBackedBitmap::Header& FileBackedBitmap::header() const { in header()
92 FileBackedBitmap::Header* FileBackedBitmap::mutable_header() { in mutable_header()
96 libtextclassifier3::Status FileBackedBitmap::FileBackedBitmap::Initialize() { in Initialize()
[all …]
Dfile-backed-bitmap_test.cc33 return FileBackedBitmap::GetBlockCapacity(num_blocks); in GetBlockCapacity()
49 ASSERT_THAT(FileBackedBitmap::Create(&filesystem_, "", mmap_strategy_) in TEST_F()
57 ASSERT_THAT(FileBackedBitmap::Create(&filesystem_, file_path_, mmap_strategy_) in TEST_F()
65 std::unique_ptr<FileBackedBitmap> bitmap, in TEST_F()
66 FileBackedBitmap::Create(&filesystem_, file_path_, mmap_strategy_)); in TEST_F()
75 std::unique_ptr<FileBackedBitmap> bitmap, in TEST_F()
76 FileBackedBitmap::Create(&filesystem_, file_path_, mmap_strategy_)); in TEST_F()
101 std::unique_ptr<FileBackedBitmap> bitmap, in TEST_F()
102 FileBackedBitmap::Create(&filesystem_, file_path_, mmap_strategy_)); in TEST_F()
123 std::unique_ptr<FileBackedBitmap> bitmap, in TEST_F()
[all …]
Dfile-backed-bitmap.h59 class FileBackedBitmap {
81 static libtextclassifier3::StatusOr<std::unique_ptr<FileBackedBitmap>> Create(
88 ~FileBackedBitmap();
178 FileBackedBitmap(const Filesystem* filesystem, std::string_view file_path,