Home
last modified time | relevance | path

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

/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/socket_exec/src/
H A Dlocal_socket_exec.cpp70 struct MsgWithLocalRemoteInfo { struct
71 MsgWithLocalRemoteInfo() = delete;
72 MsgWithLocalRemoteInfo(void *d, size_t length, const std::string &path) : data(d), len(length) in MsgWithLocalRemoteInfo() argument
76 ~MsgWithLocalRemoteInfo() in ~MsgWithLocalRemoteInfo() argument
167 …alue MakeJsLocalSocketMessageParam(napi_env env, napi_value msgBuffer, MsgWithLocalRemoteInfo *msg) in MakeJsLocalSocketMessageParam()
184 auto *msg = reinterpret_cast<MsgWithLocalRemoteInfo *>(manager->GetQueueData()); in MakeLocalSocketMessage()
185 auto deleter = [](const MsgWithLocalRemoteInfo *p) { delete p; }; in MakeLocalSocketMessage()
186 std::unique_ptr<MsgWithLocalRemoteInfo, decltype(deleter)> handler(msg, deleter); in MakeLocalSocketMessage()
228 MsgWithLocalRemoteInfo *msg = new (std::nothrow) MsgWithLocalRemoteInfo(data, len, path); in OnRecvLocalSocketMessage()