Home
last modified time | relevance | path

Searched refs:SetIsBound (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/options/include/
H A Dsocket_state_base.h26 void SetIsBound(bool isBound);
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/options/src/
H A Dsocket_state_base.cpp21 void SocketStateBase::SetIsBound(bool isBound) in SetIsBound() function in OHOS::NetStack::Socket::SocketStateBase
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/socket_exec/src/
H A Dsocket_exec.cpp97 static void SetIsBound(sa_family_t family, GetStateContext *context, const sockaddr_in *addr4, in SetIsBound() function
101 context->state_.SetIsBound(ntohs(addr4->sin_port) != 0); in SetIsBound()
103 context->state_.SetIsBound(ntohs(addr6->sin6_port) != 0); in SetIsBound()
1162 SetIsBound(sockAddr.sa_family, context, &addr4, &addr6); in GetSocketState()
2047 static void SetIsBound(sa_family_t family, TcpServerGetStateContext *context, const sockaddr_in *ad… in SetIsBound() function
2051 context->state_.SetIsBound(ntohs(addr4->sin_port) != 0); in SetIsBound()
2053 context->state_.SetIsBound(ntohs(addr6->sin6_port) != 0); in SetIsBound()
2101 SetIsBound(sockAddr.sa_family, context, &addr4, &addr6); in GetTcpServerState()
H A Dlocal_socket_exec.cpp886 state.SetIsBound(false); in ExecLocalSocketGetState()
888 state.SetIsBound(strlen(unAddr.sun_path) > 0); in ExecLocalSocketGetState()
1060 state.SetIsBound(true); in ExecLocalSocketServerGetState()
/ohos5.0/foundation/communication/netstack/test/unittest/tlssocket/server/
H A DTlsSocketServerTest.cpp261 stateBase.SetIsBound(state.IsBound()); in __anon487d28ab1602()
/ohos5.0/foundation/communication/netstack/test/unittest/tlssocket/client/
H A DTlsSocketOneWayTest.cpp259 stateBase.SetIsBound(state.IsBound()); in __anon018adc4f1902()
H A DTlsSocketTest.cpp309 socketStateBase.SetIsBound(state.IsBound()); in __anon0295c29c2002()
/ohos5.0/foundation/communication/netstack/frameworks/native/tls_socket/src/
H A Dtls_socket_server.cpp406 state.SetIsBound(ret == 0); in GetState()
H A Dtls_socket.cpp926 state.SetIsBound(ret == 0); in GetState()