Home
last modified time | relevance | path

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

/hardware/qcom/sm8150p/gps/utils/
DLocIpc.cpp64 socklen_t addrlen) const { in send()
66 SOCK_OP_AND_LOG(buf, len, isValid(), rtv, sendto(buf, len, flags, destAddr, addrlen)); in send()
70 socklen_t *addrlen, int sid) const { in recv() argument
76 recvfrom(dataCb, sid, flags, srcAddr, addrlen)); in recv()
80 socklen_t addrlen) const { in sendto()
83 rtv = ::sendto(mSid, buf, len, flags, destAddr, addrlen); in sendto()
86 rtv = ::sendto(mSid, head.c_str(), head.length(), flags, destAddr, addrlen); in sendto()
90 flags, destAddr, addrlen); in sendto()
98 struct sockaddr *srcAddr, socklen_t *addrlen) const { in recvfrom()
102 if ((nBytes = ::recvfrom(sid, (void*)msg.data(), msg.size(), flags, srcAddr, addrlen)) > 0) { in recvfrom()
[all …]
DLocIpc.h160 socklen_t addrlen) const;
162 struct sockaddr *srcAddr, socklen_t *addrlen) const;
169 socklen_t addrlen) const;
171 socklen_t *addrlen, int sid = -1) const;
172 ssize_t sendAbort(int flags, const struct sockaddr *destAddr, socklen_t addrlen);
/hardware/qcom/sm7150/gps/utils/
DLocIpc.cpp64 socklen_t addrlen) const { in send()
66 SOCK_OP_AND_LOG(buf, len, isValid(), rtv, sendto(buf, len, flags, destAddr, addrlen)); in send()
70 struct sockaddr *srcAddr, socklen_t *addrlen, int sid) const { in recv() argument
76 recvfrom(recver, dataCb, sid, flags, srcAddr, addrlen)); in recv()
80 socklen_t addrlen) const { in sendto()
83 rtv = ::sendto(mSid, buf, len, flags, destAddr, addrlen); in sendto()
86 rtv = ::sendto(mSid, head.c_str(), head.length(), flags, destAddr, addrlen); in sendto()
90 flags, destAddr, addrlen); in sendto()
98 int sid, int flags, struct sockaddr *srcAddr, socklen_t *addrlen) const { in recvfrom()
100 ssize_t nBytes = ::recvfrom(sid, (void*)msg.data(), msg.size(), flags, srcAddr, addrlen); in recvfrom()
[all …]
DLocIpc.h166 socklen_t addrlen) const;
168 int sid, int flags, struct sockaddr *srcAddr, socklen_t *addrlen) const;
175 socklen_t addrlen) const;
177 struct sockaddr *srcAddr, socklen_t *addrlen, int sid = -1) const;
178 ssize_t sendAbort(int flags, const struct sockaddr *destAddr, socklen_t addrlen);
/hardware/qcom/sm8150/gps/utils/
DLocIpc.cpp64 socklen_t addrlen) const { in send()
66 SOCK_OP_AND_LOG(buf, len, isValid(), rtv, sendto(buf, len, flags, destAddr, addrlen)); in send()
70 struct sockaddr *srcAddr, socklen_t *addrlen, int sid) const { in recv() argument
76 recvfrom(recver, dataCb, sid, flags, srcAddr, addrlen)); in recv()
80 socklen_t addrlen) const { in sendto()
83 rtv = ::sendto(mSid, buf, len, flags, destAddr, addrlen); in sendto()
86 rtv = ::sendto(mSid, head.c_str(), head.length(), flags, destAddr, addrlen); in sendto()
90 flags, destAddr, addrlen); in sendto()
98 int sid, int flags, struct sockaddr *srcAddr, socklen_t *addrlen) const { in recvfrom()
100 ssize_t nBytes = ::recvfrom(sid, (void*)msg.data(), msg.size(), flags, srcAddr, addrlen); in recvfrom()
[all …]
DLocIpc.h166 socklen_t addrlen) const;
168 int sid, int flags, struct sockaddr *srcAddr, socklen_t *addrlen) const;
175 socklen_t addrlen) const;
177 struct sockaddr *srcAddr, socklen_t *addrlen, int sid = -1) const;
178 ssize_t sendAbort(int flags, const struct sockaddr *destAddr, socklen_t addrlen);