Lines Matching refs:headerLen
59 bool parsePFB(const uint8_t* src, size_t size, size_t* headerLen,
64 return parsePFBSection(&srcPtr, &remaining, 1, headerLen) &&
78 bool parsePFA(const char* src, size_t size, size_t* headerLen,
89 *headerLen = dataPos - src;
107 *hexDataLen = trailerPos - src - *headerLen;
108 *trailerLen = size - *headerLen - *hexDataLen;
133 SkStream* handleType1Stream(SkStream* srcStream, size_t* headerLen,
175 if (parsePFB(src, srcLen, headerLen, dataLen, trailerLen)) {
177 new SkMemoryStream(*headerLen + *dataLen + *trailerLen);
178 memcpy((char*)result->getAtPos(), src + 6, *headerLen);
179 result->seek(*headerLen);
180 memcpy((char*)result->getAtPos(), src + 6 + *headerLen + 6, *dataLen);
181 result->seek(*headerLen + *dataLen);
182 memcpy((char*)result->getAtPos(), src + 6 + *headerLen + 6 + *dataLen,
190 if (parsePFA((const char*)src, srcLen, headerLen, &hexDataLen, dataLen,
193 new SkMemoryStream(*headerLen + *dataLen + *trailerLen);
194 memcpy((char*)result->getAtPos(), src, *headerLen);
195 result->seek(*headerLen);
197 const uint8_t* hexData = src + *headerLen;
218 result->seek(*headerLen + outputOffset);
220 memcpy((char *)result->getAtPos(), src + *headerLen + hexDataLen,