Home
last modified time | relevance | path

Searched refs:Variable (Results 1 – 25 of 257) 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()
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()
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 …]
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/chromium_org/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/valgrind/main/coregrind/
Dm_addrinfo.c51 ai->Addr.Variable.descr1 in VG_()
54 ai->Addr.Variable.descr2 in VG_()
58 (void) VG_(get_data_description)( ai->Addr.Variable.descr1, in VG_()
59 ai->Addr.Variable.descr2, a ); in VG_()
66 if (0 == VG_(strlen)( VG_(indexXA)( ai->Addr.Variable.descr1, 0 ))) { in VG_()
67 VG_(deleteXA)( ai->Addr.Variable.descr1 ); in VG_()
68 ai->Addr.Variable.descr1 = NULL; in VG_()
70 if (0 == VG_(strlen)( VG_(indexXA)( ai->Addr.Variable.descr2, 0 ))) { in VG_()
71 VG_(deleteXA)( ai->Addr.Variable.descr2 ); in VG_()
72 ai->Addr.Variable.descr2 = NULL; in VG_()
[all …]
/external/clang/lib/Analysis/
DThreadSafetyTIL.cpp55 for (Variable *V : Args) { in addPredecessor()
66 for (Variable *V : Args) { in reservePredecessors()
75 for (Variable *V : Args) { in renumberVars()
78 for (Variable *V : Instrs) { in renumberVars()
95 while (auto *V = dyn_cast<Variable>(E)) { in getCanonicalVal()
98 if (V->kind() != Variable::VK_Let) in getCanonicalVal()
101 auto *V2 = dyn_cast<Variable>(D); in getCanonicalVal()
129 void simplifyIncompleteArg(Variable *V, til::Phi *Ph) { in simplifyIncompleteArg()
/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/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.h30 : Variable(Var), EntryKind(E_Integer) { in Value()
34 : Variable(Var), EntryKind(E_ConstantFP) { in Value()
38 : Variable(Var), EntryKind(E_ConstantInt) { in Value()
42 : Variable(Var), EntryKind(E_Location), Loc(Loc) { in Value()
46 const MDNode *Variable; member
87 const MDNode *getVariable() const { return Variable; } in getVariable()
/external/clang/test/Misc/
Dast-dump-stmt.cpp5 int Variable; variable
8 using n::Variable;
12 Variable = 4; in TestFunction()
/external/clang/include/clang/Analysis/Analyses/
DThreadSafetyTraverse.h182 R_SExpr reduceFunction(Function &Orig, Variable *Nvd, R_SExpr E0) { in reduceFunction()
185 R_SExpr reduceSFunction(SFunction &Orig, Variable *Nvd, R_SExpr E0) { in reduceSFunction()
236 R_BasicBlock reduceBasicBlock(BasicBlock &Orig, Container<Variable *> &As, in reduceBasicBlock()
237 Container<Variable *> &Is, R_SExpr T) { in reduceBasicBlock()
256 R_SExpr reduceLet(Let &Orig, Variable *Nvd, R_SExpr B) { in reduceLet()
261 Variable *enterScope(Variable &Orig, R_SExpr E0) { in enterScope()
262 return new (Arena) Variable(Orig, E0); in enterScope()
265 void exitScope(const Variable &Orig) {} in exitScope()
273 Variable *reduceVariableRef(Variable *Ovd) { return Ovd; } in reduceVariableRef()
331 R_SExpr reduceFunction(Function &Orig, Variable *Nvd, R_SExpr E0) { in reduceFunction()
[all …]
DThreadSafetyTIL.h361 class Variable : public SExpr {
374 inline Variable(SExpr *D, const clang::ValueDecl *Cvd = nullptr);
375 inline Variable(StringRef s, SExpr *D = nullptr);
376 inline Variable(const Variable &Vd, SExpr *D);
408 template <class C> typename C::CType compare(Variable* E, C& Cmp) { in compare()
503 cast<Variable>(Ptr)->attachVar(); in attach()
511 cast<Variable>(Ptr)->detachVar(); in detach()
530 inline Variable::Variable(StringRef s, SExpr *D) in Variable() function
536 inline Variable::Variable(SExpr *D, const clang::ValueDecl *Cvd) in Variable() function
542 inline Variable::Variable(const Variable &Vd, SExpr *D) // rewrite constructor in Variable() function
[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/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()

1234567891011