Lines Matching refs:ints
92 std::vector<int> ints(handle->data + handle->numFds, in unknownHandleFromNativeHandle() local
95 return nn::Memory::Unknown::Handle{.fds = std::move(fds), .ints = std::move(ints)}; in unknownHandleFromNativeHandle()
409 const std::vector<int32_t>& ints) { in createNativeHandleFrom() argument
412 CHECK_LE(ints.size(), kIntMax); in createNativeHandleFrom()
414 native_handle_create(static_cast<int>(fds.size()), static_cast<int>(ints.size())); in createNativeHandleFrom()
422 std::copy(ints.begin(), ints.end(), nativeHandle->data + nativeHandle->numFds); in createNativeHandleFrom()
430 const std::vector<int32_t>& ints) { in createNativeHandleFrom() argument
433 return createNativeHandleFrom(std::move(fds), ints); in createNativeHandleFrom()
438 return createNativeHandleFrom(std::move(fds), handle.ints); in createNativeHandleFrom()
451 const std::vector<int> ints = {memory.prot, lowOffsetBits, highOffsetBits}; in createHidlMemoryFrom() local
453 auto handle = NN_TRY(createNativeHandleFrom(std::move(fd), ints)); in createHidlMemoryFrom()