Home
last modified time | relevance | path

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

/external/skia/experimental/PdfViewer/pdfparser/native/
DSkPdfNativeTokenizer.cpp23 static char* strrstrk(char* hayStart, char* hayEnd, const char* needle) { in strrstrk() argument
25 if ((isPdfWhiteSpaceOrPdfDelimiter(*(hayStart+needleLen)) || (hayStart+needleLen == hayEnd)) && in strrstrk()
26 strncmp(hayStart, needle, needleLen) == 0) { in strrstrk()
27 return hayStart; in strrstrk()
30 hayStart++; in strrstrk()
32 while (hayStart < hayEnd) { in strrstrk()
33 if (isPdfWhiteSpaceOrPdfDelimiter(*(hayStart-1)) && in strrstrk()
34 (isPdfWhiteSpaceOrPdfDelimiter(*(hayStart+needleLen)) || in strrstrk()
35 (hayStart+needleLen == hayEnd)) && in strrstrk()
36 strncmp(hayStart, needle, needleLen) == 0) { in strrstrk()
[all …]