Searched refs:checkTag (Results 1 – 2 of 2) sorted by relevance
/base/security/device_auth/common_lib/interfaces/ |
D | hc_tlv_parser.h | 32 unsigned short checkTag; member 45 unsigned short GetTag(unsigned short checkTag, unsigned short defaultTag); 48 void Init##TlvS(TlvS *tlv, unsigned short checkTag) \ 53 tlv->base.checkTag = GetTag(checkTag, CheckTag); 142 void Init##TlvName(TlvName *tlv, unsigned short checkTag) \ 149 tlv->base.checkTag = checkTag; \ 179 void InitTlvBuffer(TlvBuffer *tlv, unsigned short checkTag); 190 void InitTlvString(TlvString *tlv, unsigned short checkTag); 197 void Init##TlvStruct(TlvStruct *tlv, unsigned short checkTag); 215 void Init##TlvVecName(TlvVecName *tlv, unsigned short checkTag); [all …]
|
/base/security/device_auth/common_lib/impl/src/ |
D | hc_tlv_parser.c | 33 if (tlv->tag != tlv->checkTag) { in ParseTlvHead() 97 ParcelWriteUint16Revert(parcel, tlv->checkTag); in EncodeTlvNode() 100 ParcelWriteUint16(parcel, tlv->checkTag); in EncodeTlvNode() 111 ParcelWriteUint16Revert(parcel, tlv->checkTag); in EncodeTlvNode() 114 ParcelWriteUint16(parcel, tlv->checkTag); in EncodeTlvNode() 137 if (tlvChild->checkTag == tag && tlvChild->hasValue == 0) { in GetEmptyStructNode() 369 void InitTlvBuffer(TlvBuffer *tlv, unsigned short checkTag) in InitTlvBuffer() argument 376 tlv->base.checkTag = checkTag; in InitTlvBuffer() 418 void InitTlvString(TlvString *tlv, unsigned short checkTag) in InitTlvString() argument 425 tlv->base.checkTag = checkTag; in InitTlvString() [all …]
|