Home
last modified time | relevance | path

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

/external/skia/src/xps/
DSkXPSDevice.cpp361 SkAutoTMalloc<unsigned char> fontPackageBuffer(fontPackageBufferRaw); in subset_typeface() local
373 fontPackageBuffer.realloc(bytesWritten + extra); in subset_typeface()
375 memmove(fontPackageBuffer.get() + extra, fontPackageBuffer.get(), bytesWritten); in subset_typeface()
378 SkTTCFHeader* ttcfHeader = reinterpret_cast<SkTTCFHeader*>(fontPackageBuffer.get()); in subset_typeface()
388 SkSFNTHeader* sfntHeader = SkTAddOffset<SkSFNTHeader>(fontPackageBuffer.get(), extra); in subset_typeface()
398 fontPackageBuffer.realloc(bytesWritten); in subset_typeface()
402 newStream->setMemoryOwned(fontPackageBuffer.release(), bytesWritten + extra); in subset_typeface()