Searched refs:new_handles (Results 1 – 4 of 4) sorted by relevance
309 void Channel::Message::SetHandles(ScopedPlatformHandleVectorPtr new_handles) { in SetHandles() argument313 CHECK(!new_handles || new_handles->size() == 0); in SetHandles()316 CHECK(new_handles && new_handles->size() == legacy_header()->num_handles); in SetHandles()317 std::swap(handle_vector_, new_handles); in SetHandles()322 CHECK(!new_handles || new_handles->size() == 0); in SetHandles()326 CHECK(new_handles && new_handles->size() <= max_handles_); in SetHandles()327 header()->num_handles = static_cast<uint16_t>(new_handles->size()); in SetHandles()328 std::swap(handle_vector_, new_handles); in SetHandles()
155 void SetHandles(ScopedPlatformHandleVectorPtr new_handles);
325 amdgpu_bo_handle *new_handles; in amdgpu_lookup_or_add_real_buffer() local329 new_handles = MALLOC(new_max * sizeof(*new_handles)); in amdgpu_lookup_or_add_real_buffer()332 if (!new_buffers || !new_handles || !new_flags) { in amdgpu_lookup_or_add_real_buffer()335 FREE(new_handles); in amdgpu_lookup_or_add_real_buffer()341 memcpy(new_handles, cs->handles, cs->num_real_buffers * sizeof(*new_handles)); in amdgpu_lookup_or_add_real_buffer()350 cs->handles = new_handles; in amdgpu_lookup_or_add_real_buffer()
162 std::unique_ptr<CudaSolverHandles> new_handles( in CudaSolver() local165 handle_map->insert(std::make_pair(cuda_stream_, std::move(new_handles))) in CudaSolver()