Home
last modified time | relevance | path

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

/developtools/profiler/device/services/ipc/src/
Dsocket_context.cpp154 bool SocketContext::SendRaw(uint32_t pnum, const int8_t* data, uint32_t size, int sockfd) in SendRaw() argument
157 if (sockfd == -1) { in SendRaw()
158 sockfd = socketHandle_; in SendRaw()
163 …CHECK_TRUE(send(sockfd, reinterpret_cast<int8_t*>(&phead), sizeof(struct ProtocolHead), 0) != -1, … in SendRaw()
166 CHECK_TRUE(send(sockfd, data, size, 0) != -1, false, "SendRaw Send Data ERR : %d", errno); in SendRaw()
/developtools/hdc/src/daemon/
Djdwp.cpp275 int sockfd = socket(AF_UNIX, type, 0); in UvPipeBind() local
276 if (sockfd < 0) { in UvPipeBind()
284 setsockopt(sockfd, SOL_SOCKET, SO_NOSIGPIPE, &on, sizeof(on)); in UvPipeBind()
297 int err = bind(sockfd, reinterpret_cast<struct sockaddr*>(&saddr), saddrLen); in UvPipeBind()
301 close(sockfd); in UvPipeBind()
306 handle->io_watcher.fd = sockfd; in UvPipeBind()
438 bool HdcJdwp::SendFdToApp(int sockfd, uint8_t *buf, int size, int fd) in SendFdToApp() argument
466 if (sendmsg(sockfd, &msg, 0) < 0) { in SendFdToApp()
Djdwp.h34 bool SendFdToApp(int sockfd, uint8_t *buf, int size, int fd);
/developtools/profiler/device/services/ipc/include/
Dsocket_context.h56 bool SendRaw(uint32_t pnum, const int8_t* data, uint32_t size, int sockfd = -1);