Home
last modified time | relevance | path

Searched refs:Variable (Results 1 – 25 of 267) sorted by relevance

1234567891011

/external/deqp/framework/randomshaders/
DrsgVariableManager.hpp46 ValueEntry (const Variable* variable);
49 const Variable* getVariable (void) const { return m_variable; } in getVariable()
55 const Variable* m_variable;
66Variable* allocate (const VariableType& type, Variable::Storage storage, const char* name…
67 void declare (Variable* variable); //!< Move from live set to declared set
68 …void removeLive (const Variable* variable); //!< Just remove from live set (when migrati…
70 const std::vector<Variable*>& getDeclaredVariables (void) const { return m_declaredVariables; } in getDeclaredVariables()
72 std::vector<Variable*>& getLiveVariables (void) { return m_liveVariables; } in getLiveVariables()
73 const std::vector<Variable*>& getLiveVariables (void) const { return m_liveVariables; } in getLiveVariables()
79 …std::vector<Variable*> m_declaredVariables; //!< Variables declared in this scope. Not availabl…
[all …]
DrsgVariableManager.cpp95 ValueEntry::ValueEntry (const Variable* variable) in ValueEntry()
107 …for (vector<Variable*>::iterator i = m_declaredVariables.begin(); i != m_declaredVariables.end(); … in ~VariableScope()
110 for (vector<Variable*>::iterator i = m_liveVariables.begin(); i != m_liveVariables.end(); i++) in ~VariableScope()
114 Variable* VariableScope::allocate (const VariableType& type, Variable::Storage storage, const char*… in allocate()
116 Variable* variable = new Variable(type, storage, name); in allocate()
129 void VariableScope::declare (Variable* variable) in declare()
135 void VariableScope::removeLive (const Variable* variable) in removeLive()
137 …vector<Variable*>::iterator pos = std::find(m_liveVariables.begin(), m_liveVariables.end(), variab… in removeLive()
160 ValueEntry* ValueScope::allocate (const Variable* variable) in allocate()
178 CompareEntryVariable (const Variable* variable) in CompareEntryVariable()
[all …]
DrsgShaderGenerator.cpp65 void createAssignment (BlockStatement& block, const Variable* dstVar, const Variable* srcVar) in createAssignment()
101 const Variable* outVar = entry->getVariable(); in genVertexPassthrough()
104 if (outVar->getStorage() != Variable::STORAGE_SHADER_OUT) in genVertexPassthrough()
114Variable* inVar = state.getVariableManager().allocate(outVar->getType(), Variable::STORAGE_SHADER_… in genVertexPassthrough()
130Variable* inColorVariable = state.getVariableManager().allocate(fragColorEntry->getVariable()->get… in genFragmentPassthrough()
197Variable* variable = m_state.getVariableManager().allocate(input->getVariable()->getType(), Vari… in generate()
206Variable* fragColorVar = m_state.getVariableManager().allocate(VariableType(VariableType::TYPE_FLO… in generate()
228 const vector<Variable*>& liveVars = globalVariableScope.getLiveVariables(); in generate()
229 for (vector<Variable*>::const_iterator i = liveVars.begin(); i != liveVars.end(); i++) in generate()
231 Variable* variable = *i; in generate()
[all …]
DrsgShader.hpp49 void addParameter (Variable* variable);
58 std::vector<Variable*> m_parameters;
67 ShaderInput (const Variable* variable, ConstValueRangeAccess valueRange);
70 const Variable* getVariable (void) const { return m_variable; } in getVariable()
75 const Variable* m_variable;
115 void getOutputs (std::vector<const Variable*>& outputs) const;
DrsgShader.cpp58 ShaderInput::ShaderInput (const Variable* variable, ConstValueRangeAccess valueRange) in ShaderInput()
81 void Shader::getOutputs (vector<const Variable*>& outputs) const in getOutputs()
84 const vector<Variable*>& globalVars = m_globalScope.getDeclaredVariables(); in getOutputs()
85 for (vector<Variable*>::const_iterator i = globalVars.begin(); i != globalVars.end(); i++) in getOutputs()
87 const Variable* var = *i; in getOutputs()
88 if (var->getStorage() == Variable::STORAGE_SHADER_OUT) in getOutputs()
137 for (vector<Variable*>::const_iterator i = m_parameters.begin(); i != m_parameters.end(); i++) in tokenize()
DrsgStatement.cpp229 inline bool canDeclareVariable (const Variable* variable) in canDeclareVariable()
231 return variable->getStorage() == Variable::STORAGE_LOCAL; in canDeclareVariable()
236 const vector<Variable*>& liveVars = varMgr.getLiveVariables(); in hasDeclarableVars()
237 for (vector<Variable*>::const_iterator i = liveVars.begin(); i != liveVars.end(); i++) in hasDeclarableVars()
247 DeclarationStatement::DeclarationStatement (GeneratorState& state, Variable* variable) in DeclarationStatement()
256 const vector<Variable*>& liveVars = state.getVariableManager().getLiveVariables(); in DeclarationStatement()
257 vector<Variable*> candidates; in DeclarationStatement()
259 for (vector<Variable*>::const_iterator i = liveVars.begin(); i != liveVars.end(); i++) in DeclarationStatement()
265 variable = state.getRandom().choose<Variable*>(candidates.begin(), candidates.end()); in DeclarationStatement()
277 case Variable::STORAGE_CONST: in DeclarationStatement()
[all …]
DrsgVariable.cpp31 Variable::Variable (const VariableType& type, Storage storage, const char* name) in Variable() function in rsg::Variable
39 Variable::~Variable (void) in ~Variable()
43 void Variable::tokenizeDeclaration (GeneratorState& state, TokenStream& str) const in tokenizeDeclaration()
DrsgExecutionContext.hpp46 typedef std::map<const Variable*, ExecValueStorage*> VarValueMap;
66 ExecValueAccess getValue (const Variable* variable);
67 const Sampler2D& getSampler2D (const Variable* variable) const;
68 const SamplerCube& getSamplerCube (const Variable* variable) const;
DrsgStatement.hpp74 DeclarationStatement (GeneratorState& state, Variable* variable = DE_NULL);
84 const Variable* m_variable;
140 AssignStatement (const Variable* variable, Expression* value);
141 …AssignStatement (GeneratorState& state, const Variable* variable, ConstValueRangeAccess valueRan…
149 const Variable* m_variable;
DrsgVariable.hpp37 class Variable class
54 Variable (const VariableType& type, Storage storage, const char* name);
55 ~Variable (void);
/external/v8/src/
Dscopes.h24 Variable* Declare(Scope* scope, const AstRawString* name, VariableMode mode,
25 bool is_valid_lhs, Variable::Kind kind,
30 Variable* Lookup(const AstRawString* name);
104 Variable* LookupLocal(const AstRawString* name);
110 Variable* LookupFunctionVar(const AstRawString* name,
115 Variable* Lookup(const AstRawString* name);
128 Variable* DeclareParameter(const AstRawString* name, VariableMode mode);
132 Variable* DeclareLocal(const AstRawString* name, VariableMode mode,
141 Variable* DeclareDynamicGlobal(const AstRawString* name);
171 Variable* NewInternal(const AstRawString* name);
[all …]
Dscopes.cc33 Variable* VariableMap::Declare(Scope* scope, const AstRawString* name, in Declare()
35 Variable::Kind kind, in Declare()
48 Variable(scope, name, mode, is_valid_lhs, kind, initialization_flag, in Declare()
51 return reinterpret_cast<Variable*>(p->value); in Declare()
55 Variable* VariableMap::Lookup(const AstRawString* name) { in Lookup()
61 return reinterpret_cast<Variable*>(p->value); in Lookup()
139 Variable* variable = variables_.Declare(this, in Scope()
143 Variable::NORMAL, in Scope()
317 Variable* var = in Initialize()
322 Variable::THIS, in Initialize()
[all …]
Dvariables.cc17 const char* Variable::Mode2String(VariableMode mode) { in Mode2String()
35 Variable::Variable(Scope* scope, const AstRawString* name, VariableMode mode, in Variable() function in v8::internal::Variable
58 bool Variable::IsGlobalObjectProperty() const { in IsGlobalObjectProperty()
67 int Variable::CompareIndex(Variable* const* v, Variable* const* w) { in CompareIndex()
Dvariables.h20 class Variable: public ZoneObject {
55 Variable(Scope* scope, const AstRawString* name, VariableMode mode,
115 Variable* local_if_not_shadowed() const { in local_if_not_shadowed()
120 void set_local_if_not_shadowed(Variable* local) { in set_local_if_not_shadowed()
136 static int CompareIndex(Variable* const* v, Variable* const* w);
151 Variable* local_if_not_shadowed_;
/external/lldb/include/lldb/Symbol/
DVariable.h24 class Variable : public UserID
30 Variable (lldb::user_id_t uid,
42 ~Variable();
178 Variable(const Variable& rhs);
179 Variable& operator=(const Variable& rhs);
/external/valgrind/coregrind/
Dm_addrinfo.c94 ai->Addr.Variable.descr1 in VG_()
97 ai->Addr.Variable.descr2 in VG_()
101 (void) VG_(get_data_description)( ai->Addr.Variable.descr1, in VG_()
102 ai->Addr.Variable.descr2, a ); in VG_()
109 if (0 == VG_(strlen)( VG_(indexXA)( ai->Addr.Variable.descr1, 0 ))) { in VG_()
110 VG_(deleteXA)( ai->Addr.Variable.descr1 ); in VG_()
111 ai->Addr.Variable.descr1 = NULL; in VG_()
113 if (0 == VG_(strlen)( VG_(indexXA)( ai->Addr.Variable.descr2, 0 ))) { in VG_()
114 VG_(deleteXA)( ai->Addr.Variable.descr2 ); in VG_()
115 ai->Addr.Variable.descr2 = NULL; in VG_()
[all …]
/external/lldb/source/Symbol/
DVariable.cpp35 Variable::Variable in Variable() function in Variable
64 Variable::~Variable() in ~Variable()
70 Variable::GetName() const in GetName()
78 Variable::NameMatches (const RegularExpression& regex) const in NameMatches()
86 Variable::GetType() in GetType()
94 Variable::Dump(Stream *s, bool show_context) const in Dump()
167 Variable::DumpDeclaration (Stream *s, bool show_fullpaths, bool show_module) in DumpDeclaration()
194 Variable::MemorySize() const in MemorySize()
196 return sizeof(Variable); in MemorySize()
201 Variable::CalculateSymbolContext (SymbolContext *sc) in CalculateSymbolContext()
[all …]
/external/llvm/lib/CodeGen/AsmPrinter/
DDebugLocEntry.h32 : Variable(Var), Expression(Expr), EntryKind(E_Integer) { in Value()
36 : Variable(Var), Expression(Expr), EntryKind(E_ConstantFP) { in Value()
40 : Variable(Var), Expression(Expr), EntryKind(E_ConstantInt) { in Value()
44 : Variable(Var), Expression(Expr), EntryKind(E_Location), Loc(Loc) { in Value()
50 const MDNode *Variable; member
77 DIVariable getVariable() const { return cast<MDLocalVariable>(Variable); } in getVariable()
106 DIVariable Var = cast_or_null<MDLocalVariable>(Values[0].Variable); in MergeValues()
109 DIVariable NextVar = cast_or_null<MDLocalVariable>(Next.Values[0].Variable); in MergeValues()
174 if (A.Variable != B.Variable)
/external/clang/include/clang/Analysis/Analyses/
DThreadSafetyTraverse.h191 R_SExpr reduceFunction(Function &Orig, Variable *Nvd, R_SExpr E0) { in reduceFunction()
194 R_SExpr reduceSFunction(SFunction &Orig, Variable *Nvd, R_SExpr E0) { in reduceSFunction()
252 R_SExpr reduceLet(Let &Orig, Variable *Nvd, R_SExpr B) { in reduceLet()
256 Variable *enterScope(Variable &Orig, R_SExpr E0) { return &Orig; } in enterScope()
257 void exitScope(const Variable &Orig) {} in exitScope()
263 Variable *reduceVariableRef (Variable *Ovd) { return Ovd; } in reduceVariableRef()
323 void enterScope(const Variable* V1, const Variable* V2) { } in enterScope()
326 bool compareVariableRefs(const Variable* V1, const Variable* V2) { in compareVariableRefs()
363 void enterScope(const Variable* V1, const Variable* V2) { } in enterScope()
366 bool compareVariableRefs(const Variable* V1, const Variable* V2) { in compareVariableRefs()
[all …]
/external/deqp/modules/glshared/
DglsRandomShaderProgram.cpp103 static const rsg::Variable* findShaderOutputByName (const rsg::Shader& shader, const char* name) in findShaderOutputByName()
105 vector<const rsg::Variable*> outputs; in findShaderOutputByName()
108 …for (vector<const rsg::Variable*>::const_iterator iter = outputs.begin(); iter != outputs.end(); +… in findShaderOutputByName()
117 static const rsg::Variable* findShaderOutputByLocation (const rsg::Shader& shader, int location) in findShaderOutputByLocation()
119 vector<const rsg::Variable*> outputs; in findShaderOutputByLocation()
122 …for (vector<const rsg::Variable*>::const_iterator iter = outputs.begin(); iter != outputs.end(); i… in findShaderOutputByLocation()
148 …const rsg::Variable* vertexOutput = findShaderOutputByName(vertexShader, fragInput->getVariable()-… in RandomShaderProgram()
161 const rsg::Variable* uniformVar = m_unifiedUniforms[uniformNdx]->getVariable(); in refreshUniforms()
183 const rsg::Variable* attribVar = m_vertexShader.getInputs()[attribNdx]->getVariable(); in shadeVertices()
224 const rsg::Variable* var = m_vertexOutputs[varNdx]; in shadeVertices()
[all …]
DglsRandomShaderProgram.hpp57 const rsg::Variable* m_positionVar;
58 …std::vector<const rsg::Variable*> m_vertexOutputs; //!< Other vertex outputs in the order they a…
59 const rsg::Variable* m_fragColorVar;
/external/clang/test/Misc/
Dast-dump-stmt.cpp5 int Variable; variable
8 using n::Variable;
12 Variable = 4; in TestFunction()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
DFrame.java163 string += ((Variable) it.next()).toString(); in toString()
204 public final class Variable { class in Frame
223 public Variable() { in Variable() method in Frame.Variable
499 if (!(obj instanceof Variable)) { in equals()
507 Variable var = (Variable) obj; in equals()
/external/v8/src/compiler/
Dast-graph-builder.cc355 Variable* variable = decl->proxy()->var(); in VisitVariableDeclaration()
359 case Variable::UNALLOCATED: { in VisitVariableDeclaration()
367 case Variable::PARAMETER: in VisitVariableDeclaration()
368 case Variable::LOCAL: in VisitVariableDeclaration()
374 case Variable::CONTEXT: in VisitVariableDeclaration()
381 case Variable::LOOKUP: in VisitVariableDeclaration()
388 Variable* variable = decl->proxy()->var(); in VisitFunctionDeclaration()
390 case Variable::UNALLOCATED: { in VisitFunctionDeclaration()
399 case Variable::PARAMETER: in VisitFunctionDeclaration()
400 case Variable::LOCAL: { in VisitFunctionDeclaration()
[all …]
Dast-graph-builder.h78 Node* BuildArgumentsObject(Variable* arguments);
81 Node* BuildVariableAssignment(Variable* var, Node* value, Token::Value op,
83 Node* BuildVariableDelete(Variable* var);
84 Node* BuildVariableLoad(Variable* var, BailoutId bailout_id,
97 Node* BuildThrowReferenceError(Variable* var);
101 Node* BuildHoleCheckThrow(Node* value, Variable* var, Node* not_hole);
209 void Bind(Variable* variable, Node* node) { in Bind()
218 Node* Lookup(Variable* variable) { in Lookup()

1234567891011