Searched refs:checkTag (Results 1 – 3 of 3) sorted by relevance
/base/security/device_auth/common_lib/interfaces/ |
D | hc_tlv_parser.h | 36 unsigned short checkTag; member 49 unsigned short GetTag(unsigned short checkTag, unsigned short defaultTag); 52 void Init##TlvS(TlvS *tlv, unsigned short checkTag) \ 57 tlv->base.checkTag = GetTag(checkTag, CheckTag); 146 void Init##TlvName(TlvName *tlv, unsigned short checkTag) \ 153 tlv->base.checkTag = checkTag; \ 183 void InitTlvBuffer(TlvBuffer *tlv, unsigned short checkTag); 194 void InitTlvString(TlvString *tlv, unsigned short checkTag); 201 void Init##TlvStruct(TlvStruct *tlv, unsigned short checkTag); 219 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 …]
|
/base/security/device_auth/test/unittest/deviceauth/unit_test/source/ |
D | common_lib_test.cpp | 553 .checkTag = 1, 560 tlvBase.checkTag = tlvBase.length; 580 .checkTag = 1,
|