Home
last modified time | relevance | path

Searched refs:pNode (Results 1 - 7 of 7) sorted by relevance

/foundation/communication/dhcp/services/dhcp_server/src/
H A Ddhcp_option.cpp31 DhcpOptionNode *pNode = (DhcpOptionNode *)calloc(1, sizeof(DhcpOptionNode)); in CreateOptionNode() local
32 if (pNode == nullptr) { in CreateOptionNode()
36 pNode->option.code = opt->code; in CreateOptionNode()
37 pNode->option.length = opt->length; in CreateOptionNode()
38 if (memcpy_s(pNode->option.data, sizeof(pNode->option.data), opt->data, opt->length) != EOK) { in CreateOptionNode()
40 free(pNode); in CreateOptionNode()
41 pNode = nullptr; in CreateOptionNode()
44 pNode->previous = pNode in CreateOptionNode()
71 DhcpOptionNode *pNode = (DhcpOptionNode *)calloc(1, sizeof(DhcpOptionNode)); InitOptionList() local
99 DhcpOptionNode *pNode = CreateOptionNode(pOption); PushBackOption() local
122 PDhcpOptionNode pNode = CreateOptionNode(pOption); PushFrontOption() local
150 DhcpOptionNode *pNode = GetOptionNode(pOptions, code); RemoveOption() local
172 PDhcpOptionNode pNode = pOptions->first->next; GetOptionNode() local
181 PDhcpOptionNode pNode = GetOptionNode(pOptions, code); GetOption() local
193 DhcpOptionNode *pNode = pOptions->first->next; ClearOptions() local
220 DhcpOptionNode *pNode = pOptions->first->next; FreeOptionList() local
[all...]
H A Ddhcp_s_server.cpp1518 DhcpOptionNode *pNode = srvIns->addressPool.fixedOptions.first->next; in AppendFixedOptions() local
1519 for (size_t i = 0; pNode != nullptr && i < srvIns->addressPool.fixedOptions.size; i++) { in AppendFixedOptions()
1521 if (pNode->option.code) { in AppendFixedOptions()
1522 opt = GetOption(&reply->options, pNode->option.code); in AppendFixedOptions()
1525 PushBackOption(&reply->options, &pNode->option); in AppendFixedOptions()
1527 pNode = pNode->next; in AppendFixedOptions()
1757 PDhcpOptionNode pNode = reply->options.first; in ValidateReplyOptions() local
1758 if (!pNode) { in ValidateReplyOptions()
1775 PDhcpOptionNode pNode in ParseReplyOptions() local
1909 DhcpOptionNode *pNode = config->options.first->next; InitServerFixedOptions() local
[all...]
/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()
/foundation/communication/wifi/wifi/base/utils/
H A Dwifi_app_parser.cpp391 xmlNodePtr pNode = nullptr;
395 pNode = cur;
400 if (pNode == nullptr) {
404 strFileVersion = GetStringValue(pNode);
/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->primitive_); 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->primitive_); 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->primitive_); in IsOfflineModel()

Completed in 9 milliseconds