/ohos5.0/foundation/communication/dhcp/test/unittest/services/dhcp_server/unittest/ |
H A D | dhcp_option_test.cpp | 144 const char *serverInfo = "dhcp server 1.0"; variable 150 EXPECT_EQ(RET_ERROR, FillOption(NULL, serverInfo, strlen(serverInfo))); 151 EXPECT_EQ(RET_SUCCESS, FillOption(&optVendorInfo, serverInfo, strlen(serverInfo)));
|
/ohos5.0/base/startup/appspawn/test/unittest/ |
H A D | app_spawn_test_helper.cpp | 297 ServerInfo *serverInfo = (ServerInfo *)LE_GetUserData(server); in OnConnection() local 298 APPSPAWN_CHECK(serverInfo != nullptr, return -1, "Failed to alloc stream"); in OnConnection() 309 connection->recvMsgProcess = serverInfo->recvMsgProcess; in OnConnection() 368 ServerInfo *serverInfo = (ServerInfo *)LE_GetUserData(serverHandle_); in Run() local 369 APPSPAWN_CHECK(serverInfo != nullptr, return -1, "Failed to alloc stream"); in Run() 370 serverInfo->local = this; in Run() 371 serverInfo->recvMsgProcess = recvMsg; in Run()
|
/ohos5.0/foundation/communication/wifi/wifi/relation_services/wifi_hal_service/ |
H A D | wifi_hal_crpc_server.c | 660 WriteInt(context, cbmsg->msg.serverInfo.updateIndicator); in DealP2pServerInfoCbk() 661 WriteStr(context, cbmsg->msg.serverInfo.srcAddress); in DealP2pServerInfoCbk() 662 if (cbmsg->msg.serverInfo.tlvs != NULL) { in DealP2pServerInfoCbk() 663 WriteInt(context, strlen(cbmsg->msg.serverInfo.tlvs)); in DealP2pServerInfoCbk() 664 WriteStr(context, cbmsg->msg.serverInfo.tlvs); in DealP2pServerInfoCbk() 665 free(cbmsg->msg.serverInfo.tlvs); in DealP2pServerInfoCbk() 666 cbmsg->msg.serverInfo.tlvs = NULL; in DealP2pServerInfoCbk()
|
H A D | wifi_hal_callback.c | 665 pCbkMsg->msg.serverInfo = *info; in P2pHalCbServiceDiscoveryResponse() 673 pCbkMsg->msg.serverInfo.tlvs = (char *)calloc(len, sizeof(char)); in P2pHalCbServiceDiscoveryResponse() 674 if (pCbkMsg->msg.serverInfo.tlvs == NULL) { in P2pHalCbServiceDiscoveryResponse() 679 if (strncpy_s(pCbkMsg->msg.serverInfo.tlvs, len, info->tlvs, len - 1) != EOK) { in P2pHalCbServiceDiscoveryResponse() 680 free(pCbkMsg->msg.serverInfo.tlvs); in P2pHalCbServiceDiscoveryResponse() 681 pCbkMsg->msg.serverInfo.tlvs = NULL; in P2pHalCbServiceDiscoveryResponse()
|
H A D | wifi_hal_crpc_server.h | 102 P2pServDiscRespInfo serverInfo; member
|
/ohos5.0/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/network/softbus/ |
H A D | softbus_agent.cpp | 111 SocketInfo serverInfo = { in JoinDomain() local 116 int32_t socketId = Socket(serverInfo); in JoinDomain()
|
H A D | softbus_handler.cpp | 147 SocketInfo serverInfo = { in CreateSessionServer() local 152 int32_t socketId = Socket(serverInfo); in CreateSessionServer()
|
H A D | softbus_handler_asset.cpp | 94 SocketInfo serverInfo = { in CreateAssetLocalSessionServer() local 99 int32_t socketId = Socket(serverInfo); in CreateAssetLocalSessionServer()
|
/ohos5.0/foundation/distributedhardware/distributed_screen/services/softbusadapter/src/ |
H A D | softbus_adapter.cpp | 124 SocketInfo serverInfo = { in CreateSoftbusSessionServer() local 129 int32_t socketId = Socket(serverInfo); in CreateSoftbusSessionServer()
|
/ohos5.0/base/security/device_security_level/baselib/msglib/src/standard/ |
H A D | messenger_device_socket_manager.c | 497 SocketNodeInfo *serverInfo = LIST_ENTRY(node, SocketNodeInfo, link); in DeInitDeviceSocketManager() local 499 FREE(serverInfo); in DeInitDeviceSocketManager()
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/common/src/ |
H A D | softbus_channel_adapter.cpp | 181 SocketInfo serverInfo = { in CreateChannelServer() local 186 int32_t socketId = Socket(serverInfo); in CreateChannelServer()
|
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_hal/unittest/ |
H A D | wifi_hal_crpc_server_test.cpp | 336 …StrSafeCopy(cbmsg->msg.serverInfo.srcAddress, sizeof(cbmsg->msg.serverInfo.srcAddress), "00:00:00:…
|