Home
last modified time | relevance | path

Searched refs:TSymbol (Results 1 – 25 of 86) sorted by relevance

1234

/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DSymbolTable_autogen.h22 TSymbol *m_gl_DepthRangeParameters = nullptr;
23 TSymbol *m_gl_DepthRange = nullptr;
24 TSymbol *m_gl_MaxVertexAttribs = nullptr;
25 TSymbol *m_gl_MaxVertexUniformVectors = nullptr;
26 TSymbol *m_gl_MaxVertexTextureImageUnits = nullptr;
27 TSymbol *m_gl_MaxCombinedTextureImageUnits = nullptr;
28 TSymbol *m_gl_MaxTextureImageUnits = nullptr;
29 TSymbol *m_gl_MaxFragmentUniformVectors = nullptr;
30 TSymbol *m_gl_MaxVaryingVectors = nullptr;
31 TSymbol *m_gl_MaxDrawBuffers = nullptr;
[all …]
DSymbol.h24 class TSymbol : angle::NonCopyable
28 TSymbol(TSymbolTable *symbolTable,
34 TSymbol(TSymbolTable *symbolTable,
42 ~TSymbol() = default;
82 constexpr TSymbol(const TSymbolUniqueId &id, in TSymbol() function
106 static_assert(sizeof(TSymbol) <= 24, "Size check failed");
110 class TVariable : public TSymbol
137 : TSymbol(id, in TVariable()
152 : TSymbol(id, name, symbolType, extensions, SymbolClass::Variable), in TVariable()
163 class TStructure : public TSymbol, public TFieldListCollection
[all …]
DSymbolTable.h68 using VarPointer = TSymbol *(TSymbolTableBase::*);
94 const TSymbol *get(ShShaderSpec shaderSpec,
108 const TSymbol *symbol);
118 constexpr SymbolOrVar(const TSymbol *symbolIn) : symbol(symbolIn) {} in SymbolOrVar()
121 const TSymbol *symbol;
137 const TSymbol *symbol) in SymbolRule()
169 const TSymbol *FindMangledBuiltIn(ShShaderSpec shaderSpec,
258 bool declare(TSymbol *symbol);
261 bool declareInternal(TSymbol *symbol);
287 const TSymbol *find(const ImmutableString &name, int shaderVersion) const;
[all …]
DSymbolTable.cpp66 bool insert(TSymbol *symbol);
71 TSymbol *find(const ImmutableString &name) const;
75 TSymbol *,
83 bool TSymbolTable::TSymbolTableLevel::insert(TSymbol *symbol) in insert()
95 TSymbol *TSymbolTable::TSymbolTableLevel::find(const ImmutableString &name) const in find()
252 const TSymbol *TSymbolTable::find(const ImmutableString &name, int shaderVersion) const in find()
254 const TSymbol *userSymbol = findUserDefined(name); in find()
263 const TSymbol *TSymbolTable::findUserDefined(const ImmutableString &name) const in findUserDefined()
268 const TSymbol *symbol = mTable[userDefinedLevel]->find(name); in findUserDefined()
286 const TSymbol *TSymbolTable::findGlobal(const ImmutableString &name) const in findGlobal()
[all …]
DSymbol.cpp35 TSymbol::TSymbol(TSymbolTable *symbolTable, in TSymbol() function in sh::TSymbol
52 TSymbol::TSymbol(TSymbolTable *symbolTable, in TSymbol() function in sh::TSymbol
68 ImmutableString TSymbol::name() const in name()
84 ImmutableString TSymbol::getMangledName() const in getMangledName()
101 : TSymbol(symbolTable, name, symbolType, SymbolClass::Variable, extension), in TVariable()
114 : TSymbol(symbolTable, name, symbolType, SymbolClass::Variable, extensions), in TVariable()
126 : TSymbol(symbolTable, name, symbolType, SymbolClass::Struct), TFieldListCollection(fields) in TStructure()
163 : TSymbol(symbolTable, name, symbolType, SymbolClass::InterfaceBlock, extension), in TInterfaceBlock()
177 : TSymbol(symbolTable, name, symbolType, SymbolClass::InterfaceBlock, extensions), in TInterfaceBlock()
190 : TSymbol(symbolTable, name, symbolType, SymbolClass::Function, TExtension::UNDEFINED), in TFunction()
DFunctionLookup.h25 static TFunctionLookup *CreateFunctionCall(const ImmutableString &name, const TSymbol *symbol);
44 const TSymbol *symbol() const;
49 const TSymbol *symbol);
55 const TSymbol *mSymbol;
DHashNames.h21 class TSymbol; variable
29 ImmutableString HashName(const TSymbol *symbol, ShHashFunction64 hashFunction, NameMap *nameMap);
DSymbolUniqueId.h17 class TSymbol; variable
23 explicit TSymbolUniqueId(const TSymbol &symbol);
DFunctionLookup.cpp48 const TSymbol *symbol) in TFunctionLookup()
61 const TSymbol *symbol) in CreateFunctionCall()
174 const TSymbol *TFunctionLookup::symbol() const in symbol()
DOutputGLSLBase.h32 ImmutableString hashName(const TSymbol *symbol);
45 const TSymbol *symbol,
86 void writeQualifier(TQualifier qualifier, const TType &type, const TSymbol *symbol);
/third_party/glslang/glslang/MachineIndependent/
DSymbolTable.h84 class TSymbol {
87 explicit TSymbol(const TString *n) : name(n), extensions(0), writable(true) { } in POOL_ALLOCATOR_NEW_DELETE()
88 virtual TSymbol* clone() const = 0;
89 virtual ~TSymbol() { } // rely on all symbol owned memory coming from the pool in ~TSymbol()
129 explicit TSymbol(const TSymbol&);
130 TSymbol& operator=(const TSymbol&);
156 class TVariable : public TSymbol {
159 : TSymbol(name), in TSymbol() function
242 class TFunction : public TSymbol {
245 TSymbol(0), in TFunction()
[all …]
DSymbolTable.cpp187 void TSymbol::dumpExtensions(TInfoSink& infoSink) const in dumpExtensions()
311 TSymbol* symbol = candidate->second; in setFunctionExtensions()
331 TSymbol::TSymbol(const TSymbol& copyOf) in TSymbol() function in glslang::TSymbol
338 TVariable::TVariable(const TVariable& copyOf) : TSymbol(copyOf) in TVariable()
370 TFunction::TFunction(const TFunction& copyOf) : TSymbol(copyOf) in TFunction()
DParseHelper.h200 …TVector<TSymbol*> linkageSymbols; // will be transferred to 'linkage', after all editing is done, …
236 virtual void trackLinkage(TSymbol& symbol);
237 virtual void makeEditable(TSymbol*&);
302 TIntermTyped* handleVariable(const TSourceLoc&, TSymbol* symbol, const TString* string);
307 void makeEditable(TSymbol*&) override;
378TSymbol* redeclareBuiltinVariable(const TSourceLoc&, const TString&, const TQualifier&, const TSha…
400 void layoutObjectCheck(const TSourceLoc&, const TSymbol&);
405 void fixOffset(const TSourceLoc&, TSymbol&);
454 void declareArray(const TSourceLoc&, const TString& identifier, const TType&, TSymbol*&);
528 TVector<TSymbol*> ioArraySymbolResizeList;
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DSymbolTable.cpp30 bool insert(TSymbol *symbol);
35 TSymbol *find(const ImmutableString &name) const;
39 TSymbol *,
47 bool TSymbolTable::TSymbolTableLevel::insert(TSymbol *symbol) in insert()
59 TSymbol *TSymbolTable::TSymbolTableLevel::find(const ImmutableString &name) const in find()
215 const TSymbol *TSymbolTable::find(const ImmutableString &name, int shaderVersion) const in find()
217 const TSymbol *userSymbol = findUserDefined(name); in find()
226 const TSymbol *TSymbolTable::findUserDefined(const ImmutableString &name) const in findUserDefined()
231 const TSymbol *symbol = mTable[userDefinedLevel]->find(name); in findUserDefined()
249 const TSymbol *TSymbolTable::findGlobal(const ImmutableString &name) const in findGlobal()
[all …]
DSymbolTable.h83 bool declare(TSymbol *symbol);
86 bool declareInternal(TSymbol *symbol);
112 const TSymbol *find(const ImmutableString &name, int shaderVersion) const;
114 const TSymbol *findUserDefined(const ImmutableString &name) const;
118 const TSymbol *findGlobal(const ImmutableString &name) const;
119 const TSymbol *findGlobalWithConversion(const std::vector<ImmutableString> &names) const;
121 const TSymbol *findBuiltIn(const ImmutableString &name, int shaderVersion) const;
122 const TSymbol *findBuiltInWithConversion(const std::vector<ImmutableString> &names,
DSymbol.h24 class TSymbol : angle::NonCopyable
28 TSymbol(TSymbolTable *symbolTable,
36 ~TSymbol() = default;
54 constexpr TSymbol(const TSymbolUniqueId &id, in TSymbol() function
80 class TVariable : public TSymbol
101 : TSymbol(id, name, symbolType, extension, SymbolClass::Variable), in TVariable()
112 class TStructure : public TSymbol, public TFieldListCollection
149 class TInterfaceBlock : public TSymbol, public TFieldListCollection
197 class TFunction : public TSymbol
248 : TSymbol(id, name, SymbolType::BuiltIn, extension, SymbolClass::Function), in TFunction()
DSymbol.cpp34 TSymbol::TSymbol(TSymbolTable *symbolTable, in TSymbol() function in sh::TSymbol
50 ImmutableString TSymbol::name() const in name()
66 ImmutableString TSymbol::getMangledName() const in getMangledName()
83 : TSymbol(symbolTable, name, symbolType, SymbolClass::Variable, extension), in TVariable()
95 : TSymbol(symbolTable, name, symbolType, SymbolClass::Struct), TFieldListCollection(fields) in TStructure()
102 : TSymbol(id, name, SymbolType::BuiltIn, extension, SymbolClass::Struct), in TStructure()
140 : TSymbol(symbolTable, name, symbolType, SymbolClass::InterfaceBlock, extension), in TInterfaceBlock()
152 : TSymbol(id, name, SymbolType::BuiltIn, extension, SymbolClass::InterfaceBlock), in TInterfaceBlock()
163 : TSymbol(symbolTable, name, symbolType, SymbolClass::Function, TExtension::UNDEFINED), in TFunction()
DFunctionLookup.h25 static TFunctionLookup *CreateFunctionCall(const ImmutableString &name, const TSymbol *symbol);
44 const TSymbol *symbol() const;
49 const TSymbol *symbol);
55 const TSymbol *mSymbol;
DHashNames.h21 class TSymbol; variable
29 ImmutableString HashName(const TSymbol *symbol, ShHashFunction64 hashFunction, NameMap *nameMap);
DOutputVulkanGLSL.h34 void writeQualifier(TQualifier qualifier, const TType &type, const TSymbol *symbol) override;
35 void writeVariableType(const TType &type, const TSymbol *symbol) override;
DSymbolUniqueId.h17 class TSymbol; variable
23 explicit TSymbolUniqueId(const TSymbol &symbol);
DFunctionLookup.cpp48 const TSymbol *symbol) in TFunctionLookup()
61 const TSymbol *symbol) in CreateFunctionCall()
174 const TSymbol *TFunctionLookup::symbol() const in symbol()
DOutputGLSLBase.h37 ImmutableString hashName(const TSymbol *symbol);
47 virtual void writeVariableType(const TType &type, const TSymbol *symbol);
82 virtual void writeQualifier(TQualifier qualifier, const TType &type, const TSymbol *symbol);
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
DSymbolTable.cpp201 bool TSymbolTableLevel::insert(TSymbol *symbol) in insert()
221 TSymbol *TSymbolTableLevel::find(const TString &name) const in find()
230 TSymbol *TSymbolTable::find(const TString &name, int shaderVersion, bool *builtIn, bool *sameScope)… in find()
233 TSymbol *symbol = nullptr; in find()
260 TSymbol *TSymbolTable::findBuiltIn(const TString &name, int shaderVersion) const in findBuiltIn()
270 TSymbol *symbol = table[level]->find(name); in findBuiltIn()
281 TSymbol::TSymbol(const TSymbol& copyOf) in TSymbol() function in TSymbol
DSymbolTable.h54 class TSymbol
58 TSymbol(const TString *n) : name(n) { } in POOL_ALLOCATOR_NEW_DELETE()
59 virtual ~TSymbol() { /* don't delete name, it's from the pool */ } in ~TSymbol()
67 TSymbol(const TSymbol&);
84 class TVariable : public TSymbol
87 …TVariable(const TString *name, const TType& t, bool uT = false ) : TSymbol(name), type(t), userTyp… in TSymbol() function
139 class TFunction : public TSymbol
143 TSymbol(0), in TFunction()
149 TSymbol(name), in TSymbol() function
200 typedef TMap<TString, TSymbol*> tLevel;
[all …]

1234