Lines Matching refs:fds
160 int* fds = new int[numFds]; in convertTo() local
178 std::copy(handle->data, intsStart, fds); in convertTo()
184 int const* constFds = static_cast<int const*>(fds); in convertTo()
187 delete [] fds; in convertTo()
236 void const*& buffer, size_t& size, int const*& fds, size_t& numFds) { in unflattenFence() argument
253 *nh = native_handle_create_from_fd(*fds); in unflattenFence()
258 ++fds; in unflattenFence()
279 void*& buffer, size_t& size, int*& fds, size_t& numFds) { in flattenFence() argument
290 *fds = fd; in flattenFence()
291 ++fds; in flattenFence()
325 int* fds = static_cast<int*>(baseFds.get()); in wrapAs() local
327 if (l.flatten(buffer, size, fds, numFds) != NO_ERROR) { in wrapAs()
387 int* fds = static_cast<int*>(baseFds.get()); in convertTo() local
389 if (flattenFence(hidl_handle(nh), buffer, size, fds, numFds) != NO_ERROR) { in convertTo()
487 void const*& buffer, size_t& size, int const*& fds, size_t& numFds) { in unflatten() argument
514 buffer, size, fds, numFds); in unflatten()
556 int* fds = baseFds.get(); in wrapAs() local
558 if (l.flatten(buffer, size, fds, numFds) != NO_ERROR) { in wrapAs()
627 void*& buffer, size_t& size, int*& fds, size_t& numFds) { in flatten() argument
643 return flattenFence(hidl_handle(*nh), buffer, size, fds, numFds); in flatten()
726 void*& buffer, size_t& size, int*& fds, size_t numFds) { in flatten() argument
762 buffer, size, fds, numFds); in flatten()
831 void*& buffer, size_t& size, int*& fds, size_t& numFds) { in flatten() argument
846 buffer, size, fds, numFds); in flatten()
892 int* fds = static_cast<int*>(baseFds.get()); in convertTo() local
895 if (flatten(t, &nhAA, buffer, size, fds, numFds) != NO_ERROR) { in convertTo()