Home
last modified time | relevance | path

Searched refs:arrayData (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/libs/binder/ndk/include_ndk/android/
Dbinder_parcel.h120 typedef bool (*AParcel_stringArrayAllocator)(void* arrayData, int32_t length);
142 typedef bool (*AParcel_stringArrayElementAllocator)(void* arrayData, size_t index, int32_t length,
159 typedef const char* (*AParcel_stringArrayElementGetter)(const void* arrayData, size_t index,
174 typedef bool (*AParcel_parcelableArrayAllocator)(void* arrayData, int32_t length);
187 typedef binder_status_t (*AParcel_writeParcelableElement)(AParcel* parcel, const void* arrayData,
201 typedef binder_status_t (*AParcel_readParcelableElement)(const AParcel* parcel, void* arrayData,
222 typedef bool (*AParcel_int32ArrayAllocator)(void* arrayData, int32_t length, int32_t** outBuffer);
241 typedef bool (*AParcel_uint32ArrayAllocator)(void* arrayData, int32_t length, uint32_t** outBuffer);
260 typedef bool (*AParcel_int64ArrayAllocator)(void* arrayData, int32_t length, int64_t** outBuffer);
279 typedef bool (*AParcel_uint64ArrayAllocator)(void* arrayData, int32_t length, uint64_t** outBuffer);
[all …]
/frameworks/native/libs/binder/ndk/
Dparcel.cpp40 using ContiguousArrayAllocator = bool (*)(void* arrayData, int32_t length, T** outBuffer);
43 using ArrayAllocator = bool (*)(void* arrayData, int32_t length);
45 using ArrayGetter = T (*)(const void* arrayData, size_t index);
47 using ArraySetter = void (*)(void* arrayData, size_t index, T value);
109 binder_status_t ReadArray(const AParcel* parcel, void* arrayData, in ReadArray() argument
120 if (!allocator(arrayData, length, &array)) return STATUS_NO_MEMORY; in ReadArray()
138 binder_status_t ReadArray<char16_t>(const AParcel* parcel, void* arrayData, in ReadArray() argument
149 if (!allocator(arrayData, length, &array)) return STATUS_NO_MEMORY; in ReadArray()
167 binder_status_t WriteArray(AParcel* parcel, const void* arrayData, int32_t length, in WriteArray() argument
178 status = (rawParcel->*write)(getter(arrayData, i)); in WriteArray()
[all …]