Home
last modified time | relevance | path

Searched refs:BufferReader (Results 1 – 22 of 22) sorted by relevance

/frameworks/minikin/include/minikin/
DBuffer.h30 class BufferReader {
32 BufferReader(const void* buffer) : BufferReader(buffer, 0) {} in BufferReader() function
33 BufferReader(const void* buffer, uint32_t pos) in BufferReader() function
49 mPos = BufferReader::align<T>(mPos); in read()
58 mPos = BufferReader::align<T>(mPos); in skip()
67 mPos = BufferReader::align<T>(mPos); in readArray()
77 mPos = BufferReader::align<T>(mPos); in skipArray()
113 mPos = BufferReader::align<T>(mPos); in write()
128 mPos = BufferReader::align<T>(mPos); in writeArray()
DFont.h114 using TypefaceLoader = std::shared_ptr<MinikinFont>(BufferReader reader);
117 using TypefaceReader = TypefaceLoader*(BufferReader* reader);
122 static std::shared_ptr<Font> readFrom(BufferReader* reader, uint32_t localeListId) { in readFrom()
124 BufferReader typefaceMetadataReader = *reader; in readFrom()
142 BufferReader typefaceMetadataReader() const { return mTypefaceMetadataReader; } in typefaceMetadataReader()
156 Font(FontStyle style, BufferReader typefaceMetadataReader, TypefaceLoader* typefaceLoader, in Font()
178 BufferReader mTypefaceMetadataReader;
DFontFamily.h42 static std::shared_ptr<FontFamily> readFrom(BufferReader* reader) { in readFrom()
99 static uint32_t readLocaleListInternal(BufferReader* reader);
100 static std::shared_ptr<FontFamily> readFromInternal(BufferReader* reader,
DSparseBitSet.h46 explicit SparseBitSet(BufferReader* reader) : SparseBitSet() { initFromBuffer(reader); } in SparseBitSet()
72 void initFromBuffer(BufferReader* reader);
DFontStyle.h51 explicit FontStyle(BufferReader* reader) { in FontStyle()
DFontCollection.h44 static std::vector<std::shared_ptr<FontCollection>> readVector(BufferReader* reader) { in readVector()
203 FontCollection(BufferReader* reader,
/frameworks/minikin/libs/minikin/
DLocaleListCache.h41 static inline uint32_t readFrom(BufferReader* reader) { in readFrom()
63 uint32_t readFromInternal(BufferReader* reader);
DFontFamily.cpp72 std::shared_ptr<FontFamily> FontFamily::readFromInternal(BufferReader* reader, in readFromInternal()
100 uint32_t FontFamily::readLocaleListInternal(BufferReader* reader) { in readLocaleListInternal()
DLocaleListCache.cpp156 uint32_t LocaleListCache::readFromInternal(BufferReader* reader) { in readFromInternal()
DSparseBitSet.cpp107 void SparseBitSet::initFromBuffer(BufferReader* reader) { in initFromBuffer()
DFontCollection.cpp127 FontCollection::FontCollection(BufferReader* reader, in FontCollection()
/frameworks/base/libs/androidfw/
DZipUtils.cpp82 class BufferReader : public zip_archive::Reader { class
84 BufferReader(incfs::map_ptr<void> input, size_t inputSize) : Reader(), in BufferReader() function in BufferReader
149 BufferReader reader(in, compressedLen); in inflateToBuffer()
/frameworks/minikin/tests/unittest/
DBufferTest.cpp50 BufferReader reader(buffer.data()); in TEST()
77 BufferReader reader(buffer.data()); in TEST()
DSparseBitSetTest.cpp61 BufferReader reader(buffer.data()); in TEST()
74 BufferReader reader(buffer.data()); in TEST()
DFontTest.cpp32 BufferReader reader(buffer.data()); in TEST()
DFontCollectionTest.cpp194 BufferReader reader(buffer.data()); in TEST()
211 BufferReader reader(buffer.data()); in TEST()
225 BufferReader reader(buffer.data()); in TEST()
DFontLanguageListCacheTest.cpp78 BufferReader reader(buffer.data()); in TEST()
DFontFamilyTest.cpp803 BufferReader reader(buffer.data()); in TEST_F()
824 BufferReader reader(buffer.data()); in TEST_F()
/frameworks/minikin/tests/util/
DFreeTypeMinikinFontForTest.cpp119 std::shared_ptr<MinikinFont> loadFreeTypeMinikinFontForTest(BufferReader reader) { in loadFreeTypeMinikinFontForTest()
124 Font::TypefaceLoader* readFreeTypeMinikinFontForTest(BufferReader* reader) { in readFreeTypeMinikinFontForTest()
DFreeTypeMinikinFontForTest.h69 Font::TypefaceLoader* readFreeTypeMinikinFontForTest(BufferReader* reader);
/frameworks/base/libs/hwui/jni/
DTypeface.cpp207 static std::shared_ptr<minikin::MinikinFont> loadMinikinFontSkia(minikin::BufferReader);
209 static minikin::Font::TypefaceLoader* readMinikinFontSkia(minikin::BufferReader* reader) { in readMinikinFontSkia()
222 static std::shared_ptr<minikin::MinikinFont> loadMinikinFontSkia(minikin::BufferReader reader) { in loadMinikinFontSkia()
327 minikin::BufferReader reader(addr); in Typeface_readTypefaces()
/frameworks/base/libs/hwui/jni/fonts/
DFont.cpp227 minikin::BufferReader reader = font->font->typefaceMetadataReader(); in Font_getFontPath()
269 minikin::BufferReader reader = font->font->typefaceMetadataReader(); in Font_getIndex()
282 minikin::BufferReader reader = font->font->typefaceMetadataReader(); in Font_getAxisCount()
296 minikin::BufferReader reader = font->font->typefaceMetadataReader(); in Font_getAxisInfo()