Home
last modified time | relevance | path

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

/external/skqp/src/pdf/
DSkPDFConvertType1FontStream.cpp41 static bool parsePFB(const uint8_t* src, size_t size, size_t* headerLen, in parsePFB() argument
46 return parsePFBSection(&srcPtr, &remaining, 1, headerLen) && in parsePFB()
60 static bool parsePFA(const char* src, size_t size, size_t* headerLen, in parsePFA() argument
73 *headerLen = dataPos - src; in parsePFA()
93 *hexDataLen = trailerPos - src - *headerLen; in parsePFA()
94 *trailerLen = size - *headerLen - *hexDataLen; in parsePFA()
127 std::unique_ptr<SkStreamAsset> srcStream, size_t* headerLen, in SkPDFConvertType1FontStream() argument
141 if (parsePFB(src, srcLen, headerLen, dataLen, trailerLen)) { in SkPDFConvertType1FontStream()
143 const size_t length = *headerLen + *dataLen + *trailerLen; in SkPDFConvertType1FontStream()
152 const uint8_t* const srcData = srcHeader + *headerLen + kPFBSectionHeaderLength; in SkPDFConvertType1FontStream()
[all …]
DSkPDFConvertType1FontStream.h25 std::unique_ptr<SkStreamAsset> srcStream, size_t* headerLen,
/external/skia/src/pdf/
DSkPDFType1Font.cpp48 static bool parsePFB(const uint8_t* src, size_t size, size_t* headerLen, in parsePFB() argument
53 return parsePFBSection(&srcPtr, &remaining, 1, headerLen) && in parsePFB()
67 static bool parsePFA(const char* src, size_t size, size_t* headerLen, in parsePFA() argument
80 *headerLen = dataPos - src; in parsePFA()
100 *hexDataLen = trailerPos - src - *headerLen; in parsePFA()
101 *trailerLen = size - *headerLen - *hexDataLen; in parsePFA()
134 size_t* headerLen, in convert_type1_font_stream() argument
149 if (parsePFB(src, srcLen, headerLen, dataLen, trailerLen)) { in convert_type1_font_stream()
151 const size_t length = *headerLen + *dataLen + *trailerLen; in convert_type1_font_stream()
160 const uint8_t* const srcData = srcHeader + *headerLen + kPFBSectionHeaderLength; in convert_type1_font_stream()
[all …]
/external/mesa3d/src/glx/
Dglxext.c1084 const GLvoid * header, GLint headerLen, in __glXSendLargeCommand() argument
1103 assert(headerLen <= maxSize); in __glXSendLargeCommand()
1104 __glXSendLargeChunk(ctx, 1, totalRequests, header, headerLen); in __glXSendLargeCommand()