Home
last modified time | relevance | path

Searched refs:pNode (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/communication/dhcp/services/dhcp_server/src/
H A Ddhcp_option.cpp44 pNode->previous = pNode->next = 0; in CreateOptionNode()
45 return pNode; in CreateOptionNode()
133 pNode->next->previous = pNode; in PushFrontOption()
158 pNode->next->previous = pNode->previous; in RemoveOption()
159 pNode->previous->next = pNode->next; in RemoveOption()
173 while (pNode != nullptr && pNode->option.code != code) { in GetOptionNode()
174 pNode = pNode->next; in GetOptionNode()
199 pNode->next->previous = pNode->previous; in ClearOptions()
200 pNode->previous->next = pNode->next; in ClearOptions()
226 pNode->next->previous = pNode->previous; in FreeOptionList()
[all …]
H A Ddhcp_s_server.cpp1523 if (pNode->option.code) { in AppendFixedOptions()
1529 pNode = pNode->next; in AppendFixedOptions()
1788 PDhcpOptionNode pNode = reply->options.first; in ValidateReplyOptions() local
1789 if (!pNode) { in ValidateReplyOptions()
1806 PDhcpOptionNode pNode = reply->options.first->next; in ParseReplyOptions() local
1821 while (pNode && (uint32_t)pNode->option.length < DHCP_OPTION_SIZE) { in ParseReplyOptions()
1822 if ((uint32_t)pNode->option.code == END_OPTION) { in ParseReplyOptions()
1835 if ((uint32_t)pNode->option.code == END_OPTION) { in ParseReplyOptions()
1838 pNode = pNode->next; in ParseReplyOptions()
1944 pNode->option.length); in InitServerFixedOptions()
[all …]
/ohos5.0/foundation/communication/dhcp/test/unittest/services/dhcp_server/unittest/
H A Ddhcp_message_sim.cpp179 PDhcpOptionNode pNode = msg->options.first->next; in ParseDhcpOptions() local
192 while (pNode && (uint32_t)pNode->option.length < DHCP_OPTION_SIZE) { in ParseDhcpOptions()
193 if ((uint32_t)pNode->option.code == END_OPTION) { in ParseDhcpOptions()
196 olen = OPT_HEADER_LENGTH + pNode->option.length; in ParseDhcpOptions()
198 if (memcpy_s(current, olen, &pNode->option, olen) != EOK) { in ParseDhcpOptions()
205 if ((uint32_t)pNode->option.code == END_OPTION) { in ParseDhcpOptions()
208 pNode = pNode->next; in ParseDhcpOptions()
/ohos5.0/commonlibrary/ets_utils/js_api_module/convertxml/
H A Djs_convertxml.cpp249 xmlNodePtr pNode = curNode; in GetXMLInfo() local
252 while (pNode != nullptr) { in GetXMLInfo()
254 if (pNode->type == xmlElementType::XML_TEXT_NODE && in GetXMLInfo()
255 (pNode->next != nullptr || pNode->prev != nullptr)) { in GetXMLInfo()
256 pNode = pNode->next; in GetXMLInfo()
263 SetNodeInfo(env, pNode, elementsObject, parentName); in GetXMLInfo()
264 SetAttributes(env, pNode, elementsObject); in GetXMLInfo()
267 if (pNode->children != nullptr) { in GetXMLInfo()
268 curNode = pNode->children; in GetXMLInfo()
274 SetEndInfo(env, pNode, elementsObject, bFlag); in GetXMLInfo()
[all …]
/ohos5.0/foundation/communication/wifi/wifi/base/utils/
H A Dwifi_app_parser.cpp391 xmlNodePtr pNode = nullptr; in GetLocalFileVersion() local
395 pNode = cur; in GetLocalFileVersion()
400 if (pNode == nullptr) { in GetLocalFileVersion()
404 strFileVersion = GetStringValue(pNode); in GetLocalFileVersion()
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/
H A Dhdi_device_v2_0.cpp112 const mindspore::lite::LiteGraph::Node* pNode = liteGraph->all_nodes_[0]; in IsOfflineModel() local
113 if (pNode == nullptr) { in IsOfflineModel()
118 if (pNode->primitive_ == nullptr) { in IsOfflineModel()
123 …const mindspore::lite::NodeType& nodeType = mindspore::lite::MindIR_Primitive_GetType(pNode->primi… in IsOfflineModel()
H A Dhdi_device_v2_1.cpp112 const mindspore::lite::LiteGraph::Node* pNode = liteGraph->all_nodes_[0]; in IsOfflineModel() local
113 if (pNode == nullptr) { in IsOfflineModel()
118 …const mindspore::lite::NodeType& nodeType = mindspore::lite::MindIR_Primitive_GetType(pNode->primi… in IsOfflineModel()
H A Dnncompiler.cpp331 const mindspore::lite::LiteGraph::Node* pNode = m_liteGraph->all_nodes_[0]; in IsOfflineModel() local
332 if (pNode == nullptr) { in IsOfflineModel()
337 …const mindspore::lite::NodeType& nodeType = mindspore::lite::MindIR_Primitive_GetType(pNode->primi… in IsOfflineModel()