Lines Matching refs:numFds
331 return static_cast<size_t>(handle ? handle->numFds : 0); in getFdCount()
356 buf[10] = handle->numFds; in flatten()
359 static_cast<size_t>(handle->numFds) * sizeof(int)); in flatten()
360 memcpy(&buf[12], handle->data + handle->numFds, in flatten()
367 fds += handle->numFds; in flatten()
368 count -= static_cast<size_t>(handle->numFds); in flatten()
381 const size_t numFds = static_cast<size_t>(buf[10]); in unflatten() local
389 if (numFds >= maxNumber || numInts >= (maxNumber - 12)) { in unflatten()
393 numFds, numInts); in unflatten()
400 size_t fdCountNeeded = numFds; in unflatten()
408 if (numFds || numInts) { in unflatten()
416 static_cast<int>(numFds), static_cast<int>(numInts)); in unflatten()
423 memcpy(h->data, fds, numFds * sizeof(int)); in unflatten()
424 memcpy(h->data + numFds, &buf[12], numInts * sizeof(int)); in unflatten()
456 fds += numFds; in unflatten()
457 count -= numFds; in unflatten()