Home
last modified time | relevance | path

Searched refs:curNode (Results 1 – 25 of 45) sorted by relevance

12

/ohos5.0/base/hiviewdfx/hicollie/frameworks/native/thread_sampler/
H A Dsample_stack_printer.cpp35 return curNode; in Insert()
42 curNode->current->index = curNode->level; in Insert()
45 return curNode; in Insert()
53 curNode->child->level = curNode->level + 1; in Insert()
62 curNode = curNode->child; in Insert()
67 curNode->siblings->level = curNode->level; in Insert()
69 curNode = AdjustSiblings(acientNode, curNode, node); in Insert()
70 return curNode; in Insert()
75 curNode = AdjustSiblings(acientNode, curNode, curNode->siblings); in Insert()
76 return curNode; in Insert()
[all …]
/ohos5.0/commonlibrary/ets_utils/js_api_module/convertxml/
H A Djs_convertxml.cpp107 curNode = curNode->prev; in GetPrevNodeList()
249 xmlNodePtr pNode = curNode; in GetXMLInfo()
311 xmlNodePtr curNode = nullptr; in Convert() local
554 xmlNodePtr curNode = nullptr; in DealComplex() local
562 curNode = curNode->children; in DealComplex()
577 (curNode->next != nullptr || curNode->prev != nullptr)) { in DealComplex()
578 curNode = curNode->next; in DealComplex()
603 curNode->next && curNode->next->type == xmlElementType::XML_TEXT_NODE && in DealCDataInfo()
604curNode->next->next && curNode->next->next->type == xmlElementType::XML_CDATA_SECTION_NODE) { in DealCDataInfo()
613 curNode = curNode->next->next; in DealCDataInfo()
[all …]
H A Djs_convertxml.h125 … void SetAttributes(napi_env env, xmlNodePtr curNode, const napi_value &elementsObject) const;
126 …void SetXmlElementType(napi_env env, xmlNodePtr curNode, const napi_value &elementsObject, bool &b…
127 void SetNodeInfo(napi_env env, xmlNodePtr curNode, const napi_value &elementsObject,
129 …void SetEndInfo(napi_env env, xmlNodePtr curNode, const napi_value &elementsObject, bool &bFlag) c…
130 void GetXMLInfo(napi_env env, xmlNodePtr curNode, const napi_value &object,
136 void GetPrevNodeList(napi_env env, xmlNodePtr curNode);
145 void DealCDataInfo(bool bCData, xmlNodePtr &curNode) const;
/ohos5.0/foundation/systemabilitymgr/samgr_lite/samgr_endpoint/source/
H A Dsa_store.c30 while (curNode != NULL) { in FindServiceByName()
34 curNode = curNode->next; in FindServiceByName()
36 return curNode; in FindServiceByName()
41 while (curNode != NULL) { in FindFeatureByName()
46 curNode = curNode->next; in FindFeatureByName()
48 return curNode; in FindFeatureByName()
63 FeatureNode *fNode = (curNode == NULL) ? NULL : curNode->info.head; in SASTORA_Save()
88 if (curNode == NULL) { in SASTORA_Save()
90 if (curNode == NULL) { in SASTORA_Save()
106 curNode->info.head = fNode; in SASTORA_Save()
[all …]
/ohos5.0/commonlibrary/ets_utils/js_api_module/convertxml/test/
H A Dtest_convertxml.h28 static void GetPrevNodeList(napi_env env, xmlNodePtr curNode);
36 static void DealCDataInfo(napi_env env, bool bCData, xmlNodePtr &curNode);
37 static void GetAnDSetPrevNodeList(napi_env env, xmlNodePtr curNode);
52 void CxmlTest::GetPrevNodeList(napi_env env, xmlNodePtr curNode) in GetPrevNodeList() argument
55 convert.GetPrevNodeList(env, curNode); in GetPrevNodeList()
61 convert.SetXmlElementType(env, curNode, elementsObject, bFlag); in SetXmlElementType()
67 convert.SetNodeInfo(env, curNode, elementsObject); in SetNodeInfo()
103 convert.DealCDataInfo(bCData, curNode); in DealCDataInfo()
106 void CxmlTest::GetAnDSetPrevNodeList(napi_env env, xmlNodePtr curNode) in GetAnDSetPrevNodeList() argument
109 convert.GetPrevNodeList(env, curNode); in GetAnDSetPrevNodeList()
[all …]
H A Dtest_convertxml.cpp666 xmlNodePtr curNode = new xmlNode; variable
668 curNode->prev = curNode1;
674 ASSERT_TRUE(curNode != nullptr);
675 delete curNode;
682 xmlNodePtr curNode = new xmlNode; variable
684 curNode->prev = curNode1;
690 ASSERT_TRUE(curNode != nullptr);
691 delete curNode;
810 curNode->next = curNode1;
820 delete curNode;
[all …]
/ohos5.0/base/powermgr/thermal_manager/test/unittest/src/
H A Dthermal_config_file_parser.cpp140 auto curNode = node->xmlChildrenNode; in ParseBaseNode() local
141 while (curNode != nullptr) { in ParseBaseNode()
155 curNode = curNode->next; in ParseBaseNode()
164 while (curNode != nullptr) { in ParseLevelNode()
183 curNode = curNode->next; in ParseLevelNode()
190 while (curNode != nullptr) { in ParseStateNode()
207 curNode = curNode->next; in ParseStateNode()
214 while (curNode != nullptr) { in ParseActionNode()
251 curNode = curNode->next; in ParseActionNode()
258 while (curNode != nullptr) { in ParsePolicyNode()
[all …]
/ohos5.0/foundation/ability/dmsfwk_lite/source/
H A Ddmslite_parser.c141 if (lastNode == curNode) { in CheckNodeSequence()
144 if (lastNode->type >= curNode->type) { in CheckNodeSequence()
146 lastNode->type, curNode->type); in CheckNodeSequence()
160 (*curNode)->next = next; in MoveToNextTlvNode()
161 *curNode = next; in MoveToNextTlvNode()
181 TlvNode *curNode = head; in TlvBytesToNode() local
182 TlvNode *lastNode = curNode; in TlvBytesToNode()
198 errCode = CheckNodeSequence(lastNode, curNode); in TlvBytesToNode()
207 curNode->type, handledNodeNum); in TlvBytesToNode()
210 lastNode = curNode; in TlvBytesToNode()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/
H A Dnavigation_group_node.cpp513 if (curNode) { in CreateAnimationWithPop()
534 if (curNode) { in CreateAnimationWithPop()
629 if (curNode) { in CreateAnimationWithPush()
655 if (curNode) { in CreateAnimationWithPush()
668 CHECK_NULL_VOID(curNode); in CreateAnimationWithPush()
700 CHECK_NULL_VOID(curNode); in TransitionWithPush()
739 if (curNode) { in TransitionWithPush()
824 CHECK_NULL_VOID(curNode); in TransitionWithReplace()
860 [curNode]() { in TransitionWithReplace()
1493 if (curNode && curNode->GetTag() == V2::NAVDESTINATION_VIEW_ETS_TAG) { in FindNodesPoped()
[all …]
H A Dnavigation_group_node.h158 …ual void CreateAnimationWithPop(const RefPtr<FrameNode>& preNode, const RefPtr<FrameNode>& curNode,
160 …al void CreateAnimationWithPush(const RefPtr<FrameNode>& preNode, const RefPtr<FrameNode>& curNode,
168 …void TransitionWithReplace(const RefPtr<FrameNode>& preNode, const RefPtr<FrameNode>& curNode, boo…
183 … void TransitionWithDialogPush(const RefPtr<FrameNode>& preNode, const RefPtr<FrameNode>& curNode,
185 void TransitionWithDialogPop(const RefPtr<FrameNode>& preNode, const RefPtr<FrameNode>& curNode,
187 void StartDialogtransition(const RefPtr<FrameNode>& preNode, const RefPtr<FrameNode>& curNode,
191 … void InitPopCurList(const RefPtr<FrameNode>& curNode, std::vector<WeakPtr<FrameNode>>& curNavList,
195 …void InitPushCurList(const RefPtr<FrameNode>& curNode, std::vector<WeakPtr<FrameNode>>& curNavList…
198 const RefPtr<FrameNode>& curNode);
199 …id DialogTransitionPopAnimation(const RefPtr<FrameNode>& preNode, const RefPtr<FrameNode>& curNode,
[all …]
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/config/
H A Daudio_concurrency_parser.cpp39 xmlNode *curNode = node; in ParseInternal() local
40 for (; curNode; curNode = curNode->next) { in ParseInternal()
41 if (curNode->type == XML_ELEMENT_NODE && in ParseInternal()
42 !xmlStrcmp(curNode->name, reinterpret_cast<const xmlChar*>("existingStream"))) { in ParseInternal()
43 char *nodeName = reinterpret_cast<char*>(xmlGetProp(curNode, in ParseInternal()
47 ParseIncoming(existingStream, curNode->children, concurrencyMap); in ParseInternal()
49 ParseInternal((curNode->children), concurrencyMap); in ParseInternal()
/ohos5.0/drivers/hdf_core/framework/utils/src/hcs_parser/
H A Dhcs_tree_if.c355 const struct DeviceResourceNode *nextNode = curNode; in TraverseTreeNode()
365 const struct DeviceResourceNode *curNode = NULL; in HcsGetNodeByMatchAttr() local
372 while (curNode != NULL) { in HcsGetNodeByMatchAttr()
376 curNode = (curNode->child != NULL) ? curNode->child : TraverseTreeNode(curNode); in HcsGetNodeByMatchAttr()
378 return curNode; in HcsGetNodeByMatchAttr()
401 const struct DeviceResourceNode *curNode = NULL; in HcsGetNodeByRefAttr() local
414 curNode = instance->GetRootNode(); in HcsGetNodeByRefAttr()
415 while (curNode != NULL) { in HcsGetNodeByRefAttr()
416 if (curNode->hashValue == attrValue) { in HcsGetNodeByRefAttr()
419 curNode = (curNode->child != NULL) ? curNode->child : TraverseTreeNode(curNode); in HcsGetNodeByRefAttr()
[all …]
H A Dhcs_generate_tree.c34 struct DeviceResourceNode *curNode = NULL; in CreateTreeNode() local
40 curNode = parentNode->child; in CreateTreeNode()
41 while ((curNode != NULL) && (curNode->sibling != NULL)) { in CreateTreeNode()
42 curNode = curNode->sibling; in CreateTreeNode()
44 if (curNode == NULL) { in CreateTreeNode()
47 curNode->sibling = newNode; in CreateTreeNode()
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/capability/html/
H A Dhtml_to_span.cpp817 xmlAttrPtr curNode = node->properties; in ToParagraphSpan() local
818 if (curNode == nullptr) { in ToParagraphSpan()
822 for (; curNode; curNode = curNode->next) { in ToParagraphSpan()
848 auto attrContent = xmlGetProp(curNode->parent, curNode->name); in ToTextSpanStyle()
895 for (; curNode; curNode = curNode->next) { in ToTextSpan()
923 for (; curNode; curNode = curNode->next) { in ToImage()
924 auto attrContent = xmlGetProp(curNode->parent, curNode->name); in ToImage()
949 if (curNode->content) { in ToSpan()
976 xmlNodePtr curNode = nullptr; in ParaseHtmlToSpanInfo() local
977 for (curNode = node; curNode; curNode = curNode->next) { in ParaseHtmlToSpanInfo()
[all …]
/ohos5.0/foundation/resourceschedule/frame_aware_sched/frameworks/core/frame_aware_policy/src/
H A Dpara_config.cpp151 for (xmlNodePtr curNode = root->xmlChildrenNode; curNode != nullptr; curNode = curNode->next) { in ReadFrameConfig() local
152 if (IsValidNode(*curNode)) { in ReadFrameConfig()
158 ReadAttr(curNode, "render_type", key1); in ReadFrameConfig()
159 ReadAttr(curNode, "fps_list", key2); in ReadFrameConfig()
163 xmlNodePtr curSubNode = curNode->xmlChildrenNode; in ReadFrameConfig()
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/native/ndk/
H A Dhiappevent_ndk.c106 ParamList curNode = list; in OH_HiAppEvent_DestroyParamList() local
107 while (curNode != NULL) { in OH_HiAppEvent_DestroyParamList()
108 ParamList nextNode = curNode->next; in OH_HiAppEvent_DestroyParamList()
109 DestroyParamEntry(curNode->entry); in OH_HiAppEvent_DestroyParamList()
110 free(curNode); in OH_HiAppEvent_DestroyParamList()
111 curNode = nextNode; in OH_HiAppEvent_DestroyParamList()
133 ParamList curNode = list; in AddParamValue() local
134 while (curNode != NULL) { in AddParamValue()
135 if (curNode->next == NULL) { in AddParamValue()
150 curNode->next = node; in AddParamValue()
[all …]
/ohos5.0/base/powermgr/display_manager/state_manager/service/native/src/
H A Ddisplay_auto_brightness.cpp53 auto curNode = TRANSFORM_NODE_TABLE[count]; in CalculateAutoBrightness() local
54 if (lastNode.lux <= scalar && scalar < curNode.lux) { in CalculateAutoBrightness()
56 ((curNode.brightness - lastNode.brightness) / (curNode.lux - lastNode.lux))); in CalculateAutoBrightness()
/ohos5.0/commonlibrary/ets_utils/js_util_module/container/list/
H A Djs_list.ts217 let curNode: NodeObj<T> = undefined;
218 curNode = this.getNode(i);
219 if (curNode !== undefined && curNode.element === element) {
228 let curNode: NodeObj<T> = undefined;
229 curNode = this.getNode(i);
230 if (curNode !== undefined && curNode.element === element) {
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/
H A Dhiappevent_c.cpp173 ParamList curNode = list; in AddParamList() local
174 while (curNode != nullptr) { in AddParamList()
175 AddParamEntry(appEventPack, curNode->entry); in AddParamList()
176 curNode = curNode->next; in AddParamList()
/ohos5.0/foundation/ability/idl_tool/idl_tool_2/preprocessor/
H A Dpreprocessor.cpp310 void Preprocessor::FindCycle(const std::string &curNode, FileDetailMap &allFiles, std::vector<std::… in FindCycle() argument
312 auto iter = std::find_if(trace.begin(), trace.end(), [curNode](const std::string &name) { in FindCycle()
313 return name == curNode; in FindCycle()
322 sb.AppendFormat("%s", curNode.c_str()); in FindCycle()
328 trace.push_back(curNode); in FindCycle()
329 for (const auto &importFileName : allFiles[curNode].imports_) { in FindCycle()
/ohos5.0/drivers/hdf_core/framework/tools/hdi-gen/preprocessor/
H A Dpreprocessor.cpp295 void Preprocessor::FindCycle(const std::string &curNode, FileDetailMap &allFiles, std::vector<std::… in FindCycle() argument
297 auto iter = std::find_if(trace.begin(), trace.end(), [curNode](const std::string &name) { in FindCycle()
298 return name == curNode; in FindCycle()
307 sb.AppendFormat("%s", curNode.c_str()); in FindCycle()
313 trace.push_back(curNode); in FindCycle()
314 for (const auto &importFileName : allFiles[curNode].imports_) { in FindCycle()
/ohos5.0/foundation/filemanagement/dfs_service/services/clouddisk_database/src/
H A Dclouddisk_notify.cpp282 CacheNode curNode{paramService.cloudId}; in HandleUpdate() local
283 if (rdbStore->GetCurNode(paramService.cloudId, curNode) == E_OK && in HandleUpdate()
284 rdbStore->GetNotifyUri(curNode, notifyData.uri) == E_OK) { in HandleUpdate()
286 notifyData.isDir = curNode.isDir == TYPE_DIR_STR; in HandleUpdate()
392 CacheNode curNode{cloudId}; in GetDeleteNotifyData() local
393 …if (rdbStore->GetCurNode(cloudId, curNode) == E_OK && rdbStore->GetNotifyUri(curNode, notifyData.u… in GetDeleteNotifyData()
394 notifyData.isDir = curNode.isDir == TYPE_DIR_STR; in GetDeleteNotifyData()
/ohos5.0/commonlibrary/ets_utils/js_util_module/container/linkedlist/
H A Djs_linkedlist.ts226 let curNode: NodeObj<T> = this.getNode(i);
227 if (curNode !== undefined && curNode.element === element) {
236 let curNode: NodeObj<T> = this.getNode(i);
237 if (curNode !== undefined && curNode.element === element) {
/ohos5.0/base/msdp/device_status/services/interaction/drag/src/
H A Ddrag_drawing.cpp1448 curNode = curNode->xmlChildrenNode; in GetRectNode()
1452 curNode = curNode->xmlChildrenNode; in GetRectNode()
1456 curNode = curNode->next; in GetRectNode()
1459 return curNode; in GetRectNode()
1480 curNode = curNode->next; in UpdateRectNode()
1493 curNode = curNode->next; in UpdateTspanNode()
1501 CHKPR(curNode, RET_ERR); in ParseAndAdjustSvgInfo()
1514 curNode = GetRectNode(curNode); in ParseAndAdjustSvgInfo()
1515 CHKPR(curNode, RET_ERR); in ParseAndAdjustSvgInfo()
1516 curNode = UpdateRectNode(extendSvgWidth, curNode); in ParseAndAdjustSvgInfo()
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/navigation/
H A Dnavigation_layout_test_ng.cpp1413 auto curNode = preNode; variable
1414 ASSERT_NE(curNode, nullptr);
1422 navigationNode->TransitionWithPush(preNode, curNode, isNavBar);
1445 auto curNode = NavDestinationGroupNode::GetOrCreateGroupNode( variable
1449 curNode->titleBarNode_ = titleBarNode;
1455 navigationNode->TransitionWithPush(preNode, curNode, isNavBar);
1478 auto curNode = NavDestinationGroupNode::GetOrCreateGroupNode( variable
1482 curNode->titleBarNode_ = titleBarNode;
1488 navigationNode->TransitionWithPush(preNode, curNode, isNavBar);
1506 auto curNode = NavDestinationGroupNode::GetOrCreateGroupNode( variable
[all …]

12