Lines Matching defs:retCode
36 uint8_t *TlvUtils::ParseTlv(const uint8_t *buffer, TlvCommon *tlv, const uint8_t *boundary, uint32_t *retCode)
39 *retCode = TLV_ERR_PARSE_PAYLOAD_ERR;
43 *retCode = TLV_ERR_PARSE_PAYLOAD_ERR;
49 *retCode = TLV_OK;
53 uint8_t *TlvUtils::AppendTlv(uint8_t *buffer, const TlvCommon *tlv, const uint8_t *boundary, uint32_t *retCode)
56 *retCode = TLV_ERR_BUFF_NO_ENOUGH;
60 *retCode = TLV_ERR_BUFF_NO_ENOUGH;
68 *retCode = TLV_ERR_BUFF_NO_ENOUGH;
72 *retCode = TLV_OK;
85 uint32_t retCode = TLV_OK;
87 curr = AppendTlv(curr, &tlv[index], boundary, &retCode);
88 if (curr == nullptr || retCode != TLV_OK) {
89 return retCode;
111 uint32_t retCode = TLV_OK;
112 msg = ParseTlv(msg, &tlv[index], boundary, &retCode);
113 if (msg == nullptr || retCode != TLV_OK) {