Searched refs:BlockCounts (Results 1 – 3 of 3) sorted by relevance
/system/incremental_delivery/incfs/include/ |
D | incfs.h | 194 using BlockCounts = IncFsBlockCounts; variable 263 std::optional<BlockCounts> getBlockCount(const Control& control, FileId fileId); 264 std::optional<BlockCounts> getBlockCount(const Control& control, std::string_view path);
|
D | incfs_inline.h | 420 inline std::optional<BlockCounts> getBlockCount(const Control& control, FileId fileId) { in getBlockCount() 421 BlockCounts counts; in getBlockCount() 430 inline std::optional<BlockCounts> getBlockCount(const Control& control, std::string_view path) { in getBlockCount() 431 BlockCounts counts; in getBlockCount()
|
/system/incremental_delivery/incfs/tests/ |
D | incfs_test.cpp | 1426 inline bool operator==(const BlockCounts& lhs, const BlockCounts& rhs) { in operator ==() 1468 ASSERT_EQ(BlockCounts{.totalDataBlocks = 2}, *getBlockCount(control_, file_path)); in TEST_F() 1469 ASSERT_EQ(BlockCounts{.totalDataBlocks = 2}, *getBlockCount(control_, file_id)); in TEST_F() 1480 BlockCounts onePage{.totalDataBlocks = 2, .filledDataBlocks = 1}; in TEST_F() 1493 BlockCounts twoPages{.totalDataBlocks = 2, .filledDataBlocks = 2}; in TEST_F()
|