Lines Matching refs:numFds
390 memcpy(buf + 13, handle->data + handle->numFds, in flatten()
430 const size_t numFds = static_cast<size_t>(buf[10]); in unflatten() local
438 if (numFds >= maxNumber || numInts >= (maxNumber - flattenWordCount)) { in unflatten()
443 ALOGE("unflatten: numFds or numInts is too large: %zd, %zd", numFds, numInts); in unflatten()
450 size_t fdCountNeeded = numFds; in unflatten()
458 if (numFds || numInts) { in unflatten()
471 native_handle_create(static_cast<int>(numFds), static_cast<int>(numInts)); in unflatten()
480 memcpy(h->data, fds, numFds * sizeof(int)); in unflatten()
481 memcpy(h->data + numFds, buf + flattenWordCount, numInts * sizeof(int)); in unflatten()
518 fds += numFds; in unflatten()
519 count -= numFds; in unflatten()