Searched refs:msgLen (Results 1 – 5 of 5) sorted by relevance
/system/chre/platform/slpi/see/ |
D | see_helper.cc | 164 bool encodeSnsStdAttrReq(UniquePtr<pb_byte_t> *msg, size_t *msgLen) { in encodeSnsStdAttrReq() argument 166 CHRE_ASSERT(msgLen); in encodeSnsStdAttrReq() 171 bool success = pb_get_encoded_size(msgLen, sns_std_attr_req_fields, &req); in encodeSnsStdAttrReq() 175 UniquePtr<pb_byte_t> buf(static_cast<pb_byte_t *>(memoryAlloc(*msgLen))); in encodeSnsStdAttrReq() 179 if (msg->isNull() && *msgLen > 0) { in encodeSnsStdAttrReq() 182 pb_ostream_t stream = pb_ostream_from_buffer(msg->get(), *msgLen); in encodeSnsStdAttrReq() 204 UniquePtr<pb_byte_t> *msg, size_t *msgLen) { in encodeSnsSuidReq() argument 206 CHRE_ASSERT(msgLen); in encodeSnsSuidReq() 219 if (!pb_get_encoded_size(msgLen, sns_suid_req_fields, &req)) { in encodeSnsSuidReq() 221 } else if (*msgLen == 0) { in encodeSnsSuidReq() [all …]
|
/system/netd/resolv/ |
D | res_send.h | 22 int resolv_res_nsend(const android_net_context* netContext, const uint8_t* msg, int msgLen,
|
D | DnsProxyListener.cpp | 278 bool setQueryId(uint8_t* msg, size_t msgLen, uint16_t query_id) { in setQueryId() argument 279 if (msgLen < sizeof(HEADER)) { in setQueryId() 288 bool parseQuery(const uint8_t* msg, size_t msgLen, uint16_t* query_id, int* rr_type, in parseQuery() argument 292 if (ns_initparse((const uint8_t*)msg, msgLen, &handle) < 0 || in parseQuery() 833 int msgLen = b64_pton(mMsg.c_str(), msg.data(), MAXPACKET); in run() local 834 if (msgLen == -1) { in run() 846 if (!parseQuery(msg.data(), msgLen, &original_query_id, &rr_type, &rr_name) || in run() 847 !setQueryId(msg.data(), msgLen, arc4random_uniform(65536))) { in run() 859 nsendAns = resolv_res_nsend(&mNetContext, msg.data(), msgLen, ansBuf.data(), MAXPACKET, in run()
|
D | res_send.cpp | 1300 int resolv_res_nsend(const android_net_context* netContext, const uint8_t* msg, int msgLen, in resolv_res_nsend() argument 1306 return res_nsend(res, msg, msgLen, ans, ansLen, rcode, flags); in resolv_res_nsend()
|
/system/chre/platform/slpi/include/chre/platform/slpi/see/ |
D | see_helper.h | 488 static void seeIndCb(sns_client *client, void *msg, uint32_t msgLen,
|