Searched refs:resultToken (Results 1 – 3 of 3) sorted by relevance
/external/deqp-deps/glslang/glslang/MachineIndependent/preprocessor/ |
D | PpScanner.cpp | 1140 int resultToken = token; // "foo" pasted with "35" is an identifier, not a number in tokenPaste() local 1166 switch (resultToken) { in tokenPaste() 1188 strcpy(ppToken.name, atomStrings.getString(resultToken)); in tokenPaste() 1193 return resultToken; in tokenPaste() 1199 return resultToken; in tokenPaste() 1204 if (resultToken != PpAtomIdentifier) { in tokenPaste() 1207 resultToken = newToken; in tokenPaste() 1213 return resultToken; in tokenPaste()
|
/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()
|
/external/skia/src/sksl/ |
D | SkSLParser.cpp | 646 Token resultToken; in layoutInt() local 647 if (this->expect(Token::INT_LITERAL, "a non-negative integer", &resultToken)) { in layoutInt() 648 return SkSL::stoi(this->text(resultToken)); in layoutInt() 658 Token resultToken; in layoutIdentifier() local 659 if (!this->expect(Token::IDENTIFIER, "an identifier", &resultToken)) { in layoutIdentifier() 662 return this->text(resultToken); in layoutIdentifier()
|