Lines Matching refs:allocator

110                           ContiguousArrayAllocator<T> allocator) {  in ReadArray()  argument
120 if (!allocator(arrayData, length, &array)) return STATUS_NO_MEMORY; in ReadArray()
139 ContiguousArrayAllocator<char16_t> allocator) { in ReadArray() argument
149 if (!allocator(arrayData, length, &array)) return STATUS_NO_MEMORY; in ReadArray()
187 binder_status_t ReadArray(const AParcel* parcel, void* arrayData, ArrayAllocator<T> allocator, in ReadArray() argument
197 if (!allocator(arrayData, length)) return STATUS_NO_MEMORY; in ReadArray()
326 AParcel_stringAllocator allocator) { in AParcel_readString() argument
331 if (allocator(stringData, -1, nullptr)) { in AParcel_readString()
352 bool success = allocator(stringData, len8, &str8); in AParcel_readString()
399 AParcel_stringArrayAllocator allocator, in AParcel_readStringArray() argument
409 if (!allocator(arrayData, length)) return STATUS_NO_MEMORY; in AParcel_readStringArray()
446 AParcel_parcelableArrayAllocator allocator, in AParcel_readParcelableArray() argument
456 if (!allocator(arrayData, length)) return STATUS_NO_MEMORY; in AParcel_readParcelableArray()
601 AParcel_int32ArrayAllocator allocator) { in AParcel_readInt32Array() argument
602 return ReadArray<int32_t>(parcel, arrayData, allocator); in AParcel_readInt32Array()
606 AParcel_uint32ArrayAllocator allocator) { in AParcel_readUint32Array() argument
607 return ReadArray<uint32_t>(parcel, arrayData, allocator); in AParcel_readUint32Array()
611 AParcel_int64ArrayAllocator allocator) { in AParcel_readInt64Array() argument
612 return ReadArray<int64_t>(parcel, arrayData, allocator); in AParcel_readInt64Array()
616 AParcel_uint64ArrayAllocator allocator) { in AParcel_readUint64Array() argument
617 return ReadArray<uint64_t>(parcel, arrayData, allocator); in AParcel_readUint64Array()
621 AParcel_floatArrayAllocator allocator) { in AParcel_readFloatArray() argument
622 return ReadArray<float>(parcel, arrayData, allocator); in AParcel_readFloatArray()
626 AParcel_doubleArrayAllocator allocator) { in AParcel_readDoubleArray() argument
627 return ReadArray<double>(parcel, arrayData, allocator); in AParcel_readDoubleArray()
631 AParcel_boolArrayAllocator allocator, in AParcel_readBoolArray() argument
633 return ReadArray<bool>(parcel, arrayData, allocator, setter, &Parcel::readBool); in AParcel_readBoolArray()
637 AParcel_charArrayAllocator allocator) { in AParcel_readCharArray() argument
638 return ReadArray<char16_t>(parcel, arrayData, allocator); in AParcel_readCharArray()
642 AParcel_byteArrayAllocator allocator) { in AParcel_readByteArray() argument
643 return ReadArray<int8_t>(parcel, arrayData, allocator); in AParcel_readByteArray()