Searched defs:errorNumber (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/tls/src/ |
H A D | tlssocketserver_exec.cpp | 54 …tlsSocketServer->GetCertificate([&context](int32_t errorNumber, const TlsSocket::X509CertRawData &… in ExecGetCertificate() 78 tlsSocketServer->Listen(context->connectOptions_, [&context](int32_t errorNumber) { in ExecListen() 127 … context->clientId_, [&context](int32_t errorNumber, const TlsSocket::X509CertRawData &cert) { in ExecGetRemoteCertificate() 151 tlsSocketServer->GetProtocol([&context](int32_t errorNumber, const std::string &protocol) { in ExecGetProtocol() 176 … context->clientId_, [&context](int32_t errorNumber, const std::vector<std::string> &algorithms) { in ExecGetSignatureAlgorithms() 204 tlsSocketServer->Send(tcpSendOptions, [&context](int32_t errorNumber) { in ExecSend() 227 tlsSocketServer->Close(context->clientId_, [&context](int32_t errorNumber) { in ExecClose() 250 tlsSocketServer->Stop([&context](int32_t errorNumber) { in ExecStop() 377 tlsSocketServer->GetState([&context](int32_t errorNumber, const Socket::SocketStateBase state) { in ExecGetState() 401 tlsSocketServer->SetExtraOptions(context->options_, [&context](int32_t errorNumber) { in ExecSetExtraOptions() [all …]
|
H A D | tlssocket_exec.cpp | 122 tlsSocket->GetCertificate([&context](int32_t errorNumber, const X509CertRawData &cert) { in ExecGetCertificate() 149 tlsSocket->Connect(context->connectOptions_, [&context](int32_t errorNumber) { in ExecConnect() 171 … tlsSocket->GetCipherSuite([&context](int32_t errorNumber, const std::vector<std::string> &suite) { in ExecGetCipherSuites() 194 tlsSocket->GetRemoteCertificate([&context](int32_t errorNumber, const X509CertRawData &cert) { in ExecGetRemoteCertificate() 217 tlsSocket->GetProtocol([&context](int32_t errorNumber, const std::string &protocol) { in ExecGetProtocol() 265 tlsSocket->Send(tcpSendOptions, [&context](int32_t errorNumber) { in ExecSend() 295 tlsSocket->Close([&context](int32_t errorNumber) { in ExecClose() 326 tlsSocket->Bind(context->address_, [&context](int32_t errorNumber) { in ExecBind() 350 tlsSocket->GetRemoteAddress([&context](int32_t errorNumber, const Socket::NetAddress address) { in ExecGetRemoteAddress() 423 tlsSocket->GetState([&context](int32_t errorNumber, const Socket::SocketStateBase state) { in ExecGetState() [all …]
|
H A D | monitor.cpp | 180 napi_value errorNumber = NapiUtils::CreateInt32(workWrapper->env, errorRecvParma->errorNumber_); in EventErrorCallback() local 224 tlsSocket->OnError([this, manager](auto errorNumber, auto errorString) { in ParserEventForOn()
|
H A D | monitor_server.cpp | 299 napi_value errorNumber = NapiUtils::CreateInt32(workWrapper->env, monitor->errorNumber_); in EventErrorCallback() local 514 tlsSocketServer->OnError([this, ServerEventManager](auto errorNumber, auto errorString) { in TLSServerRegEvent() 554 ptrConnection->OnError([this, eventManager](auto errorNumber, auto errorString) { in TLSConnectionRegEvent()
|
/ohos5.0/foundation/communication/netstack/test/unittest/tlssocket/server/ |
H A D | tls_socket_server_branch_test.cpp | 415 …tlsSocketServer->GetCertificate([&callbackCalled](int32_t errorNumber, const TlsSocket::X509CertRa… in __anonee3477b50102() 429 sockFd, [&callbackCalled](int32_t errorNumber, const TlsSocket::X509CertRawData &cert) { in __anonee3477b50202() 447 … sockFd, [&callbackCalled, testLen](int32_t errorNumber, const TlsSocket::X509CertRawData &cert) { in __anonee3477b50302() 466 … sockFd, [&callbackCalled, testLen](int32_t errorNumber, const TlsSocket::X509CertRawData &cert) { in __anonee3477b50402() 480 … tlsSocketServer->GetProtocol([&callbackCalled](int32_t errorNumber, const std::string &protocol) { in __anonee3477b50502() 494 … tlsSocketServer->GetProtocol([&callbackCalled](int32_t errorNumber, const std::string &protocol) { in __anonee3477b50602() 509 … [&callbackCalled](int32_t errorNumber, const std::vector<std::string> &suite) { in __anonee3477b50702() 526 … [&callbackCalled](int32_t errorNumber, const std::vector<std::string> &suite) { in __anonee3477b50802() 541 sockFd, [&callbackCalled](int32_t errorNumber, const std::vector<std::string> &algorithms) { in __anonee3477b50902() 558 sockFd, [&callbackCalled](int32_t errorNumber, const std::vector<std::string> &suite) { in __anonee3477b50a02() [all …]
|
/ohos5.0/foundation/communication/netstack/test/fuzztest/socket/fuzztest/tlssocket_fuzzer/ |
H A D | tls_socket_fuzzer.cpp | 75 tlsSocket.Close([](int32_t errorNumber) {}); in BindFuzzTest() 76 tlsSocket.GetRemoteAddress([](int32_t errorNumber, const Socket::NetAddress &address) {}); in BindFuzzTest() 77 tlsSocket.GetCertificate([](int32_t errorNumber, const X509CertRawData &cert) {}); in BindFuzzTest() 78 tlsSocket.GetRemoteCertificate([](int32_t errorNumber, const X509CertRawData &cert) {}); in BindFuzzTest() 79 tlsSocket.GetProtocol([](int32_t errorNumber, const std::string &protocol) {}); in BindFuzzTest() 80 tlsSocket.GetCipherSuite([](int32_t errorNumber, const std::vector<std::string> &suite) {}); in BindFuzzTest() 81 …tlsSocket.GetSignatureAlgorithms([](int32_t errorNumber, const std::vector<std::string> &algorithm… in BindFuzzTest() 85 tlsSocket.OnError([](int32_t errorNumber, const std::string &errorString) {}); in BindFuzzTest()
|
/ohos5.0/base/update/updateservice/foundations/model/include/ |
H A D | business_error.h | 62 int32_t errorNumber = static_cast<int32_t>(CallResult::SUCCESS); in from_json() local
|
/ohos5.0/foundation/communication/netstack/test/unittest/tlssocket/client/ |
H A D | TlsSocketBranchTest.cpp | 251 …[](int32_t errorNumber, const std::string &errorString) { EXPECT_NE(TLSSOCKET_SUCCESS, errorNumber… in __anonc01c89aa0202()
|