/external/angle/src/compiler/translator/ |
D | ParseContext.h | 56 void error(const TSourceLoc &loc, const char *reason, const char *token); 57 void error(const TSourceLoc &loc, const char *reason, const ImmutableString &token); 58 void warning(const TSourceLoc &loc, const char *reason, const char *token); 62 const TSourceLoc &loc, 100 const TSourceLoc &line); 103 const TVariable *getNamedVariable(const TSourceLoc &location, 106 TIntermTyped *parseVariableIdentifier(const TSourceLoc &location, 111 bool parseVectorFields(const TSourceLoc &line, 116 void assignError(const TSourceLoc &line, const char *op, const TType &left, const TType &right); 117 void unaryOpError(const TSourceLoc &line, const char *op, const TType &operand); [all …]
|
D | QualifierTypes.h | 21 const TSourceLoc &rightQualifierLocation, 39 TQualifierWrapperBase(const TSourceLoc &line) : mLine(line) {} in TQualifierWrapperBase() 44 const TSourceLoc &getLine() const { return mLine; } in getLine() 47 TSourceLoc mLine; 53 TInvariantQualifierWrapper(const TSourceLoc &line) : TQualifierWrapperBase(line) {} in TInvariantQualifierWrapper() 64 TPreciseQualifierWrapper(const TSourceLoc &line) : TQualifierWrapperBase(line) {} in TPreciseQualifierWrapper() 75 TInterpolationQualifierWrapper(TQualifier interpolationQualifier, const TSourceLoc &line) in TInterpolationQualifierWrapper() 95 TLayoutQualifierWrapper(TLayoutQualifier layoutQualifier, const TSourceLoc &line) in TLayoutQualifierWrapper() 112 TStorageQualifierWrapper(TQualifier storageQualifier, const TSourceLoc &line) in TStorageQualifierWrapper() 132 TPrecisionQualifierWrapper(TPrecision precisionQualifier, const TSourceLoc &line) in TPrecisionQualifierWrapper() [all …]
|
D | ParseContext.cpp | 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() 387 const TSourceLoc &loc, in outOfRangeError() 410 void TParseContext::assignError(const TSourceLoc &line, in assignError() 423 void TParseContext::unaryOpError(const TSourceLoc &line, const char *op, const TType &operand) in unaryOpError() 435 void TParseContext::binaryOpError(const TSourceLoc &line, in binaryOpError() 448 void TParseContext::checkPrecisionSpecified(const TSourceLoc &line, in checkPrecisionSpecified() 514 bool TParseContext::checkCanBeLValue(const TSourceLoc &line, const char *op, TIntermTyped *node) in checkCanBeLValue() [all …]
|
D | Declarator.h | 23 TDeclarator(const ImmutableString &name, const TSourceLoc &line); 27 const TSourceLoc &line); 34 const TSourceLoc &line() const { return mLine; } in line() 42 const TSourceLoc mLine;
|
D | Diagnostics.h | 18 struct TSourceLoc; 32 void error(const TSourceLoc &loc, const char *reason, const char *token); 33 void warning(const TSourceLoc &loc, const char *reason, const char *token); 59 void warning(const TSourceLoc &loc, const char *reason, const char *token);
|
D | ConstantUnion.h | 81 const TSourceLoc &line); 85 const TSourceLoc &line); 89 const TSourceLoc &line); 94 const TSourceLoc &line); 98 const TSourceLoc &line);
|
D | ValidateSwitch.cpp | 26 const TSourceLoc &loc); 46 bool validateInternal(const TSourceLoc &loc); 65 const TSourceLoc &loc) in validate() 281 bool ValidateSwitch::validateInternal(const TSourceLoc &loc) in validateInternal() 310 const TSourceLoc &loc) in ValidateSwitchStatementList()
|
D | Diagnostics.cpp | 68 void TDiagnostics::error(const TSourceLoc &loc, const char *reason, const char *token) in error() 76 void TDiagnostics::warning(const TSourceLoc &loc, const char *reason, const char *token) in warning() 101 void PerformanceDiagnostics::warning(const TSourceLoc &loc, const char *reason, const char *token) in warning()
|
/external/swiftshader/src/OpenGL/compiler/ |
D | ParseHelper.h | 79 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 …]
|
D | localintermediate.h | 34 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 …]
|
D | ParseHelper.cpp | 106 …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 …]
|
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/ |
D | ParseHelper.h | 104 virtual void C_DECL error(const TSourceLoc&, const char* szReason, const char* szToken, 106 virtual void C_DECL warn(const TSourceLoc&, const char* szReason, const char* szToken, 108 virtual void C_DECL ppError(const TSourceLoc&, const char* szReason, const char* szToken, 110 virtual void C_DECL ppWarn(const TSourceLoc&, const char* szReason, const char* szToken, 116 void checkIndex(const TSourceLoc&, const TType&, int& index); 130 virtual void reservedPpErrorCheck(const TSourceLoc&, const char* name, const char* op) = 0; 131 virtual bool lineContinuationCheck(const TSourceLoc&, bool endOfComment) = 0; 133 virtual void handlePragma(const TSourceLoc&, const TVector<TString>&) = 0; 159 …virtual void growGlobalUniformBlock(const TSourceLoc&, TType&, const TString& memberName, TTypeLis… 162 …virtual void growAtomicCounterBlock(int binding, const TSourceLoc&, TType&, const TString& memberN… [all …]
|
D | parseVersions.h | 70 void requireStage(const TSourceLoc&, EShLanguageMask, const char* featureDesc); 71 void requireStage(const TSourceLoc&, EShLanguage, const char* featureDesc); 75 void requireProfile(const TSourceLoc& loc, int profileMask, const char* featureDesc) in requireProfile() 80 void profileRequires(const TSourceLoc& loc, int profileMask, int minVersion, int numExtensions, in profileRequires() 86 …void profileRequires(const TSourceLoc& loc, int profileMask, int minVersion, const char* extension, in profileRequires() 92 …void checkDeprecated(const TSourceLoc&, int queryProfiles, int depVersion, const char* featureDesc… in checkDeprecated() argument 93 …void requireNotRemoved(const TSourceLoc&, int queryProfiles, int removedVersion, const char* featu… in requireNotRemoved() argument 94 void requireExtensions(const TSourceLoc&, int numExtensions, const char* const extensions[], in requireExtensions() argument 96 void ppRequireExtensions(const TSourceLoc&, int numExtensions, const char* const extensions[], in ppRequireExtensions() argument 103 void checkExtensionStage(const TSourceLoc&, const char* const extension) { } in checkExtensionStage() argument [all …]
|
D | Versions.cpp | 667 void TParseVersions::requireStage(const TSourceLoc& loc, EShLanguageMask languageMask, const char* … in requireStage() 675 void TParseVersions::requireStage(const TSourceLoc& loc, EShLanguage stage, const char* featureDesc) in requireStage() 690 void TParseVersions::requireProfile(const TSourceLoc& loc, int profileMask, const char* featureDesc) in requireProfile() 713 void TParseVersions::profileRequires(const TSourceLoc& loc, int profileMask, int minVersion, int nu… in profileRequires() 738 void TParseVersions::profileRequires(const TSourceLoc& loc, int profileMask, int minVersion, const … in profileRequires() 744 void TParseVersions::unimplemented(const TSourceLoc& loc, const char* featureDesc) in unimplemented() 753 void TParseVersions::checkDeprecated(const TSourceLoc& loc, int profileMask, int depVersion, const … in checkDeprecated() 770 void TParseVersions::requireNotRemoved(const TSourceLoc& loc, int profileMask, int removedVersion, … in requireNotRemoved() 784 bool TParseVersions::checkExtensionsRequested(const TSourceLoc& loc, int numExtensions, const char*… in checkExtensionsRequested() 815 void TParseVersions::requireExtensions(const TSourceLoc& loc, int numExtensions, const char* const … in requireExtensions() [all …]
|
D | localintermediate.h | 473 TIntermSymbol* addSymbol(const TVariable&, const TSourceLoc&); 474 TIntermSymbol* addSymbol(const TType&, const TSourceLoc&); 482 …TIntermTyped* addBinaryMath(TOperator, TIntermTyped* left, TIntermTyped* right, const TSourceLoc&); 483 … TIntermTyped* addAssign(TOperator op, TIntermTyped* left, TIntermTyped* right, const TSourceLoc&); 484 … TIntermTyped* addIndex(TOperator op, TIntermTyped* base, TIntermTyped* index, const TSourceLoc&); 485 TIntermTyped* addUnaryMath(TOperator, TIntermTyped* child, const TSourceLoc&); 486 …TIntermTyped* addBuiltInFunctionCall(const TSourceLoc& line, TOperator, bool unary, TIntermNode*, … 495 TIntermAggregate* growAggregate(TIntermNode* left, TIntermNode* right, const TSourceLoc&); 497 TIntermAggregate* makeAggregate(TIntermNode* node, const TSourceLoc&); 498 TIntermAggregate* makeAggregate(const TSourceLoc&); [all …]
|
D | ParseContextBase.cpp | 51 void TParseContextBase::outputMessage(const TSourceLoc& loc, const char* szReason, in outputMessage() 72 void C_DECL TParseContextBase::error(const TSourceLoc& loc, const char* szReason, const char* szTok… in error() 86 void C_DECL TParseContextBase::warn(const TSourceLoc& loc, const char* szReason, const char* szToke… in warn() 97 void C_DECL TParseContextBase::ppError(const TSourceLoc& loc, const char* szReason, const char* szT… in ppError() 109 void C_DECL TParseContextBase::ppWarn(const TSourceLoc& loc, const char* szReason, const char* szTo… in ppWarn() 126 bool TParseContextBase::lValueErrorCheck(const TSourceLoc& loc, const char* op, TIntermTyped* node) in lValueErrorCheck() 229 void TParseContextBase::rValueErrorCheck(const TSourceLoc& loc, const char* op, TIntermTyped* node) in rValueErrorCheck() 282 void TParseContextBase::checkIndex(const TSourceLoc& loc, const TType& type, int& index) in checkIndex() 508 void TParseContextBase::parseSwizzleSelector(const TSourceLoc& loc, const TString& compString, int … in parseSwizzleSelector() 608 void TParseContextBase::growGlobalUniformBlock(const TSourceLoc& loc, TType& memberType, const TStr… in growGlobalUniformBlock() [all …]
|
D | SpirvIntrinsics.cpp | 51 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() 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()
|
/external/deqp-deps/glslang/glslang/MachineIndependent/ |
D | ParseHelper.h | 103 virtual void C_DECL error(const TSourceLoc&, const char* szReason, const char* szToken, 105 virtual void C_DECL warn(const TSourceLoc&, const char* szReason, const char* szToken, 107 virtual void C_DECL ppError(const TSourceLoc&, const char* szReason, const char* szToken, 109 virtual void C_DECL ppWarn(const TSourceLoc&, const char* szReason, const char* szToken, 115 void checkIndex(const TSourceLoc&, const TType&, int& index); 129 virtual void reservedPpErrorCheck(const TSourceLoc&, const char* name, const char* op) = 0; 130 virtual bool lineContinuationCheck(const TSourceLoc&, bool endOfComment) = 0; 132 virtual void handlePragma(const TSourceLoc&, const TVector<TString>&) = 0; 159 …virtual void growGlobalUniformBlock(const TSourceLoc&, TType&, const TString& memberName, TTypeLis… 171 virtual bool lValueErrorCheck(const TSourceLoc&, const char* op, TIntermTyped*); [all …]
|
D | parseVersions.h | 70 void requireStage(const TSourceLoc&, EShLanguageMask, const char* featureDesc); 71 void requireStage(const TSourceLoc&, EShLanguage, const char* featureDesc); 75 void requireProfile(const TSourceLoc& loc, int profileMask, const char* featureDesc) in requireProfile() 80 void profileRequires(const TSourceLoc& loc, int profileMask, int minVersion, int numExtensions, in profileRequires() 86 …void profileRequires(const TSourceLoc& loc, int profileMask, int minVersion, const char* extension, in profileRequires() 92 …void checkDeprecated(const TSourceLoc&, int queryProfiles, int depVersion, const char* featureDesc… in checkDeprecated() argument 93 …void requireNotRemoved(const TSourceLoc&, int queryProfiles, int removedVersion, const char* featu… in requireNotRemoved() argument 94 void requireExtensions(const TSourceLoc&, int numExtensions, const char* const extensions[], in requireExtensions() argument 96 void ppRequireExtensions(const TSourceLoc&, int numExtensions, const char* const extensions[], in ppRequireExtensions() argument 103 void checkExtensionStage(const TSourceLoc&, const char* const extension) { } in checkExtensionStage() argument [all …]
|
D | Versions.cpp | 637 void TParseVersions::requireStage(const TSourceLoc& loc, EShLanguageMask languageMask, const char* … in requireStage() 645 void TParseVersions::requireStage(const TSourceLoc& loc, EShLanguage stage, const char* featureDesc) in requireStage() 660 void TParseVersions::requireProfile(const TSourceLoc& loc, int profileMask, const char* featureDesc) in requireProfile() 683 void TParseVersions::profileRequires(const TSourceLoc& loc, int profileMask, int minVersion, int nu… in profileRequires() 708 void TParseVersions::profileRequires(const TSourceLoc& loc, int profileMask, int minVersion, const … in profileRequires() 714 void TParseVersions::unimplemented(const TSourceLoc& loc, const char* featureDesc) in unimplemented() 723 void TParseVersions::checkDeprecated(const TSourceLoc& loc, int profileMask, int depVersion, const … in checkDeprecated() 740 void TParseVersions::requireNotRemoved(const TSourceLoc& loc, int profileMask, int removedVersion, … in requireNotRemoved() 754 bool TParseVersions::checkExtensionsRequested(const TSourceLoc& loc, int numExtensions, const char*… in checkExtensionsRequested() 785 void TParseVersions::requireExtensions(const TSourceLoc& loc, int numExtensions, const char* const … in requireExtensions() [all …]
|
D | localintermediate.h | 464 TIntermSymbol* addSymbol(const TVariable&, const TSourceLoc&); 465 TIntermSymbol* addSymbol(const TType&, const TSourceLoc&); 473 …TIntermTyped* addBinaryMath(TOperator, TIntermTyped* left, TIntermTyped* right, const TSourceLoc&); 474 … TIntermTyped* addAssign(TOperator op, TIntermTyped* left, TIntermTyped* right, const TSourceLoc&); 475 … TIntermTyped* addIndex(TOperator op, TIntermTyped* base, TIntermTyped* index, const TSourceLoc&); 476 TIntermTyped* addUnaryMath(TOperator, TIntermTyped* child, const TSourceLoc&); 477 …TIntermTyped* addBuiltInFunctionCall(const TSourceLoc& line, TOperator, bool unary, TIntermNode*, … 486 TIntermAggregate* growAggregate(TIntermNode* left, TIntermNode* right, const TSourceLoc&); 488 TIntermAggregate* makeAggregate(TIntermNode* node, const TSourceLoc&); 489 TIntermAggregate* makeAggregate(const TSourceLoc&); [all …]
|
D | ParseContextBase.cpp | 51 void TParseContextBase::outputMessage(const TSourceLoc& loc, const char* szReason, in outputMessage() 72 void C_DECL TParseContextBase::error(const TSourceLoc& loc, const char* szReason, const char* szTok… in error() 86 void C_DECL TParseContextBase::warn(const TSourceLoc& loc, const char* szReason, const char* szToke… in warn() 97 void C_DECL TParseContextBase::ppError(const TSourceLoc& loc, const char* szReason, const char* szT… in ppError() 109 void C_DECL TParseContextBase::ppWarn(const TSourceLoc& loc, const char* szReason, const char* szTo… in ppWarn() 126 bool TParseContextBase::lValueErrorCheck(const TSourceLoc& loc, const char* op, TIntermTyped* node) in lValueErrorCheck() 229 void TParseContextBase::rValueErrorCheck(const TSourceLoc& loc, const char* op, TIntermTyped* node) in rValueErrorCheck() 282 void TParseContextBase::checkIndex(const TSourceLoc& loc, const TType& type, int& index) in checkIndex() 508 void TParseContextBase::parseSwizzleSelector(const TSourceLoc& loc, const TString& compString, int … in parseSwizzleSelector() 609 void TParseContextBase::growGlobalUniformBlock(const TSourceLoc& loc, TType& memberType, const TStr… in growGlobalUniformBlock()
|
/external/angle/third_party/vulkan-deps/glslang/src/glslang/HLSL/ |
D | hlslParseHelper.h | 67 …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 …]
|
/external/deqp-deps/glslang/glslang/HLSL/ |
D | hlslParseHelper.h | 67 …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 …]
|
/external/angle/src/compiler/translator/tree_util/ |
D | DriverUniform.cpp | 64 ImmutableString(kComputeDriverUniformNames[uniformIndex]), TSourceLoc(), in addComputeDriverUniformsToShader() 102 ImmutableString(kGraphicsDriverUniformNames[uniformIndex]), TSourceLoc(), in createUniformFields() 121 ImmutableString("near"), TSourceLoc(), in createEmulatedDepthRangeType() 124 ImmutableString("far"), TSourceLoc(), in createEmulatedDepthRangeType() 127 ImmutableString("diff"), TSourceLoc(), in createEmulatedDepthRangeType() 131 ImmutableString("reserved"), TSourceLoc(), in createEmulatedDepthRangeType() 287 ImmutableString(kGraphicsDriverUniformNamesExt[uniformIndex]), TSourceLoc(), in createUniformFields()
|