Home
last modified time | relevance | path

Searched refs:new_handles (Results 1 – 4 of 4) sorted by relevance

/external/libmojo/mojo/edk/system/
Dchannel.cc309 void Channel::Message::SetHandles(ScopedPlatformHandleVectorPtr new_handles) { in SetHandles() argument
313 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()
Dchannel.h155 void SetHandles(ScopedPlatformHandleVectorPtr new_handles);
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_cs.c325 amdgpu_bo_handle *new_handles; in amdgpu_lookup_or_add_real_buffer() local
329 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()
/external/tensorflow/tensorflow/core/kernels/
Dcuda_solvers.cc162 std::unique_ptr<CudaSolverHandles> new_handles( in CudaSolver() local
165 handle_map->insert(std::make_pair(cuda_stream_, std::move(new_handles))) in CudaSolver()