Home
last modified time | relevance | path

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

/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/tcp_direct/src/
H A Dtrans_tcp_direct_wifi.c45 FreeFastTransData(&(newConn->appInfo)); in AddTcpConnAndSessionInfo()
46 SoftBusFree(newConn); in AddTcpConnAndSessionInfo()
54 SoftBusFree(newConn); in AddTcpConnAndSessionInfo()
129 if (newConn == NULL) { in OpenTcpDirectChannel()
138 SoftBusFree(newConn); in OpenTcpDirectChannel()
143 SoftBusFree(newConn); in OpenTcpDirectChannel()
147 …AuthGetLatestIdByUuid(newConn->appInfo.peerData.deviceId, AUTH_LINK_TYPE_WIFI, false, &newConn->au… in OpenTcpDirectChannel()
149 …AuthGetLatestIdByUuid(newConn->appInfo.peerData.deviceId, AUTH_LINK_TYPE_BR, false, &newConn->auth… in OpenTcpDirectChannel()
154 SoftBusFree(newConn); in OpenTcpDirectChannel()
162 SoftBusFree(newConn); in OpenTcpDirectChannel()
[all …]
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/fillp/
H A Dfillp_conn.c495 newConn->pcb->fpcb.pktSize = UTILS_MIN(sock->resConf.flowControl.pktSize, newConn->peerPktSize); in FillpInitNewPcbByNewConn()
503 if (((newConn->pcb->fpcb.recv.pktRecvCache / newConn->pcb->fpcb.pktSize) != maxRecvCache) || in FillpInitNewPcbByNewConn()
504 ((newConn->pcb->fpcb.send.pktSendCache / newConn->pcb->fpcb.pktSize) != maxSendCache)) { in FillpInitNewPcbByNewConn()
515 newConn->pcb->fpcb.fcAlg = newConn->peerFcAlgs & (FILLP_UINT8)FILLP_SUPPORT_ALGS; in FillpInitNewPcbByNewConn()
597 …FillpErrorType err = memcpy_s(&newConn->pcb->localAddr, sizeof(newConn->pcb->localAddr), localAddr, in FillpInitNewConnByConfirm()
612 err = memcpy_s(&newConn->pcb->remoteAddr, sizeof(newConn->pcb->remoteAddr), addr, addrLen); in FillpInitNewConnByConfirm()
617 newConn->pcb->addrLen = addrLen; in FillpInitNewConnByConfirm()
627 newConn->peerFcAlgs = 0; in FillpInitPeerOfNewconn()
628 newConn->peerCharacters = 0; in FillpInitPeerOfNewconn()
644 if (newConn == FILLP_NULL_PTR) { in FillpProcessConnConfirm()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/transaction/
H A Drs_render_service_stub.cpp67 auto newConn = CreateConnection(token); in OnRemoteRequest() local
68 reply.WriteRemoteObject(newConn->AsObject()); in OnRemoteRequest()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_render_service.cpp212 sptr<RSIRenderServiceConnection> newConn( in CreateConnection() local
222 connections_[tokenObj] = newConn; in CreateConnection()
225 return newConn; in CreateConnection()
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/tcp_direct/unittest/
H A Dtrans_tcp_direct_p2p_mock_test.cpp586 SessionConn *newConn = TestSetSessionConn(); variable
587 ASSERT_TRUE(newConn != nullptr);
588 ret = TransTdcAddSessionConn(newConn);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/
H A Drs_profiler.cpp275 …sptr<RSIRenderServiceConnection> newConn(new RSRenderServiceConnection(pid, g_renderService, g_mai… in CreateMockConnection() local
285 g_renderService->connections_[tokenObj] = newConn; in CreateMockConnection()
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Drdb_store_impl.cpp1667 auto [err, newConn] = connectionPool_->DisableWal(); in AttachInner()
1671 conn = newConn; in AttachInner()