/prebuilts/ndk/r16/sources/third_party/shaderc/third_party/glslang/glslang/MachineIndependent/ |
glslang.y | 111 #define parseContext (*pParseContext) 119 %lex-param {parseContext} 254 $$ = parseContext.handleVariable($1.loc, $1.symbol, $1.string); 263 $$ = parseContext.intermediate.addConstantUnion($1.i, $1.loc, true); 266 parseContext.fullIntegerCheck($1.loc, "unsigned literal"); 267 $$ = parseContext.intermediate.addConstantUnion($1.u, $1.loc, true); 270 parseContext.int64Check($1.loc, "64-bit integer literal"); 271 $$ = parseContext.intermediate.addConstantUnion($1.i64, $1.loc, true); 274 parseContext.int64Check($1.loc, "64-bit unsigned integer literal"); 275 $$ = parseContext.intermediate.addConstantUnion($1.u64, $1.loc, true) [all...] |
Scan.cpp | 290 int yylex(YYSTYPE* glslangTokenDesc, glslang::TParseContext& parseContext) 294 return parseContext.getScanContext()->tokenize(parseContext.getPpContext(), token); 683 parseContext.error(loc, "illegal use of escape character", "\\", ""); 714 parseContext.error(loc, "not supported", "::", ""); 743 parseContext.error(loc, "unexpected token", buf, ""); 782 if ((parseContext.profile == EEsProfile && parseContext.version < 300) || 783 (parseContext.profile != EEsProfile && parseContext.version < 130) [all...] |
ScanContext.h | 53 explicit TScanContext(TParseContextBase& pc) : parseContext(pc), afterType(false), field(false) { } 77 TParseContextBase& parseContext;
|
ShaderLang.cpp | 234 std::unique_ptr<TParseContextBase> parseContext(CreateParseContext(symbolTable, intermediate, version, profile, source, 239 TPpContext ppContext(*parseContext, "", includer); 240 TScanContext scanContext(*parseContext); 241 parseContext->setScanContext(&scanContext); 242 parseContext->setPpContext(&ppContext); 261 if (! parseContext->parseShaderStrings(ppContext, input) != 0) { 697 // bool (TParseContextBase& parseContext, TPpContext& ppContext, [all...] |
glslang_tab.cpp | 487 #define parseContext (*pParseContext) [all...] |
/external/swiftshader/src/OpenGL/compiler/ |
TranslatorASM.cpp | 25 TParseContext& parseContext = *GetGlobalParseContext(); 26 glsl::OutputASM outputASM(parseContext, shaderObject); 30 return parseContext.numErrors() == 0;
|
debug.cpp | 30 TParseContext* parseContext = GetGlobalParseContext(); 31 if (parseContext) { 39 parseContext->trace(buf);
|
Compiler.cpp | 121 TParseContext parseContext(symbolTable, extensionBehavior, intermediate, 124 SetGlobalParseContext(&parseContext); 134 (PaParseStrings(numStrings - firstSource, &shaderStrings[firstSource], nullptr, &parseContext) == 0) && 135 (parseContext.getTreeRoot() != nullptr); 137 shaderVersion = parseContext.getShaderVersion(); 140 TIntermNode* root = parseContext.getTreeRoot();
|
/prebuilts/ndk/r16/sources/third_party/shaderc/third_party/glslang/glslang/MachineIndependent/preprocessor/ |
PpScanner.cpp | 107 bool acceptFloat16 = parseContext.intermediate.getSource() == EShSourceHlsl; 111 if (parseContext.extensionTurnedOn(E_GL_AMD_gpu_shader_half_float)) { 136 parseContext.ppError(ppToken->loc, "unexpected use of", "#", ""); 142 parseContext.ppError(ppToken->loc, "expected 'INF'", "#", ""); 180 parseContext.ppError(ppToken->loc, "bad character in float exponent", "", ""); 187 parseContext.doubleCheck(ppToken->loc, "double floating-point suffix"); 189 parseContext.ppError(ppToken->loc, "float literal needs a decimal point or exponent", "", ""); 202 parseContext.float16Check(ppToken->loc, "half floating-point suffix"); 205 parseContext.ppError(ppToken->loc, "float literal needs a decimal point or exponent", "", ""); 221 parseContext.profileRequires(ppToken->loc, EEsProfile, 300, nullptr, "floating-point suffix") [all...] |
Pp.cpp | 101 parseContext.ppError(ppToken->loc, "must be followed by macro name", "#define", ""); 106 parseContext.reservedPpErrorCheck(ppToken->loc, ppToken->name, "#define"); 121 parseContext.ppError(ppToken->loc, "bad argument", "#define", ""); 132 parseContext.ppError(ppToken->loc, "duplicate macro parameter", "#define", ""); 142 parseContext.ppError(ppToken->loc, "missing parenthesis", "#define", ""); 167 parseContext.ppError(defineLoc, "Macro redefined; different number of arguments:", "#define", atomStrings.getString(defAtom)); 170 parseContext.ppError(defineLoc, "Macro redefined; different argument names:", "#define", atomStrings.getString(defAtom)); 178 oldToken = existing->body.getToken(parseContext, &oldPpToken); 179 newToken = mac.body.getToken(parseContext, &newPpToken); 181 parseContext.ppError(defineLoc, "Macro redefined; different substitutions:", "#define", atomStrings.getString(d (…) [all...] |
PpContext.cpp | 86 preamble(0), strings(0), previous_token('\n'), parseContext(pc), includer(inclr), inComment(false),
|
PpTokens.cpp | 167 int TPpContext::TokenStream::getToken(TParseContextBase& parseContext, TPpToken *ppToken) 173 ppToken->loc = parseContext.getCurrentLoc(); 179 parseContext.requireProfile(ppToken->loc, ~EEsProfile, "token pasting (##)"); 180 parseContext.profileRequires(ppToken->loc, ~EEsProfile, 130, 0, "token pasting (##)"); 209 parseContext.error(ppToken->loc, "token too long", "", "");
|
PpContext.h | 288 TParseContextBase& parseContext; 408 virtual int scan(TPpToken *ppToken) override { return tokens->getToken(pp->parseContext, ppToken); } 447 bool allowed = pp->parseContext.lineContinuationCheck(input->getSourceLoc(), pp->inComment); 550 prevScanner = pp->parseContext.getScanner(); 551 pp->parseContext.setScanner(&scanner); 557 pp->parseContext.setScanner(prevScanner);
|
/prebuilts/ndk/r16/sources/third_party/shaderc/third_party/glslang/hlsl/ |
hlslScanContext.h | 76 HlslScanContext(TParseContextBase& parseContext, TPpContext& ppContext) 77 : parseContext(parseContext), ppContext(ppContext) { } 97 TParseContextBase& parseContext;
|
hlslGrammar.cpp | 70 parseContext.error(token.loc, "Expected", syntax, ""); 75 parseContext.error(token.loc, "Unimplemented", error, ""); 198 parseContext.warn(token.loc, "unimplemented", "immediate sampler state", ""); 337 parseContext.pushNamespace(*namespaceToken.string); 350 parseContext.popNamespace(); 391 if (parseContext.symbolTable.atGlobalLevel()) 392 parseContext.getFullNamespaceName(fullName); 397 parseContext.renameShaderFunction(fullName); 413 parseContext.error(idToken.loc, "function body can't be in a declarator list", "{", ""); 415 parseContext.error(idToken.loc, "function body can't be in a typedef", "{", "") [all...] |
hlslGrammar.h | 54 HlslGrammar(HlslScanContext& scanner, HlslParseContext& parseContext) 55 : HlslTokenStream(scanner), parseContext(parseContext), intermediate(parseContext.intermediate), 132 HlslParseContext& parseContext; // state of parsing and helper functions for building the intermediate
|
hlslScanContext.cpp | 515 parseContext.error(loc, "illegal use of escape character", "\\", ""); 568 parseContext.error(loc, "unexpected token", buf, ""); [all...] |
/prebuilts/go/darwin-x86/src/cmd/api/ |
goapi.go | 93 func parseContext(c string) *build.Context { 115 contexts = append(contexts, parseContext(c))
|
/prebuilts/go/linux-x86/src/cmd/api/ |
goapi.go | 93 func parseContext(c string) *build.Context { 115 contexts = append(contexts, parseContext(c))
|