Home
last modified time | relevance | path

Searched refs:TSourceLoc (Results 1 – 25 of 46) sorted by relevance

12

/external/deqp-deps/glslang/glslang/MachineIndependent/
DParseHelper.h99 virtual void C_DECL error(const TSourceLoc&, const char* szReason, const char* szToken,
101 virtual void C_DECL warn(const TSourceLoc&, const char* szReason, const char* szToken,
103 virtual void C_DECL ppError(const TSourceLoc&, const char* szReason, const char* szToken,
105 virtual void C_DECL ppWarn(const TSourceLoc&, const char* szReason, const char* szToken,
110 void checkIndex(const TSourceLoc&, const TType&, int& index);
124 virtual void reservedPpErrorCheck(const TSourceLoc&, const char* name, const char* op) = 0;
125 virtual bool lineContinuationCheck(const TSourceLoc&, bool endOfComment) = 0;
127 virtual void handlePragma(const TSourceLoc&, const TVector<TString>&) = 0;
153 …virtual void growGlobalUniformBlock(const TSourceLoc&, TType&, const TString& memberName, TTypeLis…
164 virtual bool lValueErrorCheck(const TSourceLoc&, const char* op, TIntermTyped*);
[all …]
DparseVersions.h65 virtual void requireProfile(const TSourceLoc&, int queryProfiles, const char* featureDesc);
66 …virtual void profileRequires(const TSourceLoc&, int queryProfiles, int minVersion, int numExtensio…
67 …virtual void profileRequires(const TSourceLoc&, int queryProfiles, int minVersion, const char* con…
68 virtual void requireStage(const TSourceLoc&, EShLanguageMask, const char* featureDesc);
69 virtual void requireStage(const TSourceLoc&, EShLanguage, const char* featureDesc);
70 …virtual void checkDeprecated(const TSourceLoc&, int queryProfiles, int depVersion, const char* fea…
71 …virtual void requireNotRemoved(const TSourceLoc&, int queryProfiles, int removedVersion, const cha…
72 virtual void unimplemented(const TSourceLoc&, const char* featureDesc);
73 …virtual void requireExtensions(const TSourceLoc&, int numExtensions, const char* const extensions[…
74 …virtual void ppRequireExtensions(const TSourceLoc&, int numExtensions, const char* const extension…
[all …]
Dlocalintermediate.h450 TIntermSymbol* addSymbol(const TVariable&, const TSourceLoc&);
451 TIntermSymbol* addSymbol(const TType&, const TSourceLoc&);
458 TIntermTyped* addBinaryMath(TOperator, TIntermTyped* left, TIntermTyped* right, TSourceLoc);
459 TIntermTyped* addAssign(TOperator op, TIntermTyped* left, TIntermTyped* right, TSourceLoc);
460 TIntermTyped* addIndex(TOperator op, TIntermTyped* base, TIntermTyped* index, TSourceLoc);
461 TIntermTyped* addUnaryMath(TOperator, TIntermTyped* child, TSourceLoc);
462 …TIntermTyped* addBuiltInFunctionCall(const TSourceLoc& line, TOperator, bool unary, TIntermNode*, …
471 TIntermAggregate* growAggregate(TIntermNode* left, TIntermNode* right, const TSourceLoc&);
473 TIntermAggregate* makeAggregate(TIntermNode* node, const TSourceLoc&);
474 TIntermAggregate* makeAggregate(const TSourceLoc&);
[all …]
DVersions.cpp496 void TParseVersions::requireProfile(const TSourceLoc& loc, int profileMask, const char* featureDesc) in requireProfile()
545 void TParseVersions::profileRequires(const TSourceLoc& loc, int profileMask, int minVersion, int nu… in profileRequires()
570 void TParseVersions::profileRequires(const TSourceLoc& loc, int profileMask, int minVersion, const … in profileRequires()
582 void TParseVersions::requireStage(const TSourceLoc& loc, EShLanguageMask languageMask, const char* … in requireStage()
590 void TParseVersions::requireStage(const TSourceLoc& loc, EShLanguage stage, const char* featureDesc) in requireStage()
599 void TParseVersions::checkDeprecated(const TSourceLoc& loc, int profileMask, int depVersion, const … in checkDeprecated()
616 void TParseVersions::requireNotRemoved(const TSourceLoc& loc, int profileMask, int removedVersion, … in requireNotRemoved()
628 void TParseVersions::unimplemented(const TSourceLoc& loc, const char* featureDesc) in unimplemented()
635 bool TParseVersions::checkExtensionsRequested(const TSourceLoc& loc, int numExtensions, const char*… in checkExtensionsRequested()
666 void TParseVersions::requireExtensions(const TSourceLoc& loc, int numExtensions, const char* const … in requireExtensions()
[all …]
DParseContextBase.cpp51 void TParseContextBase::outputMessage(const TSourceLoc& loc, const char* szReason, in outputMessage()
70 void C_DECL TParseContextBase::error(const TSourceLoc& loc, const char* szReason, const char* szTok… in error()
84 void C_DECL TParseContextBase::warn(const TSourceLoc& loc, const char* szReason, const char* szToke… in warn()
95 void C_DECL TParseContextBase::ppError(const TSourceLoc& loc, const char* szReason, const char* szT… in ppError()
107 void C_DECL TParseContextBase::ppWarn(const TSourceLoc& loc, const char* szReason, const char* szTo… in ppWarn()
122 bool TParseContextBase::lValueErrorCheck(const TSourceLoc& loc, const char* op, TIntermTyped* node) in lValueErrorCheck()
211 void TParseContextBase::rValueErrorCheck(const TSourceLoc& loc, const char* op, TIntermTyped* node) in rValueErrorCheck()
251 void TParseContextBase::checkIndex(const TSourceLoc& loc, const TType& type, int& index) in checkIndex()
471 void TParseContextBase::parseSwizzleSelector(const TSourceLoc& loc, const TString& compString, int … in parseSwizzleSelector()
571 void TParseContextBase::growGlobalUniformBlock(const TSourceLoc& loc, TType& memberType, const TStr… in growGlobalUniformBlock()
DParseHelper.cpp214 void TParseContext::handlePragma(const TSourceLoc& loc, const TVector<TString>& tokens) in handlePragma()
287 TIntermTyped* TParseContext::handleVariable(const TSourceLoc& loc, TSymbol* symbol, const TString* … in handleVariable()
368 TIntermTyped* TParseContext::handleBracketDereference(const TSourceLoc& loc, TIntermTyped* base, TI… in handleBracketDereference()
486 void TParseContext::handleIndexLimits(const TSourceLoc& /*loc*/, TIntermTyped* base, TIntermTyped* … in handleIndexLimits() argument
532 void TParseContext::fixIoArraySize(const TSourceLoc& loc, TType& type) in fixIoArraySize()
554 void TParseContext::ioArrayCheck(const TSourceLoc& loc, const TType& type, const TString& identifie… in ioArrayCheck()
569 void TParseContext::handleIoResizeArrayAccess(const TSourceLoc& /*loc*/, TIntermTyped* base) in handleIoResizeArrayAccess() argument
592 void TParseContext::checkIoArraysConsistency(const TSourceLoc& loc, bool tailOnly, bool isPerPrimit… in checkIoArraysConsistency()
647 void TParseContext::checkIoArrayConsistency(const TSourceLoc& loc, int requiredSize, const char* fe… in checkIoArrayConsistency()
671 TIntermTyped* TParseContext::handleBinaryMath(const TSourceLoc& loc, const char* str, TOperator op,… in handleBinaryMath()
[all …]
DIntermediate.cpp69 TIntermTyped* constSubtree, const TSourceLoc& loc) in addSymbol()
91 glslang::TSourceLoc loc; // just a null location in addSymbol()
97 TIntermSymbol* TIntermediate::addSymbol(const TVariable& variable, const TSourceLoc& loc) in addSymbol()
102 TIntermSymbol* TIntermediate::addSymbol(const TType& type, const TSourceLoc& loc) in addSymbol()
116 …TIntermediate::addBinaryMath(TOperator op, TIntermTyped* left, TIntermTyped* right, TSourceLoc loc) in addBinaryMath()
173 …mediate::addBinaryNode(TOperator op, TIntermTyped* left, TIntermTyped* right, TSourceLoc loc) const in addBinaryNode()
189 …::addBinaryNode(TOperator op, TIntermTyped* left, TIntermTyped* right, TSourceLoc loc, const TType… in addBinaryNode()
199 TIntermUnary* TIntermediate::addUnaryNode(TOperator op, TIntermTyped* child, TSourceLoc loc) const in addUnaryNode()
213 TIntermUnary* TIntermediate::addUnaryNode(TOperator op, TIntermTyped* child, TSourceLoc loc, const … in addUnaryNode()
228 …ed* TIntermediate::addAssign(TOperator op, TIntermTyped* left, TIntermTyped* right, TSourceLoc loc) in addAssign()
[all …]
DScan.h62 loc = new TSourceLoc[numSources]; in numSources()
210 const TSourceLoc& getSourceLoc() const in getSourceLoc()
260 TSourceLoc* loc; // an array
265 TSourceLoc logicalSourceLoc;
Dlimits.cpp76 TSourceLoc badLoc;
158 TSourceLoc badLoc;
/external/swiftshader/src/OpenGL/compiler/
DParseHelper.h79 void error(const TSourceLoc &loc, const char *reason, const char* token,
81 void warning(const TSourceLoc &loc, const char* reason, const char* token,
83 void info(const TSourceLoc &loc, const char* reason, const char* token,
114 …const TVariable *getNamedVariable(const TSourceLoc &location, const TString *name, const TSymbol *…
116 bool parseVectorFields(const TString&, int vecSize, TVectorFields&, const TSourceLoc &line);
118 bool reservedErrorCheck(const TSourceLoc &line, const TString& identifier);
119 void assignError(const TSourceLoc &line, const char* op, TString left, TString right);
120 void unaryOpError(const TSourceLoc &line, const char* op, TString operand);
121 void binaryOpError(const TSourceLoc &line, const char* op, TString left, TString right);
122 bool precisionErrorCheck(const TSourceLoc &line, TPrecision precision, TBasicType type);
[all …]
Dlocalintermediate.h34 TIntermSymbol* addSymbol(int Id, const TString&, const TType&, const TSourceLoc&);
35 …termTyped* addBinaryMath(TOperator op, TIntermTyped* left, TIntermTyped* right, const TSourceLoc&);
36 TIntermTyped* addAssign(TOperator op, TIntermTyped* left, TIntermTyped* right, const TSourceLoc&);
37 TIntermTyped* addIndex(TOperator op, TIntermTyped* base, TIntermTyped* index, const TSourceLoc&);
38 TIntermTyped* addUnaryMath(TOperator op, TIntermTyped* child, const TSourceLoc&, const TType*);
39 TIntermAggregate* growAggregate(TIntermNode* left, TIntermNode* right, const TSourceLoc&);
40 TIntermAggregate* makeAggregate(TIntermNode* node, const TSourceLoc&);
41 TIntermAggregate* setAggregateOperator(TIntermNode*, TOperator, const TSourceLoc&);
42 TIntermNode* addSelection(TIntermTyped* cond, TIntermNodePair code, const TSourceLoc&);
43 …election(TIntermTyped* cond, TIntermTyped* trueBlock, TIntermTyped* falseBlock, const TSourceLoc&);
[all …]
DParseHelper.cpp106 …VectorFields(const TString& compString, int vecSize, TVectorFields& fields, const TSourceLoc &line) in parseVectorFields()
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()
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()
303 bool TParseContext::lValueErrorCheck(const TSourceLoc &line, const char* op, TIntermTyped* node) in lValueErrorCheck()
454 bool TParseContext::globalErrorCheck(const TSourceLoc &line, bool global, const char* token) in globalErrorCheck()
[all …]
DInfoSink.cpp45 void TInfoSinkBase::location(const TSourceLoc& loc) { in location()
64 void TInfoSinkBase::message(TPrefixType message, const char* s, TSourceLoc loc) { in message()
DValidateSwitch.h29 TIntermAggregate *statementList, const TSourceLoc &loc);
45 bool validateInternal(const TSourceLoc &loc);
DIntermediate.cpp317 …l* TIntermediate::addSymbol(int id, const TString& name, const TType& type, const TSourceLoc &line) in addSymbol()
330 …diate::addBinaryMath(TOperator op, TIntermTyped* left, TIntermTyped* right, const TSourceLoc &line) in addBinaryMath()
430 …ermediate::addAssign(TOperator op, TIntermTyped* left, TIntermTyped* right, const TSourceLoc &line) in addAssign()
458 …termediate::addIndex(TOperator op, TIntermTyped* base, TIntermTyped* index, const TSourceLoc &line) in addIndex()
475 TIntermTyped* TIntermediate::addUnaryMath(TOperator op, TIntermTyped* child, const TSourceLoc &line… in addUnaryMath()
539 …egate* TIntermediate::setAggregateOperator(TIntermNode* node, TOperator op, const TSourceLoc &line) in setAggregateOperator()
573 …regate* TIntermediate::growAggregate(TIntermNode* left, TIntermNode* right, const TSourceLoc &line) in growAggregate()
600 TIntermAggregate* TIntermediate::makeAggregate(TIntermNode* node, const TSourceLoc &line) in makeAggregate()
620 …* TIntermediate::addSelection(TIntermTyped* cond, TIntermNodePair nodePair, const TSourceLoc &line) in addSelection()
641 TIntermTyped* TIntermediate::addComma(TIntermTyped* left, TIntermTyped* right, const TSourceLoc &li… in addComma()
[all …]
DInfoSink.h109 void location(const TSourceLoc& loc);
111 void message(TPrefixType message, const char* s, TSourceLoc loc);
DTypes.h31 TField(TType *type, TString *name, const TSourceLoc &line) in TField()
53 const TSourceLoc &line() const in line()
61 TSourceLoc mLine;
574 TSourceLoc line;
576 void setBasic(TBasicType bt, TQualifier q, const TSourceLoc &ln) in setBasic()
Dintermediate.h273 const TSourceLoc& getLine() const { return line; } in getLine()
274 void setLine(const TSourceLoc& l) { line = l; } in setLine()
291 TSourceLoc line;
579 void setEndLine(const TSourceLoc& line) { endLine = line; } in setEndLine()
580 const TSourceLoc& getEndLine() const { return endLine; } in getEndLine()
604 TSourceLoc endLine;
DValidateSwitch.cpp20 TIntermAggregate *statementList, const TSourceLoc &loc) in validate()
194 bool ValidateSwitch::validateInternal(const TSourceLoc &loc) in validateInternal()
/external/deqp-deps/glslang/hlsl/
DhlslParseHelper.h67 …void reservedPpErrorCheck(const TSourceLoc&, const char* /*name*/, const char* /*op*/) override { } in reservedPpErrorCheck() argument
68 bool lineContinuationCheck(const TSourceLoc&, bool /*endOfComment*/) override { return true; } in lineContinuationCheck() argument
72 void handlePragma(const TSourceLoc&, const TVector<TString>&) override;
73 TIntermTyped* handleVariable(const TSourceLoc&, const TString* string);
74 …TIntermTyped* handleBracketDereference(const TSourceLoc&, TIntermTyped* base, TIntermTyped* index);
75 TIntermTyped* handleBracketOperator(const TSourceLoc&, TIntermTyped* base, TIntermTyped* index);
77 …TIntermTyped* handleBinaryMath(const TSourceLoc&, const char* str, TOperator op, TIntermTyped* lef…
78 …TIntermTyped* handleUnaryMath(const TSourceLoc&, const char* str, TOperator op, TIntermTyped* chil…
79 TIntermTyped* handleDotDereference(const TSourceLoc&, TIntermTyped* base, const TString& field);
80 bool isBuiltInMethod(const TSourceLoc&, TIntermTyped* base, const TString& field);
[all …]
DhlslParseHelper.cpp135 const glslang::TSourceLoc& sourceLoc = input.getSourceLoc(); in parseShaderStrings()
169 void HlslParseContext::growGlobalUniformBlock(const TSourceLoc& loc, TType& memberType, const TStri… in growGlobalUniformBlock()
185 TLayoutFormat HlslParseContext::getLayoutFromTxType(const TSourceLoc& loc, const TType& txType) in getLayoutFromTxType()
220 bool HlslParseContext::lValueErrorCheck(const TSourceLoc& loc, const char* op, TIntermTyped* node) in lValueErrorCheck()
253 TIntermTyped* HlslParseContext::handleLvalue(const TSourceLoc& loc, const char* op, TIntermTyped*& … in handleLvalue()
522 void HlslParseContext::handlePragma(const TSourceLoc& loc, const TVector<TString>& tokens) in handlePragma()
569 bool HlslParseContext::parseMatrixSwizzleSelector(const TSourceLoc& loc, const TString& fields, int… in parseMatrixSwizzleSelector()
647 TIntermTyped* HlslParseContext::handleVariable(const TSourceLoc& loc, const TString* string) in handleVariable()
722 TIntermTyped* HlslParseContext::handleBracketOperator(const TSourceLoc& loc, TIntermTyped* base, TI… in handleBracketOperator()
796 TIntermTyped* HlslParseContext::handleBracketDereference(const TSourceLoc& loc, TIntermTyped* base,… in handleBracketDereference()
[all …]
DhlslScanContext.h58 TSourceLoc loc; // location of token in the source
99 TSourceLoc loc;
DhlslGrammar.cpp597 TSourceLoc loc = token.loc; in acceptFullySpecifiedType()
2751 TSourceLoc loc = token.loc; in acceptExpression()
2782 TSourceLoc loc = token.loc; in acceptInitializer()
2858 TSourceLoc loc = token.loc; in acceptAssignmentExpression()
2912 TSourceLoc loc = token.loc; in acceptConditionalExpression()
2958 TSourceLoc loc = token.loc; in acceptBinaryExpression()
2999 TSourceLoc loc = token.loc; in acceptUnaryExpression()
3044 TSourceLoc loc = token.loc; in acceptUnaryExpression()
3130 TSourceLoc loc = token.loc; in acceptPostfixExpression()
3238 bool HlslGrammar::acceptFunctionCall(const TSourceLoc& loc, TString& name, TIntermTyped*& node, TIn… in acceptFunctionCall()
[all …]
DhlslAttributes.h51 TSourceLoc loc;
/external/deqp-deps/glslang/glslang/Include/
DInfoSink.h97 void location(const TSourceLoc& loc) { in location()
110 void message(TPrefixType message, const char* s, const TSourceLoc& loc) { in message()

12