Home
last modified time | relevance | path

Searched refs:sockPath (Results 1 – 3 of 3) sorted by relevance

/base/hiviewdfx/hilog/frameworks/libhilog/socket/
Dsocket_client.cpp34 std::string sockPath(SOCKET_FILE_DIR); in SocketClient() local
35 sockPath += serverPath; in SocketClient()
36 if (strcpy_s(serverAddr.sun_path, sizeof(serverAddr.sun_path), sockPath.c_str()) != EOK) { in SocketClient()
Dsocket_server.cpp41 std::string sockPath(SOCKET_FILE_DIR); in SocketServer() local
42 sockPath += socketName; in SocketServer()
43 if (strcpy_s(serverAddr.sun_path, sizeof(serverAddr.sun_path), sockPath.c_str()) != EOK) { in SocketServer()
/base/hiviewdfx/hilog/frameworks/libhilog/base/
Dhilog_base.cpp106 std::string sockPath = sock.substr(posColon + 1); in Initializer() local
108 while (pos < sockPath.size() && pos < (sizeof(g_sockAddr.sun_path) - 1)) { in Initializer()
109 g_sockAddr.sun_path[pos] = sockPath[pos]; in Initializer()