Lines Matching refs:pathStr
127 const char* pathStr, int start, int end) { in getFloats() argument
128 if (pathStr[start] == 'z' || pathStr[start] == 'Z') { in getFloats()
139 extract(&endPosition, &endWithNegOrDot, pathStr, startPosition, end); in getFloats()
142 float currentValue = parseFloat(result, &pathStr[startPosition], end - startPosition); in getFloats()
218 const char* pathStr, size_t strLen) { in getPathDataFromAsciiString() argument
219 if (pathStr == NULL) { in getPathDataFromAsciiString()
227 while (isspace(pathStr[start]) && start < strLen) { in getPathDataFromAsciiString()
238 end = nextStart(pathStr, strLen, end); in getPathDataFromAsciiString()
240 getFloats(&points, result, pathStr, start, end); in getPathDataFromAsciiString()
241 validateVerbAndPoints(pathStr[start], points.size(), result); in getPathDataFromAsciiString()
245 " of path: " + pathStr; in getPathDataFromAsciiString()
248 data->verbs.push_back(pathStr[start]); in getPathDataFromAsciiString()
256 validateVerbAndPoints(pathStr[start], 0, result); in getPathDataFromAsciiString()
260 " of path: " + pathStr; in getPathDataFromAsciiString()
263 data->verbs.push_back(pathStr[start]); in getPathDataFromAsciiString()
289 void PathParser::parseAsciiStringForSkPath(SkPath* skPath, ParseResult* result, const char* pathStr, in parseAsciiStringForSkPath() argument
292 getPathDataFromAsciiString(&pathData, result, pathStr, strLen); in parseAsciiStringForSkPath()
300 result->failureMessage += pathStr; in parseAsciiStringForSkPath()