Home
last modified time | relevance | path

Searched refs:GetParcelDataSize (Results 1 – 11 of 11) sorted by relevance

/base/security/device_auth/common_lib/impl/src/
Dhc_string.c32 uint32_t length = GetParcelDataSize(&str.parcel); in StringAppend()
141 uint32_t length = GetParcelDataSize(&self->parcel); in StringLength()
Dhc_parcel.c72 uint32_t GetParcelDataSize(const HcParcel *parcel) in GetParcelDataSize() function
93 if (parcel == NULL || GetParcelDataSize(parcel) == 0) { in GetParcelLastChar()
141 uint32_t parcelSizeOrg = GetParcelDataSize(parcel); in ParcelEraseBlock()
371 if (GetParcelDataSize(src) < size) { in ParcelReadParcel()
389 if (GetParcelDataSize(src) == 0) { in ParcelCopy()
392 return ParcelReadParcel(src, dst, GetParcelDataSize(src), HC_TRUE); in ParcelCopy()
524 if (parcel != NULL && size > 0 && GetParcelDataSize(parcel) >= size) { in ParcelPopBack()
533 if ((parcel != NULL) && (size > 0) && (GetParcelDataSize(parcel) >= size)) { in ParcelPopFront()
Dhc_tlv_parser.c56 if (GetParcelDataSize(parcel) < tlv->length) { in ParseTlvNode()
310 if (GetParcelDataSize(parcel) != 0) { in DecodeTlvMessage()
346 return (int32_t)GetParcelDataSize(&realTlv->data); in GetlenTlvBuffer()
395 return (int32_t)GetParcelDataSize(&realTlv->data.parcel); in GetlenTlvString()
/base/security/crypto_framework/common/inc/
Dhcf_parcel.h41 uint32_t GetParcelDataSize(const HcParcel *parcel);
/base/security/crypto_framework/common/src/
Dhcf_parcel.c56 uint32_t GetParcelDataSize(const HcParcel *parcel) in GetParcelDataSize() function
178 if (parcel != NULL && size > 0 && GetParcelDataSize(parcel) >= size) { in ParcelPopBack()
Dhcf_string.c111 uint32_t length = GetParcelDataSize(&self->parcel); in StringLength()
/base/security/device_auth/common_lib/interfaces/
Dhc_parcel.h46 uint32_t GetParcelDataSize(const HcParcel *parcel);
Dhc_vector.h100 return GetParcelDataSize(&obj->parcel) / sizeof(Element); \
/base/security/device_auth/test/unittest/deviceauth/unit_test/source/
Dcommon_lib_test.cpp58 uint32_t invalidLength = GetParcelDataSize(nullptr);
60 uint32_t validLength = GetParcelDataSize(&parcelWithData);
579 .length = GetParcelDataSize(&parcelWithData) + 1,
/base/security/crypto_framework/test/unittest/src/
Dcrypto_common_cov_test.cpp273 uint32_t ret = GetParcelDataSize(nullptr);
281 uint32_t ret = GetParcelDataSize(&tmp);
/base/security/device_auth/services/data_manager/src/
Ddata_manager.c171 if (!ParcelWrite(parcel, GetParcelData(&str->parcel), GetParcelDataSize(&str->parcel))) { in SaveStringVectorToParcel()
657 int fileSize = (int)GetParcelDataSize(parcel); in SaveParcelToFile()