Home
last modified time | relevance | path

Searched refs:symbolType (Results 1 – 25 of 42) sorted by relevance

12

/external/angle/src/compiler/translator/
DSymbol.cpp36 SymbolType symbolType, in TSymbol() argument
41 mSymbolType(symbolType), in TSymbol()
81 SymbolType symbolType, in TVariable() argument
83 : TSymbol(symbolTable, name, symbolType, SymbolClass::Variable, extension), in TVariable()
88 ASSERT(name.empty() || symbolType != SymbolType::Empty); in TVariable()
94 SymbolType symbolType) in TStructure() argument
95 : TSymbol(symbolTable, name, symbolType, SymbolClass::Struct), TFieldListCollection(fields) in TStructure()
138 SymbolType symbolType, in TInterfaceBlock() argument
140 : TSymbol(symbolTable, name, symbolType, SymbolClass::InterfaceBlock, extension), in TInterfaceBlock()
160 SymbolType symbolType, in TFunction() argument
[all …]
DSymbol.h30 SymbolType symbolType,
50 SymbolType symbolType() const { return mSymbolType; } in symbolType() function
56 SymbolType symbolType, in TSymbol() argument
61 mSymbolType(symbolType), in TSymbol()
86 SymbolType symbolType,
98 SymbolType symbolType, in TVariable() argument
101 : TSymbol(id, name, symbolType, extension, SymbolClass::Variable), in TVariable()
118 SymbolType symbolType);
156 SymbolType symbolType,
203 SymbolType symbolType,
[all …]
DUtilsHLSL.cpp39 ASSERT(paramType.getStruct()->symbolType() != SymbolType::Empty); in DisambiguateFunctionNameForParameterType()
827 if (structure.symbolType() != SymbolType::BuiltIn) in DecorateField()
852 if (variable.symbolType() == SymbolType::AngleInternal || in DecorateVariableIfNeeded()
853 variable.symbolType() == SymbolType::Empty) in DecorateVariableIfNeeded()
864 else if (variable.symbolType() == SymbolType::UserDefined && in DecorateVariableIfNeeded()
877 if (func->symbolType() == SymbolType::AngleInternal) in DecorateFunctionIfNeeded()
896 if (structure->symbolType() != SymbolType::Empty) in TypeString()
994 if (structure.symbolType() == SymbolType::Empty) in StructNameString()
1014 if (structure.symbolType() == SymbolType::Empty) in QualifiedStructNameString()
DHashNames.cpp79 if (symbol->symbolType() == SymbolType::Empty) in HashName()
83 if (symbol->symbolType() == SymbolType::AngleInternal || in HashName()
84 symbol->symbolType() == SymbolType::BuiltIn) in HashName()
DBuiltinsWorkaroundGLSL.cpp47 if (node->variable().symbolType() == SymbolType::BuiltIn) in visitSymbol()
84 if (variable && variable->variable().symbolType() == SymbolType::AngleInternal) in visitDeclaration()
DCollectVariables.cpp376 if (symbol->variable().symbolType() == SymbolType::AngleInternal || in visitSymbol()
377 symbol->variable().symbolType() == SymbolType::Empty) in visitSymbol()
640 if (structure->symbolType() != SymbolType::Empty) in setFieldOrVariableProperties()
682 ASSERT(variable.symbolType() != SymbolType::Empty); in setCommonVariableProperties()
857 if (variable.variable().symbolType() == SymbolType::AngleInternal) in visitDeclaration()
867 recordInterfaceBlock(variable.variable().symbolType() != SymbolType::Empty in visitDeclaration()
886 ASSERT(variable.variable().symbolType() != SymbolType::Empty); in visitDeclaration()
DOutputGLSLBase.cpp429 if (param->symbolType() != SymbolType::Empty) in writeFunctionParameters()
1098 variable->getAsSymbolNode()->variable().symbolType() != SymbolType::Empty) in visitDeclaration()
1258 ASSERT(field->symbolType() != SymbolType::Empty); in hashFieldName()
1259 if (field->symbolType() == SymbolType::UserDefined) in hashFieldName()
1282 if (structure->symbolType() == SymbolType::Empty) in structDeclared()
1296 if (structure->symbolType() != SymbolType::Empty) in declareStruct()
1314 if (structure->symbolType() != SymbolType::Empty) in declareStruct()
DTypes.h34 TField(TType *type, const ImmutableString &name, const TSourceLoc &line, SymbolType symbolType) in TField() argument
35 : mType(type), mName(name), mLine(line), mSymbolType(symbolType) in TField()
46 SymbolType symbolType() const { return mSymbolType; } in symbolType() function
DOutputGLSL.cpp44 if (node->variable().symbolType() != SymbolType::BuiltIn) in visitSymbol()
DVersionGLSL.cpp85 if (node->variable().symbolType() == SymbolType::BuiltIn && in visitSymbol()
/external/angle/src/compiler/translator/tree_ops/
DNameEmbeddedUniformStructs.cpp45 if (structure->symbolType() == SymbolType::Empty) in visitDeclaration()
76 if (asSymbol && asSymbol->variable().symbolType() != SymbolType::Empty) in doReplacement()
83 asSymbol->variable().symbolType()); in doReplacement()
DDeferGlobalInitializers.cpp88 if (symbolNode->variable().symbolType() == SymbolType::AngleInternal || in GetDeferredInitializers()
89 symbolNode->variable().symbolType() == SymbolType::Empty) in GetDeferredInitializers()
164 new TVariable(symbolTable, var->name(), replacementType, var->symbolType()); in DeferGlobalInitializers()
DRegenerateStructNames.cpp28 if (userType->symbolType() == SymbolType::BuiltIn || in visitSymbol()
29 userType->symbolType() == SymbolType::Empty) in visitSymbol()
DRewriteStructSamplers.cpp47 new TVariable(oldVariable.uniqueId(), oldVariable.name(), oldVariable.symbolType(), in ReplaceTypeOfSymbolNode()
253 new TVariable(symbolTable, param->name(), replacementType, param->symbolType()); in GenerateFunctionFromArguments()
349 ASSERT(variable.symbolType() != SymbolType::Empty); in visitDeclaration()
362 ASSERT(variable.symbolType() != SymbolType::Empty); in visitDeclaration()
363 extractSampler(variable.name(), variable.symbolType(), variable.getType(), newSequence, in visitDeclaration()
565 new TField(newType, field->name(), field->line(), field->symbolType()); in stripStructSpecifierSamplers()
578 new TStructure(mSymbolTable, structure->name(), newFieldList, structure->symbolType()); in stripStructSpecifierSamplers()
680 SymbolType symbolType, in extractSampler() argument
697 TVariable *newVariable = new TVariable(mSymbolTable, newName, newType, symbolType); in extractSampler()
710 if (symbolType == SymbolType::AngleInternal) in extractSampler()
[all …]
DRewriteStructSamplersOld.cpp45 new TVariable(oldVariable.uniqueId(), oldVariable.name(), oldVariable.symbolType(), in ReplaceTypeOfSymbolNode()
129 ASSERT(variable.symbolType() != SymbolType::Empty); in visitDeclaration()
302 new TField(newType, field->name(), field->line(), field->symbolType()); in stripStructSpecifierSamplers()
315 new TStructure(mSymbolTable, structure->name(), newFieldList, structure->symbolType()); in stripStructSpecifierSamplers()
590 new TFunction(mSymbolTable, function->name(), function->symbolType(), in traverse()
609 new TVariable(mSymbolTable, param->name(), structType, param->symbolType()); in visitStructParam()
DNameNamelessUniformBuffers.cpp49 if (variable->symbolType() != SymbolType::Empty) in visitDeclaration()
DRewriteRowMajorMatrices.cpp55 return new TField(new TType(*field->type()), field->name(), field->line(), field->symbolType()); in DuplicateField()
596 block->symbolType(), block->extension()); in convertInterfaceBlock()
617 bool variableIsTemp = variable->symbolType() == SymbolType::Empty; in convertInterfaceBlock()
622 variable->symbolType(), variable->extension()); in convertInterfaceBlock()
681 new TVariable(mSymbolTable, variable->name(), newType, variable->symbolType(), in convertNamelessInterfaceBlockField()
764 newField = new TField(newType, field->name(), field->line(), field->symbolType()); in convertField()
DRemoveUnreferencedVariables.cpp202 declarator->getAsSymbolNode()->variable().symbolType() == SymbolType::Empty) in removeVariableDeclaration()
251 symbolNode->variable().symbolType() == SymbolType::Empty; in visitDeclaration()
DEmulateGLFragColorBroadcast.cpp76 if (node->variable().symbolType() == SymbolType::BuiltIn && node->getName() == "gl_FragColor") in visitSymbol()
DPruneNoOps.cpp73 declaratorSymbol->variable().symbolType() == SymbolType::Empty && in visitDeclaration()
/external/google-breakpad/src/client/mac/handler/testcases/
Dbreakpad_nlist_test.cc61 char symbolType; in CompareToNM() local
64 fscanf(fd, "%s %c %s", oneNMAddr, &symbolType, symbolName); in CompareToNM()
/external/angle/src/tests/compiler_tests/
DInitOutputVariables_test.cpp39 const bool sameSymbols = (expected->variable().symbolType() == SymbolType::Empty && in AreSymbolsTheSame()
40 candidate->variable().symbolType() == SymbolType::Empty) || in AreSymbolsTheSame()
172 if (structure != nullptr && structure->symbolType() != SymbolType::Empty && in visitSymbol()
DOVR_multiview_test.cpp64 return node->variable().symbolType() != SymbolType::Empty && node->getName() == mSymbolName; in shouldCountSymbol()
81 return node->variable().symbolType() != SymbolType::Empty && in shouldCountSymbol()
DOVR_multiview2_test.cpp64 return node->variable().symbolType() != SymbolType::Empty && node->getName() == mSymbolName; in shouldCountSymbol()
81 return node->variable().symbolType() != SymbolType::Empty && in shouldCountSymbol()
/external/angle/src/compiler/translator/tree_util/
DFindSymbolNode.cpp30 if (node->variable().symbolType() != SymbolType::Empty && node->getName() == mSymbolName) in visitSymbol()

12