Home
last modified time | relevance | path

Searched refs:TParseContext (Results 1 – 25 of 49) 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_reserved_ES3_keyword(TParseContext *context, int token);
100 static int ES2_keyword_ES3_reserved(TParseContext *context, int token);
101 static int ES3_keyword(TParseContext *context, int token);
102 static int ES3_reserved_ES3_1_keyword(TParseContext *context, int token);
103 static int ES2_reserved_ES3_1_keyword(TParseContext *context, int token);
104 static int ES3_1_keyword(TParseContext *context, int token);
105 static int ES2_reserved_ES2_extension_ES3_keyword(TParseContext *context, TExtension extension, int…
106 static int ES3_extension(TParseContext *context, TExtension extension, int token);
107 static int ES3_reserved_ES3_1_extension_ES3_2_keyword(TParseContext *context, TExtension extension,…
[all …]
DParseContext.cpp136 class TParseContext::AtomicCounterBindingState
165 TParseContext::TParseContext(TSymbolTable &symt, in TParseContext() function in sh::TParseContext
226 TParseContext::~TParseContext() {} in ~TParseContext()
228 bool TParseContext::anyMultiviewExtensionAvailable() in anyMultiviewExtensionAvailable()
234 bool TParseContext::parseVectorFields(const TSourceLoc &line, in parseVectorFields()
344 void TParseContext::error(const TSourceLoc &loc, const char *reason, const char *token) in error()
349 void TParseContext::error(const TSourceLoc &loc, const char *reason, const ImmutableString &token) in error()
354 void TParseContext::warning(const TSourceLoc &loc, const char *reason, const char *token) in warning()
359 void TParseContext::outOfRangeError(bool isError, in outOfRangeError()
377 void TParseContext::assignError(const TSourceLoc &line, in assignError()
[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);
Dglslang_lex_autogen.cpp899 static bool is_extension_enabled_or_is_core(TParseContext *context,
911 static int ES2_reserved_ES3_keyword(TParseContext *context, int token);
912 static int ES2_keyword_ES3_reserved(TParseContext *context, int token);
913 static int ES3_keyword(TParseContext *context, int token);
914 static int ES3_reserved_ES3_1_keyword(TParseContext *context, int token);
915 static int ES2_reserved_ES3_1_keyword(TParseContext *context, int token);
916 static int ES3_1_keyword(TParseContext *context, int token);
917 static int ES2_reserved_ES2_extension_ES3_keyword(TParseContext *context,
920 static int ES3_extension(TParseContext *context, TExtension extension, int token);
921 static int ES3_reserved_ES3_1_extension_ES3_2_keyword(TParseContext *context,
[all …]
DCompiler.h34 class TParseContext; variable
239 void setASTMetadata(const TParseContext &parseContext);
242 bool checkShaderVersion(TParseContext *parseContext);
246 const TParseContext &parseContext,
DParseContext.h33 class TParseContext : angle::NonCopyable
36 TParseContext(TSymbolTable &symt,
45 ~TParseContext();
682 TParseContext *context);
/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/glslang/src/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
108 TParseContext::~TParseContext() in ~TParseContext()
117 void TParseContext::setPrecisionDefaults() in setPrecisionDefaults()
171 void TParseContext::setLimits(const TBuiltInResource& r) in setLimits()
201 bool TParseContext::parseShaderStrings(TPpContext& ppContext, TInputScanner& input, bool versionWil… in parseShaderStrings()
216 void TParseContext::parserError(const char* s) in parserError()
224 void TParseContext::handlePragma(const TSourceLoc& loc, const TVector<TString>& tokens) in handlePragma()
305 TIntermTyped* TParseContext::handleVariable(const TSourceLoc& loc, TSymbol* symbol, const TString* … in handleVariable()
389 TIntermTyped* TParseContext::handleBracketDereference(const TSourceLoc& loc, TIntermTyped* base, TI… in handleBracketDereference()
[all …]
DParseHelper.h279 class TParseContext : public TParseContextBase {
281TParseContext(TSymbolTable&, TIntermediate&, bool parsingBuiltins, int version, EProfile, const Sp…
284 virtual ~TParseContext();
470 TParseContext(TParseContext&);
471 TParseContext& operator=(TParseContext&);
Dlimits.cpp132 void TParseContext::inductiveLoopBodyCheck(TIntermNode* body, int loopId, TSymbolTable& symbolTable) in inductiveLoopBodyCheck()
188 void TParseContext::constantIndexExpressionCheck(TIntermNode* index) in constantIndexExpressionCheck()
/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
108 TParseContext::~TParseContext() in ~TParseContext()
117 void TParseContext::setPrecisionDefaults() in setPrecisionDefaults()
171 void TParseContext::setLimits(const TBuiltInResource& r) in setLimits()
201 bool TParseContext::parseShaderStrings(TPpContext& ppContext, TInputScanner& input, bool versionWil… in parseShaderStrings()
216 void TParseContext::parserError(const char* s) in parserError()
224 void TParseContext::handlePragma(const TSourceLoc& loc, const TVector<TString>& tokens) in handlePragma()
305 TIntermTyped* TParseContext::handleVariable(const TSourceLoc& loc, TSymbol* symbol, const TString* … in handleVariable()
389 TIntermTyped* TParseContext::handleBracketDereference(const TSourceLoc& loc, TIntermTyped* base, TI… in handleBracketDereference()
[all …]
DParseHelper.h279 class TParseContext : public TParseContextBase {
281TParseContext(TSymbolTable&, TIntermediate&, bool parsingBuiltins, int version, EProfile, const Sp…
284 virtual ~TParseContext();
471 TParseContext(TParseContext&);
472 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