Home
last modified time | relevance | path

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

/base/msdp/device_status/services/native/src/
Dstream_server.cpp95 int32_t& serverFd, int32_t& toReturnClientFd, int32_t& tokenType) in AddSocketPairInfo() argument
105 toReturnClientFd = sockFds[1]; in AddSocketPairInfo()
106 if (serverFd < 0 || toReturnClientFd < 0) { in AddSocketPairInfo()
122 …if (setsockopt(toReturnClientFd, SOL_SOCKET, SO_SNDBUF, &nativeBufferSize, sizeof(nativeBufferSize… in AddSocketPairInfo()
126 …if (setsockopt(toReturnClientFd, SOL_SOCKET, SO_RCVBUF, &nativeBufferSize, sizeof(nativeBufferSize… in AddSocketPairInfo()
131 … if (setsockopt(toReturnClientFd, SOL_SOCKET, SO_SNDBUF, &bufferSize, sizeof(bufferSize)) != 0) { in AddSocketPairInfo()
135 … if (setsockopt(toReturnClientFd, SOL_SOCKET, SO_RCVBUF, &bufferSize, sizeof(bufferSize)) != 0) { in AddSocketPairInfo()
158 if (close(toReturnClientFd) < 0) { in AddSocketPairInfo()
159 …lose fd failed, error:%{public}s, toReturnClientFd:%{public}d", strerror(errno), toReturnClientFd); in AddSocketPairInfo()
161 toReturnClientFd = -1; in AddSocketPairInfo()
Ddevicestatus_service.cpp297 int32_t &toReturnClientFd, int32_t &tokenType) in AllocSocketFd() argument
301 toReturnClientFd = -1; in AllocSocketFd()
306 programName, moduleType, uid, pid, serverFd, std::ref(toReturnClientFd), tokenType)); in AllocSocketFd()
/base/msdp/device_status/rust/services/binding/include/
Dfusion_services_binding.h35 int32_t moduleType, int32_t *toReturnClientFd, int32_t *tokenType);
/base/msdp/device_status/services/native/include/
Di_stream_server.h28 int32_t pid, int32_t& serverFd, int32_t& toReturnClientFd,
Dstream_server.h55 int32_t& serverFd, int32_t& toReturnClientFd, int32_t& tokenType) override;
Ddevicestatus_service.h87 int32_t &toReturnClientFd, int32_t &tokenType) override;
/base/msdp/device_status/rust/services/binding/src/
Dfusion_services_binding.cpp79 int32_t moduleType, int32_t *toReturnClientFd, int32_t *tokenType) in NativeService_AllocSocketFd() argument