Searched refs:msgLen (Results 1 – 2 of 2) sorted by relevance
170 bool encodeSnsStdAttrReq(UniquePtr<pb_byte_t> *msg, size_t *msgLen) { in encodeSnsStdAttrReq() argument172 CHRE_ASSERT(msgLen); in encodeSnsStdAttrReq()177 bool success = pb_get_encoded_size(msgLen, sns_std_attr_req_fields, &req); in encodeSnsStdAttrReq()181 UniquePtr<pb_byte_t> buf(static_cast<pb_byte_t *>(memoryAlloc(*msgLen))); in encodeSnsStdAttrReq()185 if (msg->isNull() && *msgLen > 0) { in encodeSnsStdAttrReq()188 pb_ostream_t stream = pb_ostream_from_buffer(msg->get(), *msgLen); in encodeSnsStdAttrReq()210 size_t *msgLen) { in encodeSnsSuidReq() argument212 CHRE_ASSERT(msgLen); in encodeSnsSuidReq()225 if (!pb_get_encoded_size(msgLen, sns_suid_req_fields, &req)) { in encodeSnsSuidReq()227 } else if (*msgLen == 0) { in encodeSnsSuidReq()[all …]
467 static void seeIndCb(sns_client *client, void *msg, uint32_t msgLen,