Home
last modified time | relevance | path

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

/external/libchrome/mojo/core/
Dchannel.cc374 void Channel::Message::SetHandles(std::vector<PlatformHandle> new_handles) { in SetHandles() argument
376 handles.reserve(new_handles.size()); in SetHandles()
377 for (auto& h : new_handles) { in SetHandles()
384 std::vector<PlatformHandleInTransit> new_handles) { in SetHandles() argument
388 CHECK(new_handles.empty()); in SetHandles()
391 CHECK_EQ(new_handles.size(), legacy_header()->num_handles); in SetHandles()
392 std::swap(handle_vector_, new_handles); in SetHandles()
397 CHECK(new_handles.empty()); in SetHandles()
401 CHECK_LE(new_handles.size(), max_handles_); in SetHandles()
402 header()->num_handles = static_cast<uint16_t>(new_handles.size()); in SetHandles()
[all …]
Dchannel.h188 void SetHandles(std::vector<PlatformHandle> new_handles);
189 void SetHandles(std::vector<PlatformHandleInTransit> new_handles);
/external/tensorflow/tensorflow/core/util/
Drocm_sparse.cc145 HipSparseHandles new_handles(gpu_stream_); in Initialize() local
146 TF_RETURN_IF_ERROR(new_handles.Initialize()); in Initialize()
147 it = handle_map->insert(std::make_pair(gpu_stream_, std::move(new_handles))) in Initialize()
Drocm_solvers.cc151 std::unique_ptr<ROCmSolverHandles> new_handles( in ROCmSolver() local
153 it = handle_map->insert(std::make_pair(hip_stream_, std::move(new_handles))) in ROCmSolver()
Dcuda_sparse.cc173 CudaSparseHandles new_handles(gpu_stream_); in Initialize() local
174 TF_RETURN_IF_ERROR(new_handles.Initialize()); in Initialize()
175 it = handle_map->insert(std::make_pair(gpu_stream_, std::move(new_handles))) in Initialize()
Dcuda_solvers.cc183 std::unique_ptr<CudaSolverHandles> new_handles( in CudaSolver() local
186 handle_map->insert(std::make_pair(cuda_stream_, std::move(new_handles))) in CudaSolver()
/external/mesa3d/src/gallium/frontends/nine/
Dswapchain9.c803 D3DWindowBuffer *new_handles[This->num_back_buffers]; in present() local
807 … create_present_buffer(This, target_width, target_height, &new_resource[i], &new_handles[i]); in present()
808 if (!new_handles[i]) in present()
815 if (new_handles[i]) in present()
816 D3DWindowBuffer_release(This, new_handles[i]); in present()
821 This->present_handles[i] = new_handles[i]; in present()