Home
last modified time | relevance | path

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

/frameworks/libs/binary_translation/base/
Dmemfd_backed_mmap_test.cc28 constexpr size_t kTableSize = 1 << 26; // 64M mapping size in TEST() local
31 constexpr size_t kTableSize = 1 << 14; // 16k mapping size in TEST()
38 CreateMemfdBackedMapOrDie(memfd, kTableSize * sizeof(default_value), kMemfdFileSize)); in TEST()
51 MunmapOrDie(ptr, kTableSize * sizeof(default_value)); in TEST()
/frameworks/libs/binary_translation/runtime_primitives/include/berberis/runtime_primitives/
Dtable_of_tables.h43 CreateMemfdBackedMapOrDie(main_memfd, kTableSize * sizeof(T*), kMemfdRegionSize)); in TableOfTables()
51 for (size_t i = 0; i < kTableSize; ++i) { in ~TableOfTables()
57 MunmapOrDie(main_table_, kTableSize * sizeof(T*)); in ~TableOfTables()
100 explicit SplitKey(Key key) : low(key & (kTableSize - 1)), high(key >> kTableBits) { in SplitKey()
101 CHECK_EQ(high & ~(kTableSize - 1), 0); in SplitKey()
156 static constexpr size_t kTableSize = 1 << kTableBits; variable
157 static constexpr size_t kChildTableBytes = kTableSize * sizeof(T);
/frameworks/minikin/libs/minikin/
DCmapCoverage.cpp429 constexpr size_t kTableSize = 8; in getCoverage() local
440 if (kHeaderSize + numTables * kTableSize > cmap_size) { in getCoverage()
449 const uint32_t tableHeadOffset = kHeaderSize + i * kTableSize; in getCoverage()