Home
last modified time | relevance | path

Searched refs:TParseContext (Results 1 – 25 of 50) sorted by relevance

12

/external/angle/src/compiler/translator/
Dglslang.l89 static bool is_extension_enabled_or_is_core(TParseContext *context,
99 static int ES2_extension_2_ES3_keyword(TParseContext *context, TExtension extension1, TExtension ex…
100 static int ES2_reserved_ES3_keyword(TParseContext *context, int token);
101 static int ES2_keyword_ES3_reserved(TParseContext *context, int token);
102 static int ES3_keyword(TParseContext *context, int token);
103 static int ES3_reserved_ES3_1_keyword(TParseContext *context, int token);
104 static int ES2_reserved_ES3_1_keyword(TParseContext *context, int token);
105 static int ES3_1_keyword(TParseContext *context, int token);
106 static int ES2_reserved_ES2_extension_ES3_keyword(TParseContext *context, TExtension extension, int…
107 static int ES3_extension(TParseContext *context, TExtension extension, int token);
[all …]
Dglslang.h12 class TParseContext; variable
15 extern int glslang_initialize(sh::TParseContext *context);
16 extern int glslang_finalize(sh::TParseContext *context);
21 sh::TParseContext *context);
22 extern int glslang_parse(sh::TParseContext *context);
DParseContext.cpp155 class TParseContext::AtomicCounterBindingState
184 TParseContext::TParseContext(TSymbolTable &symt, in TParseContext() function in sh::TParseContext
253 TParseContext::~TParseContext() {} in ~TParseContext()
255 bool TParseContext::anyMultiviewExtensionAvailable() in anyMultiviewExtensionAvailable()
261 bool TParseContext::parseVectorFields(const TSourceLoc &line, in parseVectorFields()
371 void TParseContext::error(const TSourceLoc &loc, const char *reason, const char *token) in error()
376 void TParseContext::error(const TSourceLoc &loc, const char *reason, const ImmutableString &token) in error()
381 void TParseContext::warning(const TSourceLoc &loc, const char *reason, const char *token) in warning()
386 void TParseContext::outOfRangeError(bool isError, in outOfRangeError()
401 void TParseContext::setTreeRoot(TIntermBlock *treeRoot) in setTreeRoot()
[all …]
Dglslang_lex_autogen.cpp909 static bool is_extension_enabled_or_is_core(TParseContext *context,
921 static int ES2_extension_2_ES3_keyword(TParseContext *context,
925 static int ES2_reserved_ES3_keyword(TParseContext *context, int token);
926 static int ES2_keyword_ES3_reserved(TParseContext *context, int token);
927 static int ES3_keyword(TParseContext *context, int token);
928 static int ES3_reserved_ES3_1_keyword(TParseContext *context, int token);
929 static int ES2_reserved_ES3_1_keyword(TParseContext *context, int token);
930 static int ES3_1_keyword(TParseContext *context, int token);
931 static int ES2_reserved_ES2_extension_ES3_keyword(TParseContext *context,
934 static int ES3_extension(TParseContext *context, TExtension extension, int token);
[all …]
DCompiler.h34 class TParseContext; variable
270 void setASTMetadata(const TParseContext &parseContext);
273 bool checkShaderVersion(TParseContext *parseContext);
277 const TParseContext &parseContext,
/external/swiftshader/src/OpenGL/compiler/
Dglslang.h15 class TParseContext; variable
16 extern int glslang_initialize(TParseContext* context);
17 extern int glslang_finalize(TParseContext* context);
22 TParseContext* context);
23 extern int glslang_parse(TParseContext* context);
DParseHelper.cpp106 bool TParseContext::parseVectorFields(const TString& compString, int vecSize, TVectorFields& fields… in parseVectorFields()
202 void TParseContext::recover() in recover()
209 void TParseContext::error(const TSourceLoc& loc, in error()
219 void TParseContext::warning(const TSourceLoc& loc, in warning()
227 void TParseContext::info(const TSourceLoc& loc, in info()
235 void TParseContext::trace(const char* str) in trace()
243 void TParseContext::assignError(const TSourceLoc &line, const char* op, TString left, TString right) in assignError()
254 void TParseContext::unaryOpError(const TSourceLoc &line, const char* op, TString operand) in unaryOpError()
266 void TParseContext::binaryOpError(const TSourceLoc &line, const char* op, TString left, TString rig… in binaryOpError()
275 bool TParseContext::precisionErrorCheck(const TSourceLoc &line, TPrecision precision, TBasicType ty… in precisionErrorCheck()
[all …]
Dglslang.l76 static int ES2_reserved_ES3_keyword(TParseContext *context, int token);
77 static int ES2_keyword_ES3_reserved(TParseContext *context, int token);
78 static int ES2_identifier_ES3_keyword(TParseContext *context, int token);
79 static int uint_constant(TParseContext *context);
82 static int floatsuffix_check(TParseContext* context);
99 TParseContext* context = yyextra;
445 int ES2_reserved_ES3_keyword(TParseContext *context, int token) in ES2_reserved_ES3_keyword()
457 int ES2_keyword_ES3_reserved(TParseContext *context, int token) in ES2_keyword_ES3_reserved()
469 int ES2_identifier_ES3_keyword(TParseContext *context, int token) in ES2_identifier_ES3_keyword()
484 int uint_constant(TParseContext *context) in uint_constant()
[all …]
DValidateSwitch.h21 class TParseContext; variable
28 static bool validate(TBasicType switchType, TParseContext *context,
43 ValidateSwitch(TBasicType switchType, TParseContext *context);
48 TParseContext *mContext;
DInitializeParseContext.h21 class TParseContext; variable
22 extern void SetGlobalParseContext(TParseContext* context);
23 extern TParseContext* GetGlobalParseContext();
DInitializeParseContext.cpp37 void SetGlobalParseContext(TParseContext* context) in SetGlobalParseContext()
43 TParseContext* GetGlobalParseContext() in GetGlobalParseContext()
46 return static_cast<TParseContext*>(OS_GetTLSValue(GlobalParseContextIndex)); in GetGlobalParseContext()
Dglslang_lex.cpp1176 static int ES2_reserved_ES3_keyword(TParseContext *context, int token);
1177 static int ES2_keyword_ES3_reserved(TParseContext *context, int token);
1178 static int ES2_identifier_ES3_keyword(TParseContext *context, int token);
1179 static int uint_constant(TParseContext *context);
1182 static int floatsuffix_check(TParseContext* context);
1196 #define YY_EXTRA_TYPE TParseContext*
1582 TParseContext* context = yyextra;
3677 int ES2_reserved_ES3_keyword(TParseContext *context, int token) in ES2_reserved_ES3_keyword()
3689 int ES2_keyword_ES3_reserved(TParseContext *context, int token) in ES2_keyword_ES3_reserved()
3701 int ES2_identifier_ES3_keyword(TParseContext *context, int token) in ES2_identifier_ES3_keyword()
[all …]
DValidateSwitch.cpp19 bool ValidateSwitch::validate(TBasicType switchType, TParseContext *context, in validate()
28 ValidateSwitch::ValidateSwitch(TBasicType switchType, TParseContext *context) in ValidateSwitch()
Ddebug.cpp30 TParseContext* parseContext = GetGlobalParseContext(); in Trace()
DTranslatorASM.cpp25 TParseContext& parseContext = *GetGlobalParseContext(); in translate()
DParseHelper.h35 class TParseContext {
37TParseContext(TSymbolTable& symt, TExtensionBehavior& ext, TIntermediate& interm, GLenum type, int… in TParseContext() function
279 TParseContext* context);
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/
Dattribute.cpp102 TAttributeType TParseContext::attributeFromName(const TString& name) const in attributeFromName()
133 TAttributes* TParseContext::makeAttributes(const TString& identifier) const in makeAttributes()
143 TAttributes* TParseContext::makeAttributes(const TString& identifier, TIntermNode* node) const in makeAttributes()
158 TAttributes* TParseContext::mergeAttributes(TAttributes* attr1, TAttributes* attr2) const in mergeAttributes()
167 void TParseContext::handleSelectionAttributes(const TAttributes& attributes, TIntermNode* node) in handleSelectionAttributes()
196 void TParseContext::handleSwitchAttributes(const TAttributes& attributes, TIntermNode* node) in handleSwitchAttributes()
225 void TParseContext::handleLoopAttributes(const TAttributes& attributes, TIntermNode* node) in handleLoopAttributes()
350 void TParseContext::handleFunctionAttributes(const TSourceLoc& loc, const TAttributes& attributes, … in handleFunctionAttributes()
DSpirvIntrinsics.cpp51 TSpirvRequirement* TParseContext::makeSpirvRequirement(const TSourceLoc& loc, const TString& name, in makeSpirvRequirement()
75 TSpirvRequirement* TParseContext::mergeSpirvRequirements(const TSourceLoc& loc, TSpirvRequirement* … in mergeSpirvRequirements()
276 TSpirvTypeParameters* TParseContext::makeSpirvTypeParameters(const TSourceLoc& loc, const TIntermCo… in makeSpirvTypeParameters()
293 TSpirvTypeParameters* TParseContext::makeSpirvTypeParameters(const TPublicType& type) in makeSpirvTypeParameters()
300 TSpirvTypeParameters* TParseContext::mergeSpirvTypeParameters(TSpirvTypeParameters* spirvTypeParams… in mergeSpirvTypeParameters()
311 TSpirvInstruction* TParseContext::makeSpirvInstruction(const TSourceLoc& loc, const TString& name, … in makeSpirvInstruction()
322 TSpirvInstruction* TParseContext::makeSpirvInstruction(const TSourceLoc& loc, const TString& name, … in makeSpirvInstruction()
333 TSpirvInstruction* TParseContext::mergeSpirvInstruction(const TSourceLoc& loc, TSpirvInstruction* s… in mergeSpirvInstruction()
DParseHelper.cpp48 extern int yyparse(glslang::TParseContext*);
52 TParseContext::TParseContext(TSymbolTable& symbolTable, TIntermediate& interm, bool parsingBuiltins, in TParseContext() function in glslang::TParseContext
112 TParseContext::~TParseContext() in ~TParseContext()
121 void TParseContext::setPrecisionDefaults() in setPrecisionDefaults()
175 void TParseContext::setLimits(const TBuiltInResource& r) in setLimits()
205 bool TParseContext::parseShaderStrings(TPpContext& ppContext, TInputScanner& input, bool versionWil… in parseShaderStrings()
220 void TParseContext::parserError(const char* s) in parserError()
228 void TParseContext::growGlobalUniformBlock(const TSourceLoc& loc, TType& memberType, const TString&… in growGlobalUniformBlock()
261 void TParseContext::growAtomicCounterBlock(int binding, const TSourceLoc& loc, TType& memberType, c… in growAtomicCounterBlock()
294 const char* TParseContext::getGlobalUniformBlockName() const in getGlobalUniformBlockName()
[all …]
Dlimits.cpp132 void TParseContext::inductiveLoopBodyCheck(TIntermNode* body, long long loopId, TSymbolTable& symbo… in inductiveLoopBodyCheck()
188 void TParseContext::constantIndexExpressionCheck(TIntermNode* index) in constantIndexExpressionCheck()
DParseHelper.h301 class TParseContext : public TParseContextBase {
303TParseContext(TSymbolTable&, TIntermediate&, bool parsingBuiltins, int version, EProfile, const Sp…
306 virtual ~TParseContext();
529 TParseContext(TParseContext&);
530 TParseContext& operator=(TParseContext&);
/external/deqp-deps/glslang/glslang/MachineIndependent/
Dattribute.cpp102 TAttributeType TParseContext::attributeFromName(const TString& name) const in attributeFromName()
131 TAttributes* TParseContext::makeAttributes(const TString& identifier) const in makeAttributes()
141 TAttributes* TParseContext::makeAttributes(const TString& identifier, TIntermNode* node) const in makeAttributes()
156 TAttributes* TParseContext::mergeAttributes(TAttributes* attr1, TAttributes* attr2) const in mergeAttributes()
165 void TParseContext::handleSelectionAttributes(const TAttributes& attributes, TIntermNode* node) in handleSelectionAttributes()
194 void TParseContext::handleSwitchAttributes(const TAttributes& attributes, TIntermNode* node) in handleSwitchAttributes()
223 void TParseContext::handleLoopAttributes(const TAttributes& attributes, TIntermNode* node) in handleLoopAttributes()
DParseHelper.cpp48 extern int yyparse(glslang::TParseContext*);
52 TParseContext::TParseContext(TSymbolTable& symbolTable, TIntermediate& interm, bool parsingBuiltins, in TParseContext() function in glslang::TParseContext
112 TParseContext::~TParseContext() in ~TParseContext()
121 void TParseContext::setPrecisionDefaults() in setPrecisionDefaults()
175 void TParseContext::setLimits(const TBuiltInResource& r) in setLimits()
205 bool TParseContext::parseShaderStrings(TPpContext& ppContext, TInputScanner& input, bool versionWil… in parseShaderStrings()
220 void TParseContext::parserError(const char* s) in parserError()
228 void TParseContext::handlePragma(const TSourceLoc& loc, const TVector<TString>& tokens) in handlePragma()
313 TIntermTyped* TParseContext::handleVariable(const TSourceLoc& loc, TSymbol* symbol, const TString* … in handleVariable()
397 TIntermTyped* TParseContext::handleBracketDereference(const TSourceLoc& loc, TIntermTyped* base, TI… in handleBracketDereference()
[all …]
DParseHelper.h282 class TParseContext : public TParseContextBase {
284TParseContext(TSymbolTable&, TIntermediate&, bool parsingBuiltins, int version, EProfile, const Sp…
287 virtual ~TParseContext();
478 TParseContext(TParseContext&);
479 TParseContext& operator=(TParseContext&);
Dlimits.cpp132 void TParseContext::inductiveLoopBodyCheck(TIntermNode* body, int loopId, TSymbolTable& symbolTable) in inductiveLoopBodyCheck()
188 void TParseContext::constantIndexExpressionCheck(TIntermNode* index) in constantIndexExpressionCheck()

12