Home | History | Annotate | Download | only in pdf

Lines Matching full:headerlen

69 bool parsePFB(const uint8_t* src, size_t size, size_t* headerLen,
74 return parsePFBSection(&srcPtr, &remaining, 1, headerLen) &&
88 bool parsePFA(const char* src, size_t size, size_t* headerLen,
101 *headerLen = dataPos - src;
121 *hexDataLen = trailerPos - src - *headerLen;
122 *trailerLen = size - *headerLen - *hexDataLen;
153 SkStream* handleType1Stream(SkStream* srcStream, size_t* headerLen,
201 if (parsePFB(src, srcLen, headerLen, dataLen, trailerLen)) {
203 new SkMemoryStream(*headerLen + *dataLen + *trailerLen);
204 memcpy((char*)result->getAtPos(), src + 6, *headerLen);
205 result->seek(*headerLen);
206 memcpy((char*)result->getAtPos(), src + 6 + *headerLen + 6, *dataLen);
207 result->seek(*headerLen + *dataLen);
208 memcpy((char*)result->getAtPos(), src + 6 + *headerLen + 6 + *dataLen,
216 if (parsePFA((const char*)src, srcLen, headerLen, &hexDataLen, dataLen,
219 new SkMemoryStream(*headerLen + *dataLen + *trailerLen);
220 memcpy((char*)result->getAtPos(), src, *headerLen);
221 result->seek(*headerLen);
223 const uint8_t* hexData = src + *headerLen;
246 result->seek(*headerLen + outputOffset);
248 memcpy((char *)result->getAtPos(), src + *headerLen + hexDataLen,