Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/vndk/
DC2AllocatorGralloc.cpp112 NUM_INTS = sizeof(ExtraData) / sizeof(int), enumerator
120 || handle->numInts < NUM_INTS) { in GetExtraData()
124 &handle->data[handle->numFds + handle->numInts - NUM_INTS]); in GetExtraData()
155 … handle->numInts > int((INT_MAX - handle->version) / sizeof(int)) - NUM_INTS - handle->numFds) { in WrapAndMoveNativeHandle()
163 native_handle_t *res = native_handle_create(handle->numFds, handle->numInts + NUM_INTS); in WrapAndMoveNativeHandle()
221 native_handle_t *res = native_handle_create(handle->numFds, handle->numInts - NUM_INTS); in UnwrapNativeHandle()
265 NUM_INTS = sizeof(ExtraData) / sizeof(int), enumerator
273 || handle->numInts < NUM_INTS) { in GetExtraData()
277 &handle->data[handle->numFds + handle->numInts - NUM_INTS]); in GetExtraData()
306 int((INT_MAX - handle->version) / sizeof(int)) - NUM_INTS - handle->numFds) { in WrapAndMoveNativeHandle()
[all …]