Lines Matching refs:ints
93 const std::vector<int32_t>& ints) { in createNativeHandleFrom() argument
95 CHECK_LE(ints.size(), kIntMax); in createNativeHandleFrom()
96 native_handle_t* nativeHandle = native_handle_create(1, static_cast<int>(ints.size())); in createNativeHandleFrom()
102 std::copy(ints.begin(), ints.end(), nativeHandle->data + 1); in createNativeHandleFrom()
119 const std::vector<int> ints = {memory.prot, lowOffsetBits, highOffsetBits}; in createHidlMemoryFrom() local
121 auto handle = NN_TRY(createNativeHandleFrom(std::move(fd), ints)); in createHidlMemoryFrom()
410 CHECK_LE(handle.ints.size(), kIntMax); in hidlHandleFromSharedHandle()
412 static_cast<int>(handle.ints.size())); in hidlHandleFromSharedHandle()
419 std::copy(handle.ints.begin(), handle.ints.end(), &nativeHandle->data[nativeHandle->numFds]); in hidlHandleFromSharedHandle()
441 std::vector<int> ints(&handle->data[handle->numFds], in sharedHandleFromNativeHandle() local
444 return nn::Handle{.fds = std::move(fds), .ints = std::move(ints)}; in sharedHandleFromNativeHandle()