Home
last modified time | relevance | path

Searched refs:VariableMap (Results 1 – 17 of 17) sorted by relevance

/external/chromium_org/gpu/command_buffer/service/
Dmemory_program_cache.h58 const ShaderTranslator::VariableMap& attrib_map_0,
59 const ShaderTranslator::VariableMap& uniform_map_0,
60 const ShaderTranslator::VariableMap& varying_map_0,
62 const ShaderTranslator::VariableMap& attrib_map_1,
63 const ShaderTranslator::VariableMap& uniform_map_1,
64 const ShaderTranslator::VariableMap& varying_map_1,
83 const ShaderTranslator::VariableMap& attrib_map_0() const { in attrib_map_0()
87 const ShaderTranslator::VariableMap& uniform_map_0() const { in uniform_map_0()
91 const ShaderTranslator::VariableMap& varying_map_0() const { in varying_map_0()
99 const ShaderTranslator::VariableMap& attrib_map_1() const { in attrib_map_1()
[all …]
Dshader_manager.h91 const ShaderTranslator::VariableMap& attrib_map() const { in attrib_map()
96 const ShaderTranslator::VariableMap& uniform_map() const { in uniform_map()
101 const ShaderTranslator::VariableMap& varying_map() const { in varying_map()
106 void set_attrib_map(const ShaderTranslator::VariableMap& attrib_map) { in set_attrib_map()
108 attrib_map_ = ShaderTranslator::VariableMap(attrib_map); in set_attrib_map()
112 void set_uniform_map(const ShaderTranslator::VariableMap& uniform_map) { in set_uniform_map()
114 uniform_map_ = ShaderTranslator::VariableMap(uniform_map); in set_uniform_map()
118 void set_varying_map(const ShaderTranslator::VariableMap& varying_map) { in set_varying_map()
120 varying_map_ = ShaderTranslator::VariableMap(varying_map); in set_varying_map()
124 typedef ShaderTranslator::VariableMap VariableMap; typedef
[all …]
Dmemory_program_cache_unittest.cc23 typedef gpu::gles2::ShaderTranslator::VariableMap VariableMap; typedef
108 typedef ShaderTranslator::VariableMap VariableMap; in SetUp() typedef
109 VariableMap vertex_attrib_map; in SetUp()
110 VariableMap vertex_uniform_map; in SetUp()
111 VariableMap vertex_varying_map; in SetUp()
112 VariableMap fragment_attrib_map; in SetUp()
113 VariableMap fragment_uniform_map; in SetUp()
114 VariableMap fragment_varying_map; in SetUp()
271 VariableMap vertex_attrib_map = vertex_shader_->attrib_map(); in TEST_F()
272 VariableMap vertex_uniform_map = vertex_shader_->uniform_map(); in TEST_F()
[all …]
Dshader_translator.h62 typedef base::hash_map<std::string, VariableInfo> VariableMap; typedef
86 virtual const VariableMap& attrib_map() const = 0;
87 virtual const VariableMap& uniform_map() const = 0;
88 virtual const VariableMap& varying_map() const = 0;
133 virtual const VariableMap& attrib_map() const OVERRIDE;
134 virtual const VariableMap& uniform_map() const OVERRIDE;
135 virtual const VariableMap& varying_map() const OVERRIDE;
155 VariableMap attrib_map_;
156 VariableMap uniform_map_;
157 VariableMap varying_map_;
Dmemory_program_cache.cc49 const ShaderTranslator::VariableMap& map) { in StoreShaderInfo()
50 ShaderTranslator::VariableMap::const_iterator iter; in StoreShaderInfo()
76 ShaderTranslator::VariableMap* map) { in RetrieveShaderInfo()
273 ShaderTranslator::VariableMap vertex_attribs; in LoadProgram()
274 ShaderTranslator::VariableMap vertex_uniforms; in LoadProgram()
275 ShaderTranslator::VariableMap vertex_varyings; in LoadProgram()
289 ShaderTranslator::VariableMap fragment_attribs; in LoadProgram()
290 ShaderTranslator::VariableMap fragment_uniforms; in LoadProgram()
291 ShaderTranslator::VariableMap fragment_varyings; in LoadProgram()
339 const ShaderTranslator::VariableMap& attrib_map_0, in ProgramCacheValue()
[all …]
Dshader_manager_unittest.cc156 ShaderTranslator::VariableMap attrib_map; in TEST_F()
163 ShaderTranslator::VariableMap uniform_map; in TEST_F()
174 ShaderTranslator::VariableMap varying_map; in TEST_F()
188 for (ShaderTranslator::VariableMap::const_iterator it = attrib_map.begin(); in TEST_F()
199 for (ShaderTranslator::VariableMap::const_iterator it = uniform_map.begin(); in TEST_F()
213 for (ShaderTranslator::VariableMap::const_iterator it = attrib_map.begin(); in TEST_F()
219 for (ShaderTranslator::VariableMap::const_iterator it = uniform_map.begin(); in TEST_F()
Dmocks.h91 MOCK_CONST_METHOD0(attrib_map, const VariableMap&());
92 MOCK_CONST_METHOD0(uniform_map, const VariableMap&());
93 MOCK_CONST_METHOD0(varying_map, const VariableMap&());
Dshader_translator_unittest.cc150 const ShaderTranslator::VariableMap& attrib_map = in TEST_F()
153 ShaderTranslator::VariableMap::const_iterator iter = in TEST_F()
186 const ShaderTranslator::VariableMap& uniform_map = in TEST_F()
190 ShaderTranslator::VariableMap::const_iterator iter = in TEST_F()
Dshader_translator.cc42 ShaderTranslator::VariableMap* var_map) { in GetVariableInfo()
270 const ShaderTranslatorInterface::VariableMap&
275 const ShaderTranslatorInterface::VariableMap&
280 const ShaderTranslatorInterface::VariableMap&
Dshader_manager.cc64 VariableMap::const_iterator it = attrib_map_.find(name); in GetAttribInfo()
70 for (VariableMap::const_iterator it = attrib_map_.begin(); in GetAttribMappedName()
89 VariableMap::const_iterator it = uniform_map_.find(name); in GetUniformInfo()
Dprogram_manager_unittest.cc305 ShaderTranslator::VariableMap vertex_attrib_map; in SetupShaderVariableTest()
306 ShaderTranslator::VariableMap vertex_uniform_map; in SetupShaderVariableTest()
307 ShaderTranslator::VariableMap vertex_varying_map; in SetupShaderVariableTest()
309 ShaderTranslator::VariableMap* map = NULL; in SetupShaderVariableTest()
341 ShaderTranslator::VariableMap frag_attrib_map; in SetupShaderVariableTest()
342 ShaderTranslator::VariableMap frag_uniform_map; in SetupShaderVariableTest()
343 ShaderTranslator::VariableMap frag_varying_map; in SetupShaderVariableTest()
345 ShaderTranslator::VariableMap* map = NULL; in SetupShaderVariableTest()
812 ShaderTranslator::VariableMap attrib_map; in TEST_F()
813 ShaderTranslator::VariableMap uniform_map; in TEST_F()
[all …]
Dprogram_manager.cc1012 const ShaderTranslator::VariableMap& shader_uniforms = in DetectUniformsMismatch()
1014 for (ShaderTranslator::VariableMap::const_iterator iter = in DetectUniformsMismatch()
1039 const ShaderTranslator::VariableMap* vertex_varyings = in DetectVaryingsMismatch()
1041 const ShaderTranslator::VariableMap* fragment_varyings = in DetectVaryingsMismatch()
1044 for (ShaderTranslator::VariableMap::const_iterator iter = in DetectVaryingsMismatch()
1051 ShaderTranslator::VariableMap::const_iterator hit = in DetectVaryingsMismatch()
1072 const ShaderTranslator::VariableMap* uniforms[2]; in DetectGlobalNameConflicts()
1075 const ShaderTranslator::VariableMap* attribs = in DetectGlobalNameConflicts()
1078 for (ShaderTranslator::VariableMap::const_iterator iter = in DetectGlobalNameConflicts()
1094 const ShaderTranslator::VariableMap* vertex_varyings = in CheckVaryingsPacking()
[all …]
/external/chromium_org/v8/src/
Dscopes.h41 class VariableMap: public ZoneHashMap {
43 explicit VariableMap(Zone* zone);
45 virtual ~VariableMap();
72 maps_[i] = new(zone->New(sizeof(VariableMap))) VariableMap(zone); in DynamicScopePart()
75 VariableMap* GetMap(VariableMode mode) { in GetMap()
82 VariableMap *maps_[3];
462 VariableMap variables_;
Dscopes.cc59 VariableMap::VariableMap(Zone* zone) in VariableMap() function in v8::internal::VariableMap
62 VariableMap::~VariableMap() {} in ~VariableMap()
65 Variable* VariableMap::Declare( in Declare()
90 Variable* VariableMap::Lookup(Handle<String> name) { in Lookup()
623 for (VariableMap::Entry* p = variables_.Start(); in CollectStackAndContextLocals()
843 static void PrintMap(int indent, VariableMap* map) { in PrintMap()
844 for (VariableMap::Entry* p = map->Start(); p != NULL; p = map->Next(p)) { in PrintMap()
954 VariableMap* map = dynamics_->GetMap(mode); in NonLocal()
1326 for (VariableMap::Entry* p = variables_.Start(); in AllocateNonParameterLocals()
/external/v8/src/
Dscopes.h41 class VariableMap: public ZoneHashMap {
43 VariableMap();
45 virtual ~VariableMap();
65 VariableMap* GetMap(VariableMode mode) { in GetMap()
72 VariableMap maps_[3];
438 VariableMap variables_;
Dscopes.cc60 VariableMap::VariableMap() : ZoneHashMap(Match, 8) {} in VariableMap() function in v8::internal::VariableMap
61 VariableMap::~VariableMap() {} in ~VariableMap()
64 Variable* VariableMap::Declare( in Declare()
88 Variable* VariableMap::Lookup(Handle<String> name) { in Lookup()
587 for (VariableMap::Entry* p = variables_.Start(); in CollectStackAndContextLocals()
780 static void PrintMap(int indent, VariableMap* map) { in PrintMap()
781 for (VariableMap::Entry* p = map->Start(); p != NULL; p = map->Next(p)) { in PrintMap()
880 VariableMap* map = dynamics_->GetMap(mode); in NonLocal()
1215 for (VariableMap::Entry* p = variables_.Start(); in AllocateNonParameterLocals()
/external/llvm/utils/TableGen/
DDAGISelMatcherGen.cpp63 StringMap<unsigned> VariableMap; member in __anon9f5b0a7e0111::MatcherGen
120 unsigned VarMapEntry = VariableMap[Name]; in getNamedArgumentSlot()
436 unsigned &VarMapEntry = VariableMap[N->getName()]; in EmitMatchCode()
503 unsigned RecNodeEntry = VariableMap[N->getName()]; in EmitMatcherCode()