Home
last modified time | relevance | path

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

/frameworks/libs/binary_translation/base/include/berberis/base/
Dmmap_pool.h33 template <size_t kBlockSize, size_t kSizeLimit>
36 static_assert(kBlockSize <= kSizeLimit);
65 static_assert(kSizeLimit % kBlockSize == 0);
66 using NodesArray = std::array<Node, kSizeLimit / kBlockSize>;
91 template <size_t kBlockSize, size_t kSizeLimit>
92 std::array<typename MmapPool<kBlockSize, kSizeLimit>::Node, kSizeLimit / kBlockSize>
93 MmapPool<kBlockSize, kSizeLimit>::g_nodes_;
95 template <size_t kBlockSize, size_t kSizeLimit>
96 LockFreeStack<typename MmapPool<kBlockSize, kSizeLimit>::Node>
97 MmapPool<kBlockSize, kSizeLimit>::g_nodes_with_available_blocks_;
[all …]
/frameworks/libs/binary_translation/base/
Dmmap_pool_test.cc31 static constexpr size_t kSizeLimit = 2 * kBlockSize; member in berberis::MmapPoolTest
32 using Pool = MmapPool<kBlockSize, kSizeLimit>;
/frameworks/native/services/surfaceflinger/Scheduler/
DVSyncPredictor.cpp421 static constexpr size_t kSizeLimit = 30; in setDisplayModePtr() local
422 if (CC_UNLIKELY(mRateMap.size() == kSizeLimit)) { in setDisplayModePtr()