Home
last modified time | relevance | path

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

/external/skia/tools/bookmaker/
Ddefinition.cpp422 TextParser methodParser(fFileName, fStart, end, fLineCount); in checkMethod() local
423 methodParser.skipWhiteSpace(); in checkMethod()
424 SkASSERT(methodParser.startsWith("#Method")); in checkMethod()
425 methodParser.skipName("#Method"); in checkMethod()
426 methodParser.skipSpace(); in checkMethod()
432 bool expectReturn = this->methodHasReturn(name, &methodParser); in checkMethod()
444 return methodParser.reportError<bool>("no #Return expected"); in checkMethod()
447 return methodParser.reportError<bool>("multiple #Return markers"); in checkMethod()
452 return methodParser.reportError<bool>("missing #Return marker"); in checkMethod()
454 const char* paren = methodParser.strnchr('(', methodParser.fEnd); in checkMethod()
[all …]
Ddefinition.h172 bool methodHasReturn(string name, TextParser* methodParser) const;
174 bool nextMethodParam(TextParser* methodParser, const char** nextEndPtr,
/external/skqp/tools/bookmaker/
Ddefinition.cpp422 TextParser methodParser(fFileName, fStart, end, fLineCount); in checkMethod() local
423 methodParser.skipWhiteSpace(); in checkMethod()
424 SkASSERT(methodParser.startsWith("#Method")); in checkMethod()
425 methodParser.skipName("#Method"); in checkMethod()
426 methodParser.skipSpace(); in checkMethod()
432 bool expectReturn = this->methodHasReturn(name, &methodParser); in checkMethod()
444 return methodParser.reportError<bool>("no #Return expected"); in checkMethod()
447 return methodParser.reportError<bool>("multiple #Return markers"); in checkMethod()
452 return methodParser.reportError<bool>("missing #Return marker"); in checkMethod()
454 const char* paren = methodParser.strnchr('(', methodParser.fEnd); in checkMethod()
[all …]
Ddefinition.h172 bool methodHasReturn(string name, TextParser* methodParser) const;
174 bool nextMethodParam(TextParser* methodParser, const char** nextEndPtr,