Home
last modified time | relevance | path

Searched refs:BufferWriter (Results 1 – 23 of 23) sorted by relevance

/frameworks/minikin/include/minikin/
DBuffer.h140 class BufferWriter {
144 explicit BufferWriter(void* buffer) : BufferWriter(buffer, 0) {} in BufferWriter() function
145 BufferWriter(void* buffer, uint32_t pos) in BufferWriter() function
148 BufferWriter(BufferWriter&&) = default;
149 BufferWriter& operator=(BufferWriter&&) = default;
168 mPos = BufferWriter::align<T, align>(mPos); in reserve()
183 mPos = BufferWriter::align<T, align>(mPos); in writeArray()
205 BufferWriter(const BufferWriter&) = delete;
206 void operator=(const BufferWriter&) = delete;
DMinikinFontFactory.h40 virtual void write(BufferWriter* writer, const MinikinFont* minikinFont) const = 0;
DFontFamily.h58 static void writeVector(BufferWriter* writer,
117 void writeTo(BufferWriter* writer, uint32_t* fontIndex) const;
DFontCollection.h64 static void writeVector(BufferWriter* writer,
212 void writeTo(BufferWriter* writer,
DFontStyle.h58 void writeTo(BufferWriter* writer) const { in writeTo()
DSparseBitSet.h52 void writeTo(BufferWriter* writer) const;
DFont.h151 void writeTo(BufferWriter* writer) const;
/frameworks/minikin/tests/unittest/
DBufferTest.cpp25 void writeTo(BufferWriter* writer) const { in writeTo()
46 BufferWriter fakeWriter(nullptr); in TEST()
51 BufferWriter writer(buffer.data()); in TEST()
76 BufferWriter fakeWriter(nullptr); in TEST()
81 BufferWriter writer(buffer.data()); in TEST()
DFontLanguageListCacheTest.cpp67 BufferWriter fakeWriter(nullptr); in TEST()
73 BufferWriter writer(buffer.data()); in TEST()
DFontCollectionTest.cpp193 BufferWriter fakeWriter(nullptr); in writeToBuffer()
196 BufferWriter writer(buffer.data()); in writeToBuffer()
DFontFamilyTest.cpp885 BufferWriter fakeWriter(nullptr); in writeToBuffer()
888 BufferWriter writer(buffer.data()); in writeToBuffer()
/frameworks/minikin/tests/util/
DBufferUtils.h27 BufferWriter writer(nullptr); in allocateBuffer()
35 BufferWriter writer(nullptr); in allocateBuffer()
44 BufferWriter writer(buffer.data()); in writeToBuffer()
DFreeTypeMinikinFontForTest.h79 void write(BufferWriter* writer, const MinikinFont* typeface) const override;
DFreeTypeMinikinFontForTest.cpp125 void FreeTypeMinikinFontForTestFactory::write(BufferWriter* writer, in write()
/frameworks/base/libs/androidfw/
DZipUtils.cpp108 class BufferWriter final : public zip_archive::Writer { class
110 BufferWriter(void* output, size_t outputSize) : Writer(), in BufferWriter() function in BufferWriter
134 BufferWriter writer(buf, uncompressedLen); in inflateToBuffer()
142 BufferWriter writer(buf, uncompressedLen); in inflateToBuffer()
150 BufferWriter writer(buf, uncompressedLen); in inflateToBuffer()
/frameworks/minikin/fuzz/locale_fuzzer/
Dlocale_fuzzer.cpp44 BufferWriter fakeWriter(nullptr); in LLVMFuzzerTestOneInput()
47 BufferWriter writer(buffer.data()); in LLVMFuzzerTestOneInput()
/frameworks/minikin/libs/minikin/
DLocaleListCache.h45 static inline void writeTo(BufferWriter* writer, uint32_t id) { in writeTo()
64 void writeToInternal(BufferWriter* writer, uint32_t id);
DLocaleListCache.cpp167 void LocaleListCache::writeToInternal(BufferWriter* writer, uint32_t id) { in writeToInternal()
DSparseBitSet.cpp113 void SparseBitSet::writeTo(BufferWriter* writer) const { in writeTo()
DFontFamily.cpp202 void FontFamily::writeTo(BufferWriter* writer, uint32_t* fontIndex) const { in writeTo()
266 void FontFamily::writeVector(BufferWriter* writer, in writeVector()
DFont.cpp127 void Font::writeTo(BufferWriter* writer) const { in writeTo()
DFontCollection.cpp236 void FontCollection::writeTo(BufferWriter* writer, in writeTo()
273 BufferWriter* writer, const std::vector<std::shared_ptr<FontCollection>>& fontCollections) { in writeVector()
/frameworks/base/libs/hwui/jni/
DTypeface.cpp203 void write(minikin::BufferWriter* writer, const minikin::MinikinFont* typeface) const override;
268 void MinikinFontSkiaFactory::write(minikin::BufferWriter* writer, in write()
308 minikin::BufferWriter writer(addr, position); in Typeface_writeTypefaces()