Searched refs:resultToken (Results 1 – 3 of 3) sorted by relevance
/external/deqp-deps/glslang/glslang/MachineIndependent/preprocessor/ |
D | PpScanner.cpp | 1224 int resultToken = token; // "foo" pasted with "35" is an identifier, not a number in tokenPaste() local 1252 return resultToken; in tokenPaste() 1256 switch (resultToken) { in tokenPaste() 1278 … snprintf(ppToken.name, sizeof(ppToken.name), "%s", atomStrings.getString(resultToken)); in tokenPaste() 1283 return resultToken; in tokenPaste() 1289 return resultToken; in tokenPaste() 1295 if (resultToken != PpAtomIdentifier) { in tokenPaste() 1298 resultToken = newToken; in tokenPaste() 1302 } while (peekContinuedPasting(resultToken)); in tokenPaste() 1305 return resultToken; in tokenPaste()
|
/external/skia/src/sksl/ |
D | SkSLParser.cpp | 774 Token resultToken; in layoutInt() local 775 if (!this->expect(Token::Kind::TK_INT_LITERAL, "a non-negative integer", &resultToken)) { in layoutInt() 778 StringFragment resultFrag = this->text(resultToken); in layoutInt() 781 this->error(resultToken, "value in layout is too large: " + resultFrag); in layoutInt() 792 Token resultToken; in layoutIdentifier() local 793 if (!this->expectIdentifier(&resultToken)) { in layoutIdentifier() 796 return this->text(resultToken); in layoutIdentifier()
|
/external/skqp/src/sksl/ |
D | SkSLParser.cpp | 645 Token resultToken; in layoutInt() local 646 if (this->expect(Token::INT_LITERAL, "a non-negative integer", &resultToken)) { in layoutInt() 647 return SkSL::stoi(this->text(resultToken)); in layoutInt() 657 Token resultToken; in layoutIdentifier() local 658 if (!this->expect(Token::IDENTIFIER, "an identifier", &resultToken)) { in layoutIdentifier() 661 return this->text(resultToken); in layoutIdentifier()
|