Home
last modified time | relevance | path

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

/external/skqp/src/pdf/
DSkPDFConvertType1FontStream.cpp75 const char* trailerPos = strstr(dataPos, "cleartomark"); in parsePFA() local
76 if (!trailerPos) { in parsePFA()
80 for (trailerPos--; trailerPos > dataPos && zeroCount < 512; trailerPos--) { in parsePFA()
81 if (*trailerPos == '\n' || *trailerPos == '\r' || *trailerPos == ' ') { in parsePFA()
83 } else if (*trailerPos == '0') { in parsePFA()
93 *hexDataLen = trailerPos - src - *headerLen; in parsePFA()
98 for (; dataPos < trailerPos; dataPos++) { in parsePFA()
/external/skia/src/pdf/
DSkPDFType1Font.cpp82 const char* trailerPos = strstr(dataPos, "cleartomark"); in parsePFA() local
83 if (!trailerPos) { in parsePFA()
87 for (trailerPos--; trailerPos > dataPos && zeroCount < 512; trailerPos--) { in parsePFA()
88 if (*trailerPos == '\n' || *trailerPos == '\r' || *trailerPos == ' ') { in parsePFA()
90 } else if (*trailerPos == '0') { in parsePFA()
100 *hexDataLen = trailerPos - src - *headerLen; in parsePFA()
105 for (; dataPos < trailerPos; dataPos++) { in parsePFA()