/frameworks/minikin/include/minikin/ |
D | Buffer.h | 45 class BufferReader { 49 explicit BufferReader(const void* buffer) : BufferReader(buffer, 0) {} in BufferReader() function 50 BufferReader(const void* buffer, uint32_t pos) in BufferReader() function 81 mCurrent = BufferReader::align<T, align>(mCurrent); in map() 90 mCurrent = BufferReader::align<T, align>(mCurrent); in skip() 100 mCurrent = BufferReader::align<T, align>(mCurrent); in readArray() 110 mCurrent = BufferReader::align<T, align>(mCurrent); in skipArray() 201 return BufferReader::align<T, AlignT>(mData + pos) - mData; in align()
|
D | MinikinFontFactory.h | 33 virtual std::shared_ptr<MinikinFont> create(BufferReader reader) const = 0; 37 virtual void skip(BufferReader* reader) const = 0;
|
D | SparseBitSet.h | 47 explicit SparseBitSet(BufferReader* reader) : SparseBitSet() { initFromBuffer(reader); } in SparseBitSet() 75 void initFromBuffer(BufferReader* reader);
|
D | Font.h | 150 explicit Font(BufferReader* reader); 172 BufferReader typefaceMetadataReader() const { return mTypefaceMetadataReader; } in typefaceMetadataReader() 228 BufferReader mTypefaceMetadataReader;
|
D | FontFamily.h | 57 static std::vector<std::shared_ptr<FontFamily>> readVector(BufferReader* reader); 115 explicit FontFamily(BufferReader* reader, const std::shared_ptr<std::vector<Font>>& fonts);
|
D | FontCollection.h | 63 static std::vector<std::shared_ptr<FontCollection>> readVector(BufferReader* reader); 208 BufferReader* reader,
|
D | FontStyle.h | 53 explicit FontStyle(BufferReader* reader) { in FontStyle()
|
/frameworks/minikin/tests/unittest/ |
D | FontTest.cpp | 42 BufferReader reader(buffer.data()); in TEST() 68 BufferReader reader(buffer.data()); in TEST() 76 BufferReader reader(buffer.data()); in TEST() 96 BufferReader reader(buffer.data()); in TEST() 98 BufferReader reader2(buffer.data()); in TEST() 107 BufferReader reader(buffer.data()); in TEST() 110 BufferReader reader2(buffer.data()); in TEST() 119 BufferReader reader(buffer.data()); in TEST() 121 BufferReader reader2(buffer.data()); in TEST() 131 BufferReader reader(buffer.data()); in TEST() [all …]
|
D | SparseBitSetTest.cpp | 61 BufferReader reader(buffer.data()); in TEST() 74 BufferReader reader(buffer.data()); in TEST()
|
D | BufferTest.cpp | 55 BufferReader reader(buffer.data()); in TEST() 85 BufferReader reader(buffer.data()); in TEST()
|
D | FontCollectionTest.cpp | 206 BufferReader reader(buffer.data()); in TEST() 226 BufferReader reader(buffer.data()); in TEST() 240 BufferReader reader(buffer.data()); in TEST()
|
D | FontLanguageListCacheTest.cpp | 78 BufferReader reader(buffer.data()); in TEST()
|
D | FontFamilyTest.cpp | 924 BufferReader reader(buffer.data()); in TEST_F()
|
/frameworks/minikin/libs/minikin/ |
D | LocaleListCache.h | 41 static inline uint32_t readFrom(BufferReader* reader) { in readFrom() 63 uint32_t readFromInternal(BufferReader* reader);
|
D | LocaleListCache.cpp | 156 uint32_t LocaleListCache::readFromInternal(BufferReader* reader) { in readFromInternal()
|
D | SparseBitSet.cpp | 107 void SparseBitSet::initFromBuffer(BufferReader* reader) { in initFromBuffer()
|
D | FontFamily.cpp | 162 FontFamily::FontFamily(BufferReader* reader, const std::shared_ptr<std::vector<Font>>& allFonts) in FontFamily() 237 std::vector<std::shared_ptr<FontFamily>> FontFamily::readVector(BufferReader* reader) { in readVector()
|
D | Font.cpp | 78 Font::Font(BufferReader* reader) in Font()
|
D | FontCollection.cpp | 213 BufferReader* reader, in FontCollection() 259 std::vector<std::shared_ptr<FontCollection>> FontCollection::readVector(BufferReader* reader) { in readVector()
|
/frameworks/minikin/tests/util/ |
D | FreeTypeMinikinFontForTest.h | 81 std::shared_ptr<MinikinFont> create(BufferReader reader) const override; 83 void skip(BufferReader* reader) const override;
|
D | FreeTypeMinikinFontForTest.cpp | 130 std::shared_ptr<MinikinFont> FreeTypeMinikinFontForTestFactory::create(BufferReader reader) const { in create() 135 void FreeTypeMinikinFontForTestFactory::skip(BufferReader* reader) const { in skip()
|
/frameworks/base/libs/androidfw/ |
D | ZipUtils.cpp | 82 class BufferReader final : 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/base/libs/hwui/jni/ |
D | Typeface.cpp | 201 void skip(minikin::BufferReader* reader) const override; 202 std::shared_ptr<minikin::MinikinFont> create(minikin::BufferReader reader) const override; 206 void MinikinFontSkiaFactory::skip(minikin::BufferReader* reader) const { in skip() 219 minikin::BufferReader reader) const { in create() 304 reinterpret_cast<intptr_t>(addr) % minikin::BufferReader::kMaxAlignment != 0) { in Typeface_writeTypefaces() 335 if (reinterpret_cast<intptr_t>(addr) % minikin::BufferReader::kMaxAlignment != 0) { in Typeface_readTypefaces() 339 minikin::BufferReader reader(addr, position); in Typeface_readTypefaces()
|
/frameworks/minikin/fuzz/locale_fuzzer/ |
D | locale_fuzzer.cpp | 49 BufferReader reader(buffer.data()); in LLVMFuzzerTestOneInput()
|
/frameworks/base/libs/hwui/jni/fonts/ |
D | Font.cpp | 229 minikin::BufferReader reader = font->font->typefaceMetadataReader(); in Font_getFontPath() 271 minikin::BufferReader reader = font->font->typefaceMetadataReader(); in Font_getIndex() 284 minikin::BufferReader reader = font->font->typefaceMetadataReader(); in Font_getAxisCount() 298 minikin::BufferReader reader = font->font->typefaceMetadataReader(); in Font_getAxisInfo()
|