HomeSort by relevance Sort by last modified time
    Searched refs:parseContext (Results 1 - 19 of 19) sorted by null

  /prebuilts/ndk/r13/sources/third_party/shaderc/third_party/glslang/glslang/MachineIndependent/
glslang.y 109 #define parseContext (*pParseContext)
117 %lex-param {parseContext}
247 $$ = parseContext.handleVariable($1.loc, $1.symbol, $1.string);
256 $$ = parseContext.intermediate.addConstantUnion($1.i, $1.loc, true);
259 parseContext.fullIntegerCheck($1.loc, "unsigned literal");
260 $$ = parseContext.intermediate.addConstantUnion($1.u, $1.loc, true);
263 parseContext.int64Check($1.loc, "64-bit integer literal");
264 $$ = parseContext.intermediate.addConstantUnion($1.i64, $1.loc, true);
267 parseContext.int64Check($1.loc, "64-bit unsigned integer literal");
268 $$ = 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);
649 parseContext.error(loc, "illegal use of escape character", "\\", "");
698 parseContext.error(loc, "unexpected token", buf, "");
737 if ((parseContext.profile == EEsProfile && parseContext.version < 300) ||
738 (parseContext.profile != EEsProfile && parseContext.version < 130))
772 if (parseContext.profile == EEsProfile && parseContext.version >= 300
    [all...]
ScanContext.h 51 explicit TScanContext(TParseContextBase& pc) : parseContext(pc), afterType(false), field(false) { }
75 TParseContextBase& parseContext;
ShaderLang.cpp 177 TParseContext parseContext(symbolTable, intermediate, true, version, profile, spvVersion, language, infoSink);
179 TPpContext ppContext(parseContext, "", includer);
180 TScanContext scanContext(parseContext);
181 parseContext.setScanContext(&scanContext);
182 parseContext.setPpContext(&ppContext);
201 if (! parseContext.parseShaderStrings(ppContext, input) != 0) {
536 // bool (TParseContextBase& parseContext, TPpContext& ppContext,
676 TParseContextBase* parseContext;
678 parseContext = new HlslParseContext(symbolTable, intermediate, false, version, profile, spvVersion,
683 parseContext = new TParseContext(symbolTable, intermediate, false, version, profile, spvVersion
    [all...]
glslang_tab.cpp 459 #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/r13/sources/third_party/shaderc/third_party/glslang/hlsl/
hlslScanContext.h 77 HlslScanContext(TParseContextBase& parseContext, TPpContext& ppContext)
78 : parseContext(parseContext), ppContext(ppContext) { }
97 TParseContextBase& parseContext;
hlslGrammar.h 51 HlslGrammar(HlslScanContext& scanner, HlslParseContext& parseContext)
52 : HlslTokenStream(scanner), parseContext(parseContext), intermediate(parseContext.intermediate) { }
108 HlslParseContext& parseContext; // state of parsing and helper functions for building the intermediate
hlslGrammar.cpp 69 parseContext.error(token.loc, "Expected", syntax, "");
74 parseContext.error(token.loc, "Unimplemented", error, "");
138 parseContext.warn(token.loc, "unimplemented", "immediate sampler state", "");
279 if (type.getQualifier().storage == EvqTemporary && parseContext.symbolTable.atGlobalLevel()) {
302 parseContext.error(idToken.loc, "function body can't be in a declarator list", "{", "");
304 parseContext.error(idToken.loc, "function body can't be in a typedef", "{", "");
308 parseContext.error(idToken.loc, "function typedefs not implemented", "{", "");
309 parseContext.handleFunctionDeclarator(idToken.loc, *function, true);
331 parseContext.error(idToken.loc, "can't have an initializer", "typedef", "");
339 parseContext.declareTypedef(idToken.loc, *idToken.string, type, arraySizes)
    [all...]
hlslScanContext.cpp 371 parseContext.error(loc, "illegal use of escape character", "\\", "");
417 parseContext.error(loc, "unexpected token", buf, "");
601 parseContext.infoSink.info.message(EPrefixInternalError, "Unknown glslang keyword", loc);
618 if (! parseContext.symbolTable.atBuiltInLevel())
619 parseContext.error(loc, "Reserved word.", tokenText, "", "");
632 if (parseContext.forwardCompatible)
633 parseContext.warn(loc, "using future reserved keyword", tokenText, "");
642 if (parseContext.version < version)
  /prebuilts/ndk/r13/sources/third_party/shaderc/third_party/glslang/glslang/MachineIndependent/preprocessor/
Pp.cpp 112 parseContext.ppError(ppToken->loc, "must be followed by macro name", "#define", "");
117 parseContext.reservedPpErrorCheck(ppToken->loc, ppToken->name, "#define");
133 parseContext.ppError(ppToken->loc, "bad argument", "#define", "");
141 parseContext.ppError(ppToken->loc, "duplicate macro parameter", "#define", "");
150 parseContext.ppError(ppToken->loc, "too many macro parameters", "#define", "");
155 parseContext.ppError(ppToken->loc, "missing parenthesis", "#define", "");
183 parseContext.ppError(defineLoc, "Macro redefined; different number of arguments:", "#define", GetAtomString(defAtom));
187 parseContext.ppError(defineLoc, "Macro redefined; different argument names:", "#define", GetAtomString(defAtom));
199 parseContext.ppError(defineLoc, "Macro redefined; different substitutions:", "#define", GetAtomString(defAtom));
220 parseContext.ppError(ppToken->loc, "must be followed by macro name", "#undef", "")
    [all...]
PpScanner.cpp 141 parseContext.ppError(ppToken->loc, "float literal too long", "", "");
153 parseContext.ppError(ppToken->loc, "float literal too long", "", "");
172 parseContext.ppError(ppToken->loc, "float literal too long", "", "");
178 parseContext.ppError(ppToken->loc, "bad character in float exponent", "", "");
188 parseContext.doubleCheck(ppToken->loc, "double floating-point suffix");
190 parseContext.ppError(ppToken->loc, "float literal needs a decimal point or exponent", "", "");
201 parseContext.ppError(ppToken->loc, "float literal too long", "", "");
206 parseContext.profileRequires(ppToken->loc, EEsProfile, 300, nullptr, "floating-point suffix");
207 if (! parseContext.relaxedErrors())
208 parseContext.profileRequires(ppToken->loc, ~EEsProfile, 120, nullptr, "floating-point suffix")
    [all...]
PpTokens.cpp 178 ppToken->loc = parseContext.getCurrentLoc();
184 parseContext.requireProfile(ppToken->loc, ~EEsProfile, "token pasting (##)");
185 parseContext.profileRequires(ppToken->loc, ~EEsProfile, 130, 0, "token pasting (##)");
186 parseContext.error(ppToken->loc, "token pasting not implemented (internal error)", "##", "");
208 parseContext.error(ppToken->loc, "token too long", "", "");
PpContext.cpp 87 preamble(0), strings(0), parseContext(pc), includer(inclr), inComment(false),
PpContext.h 218 TParseContextBase& parseContext;
375 bool allowed = pp->parseContext.lineContinuationCheck(input->getSourceLoc(), pp->inComment);
478 prevScanner = pp->parseContext.getScanner();
479 pp->parseContext.setScanner(&scanner);
485 pp->parseContext.setScanner(prevScanner);
  /prebuilts/go/darwin-x86/src/cmd/api/
goapi.go 81 func parseContext(c string) *build.Context {
103 contexts = append(contexts, parseContext(c))
  /prebuilts/go/linux-x86/src/cmd/api/
goapi.go 81 func parseContext(c string) *build.Context {
103 contexts = append(contexts, parseContext(c))

Completed in 465 milliseconds