Home
last modified time | relevance | path

Searched refs:ParcelReadParcel (Results 1 – 5 of 5) sorted by relevance

/base/security/device_auth/common_lib/impl/src/
Dhc_tlv_parser.c336 if (tlv->length == 0 || ParcelReadParcel(parcel, &realTlv->data, tlv->length, HC_FALSE)) { in ParseTlvBuffer()
357 if (ParcelReadParcel(&realTlv->data, parcel, len, HC_TRUE)) { in EncodeTlvBuffer()
385 … if (tlv->length == 0 || ParcelReadParcel(parcel, &realTlv->data.parcel, tlv->length, HC_FALSE)) { in ParseTlvString()
406 if (ParcelReadParcel(&realTlv->data.parcel, parcel, len, HC_TRUE)) { in EncodeTlvString()
Dhc_parcel.c366 HcBool ParcelReadParcel(HcParcel *src, HcParcel *dst, uint32_t size, HcBool copy) in ParcelReadParcel() function
392 return ParcelReadParcel(src, dst, GetParcelDataSize(src), HC_TRUE); in ParcelCopy()
/base/security/device_auth/common_lib/interfaces/
Dhc_parcel.h68 HcBool ParcelReadParcel(HcParcel *src, HcParcel *dst, uint32_t size, HcBool copy);
/base/security/device_auth/test/unittest/deviceauth/unit_test/source/
Dcommon_lib_test.cpp186 ret = ParcelReadParcel(nullptr, nullptr, validLen, HC_FALSE);
188 ret = ParcelReadParcel(&parcelSrc, &parcelDst, invalidLen, HC_FALSE);
190 ret = ParcelReadParcel(&parcelSrc, &parcelDst, TEST_LENGTH_ZERO, HC_FALSE);
192 ret = ParcelReadParcel(&parcelSrc, &parcelDst, validLen, HC_FALSE);
/base/security/device_auth/services/data_manager/src/
Ddata_manager.c149 if (!ParcelReadParcel(parcel, &str.parcel, strLen, false) || in LoadStringVectorFromParcel()