Home
last modified time | relevance | path

Searched refs:MappableData (Results 1 – 2 of 2) sorted by relevance

/frameworks/minikin/libs/minikin/
DSparseBitSet.cpp60 MappableData* data = MappableData::allocate(indicesCount, bitmapsCount); in initFromRanges()
110 mData.reset(reader->map<MappableData, alignof(MappableData)>(size)); in initFromBuffer()
121 static_assert(alignof(MappableData) == 4); in writeTo()
122 MappableData* out = writer->reserve<MappableData, alignof(MappableData)>(size); in writeTo()
169 SparseBitSet::MappableData* SparseBitSet::MappableData::allocate(uint32_t indicesCount, in allocate()
171 MappableData* data = reinterpret_cast<MappableData*>( in allocate()
172 malloc(MappableData::calcSize(indicesCount, bitmapsCount))); in allocate()
/frameworks/minikin/include/minikin/
DSparseBitSet.h96 struct __attribute__((packed, aligned(4))) MappableData { struct
121 return offsetof(MappableData, mArray) + sizeof(uint32_t) * arrayCount; in calcSize() argument
123 static MappableData* allocate(uint32_t indicesCount, uint32_t bitmapsCount);
129 void operator()(const MappableData* data) const { in operator()
134 std::unique_ptr<const MappableData, MappableDataDeleter> mData;