Home
last modified time | relevance | path

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

/third_party/glslang/glslang/MachineIndependent/preprocessor/
DPp.cpp150 } else if (token != '\n' && token != EndOfInput && !ppToken->space) { in CPPdefine()
157 while (token != '\n' && token != EndOfInput) { in CPPdefine()
205 } while (newToken != EndOfInput); in CPPdefine()
247 while (token != EndOfInput) { in CPPelse()
249 while (token != '\n' && token != EndOfInput) in CPPelse()
252 if (token == EndOfInput) in CPPelse()
267 return EndOfInput; in CPPelse()
321 if (token != '\n' && token != EndOfInput) { in extraTokenCheck()
343 while (token != '\n' && token != EndOfInput) in extraTokenCheck()
571 return EndOfInput; in CPPif()
[all …]
DPpContext.h366 int token = EndOfInput; in scanToken()
370 if (token != EndOfInput || inputStack.empty()) in scanToken()
405 virtual int getch() override { assert(0); return EndOfInput; } in getch()
427 return EndOfInput; in scan()
432 virtual int getch() override { assert(0); return EndOfInput; } in getch()
441 virtual int getch() override { assert(0); return EndOfInput; } in getch()
488 virtual int getch() override { assert(0); return EndOfInput; } in getch()
501 virtual int getch() override { assert(0); return EndOfInput; } in getch()
DPpScanner.cpp443 } while (ch != '\'' && ch != EndOfInput && ch != '\n'); in characterLiteral()
995 } while (ch != '\n' && ch != EndOfInput); in scan()
1004 if (ch == EndOfInput) { in scan()
1011 if (ch == EndOfInput) { in scan()
1031 while (ch != '"' && ch != '\n' && ch != EndOfInput) { in scan()
1141 if (token == EndOfInput) { in tokenize()
1143 return EndOfInput; in tokenize()
1148 if (token == EndOfInput) { in tokenize()
1150 return EndOfInput; in tokenize()
1155 return EndOfInput; in tokenize()
[all …]
DPpTokens.cpp114 return EndOfInput; in getToken()
207 return EndOfInput; in scan()
/third_party/glslang/glslang/MachineIndependent/
DScan.h46 const int EndOfInput = -1; variable
84 if (ret == EndOfInput) in get()
104 return EndOfInput; in peek()
114 return EndOfInput; in peek()
DScan.cpp91 while (c != EndOfInput && c != '\\' && c != '\r' && c != '\n') in consumeComment()
94 if (c == EndOfInput || c == '\r' || c == '\n') { in consumeComment()
114 if (c != EndOfInput) in consumeComment()
124 while (c != EndOfInput && c != '*') in consumeComment()
152 if (c != '/' || c == EndOfInput) in consumeWhitespaceComment()
195 } while (c != EndOfInput && c != '\n' && c != '\r'); in scanVersion()
199 if (peek() == EndOfInput) in scanVersion()
257 if (c == EndOfInput || c == ' ' || c == '\t' || c == '\n' || c == '\r') in scanVersion()
262 if (c != EndOfInput && c != ' ' && c != '\t' && c != '\n' && c != '\r') { in scanVersion()
788 if (token == EndOfInput) in tokenize()
[all …]
DShaderLang.cpp1169 int lastToken = EndOfInput; // lastToken records the last token processed. in operator ()()
1172 if (token == EndOfInput) in operator ()()
1188 if (!isNewString && !isNewLine && lastToken != EndOfInput && in operator ()()
/third_party/glslang/glslang/HLSL/
DhlslScanContext.cpp487 if (token == EndOfInput) in tokenizeClass()
567 case EndOfInput: return EHTokNone; in tokenizeClass()