Home
last modified time | relevance | path

Searched refs:socketfd (Results 1 - 14 of 14) sorted by relevance

/arkcompiler/toolchain/inspector/
H A Dws_server.cpp53 if (debugInfo_.socketfd == runSeverInOldProcess) { in RunServer()
68 LOGI("WsServer RunServer fport ark: %{public}d", debugInfo_.socketfd); in RunServer()
69 if (!webSocket_->InitUnixWebSocket(debugInfo_.socketfd)) { in RunServer()
86 if (debugInfo_.socketfd == runSeverInOldProcess) { in ContinueRunserver()
H A Dconnect_server.cpp27 ConnectServer::ConnectServer(int socketfd, std::function<void(std::string&&)> onMessage) in ConnectServer() argument
28 : socketfd_(socketfd), wsOnMessage_(std::move(onMessage)) in ConnectServer()
H A Dconnect_server.h33 ConnectServer(int socketfd, std::function<void(std::string&&)> onMessage);
H A Dws_server.h32 int socketfd {-2};
H A Dinspector.h38 bool StartDebugForSocketpair(int tid, int socketfd);
H A Dinspector.cpp351 bool StartDebugForSocketpair(int tid, int socketfd) in StartDebugForSocketpair() argument
353 LOGI("StartDebugForSocketpair, tid = %{private}d, socketfd = %{private}d", tid, socketfd); in StartDebugForSocketpair()
364 DebugInfo debugInfo = {socketfd}; in StartDebugForSocketpair()
H A Dconnect_inspector.cpp177 bool StartServerForSocketPair(int socketfd) in StartServerForSocketPair() argument
179 LOGI("StartServerForSocketPair, socketfd = %{private}d", socketfd); in StartServerForSocketPair()
187 g_inspector->connectServer_ = std::make_unique<ConnectServer>(socketfd, in StartServerForSocketPair()
H A Dconnect_inspector.h35 bool StartServerForSocketPair(int socketfd);
/arkcompiler/toolchain/test/fuzztest/connectserverrunserversocketfd1_fuzzer/
H A Dconnectserverrunserversocketfd1_fuzzer.cpp37 int socketfd = 1; // 1 : set socketfd_ in ConnectServerRunServerSocketfd1FuzzTest() local
38 ConnectServer connectServer(socketfd, testFunction); in ConnectServerRunServerSocketfd1FuzzTest()
/arkcompiler/toolchain/websocket/server/
H A Dwebsocket_server.cpp321 bool WebSocketServer::InitUnixWebSocket(int socketfd) in InitUnixWebSocket() argument
327 if (socketfd < SOCKET_SUCCESS) { in InitUnixWebSocket()
328 LOGE("InitUnixWebSocket socketfd is invalid"); in InitUnixWebSocket()
331 SetConnectionSocket(socketfd); in InitUnixWebSocket()
332 const int flag = fcntl(socketfd, F_GETFL, 0); in InitUnixWebSocket()
337 fcntl(socketfd, F_SETFL, static_cast<size_t>(flag) & ~O_NONBLOCK); in InitUnixWebSocket()
H A Dwebsocket_server.h67 * @param socketfd connection socket file descriptor, must be correctly opened before calling the method.
70 bool InitUnixWebSocket(int socketfd);
/arkcompiler/ets_runtime/ecmascript/napi/test/
H A Djsnapi_second_tests.cpp1836 int socketfd = 0; in HWTEST_F_L0() local
1838 EXPECT_FALSE(JSNApi::StartDebuggerForSocketPair(tid, socketfd)); in HWTEST_F_L0()
1843 EXPECT_FALSE(JSNApi::StartDebuggerForSocketPair(tid, socketfd)); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/napi/include/
H A Djsnapi_expo.h1643 static bool StartDebuggerForSocketPair(int tid, int socketfd = -1);
/arkcompiler/ets_runtime/ecmascript/napi/
H A Djsnapi_expo.cpp4632 bool JSNApi::StartDebuggerForSocketPair([[maybe_unused]] int tid, [[maybe_unused]] int socketfd) in StartDebuggerForSocketPair() argument
4635 LOG_ECMA(INFO) << "JSNApi::StartDebuggerForSocketPair, tid = " << tid << ", socketfd = " << socketfd; in StartDebuggerForSocketPair() local
4655 bool ret = reinterpret_cast<StartDebugForSocketpair>(sym.Value())(tid, socketfd); in StartDebuggerForSocketPair()

Completed in 22 milliseconds