Home
last modified time | relevance | path

Searched refs:Node (Results 1 - 25 of 75) sorted by relevance

123

/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/include/scene_plugin/api/
H A Dnode.h28 * @brief Node class wraps INode interface. It keeps the referenced object alive using strong ref.
32 class Node final : public META_NS::Internal::ObjectInterfaceAPI<Node, ClassId::Node> {
33 META_API(Node)
35 META_API_CACHE_INTERFACE(INode, Node)
37 META_API_INTERFACE_PROPERTY_CACHED(Node, Name, BASE_NS::string)
38 META_API_INTERFACE_PROPERTY_CACHED(Node, Position, BASE_NS::Math::Vec3)
39 META_API_INTERFACE_PROPERTY_CACHED(Node, Scale, BASE_NS::Math::Vec3)
40 META_API_INTERFACE_PROPERTY_CACHED(Node, Rotatio
49 explicit Node(const INode::Ptr& node) Node() function in final
[all...]
H A Dlight.h35 META_API_CACHE_INTERFACE(INode, Node)
37 // From Node
38 META_API_INTERFACE_PROPERTY_CACHED(Node, Name, BASE_NS::string)
39 META_API_INTERFACE_PROPERTY_CACHED(Node, Position, BASE_NS::Math::Vec3)
40 META_API_INTERFACE_PROPERTY_CACHED(Node, Scale, BASE_NS::Math::Vec3)
41 META_API_INTERFACE_PROPERTY_CACHED(Node, Rotation, BASE_NS::Math::Quat)
42 META_API_INTERFACE_PROPERTY_CACHED(Node, Visible, bool)
43 META_API_INTERFACE_PROPERTY_CACHED(Node, LayerMask, uint64_t)
44 META_API_INTERFACE_PROPERTY_CACHED(Node, LocalMatrix, BASE_NS::Math::Mat4X4)
85 return META_API_CACHED_INTERFACE(Node) in OnLoaded()
[all...]
H A Denvironment.h31 API_CACHE_INTERFACE(INode, Node)
34 API_INTERFACE_PROPERTY_CACHED(Node, Name, BASE_NS::string)
35 API_INTERFACE_PROPERTY_CACHED(Node, Position, BASE_NS::Math::Vec3)
36 API_INTERFACE_PROPERTY_CACHED(Node, Scale, BASE_NS::Math::Vec3)
37 API_INTERFACE_PROPERTY_CACHED(Node, Rotation, BASE_NS::Math::Quat)
38 API_INTERFACE_PROPERTY_CACHED(Node, Visible, bool)
39 API_INTERFACE_PROPERTY_CACHED(Node, LayerMask, uint64_t)
40 API_INTERFACE_PROPERTY_CACHED(Node, LocalMatrix, BASE_NS::Math::Mat4X4)
H A Dview_node.h29 * ViewNode object may not implement Node interfaces on Engine side, so container operations and
37 META_API_CACHE_INTERFACE(INode, Node)
39 // From Node
40 META_API_INTERFACE_PROPERTY_CACHED(Node, Name, BASE_NS::string)
41 META_API_INTERFACE_PROPERTY_CACHED(Node, Position, BASE_NS::Math::Vec3)
42 META_API_INTERFACE_PROPERTY_CACHED(Node, Scale, BASE_NS::Math::Vec3)
43 META_API_INTERFACE_PROPERTY_CACHED(Node, Rotation, BASE_NS::Math::Quat)
44 META_API_INTERFACE_PROPERTY_CACHED(Node, Visible, bool)
86 return META_API_CACHED_INTERFACE(Node)->OnLoaded(); in OnLoaded()
H A Dcamera.h37 META_API_CACHE_INTERFACE(INode, Node)
40 // From Node
41 META_API_INTERFACE_PROPERTY_CACHED(Node, Name, BASE_NS::string)
42 META_API_INTERFACE_PROPERTY_CACHED(Node, Position, BASE_NS::Math::Vec3)
43 META_API_INTERFACE_PROPERTY_CACHED(Node, Scale, BASE_NS::Math::Vec3)
44 META_API_INTERFACE_PROPERTY_CACHED(Node, Rotation, BASE_NS::Math::Quat)
45 META_API_INTERFACE_PROPERTY_CACHED(Node, Visible, bool)
46 META_API_INTERFACE_PROPERTY_CACHED(Node, LayerMask, uint64_t)
47 META_API_INTERFACE_PROPERTY_CACHED(Node, LocalMatrix, BASE_NS::Math::Mat4X4)
111 return META_API_CACHED_INTERFACE(Node) in OnLoaded()
[all...]
/foundation/bundlemanager/bundle_framework_lite/utils/bundle_lite/
H A Dutils_list.h23 struct Node { struct
24 Node() = default;
25 explicit Node(T value) : value_(value), next_(nullptr), prev_(nullptr) {} in Node() function
28 Node<T> *next_;
29 Node<T> *prev_;
37 head_ = new (std::nothrow) Node<T>(); in List()
60 auto node = new (std::nothrow) Node<T>(value); in PushFront()
78 Node<T> *node = head_->next_; in PopFront()
96 auto node = new (std::nothrow) Node<T>(value); in PushBack()
111 Node< in PopBack()
[all...]
/foundation/communication/netstack/frameworks/js/napi/http/cache/lru_cache/include/
H A Dlru_cache.h47 struct Node { struct in OHOS::NetStack::Http::LRUCache
51 Node() = delete;
53 Node(std::string key, std::unordered_map<std::string, std::string> value);
56 void AddNode(const Node &node);
58 void MoveNodeToHead(const std::list<Node>::iterator &it);
63 std::unordered_map<std::string, std::list<Node>::iterator> cache_;
64 std::list<Node> nodeList_;
/foundation/distributeddatamgr/kv_store/frameworks/common/
H A Dlru_bucket.h105 auto *node = new(std::nothrow) Node(value); in Set()
174 struct Node final {
175 using iterator = typename std::map<_Key, Node *>::iterator;
176 Node(const _Tp &value) : value_(value) {} in Node() function
177 Node() : value_() {} in Node() function
178 ~Node() = default;
181 Node *prev_ = this;
182 Node *next_ = this;
192 void Update(Node *node, const _Tp &value) in Update()
197 void Remove(Node *nod
[all...]
/foundation/distributeddatamgr/relational_store/rdbmock/frameworks/native/rdb/
H A Dlru_bucket.h105 auto *node = new(std::nothrow) Node(value); in Set()
174 struct Node final {
175 using iterator = typename std::map<_Key, Node *>::iterator;
176 Node(const _Tp &value) : value_(value) {} in Node() function
177 Node() : value_() {} in Node() function
178 ~Node() = default;
181 Node *prev_ = this;
182 Node *next_ = this;
192 void Update(Node *node, const _Tp &value) in Update()
197 void Remove(Node *nod
[all...]
/foundation/communication/netmanager_base/utils/common_utils/include/
H A Dlru_cache.h49 AddNode(Node(key, {value})); in Put()
86 struct Node { struct in OHOS::NetManagerStandard::LRUCache
90 Node() = delete;
92 Node(std::string key, std::vector<T> value) : key(std::move(key)), value(std::move(value)) {} in Node() function
95 void AddNode(const Node &node) in AddNode()
101 void MoveNodeToHead(const typename std::list<Node>::iterator &it) in MoveNodeToHead()
115 Node node = nodeList_.back(); in EraseTailNode()
121 std::unordered_map<std::string, typename std::list<Node>::iterator> cache_;
122 std::list<Node> nodeList_;
/foundation/distributeddatamgr/kv_store/interfaces/innerkits/distributeddata/include/
H A Dpool.h33 auto cur = new Node(); in Get()
37 Node *cur = idle_; in Get()
54 Node *cur = idle_; in Release()
83 Node *cur = busy_; in Idle()
122 struct Node { struct in OHOS::Pool
123 Node *prev = nullptr;
124 Node *next = nullptr;
131 Node *idle_ = nullptr;
132 Node *busy_ = nullptr;
/foundation/distributeddatamgr/preferences/frameworks/native/include/
H A Dpool.h35 auto cur = new Node(); in Get()
39 Node *cur = idle_; in Get()
56 Node *cur = idle_; in Release()
85 Node *cur = busy_; in Idle()
124 struct Node { struct in OHOS::NativePreferences::Pool
125 Node *prev = nullptr;
126 Node *next = nullptr;
133 Node *idle_ = nullptr;
134 Node *busy_ = nullptr;
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/base/
H A Dref_uri.h64 struct Node { struct in RefUri
123 Node TakeFirstNode();
127 Node TakeLastNode();
182 BASE_NS::vector<Node> segments_;
214 return IsValid() && !segments_.empty() && segments_[0].type == Node::PROPERTY; in ReferencesProperty()
229 inline RefUri::Node RefUri::TakeFirstNode() in TakeFirstNode()
231 Node n = segments_.back(); in TakeFirstNode()
236 inline RefUri::Node RefUri::TakeLastNode() in TakeLastNode()
238 Node n = segments_.front(); in TakeLastNode()
270 segments_.push_back(Node { BASE_N in PushObjectSegment()
[all...]
/foundation/communication/netstack/frameworks/cj/http/include/
H A Dlru_cache_disk_handler.h53 struct Node { struct in OHOS::NetStack::Http::LRUCache
57 Node() = delete;
59 Node(std::string key, std::unordered_map<std::string, std::string> value);
62 void AddNode(const Node &node);
64 void MoveNodeToHead(const std::list<Node>::iterator &it);
69 std::unordered_map<std::string, std::list<Node>::iterator> cache_;
70 std::list<Node> nodeList_;
/foundation/communication/netstack/frameworks/js/napi/http/cache/lru_cache/src/
H A Dlru_cache.cpp47 LRUCache::Node::Node(std::string key, std::unordered_map<std::string, std::string> value) in Node() function in OHOS::NetStack::Http::LRUCache::Node
56 void LRUCache::AddNode(const Node &node) in AddNode()
63 void LRUCache::MoveNodeToHead(const std::list<Node>::iterator &it) in MoveNodeToHead()
77 Node node = nodeList_.back(); in EraseTailNode()
106 AddNode(Node(key, value)); in Put()
127 std::list<Node> reverseList; in MergeOtherCache()
165 std::vector<Node> nodeVec; in ReadCacheFromJsonValue()
187 std::sort(nodeVec.begin(), nodeVec.end(), [](Node &a, Node in ReadCacheFromJsonValue()
[all...]
/foundation/window/window_manager/utils/test/unittest/
H A Dwm_occlusion_region_test.cpp88 * @tc.name: Node::Update01
89 * @tc.desc: test WmOcclusion::Node::Update
94 Node* rootNode = new Node(0, 2); in HWTEST_F()
131 * @tc.name: Node::GetAndRange01
132 * @tc.desc: test WmOcclusionRegion WmOcclusion::Node::GetAndRange
137 Node* rootNode = new Node(0, 2); in HWTEST_F()
149 rootNode->left_ = new Node { 0, 1 }; in HWTEST_F()
156 rootNode->right_ = new Node { in HWTEST_F()
[all...]
/foundation/communication/wifi/wifi/base/cRPC/include/
H A Dserver.h29 struct Node { struct
31 struct Node *next;
37 struct Node *head;
/foundation/distributeddatamgr/kv_store/frameworks/common/test/
H A Dpool_test.cpp28 struct Node { struct in OHOS::Test::PoolTest
30 bool operator==(Node &other) in operator ==()
43 static Pool<PoolTest::Node> pool_;
45 Pool<PoolTest::Node> PoolTest::pool_ = Pool<PoolTest::Node>(CAPABILITY_TEST, MIN_TEST);
58 auto close = [](std::shared_ptr<PoolTest::Node> data) { in TearDown()
233 auto data = std::make_shared<PoolTest::Node>(); in HWTEST_F()
317 auto close = [](std::shared_ptr<PoolTest::Node> data) { in HWTEST_F()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/common/include/
H A Djson_common.h33 static int ParseNode(JsonObject &Node, std::vector<std::string> singlePath,
45 static bool CheckNode(JsonObject &Node);
46 static bool CheckProjectionNode(JsonObject &Node, bool isFirstLevel, int &errCode);
47 static void CheckLeafNode(const JsonObject &Node, std::vector<ValueObject> &leafValue);
/foundation/ability/ability_runtime/services/dataobsmgr/src/
H A Ddataobs_mgr_inner_ext.cpp25 DataObsMgrInnerExt::DataObsMgrInnerExt() : root_(std::make_shared<Node>("root")) {} in DataObsMgrInnerExt()
170 DataObsMgrInnerExt::Node::Node(const std::string &name) : name_(name) {} in Node() function in OHOS::AAFwk::DataObsMgrInnerExt::Node
172 void DataObsMgrInnerExt::Node::GetObs(const std::vector<std::string> &path, uint32_t index, Uri &uri, ObsMap &obsRes) in GetObs()
196 bool DataObsMgrInnerExt::Node::AddObserver(const std::vector<std::string> &path, uint32_t index, const Entry &entry) in AddObserver()
206 auto it = childrens_.try_emplace(path[index], std::make_shared<Node>(path[index])).first; in AddObserver()
210 bool DataObsMgrInnerExt::Node::RemoveObserver(const std::vector<std::string> &path, uint32_t index, in RemoveObserver()
230 bool DataObsMgrInnerExt::Node::RemoveObserver(sptr<IRemoteObject> dataObserver) in RemoveObserver()
249 inline bool DataObsMgrInnerExt::Node::RemoveObserver(sptr<IDataAbilityObserver> dataObserver) in RemoveObserver()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/common/
H A Drs_occlusion_region_test.cpp32 static inline std::shared_ptr<Node> testnode;
40 testnode = std::make_shared<Node>(s, e); in SetUp()
116 testnode->left_ = new Node(0, 1); in HWTEST_F()
117 testnode->right_ = new Node(0, 1); in HWTEST_F()
143 testnode->left_ = new Node(0, 1); in HWTEST_F()
144 testnode->right_ = new Node(0, 1); in HWTEST_F()
171 testnode->left_ = new Node(0, 1); in HWTEST_F()
172 testnode->right_ = new Node(0, 1); in HWTEST_F()
203 testnode->left_ = new Node(0, 1); in HWTEST_F()
204 testnode->right_ = new Node( in HWTEST_F()
[all...]
/foundation/ability/ability_runtime/services/dataobsmgr/include/
H A Ddataobs_mgr_inner_ext.h66 class Node { class in OHOS::AAFwk::DataObsMgrInnerExt
68 Node(const std::string &name);
79 std::map<std::string, std::shared_ptr<Node>> childrens_;
88 std::shared_ptr<Node> root_;
/foundation/window/window_manager/utils/include/
H A Dwm_occlusion_region.h84 class Node { class
89 Node* left_ = nullptr;
90 Node* right_ = nullptr;
94 Node(int s, int e) : start_(s), end_(e), mid_((s + e) >> 1) {} in Node() function in OHOS::Rosen::WmOcclusion::Node
95 ~Node() in ~Node()
266 void getRange(std::vector<Range>& ranges, Node& node, OP op);
/foundation/communication/netstack/frameworks/cj/http/src/
H A Dlru_cache_disk_handler.cpp43 LRUCache::Node::Node(std::string key, std::unordered_map<std::string, std::string> value) in Node() function in OHOS::NetStack::Http::LRUCache::Node
52 void LRUCache::AddNode(const Node &node) in AddNode()
59 void LRUCache::MoveNodeToHead(const std::list<Node>::iterator &it) in MoveNodeToHead()
73 Node node = nodeList_.back(); in EraseTailNode()
102 AddNode(Node(key, value)); in Put()
123 std::list<Node> reverseList; in MergeOtherCache()
161 std::vector<Node> nodeVec; in ReadCacheFromJsonValue()
183 std::sort(nodeVec.begin(), nodeVec.end(), [](Node &a, Node in ReadCacheFromJsonValue()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/common/
H A Drs_occlusion_region.cpp41 void Node::Update(int updateStart, int updateEnd, Event::Type type) in Update()
54 left_ = new Node { start_, mid_ }; in Update()
57 right_ = new Node { mid_, end_ }; in Update()
69 void Node::GetAndRange(std::vector<Range>& res, bool isParentNodePos = false, bool isParentNodeNeg = false) in GetAndRange()
85 void Node::GetOrRange(std::vector<Range>& res, bool isParentNodePos = false, bool isParentNodeNeg = false) in GetOrRange()
101 void Node::GetXOrRange(std::vector<Range>& res, bool isParentNodePos = false, bool isParentNodeNeg = false) in GetXOrRange()
119 void Node::GetSubRange(std::vector<Range>& res, bool isParentNodePos = false, bool isParentNodeNeg = false) in GetSubRange()
149 void Region::getRange(std::vector<Range>& ranges, Node& node, Region::OP op) in getRange()
262 Node rootNode { 0, static_cast<int>(indexOf.size() - 1) }; in RegionOpLocal()

Completed in 11 milliseconds

123