D | hc_parcel.c | 172 HcBool ParcelWriteRevert(HcParcel *parcel, const void *src, uint32_t dataSize) in ParcelWriteRevert() argument 179 rc = memmove_s(srcCopy, dataSize, src, dataSize); in ParcelWriteRevert() 300 HcBool ParcelWrite(HcParcel *parcel, const void *src, uint32_t dataSize) in ParcelWrite() argument 303 if (parcel == NULL || src == NULL || dataSize == 0) { in ParcelWrite() 318 rc = memmove_s(parcel->data + parcel->endPos, dataSize, src, dataSize); in ParcelWrite() 326 HcBool ParcelWriteInt32(HcParcel *parcel, int src) in ParcelWriteInt32() argument 328 return ParcelWrite(parcel, &src, sizeof(src)); in ParcelWriteInt32() 331 HcBool ParcelWriteUint32(HcParcel *parcel, uint32_t src) in ParcelWriteUint32() argument 333 return ParcelWrite(parcel, &src, sizeof(src)); in ParcelWriteUint32() 336 HcBool ParcelWriteInt16(HcParcel *parcel, short src) in ParcelWriteInt16() argument [all …]
|