Searched refs:toReturnClientFd (Results 1 – 7 of 7) sorted by relevance
/base/msdp/device_status/services/native/src/ |
D | stream_server.cpp | 95 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()
|
D | devicestatus_service.cpp | 297 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/ |
D | fusion_services_binding.h | 35 int32_t moduleType, int32_t *toReturnClientFd, int32_t *tokenType);
|
/base/msdp/device_status/services/native/include/ |
D | i_stream_server.h | 28 int32_t pid, int32_t& serverFd, int32_t& toReturnClientFd,
|
D | stream_server.h | 55 int32_t& serverFd, int32_t& toReturnClientFd, int32_t& tokenType) override;
|
D | devicestatus_service.h | 87 int32_t &toReturnClientFd, int32_t &tokenType) override;
|
/base/msdp/device_status/rust/services/binding/src/ |
D | fusion_services_binding.cpp | 79 int32_t moduleType, int32_t *toReturnClientFd, int32_t *tokenType) in NativeService_AllocSocketFd() argument
|