Home
last modified time | relevance | path

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

/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.cpp105 bool TParseContext::parseVectorFields(const TString& compString, int vecSize, TVectorFields& fields… in parseVectorFields()
197 bool TParseContext::parseMatrixFields(const TString& compString, int matCols, int matRows, TMatrixF… in parseMatrixFields()
250 void TParseContext::recover() in recover()
257 void TParseContext::error(const TSourceLoc& loc, in error()
267 void TParseContext::warning(const TSourceLoc& loc, in warning()
275 void TParseContext::trace(const char* str) in trace()
283 void TParseContext::assignError(const TSourceLoc &line, const char* op, TString left, TString right) in assignError()
294 void TParseContext::unaryOpError(const TSourceLoc &line, const char* op, TString operand) in unaryOpError()
306 void TParseContext::binaryOpError(const TSourceLoc &line, const char* op, TString left, TString rig… in binaryOpError()
315 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.cpp1068 static int ES2_reserved_ES3_keyword(TParseContext *context, int token);
1069 static int ES2_keyword_ES3_reserved(TParseContext *context, int token);
1070 static int ES2_identifier_ES3_keyword(TParseContext *context, int token);
1071 static int uint_constant(TParseContext *context);
1074 static int floatsuffix_check(TParseContext* context);
1080 #define YY_EXTRA_TYPE TParseContext*
1350 TParseContext* context = yyextra;
3313 int ES2_reserved_ES3_keyword(TParseContext *context, int token) in ES2_reserved_ES3_keyword()
3325 int ES2_keyword_ES3_reserved(TParseContext *context, int token) in ES2_keyword_ES3_reserved()
3337 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
278 TParseContext* context);
Dglslang_tab.h246 int yyparse (TParseContext* context, void* yyscanner);
DOutputASM.h219 explicit OutputASM(TParseContext &context, Shader *shaderObject);
352 TParseContext &mContext;
DCompiler.cpp121 TParseContext parseContext(symbolTable, extensionBehavior, intermediate, in compile()
Dglslang_tab.cpp333 int yyparse (TParseContext* context, void* yyscanner);
341 extern void yyerror(YYLTYPE* lloc, TParseContext* context, void* scanner, const char* reason);
1729 …e, YYSTYPE const * const yyvaluep, YYLTYPE const * const yylocationp, TParseContext* context, void… in yy_symbol_value_print()
1751 …e, YYSTYPE const * const yyvaluep, YYLTYPE const * const yylocationp, TParseContext* context, void… in yy_symbol_print()
1791 yy_reduce_print (yytype_int16 *yyssp, YYSTYPE *yyvsp, YYLTYPE *yylsp, int yyrule, TParseContext* co… in yy_reduce_print()
2071 yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep, YYLTYPE *yylocationp, TParseContext* … in yydestruct()
2094 yyparse (TParseContext* context, void* yyscanner) in yyparse()
5093 int glslang_parse(TParseContext* context) { in glslang_parse()
Dglslang.y61 %parse-param {TParseContext* context}
105 extern void yyerror(YYLTYPE* lloc, TParseContext* context, void* scanner, const char* reason);
1618 int glslang_parse(TParseContext* context) {
DOutputASM.cpp307 …OutputASM::OutputASM(TParseContext &context, Shader *shaderObject) : TIntermTraverser(true, true, … in OutputASM()