Lines Matching refs:char16_t
101 binder_status_t WriteArray<char16_t>(AParcel* parcel, const char16_t* array, int32_t length) { in WriteArray()
107 if (__builtin_smul_overflow(sizeof(char16_t), length, &size)) return STATUS_NO_MEMORY; in WriteArray()
155 binder_status_t ReadArray<char16_t>(const AParcel* parcel, void* arrayData, in ReadArray()
156 ContiguousArrayAllocator<char16_t> allocator) { in ReadArray()
164 char16_t* array; in ReadArray()
177 if (__builtin_smul_overflow(sizeof(char16_t), length, &size)) return STATUS_NO_MEMORY; in ReadArray()
353 void* str16 = parcel->get()->writeInplace((len16 + 1) * sizeof(char16_t)); in AParcel_writeString()
358 utf8_to_utf16(str8, length, (char16_t*)str16, (size_t)len16 + 1); in AParcel_writeString()
366 const char16_t* str16 = parcel->get()->readString16Inplace(&len16); in AParcel_readString()
538 binder_status_t AParcel_writeChar(AParcel* parcel, char16_t value) { in AParcel_writeChar()
583 binder_status_t AParcel_readChar(const AParcel* parcel, char16_t* value) { in AParcel_readChar()
624 binder_status_t AParcel_writeCharArray(AParcel* parcel, const char16_t* arrayData, int32_t length) { in AParcel_writeCharArray()
625 return WriteArray<char16_t>(parcel, arrayData, length); in AParcel_writeCharArray()
670 return ReadArray<char16_t>(parcel, arrayData, allocator); in AParcel_readCharArray()