Home
last modified time | relevance | path

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

/base/powermgr/thermal_manager/test/unittest/src/
Dthermal_config_file_parser.cpp128 auto curNode = node->xmlChildrenNode; in ParseBaseNode() local
129 while (curNode != nullptr) { in ParseBaseNode()
131 xmlChar* xmlTag = xmlGetProp(curNode, BAD_CAST"tag"); in ParseBaseNode()
137 xmlChar* xmlValue = xmlGetProp(curNode, BAD_CAST"value"); in ParseBaseNode()
143 curNode = curNode->next; in ParseBaseNode()
151 auto curNode = node->xmlChildrenNode; in ParseLevelNode() local
152 while (curNode != nullptr) { in ParseLevelNode()
155 xmlChar* xmlName = xmlGetProp(curNode, BAD_CAST"name"); in ParseLevelNode()
160 ParseAuxSensorInfo(curNode, sc); in ParseLevelNode()
161 ParseSensorInfo(name, curNode, sc); in ParseLevelNode()
[all …]
/base/powermgr/display_manager/service/native/src/
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()
/base/hiviewdfx/hiappevent/frameworks/native/ndk/
Dhiappevent_ndk.c104 ParamList curNode = list; in OH_HiAppEvent_DestroyParamList() local
105 while (curNode != NULL) { in OH_HiAppEvent_DestroyParamList()
106 ParamList nextNode = curNode->next; in OH_HiAppEvent_DestroyParamList()
107 DestroyParamEntry(curNode->entry); in OH_HiAppEvent_DestroyParamList()
108 free(curNode); in OH_HiAppEvent_DestroyParamList()
109 curNode = nextNode; in OH_HiAppEvent_DestroyParamList()
131 ParamList curNode = list; in AddParamValue() local
132 while (curNode != NULL) { in AddParamValue()
133 if (curNode->entry != NULL && (strcmp(name, curNode->entry->name) == 0)) { in AddParamValue()
135 ParamValue* oldValue = curNode->entry->value; in AddParamValue()
[all …]
/base/msdp/device_status/services/interaction/drag/src/
Ddrag_drawing.cpp827 int32_t DragDrawing::UpdateSvgNodeInfo(xmlNodePtr curNode, int32_t extendSvgWidth) in UpdateSvgNodeInfo() argument
830 if (xmlStrcmp(curNode->name, BAD_CAST "svg")) { in UpdateSvgNodeInfo()
835 oStrStream << xmlGetProp(curNode, BAD_CAST "width"); in UpdateSvgNodeInfo()
849 xmlSetProp(curNode, BAD_CAST "width", BAD_CAST tgtSvgWidth.c_str()); in UpdateSvgNodeInfo()
851 oStrStream << xmlGetProp(curNode, BAD_CAST "viewBox"); in UpdateSvgNodeInfo()
871 xmlSetProp(curNode, BAD_CAST "viewBox", BAD_CAST tgtViewBox.c_str()); in UpdateSvgNodeInfo()
875 xmlNodePtr DragDrawing::GetRectNode(xmlNodePtr curNode) in GetRectNode() argument
878 curNode = curNode->xmlChildrenNode; in GetRectNode()
879 while (curNode != nullptr) { in GetRectNode()
880 if (!xmlStrcmp(curNode->name, BAD_CAST "g")) { in GetRectNode()
[all …]
/base/msdp/device_status/services/interaction/drag/include/
Ddrag_drawing.h139 int32_t UpdateSvgNodeInfo(xmlNodePtr curNode, int32_t extendSvgWidth);
140 xmlNodePtr GetRectNode(xmlNodePtr curNode);
141 xmlNodePtr UpdateRectNode(int32_t extendSvgWidth, xmlNodePtr curNode);
142 void UpdateTspanNode(xmlNodePtr curNode);
143 int32_t ParseAndAdjustSvgInfo(xmlNodePtr curNode);
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/
Dhiappevent_c.cpp165 ParamList curNode = list; in AddParamList() local
166 while (curNode != nullptr) { in AddParamList()
167 AddParamEntry(appEventPack, curNode->entry); in AddParamList()
168 curNode = curNode->next; in AddParamList()
/base/hiviewdfx/faultloggerd/interfaces/innerkits/callstack/include/
Dhashlist.hpp832 LinkNode<Key, Val> *curNode = pos.GetNode(); in MoveNode() local
833 if (curNode == pnode) { in MoveNode()
836 if (pnode->link_.next_ == &curNode->link_) { in MoveNode()
845 Link *currLink = &curNode->link_; in MoveNode()