Home
last modified time | relevance | path

Searched refs:attr_container (Results 1 – 4 of 4) sorted by relevance

/external/skia/modules/sksg/include/
DSkSGNode.h93 #define SG_ATTRIBUTE(attr_name, attr_type, attr_container) \ argument
94 const attr_type& get##attr_name() const { return attr_container; } \
96 if (attr_container == v) return; \
97 attr_container = v; \
101 if (attr_container == v) return; \
102 attr_container = std::move(v); \
106 #define SG_MAPPED_ATTRIBUTE(attr_name, attr_type, attr_container) \ argument
107 attr_type get##attr_name() const { return attr_container.get##attr_name(); } \
109 if (attr_container.get##attr_name() == v) return; \
110 attr_container.set##attr_name(v); \
[all …]
/external/skqp/modules/sksg/include/
DSkSGNode.h90 #define SG_ATTRIBUTE(attr_name, attr_type, attr_container) \ argument
91 const attr_type& get##attr_name() const { return attr_container; } \
93 if (attr_container == v) return; \
94 attr_container = v; \
98 if (attr_container == v) return; \
99 attr_container = std::move(v); \
103 #define SG_MAPPED_ATTRIBUTE(attr_name, attr_type, attr_container) \ argument
104 attr_type get##attr_name() const { return attr_container.get##attr_name(); } \
106 if (attr_container.get##attr_name() == v) return; \
107 attr_container.set##attr_name(v); \
[all …]
/external/tensorflow/tensorflow/core/framework/
Dresource_mgr_test.cc164 Status ComputePolicy(const string& attr_container, in ComputePolicy() argument
171 if (attr_container != "none") { in ComputePolicy()
172 AddNodeAttr("container", attr_container, &ndef); in ComputePolicy()
182 string Policy(const string& attr_container, const string& attr_shared_name, in Policy() argument
185 TF_CHECK_OK(ComputePolicy(attr_container, attr_shared_name, in Policy()
204 Status WrongPolicy(const string& attr_container, const string& attr_shared_name, in WrongPolicy() argument
207 auto s = ComputePolicy(attr_container, attr_shared_name, in WrongPolicy()
Dresource_mgr.cc256 string attr_container; in Init() local
257 TF_RETURN_IF_ERROR(GetNodeAttr(ndef, "container", &attr_container)); in Init()
258 if (!attr_container.empty() && !IsValidContainerName(attr_container)) { in Init()
260 attr_container); in Init()
268 if (!attr_container.empty()) { in Init()
269 container_ = attr_container; in Init()