Home
last modified time | relevance | path

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

/external/pdfium/xfa/fgas/font/
Dcfgas_fontmgr.cpp812 FXFT_Stream ftStream = FX_Alloc(FXFT_StreamRec, 1); in LoadFace() local
813 FXSYS_memset(ftStream, 0, sizeof(FXFT_StreamRec)); in LoadFace()
814 ftStream->base = nullptr; in LoadFace()
815 ftStream->descriptor.pointer = static_cast<void*>(pFontStream.Get()); in LoadFace()
816 ftStream->pos = 0; in LoadFace()
817 ftStream->size = static_cast<unsigned long>(pFontStream->GetSize()); in LoadFace()
818 ftStream->read = _ftStreamRead; in LoadFace()
819 ftStream->close = _ftStreamClose; in LoadFace()
824 ftArgs.stream = ftStream; in LoadFace()
828 FX_Free(ftStream); in LoadFace()
/external/skia/src/ports/
DSkFontHost_FreeType.cpp254 static unsigned long sk_ft_stream_io(FT_Stream ftStream, in sk_ft_stream_io() argument
259 SkStreamAsset* stream = static_cast<SkStreamAsset*>(ftStream->descriptor.pointer); in sk_ft_stream_io()
1643 FT_Stream ftStream) const in openFace()
1659 memset(ftStream, 0, sizeof(*ftStream)); in openFace()
1660 ftStream->size = stream->getLength(); in openFace()
1661 ftStream->descriptor.pointer = stream; in openFace()
1662 ftStream->read = sk_ft_stream_io; in openFace()
1663 ftStream->close = sk_ft_stream_close; in openFace()
1666 args.stream = ftStream; in openFace()
DSkFontHost_FreeType_common.h70 FT_Face openFace(SkStreamAsset* stream, int ttcIndex, FT_Stream ftStream) const;