Home
last modified time | relevance | path

Searched refs:ParcelWrite (Results 1 – 10 of 10) sorted by relevance

/base/security/device_auth/common_lib/impl/src/
Dhc_parcel.c185 HcBool ret = ParcelWrite(parcel, srcCopy, dataSize); in ParcelWriteRevert()
300 HcBool ParcelWrite(HcParcel *parcel, const void *src, uint32_t dataSize) in ParcelWrite() function
328 return ParcelWrite(parcel, &src, sizeof(src)); in ParcelWriteInt32()
333 return ParcelWrite(parcel, &src, sizeof(src)); in ParcelWriteUint32()
338 return ParcelWrite(parcel, &src, sizeof(src)); in ParcelWriteInt16()
343 return ParcelWrite(parcel, &src, sizeof(src)); in ParcelWriteUint16()
348 return ParcelWrite(parcel, &src, sizeof(src)); in ParcelWriteInt8()
353 return ParcelWrite(parcel, &src, sizeof(src)); in ParcelWriteUint8()
358 return ParcelWrite(parcel, &src, sizeof(src)); in ParcelWriteUint64()
363 return ParcelWrite(parcel, &src, sizeof(src)); in ParcelWriteInt64()
[all …]
Dhc_string.c56 return ParcelWrite(&self->parcel, (void *)str, strlen(str) + 1); in StringAppendPointer()
/base/security/crypto_framework/common/src/
Dhcf_string.c38 return ParcelWrite(&self->parcel, (void *)str, strlen(str) + 1); in StringAppendPointer()
80 if (false == ParcelWrite(&self->parcel, str, len)) { in StringSetPointerWithLength()
Dhcf_parcel.c145 bool ParcelWrite(HcParcel *parcel, const void *src, uint32_t dataSize) in ParcelWrite() function
173 return ParcelWrite(parcel, &src, sizeof(src)); in ParcelWriteInt8()
/base/security/crypto_framework/common/inc/
Dhcf_parcel.h40 bool ParcelWrite(HcParcel *parcel, const void *src, uint32_t dataSize);
/base/security/device_auth/common_lib/interfaces/
Dhc_vector.h56 if (ParcelWrite(&obj->parcel, e, sizeof(Element))) { \
68 if (ParcelWrite(&obj->parcel, &e, sizeof(Element))) { \
Dhc_parcel.h43 HcBool ParcelWrite(HcParcel *parcel, const void *src, uint32_t dataSize);
Dhc_tlv_parser.h131 writeRet = ParcelWrite(parcel, &realTlv->data, sizeof(realTlv->data)); \
/base/security/crypto_framework/test/unittest/src/
Dcrypto_common_cov_test.cpp295 bool ret = ParcelWrite(nullptr, nullptr, 0);
302 bool ret = ParcelWrite(&tmp, nullptr, 0);
312 bool ret = ParcelWrite(&tmp, &src, 0);
323 bool ret = ParcelWrite(&tmp, &src, PARCEL_LENGTH);
346 bool ret = ParcelWrite(&tmp, &src, PARCEL_LENGTH);
/base/security/device_auth/services/data_manager/src/
Ddata_manager.c171 if (!ParcelWrite(parcel, GetParcelData(&str->parcel), GetParcelDataSize(&str->parcel))) { in SaveStringVectorToParcel()
463 if (!ParcelWrite(parcel, fileData, fileSize)) { in ReadParcelFromFile()