/external/libchrome/mojo/core/ |
D | handle_table.cc | 58 handles_.insert(std::make_pair(handle, Entry(std::move(dispatcher)))); in AddDispatcher() 80 auto result = handles_.insert( in AddDispatchersFromTransit() 91 auto it = handles_.find(handle); in GetDispatcher() 92 if (it == handles_.end()) in GetDispatcher() 100 auto it = handles_.find(handle); in GetAndRemoveDispatcher() 101 if (it == handles_.end()) in GetAndRemoveDispatcher() 107 handles_.erase(it); in GetAndRemoveDispatcher() 117 auto it = handles_.find(handles[i]); in BeginTransit() 118 if (it == handles_.end()) in BeginTransit() 137 auto it = handles_.find(dispatcher.local_handle); in CompleteTransitAndClose() [all …]
|
D | core.cc | 129 handles_.reset(new HandleTable); in Core() 161 base::AutoLock lock(handles_->GetLock()); in GetDispatcher() 162 return handles_->GetDispatcher(handle); in GetDispatcher() 167 base::AutoLock lock(handles_->GetLock()); in GetAndRemoveDispatcher() 168 handles_->GetAndRemoveDispatcher(handle, &dispatcher); in GetAndRemoveDispatcher() 229 base::AutoLock lock(handles_->GetLock()); in AddDispatcher() 230 return handles_->AddDispatcher(dispatcher); in AddDispatcher() 238 base::AutoLock lock(handles_->GetLock()); in AddDispatchersFromTransit() 239 if (!handles_->AddDispatchersFromTransit(dispatchers, handles)) in AddDispatchersFromTransit() 256 base::AutoLock lock(handles_->GetLock()); in AcquireDispatchersForTransit() [all …]
|
D | channel.cc | 143 handles_ = reinterpret_cast<HandleEntry*>(mutable_extra_header()); in Message() 146 handles_[i].handle = base::win::HandleToUint32(INVALID_HANDLE_VALUE); in Message() 256 HANDLE handle = base::win::Uint32ToHandle(message->handles_[i].handle); in Deserialize() 294 handles_ = reinterpret_cast<HandleEntry*>(mutable_extra_header()); in ExtendPayload() 405 memset(handles_, 0, extra_header_size()); in SetHandles() 410 handles_[i].handle = base::win::HandleToUint32(handle); in SetHandles()
|
D | channel_posix.cc | 50 handles_(message_->TakeHandlesForTransport()) { in MessageView() 59 handles_ = std::move(other.handles_); in operator =() 78 return std::move(handles_); in TakeHandles() 83 handles_ = std::move(handles); in SetHandles() 89 std::vector<PlatformHandleInTransit> handles_; member in mojo::core::__anon048160970111::MessageView
|
D | message_unittest.cc | 134 handles_.emplace_back(std::move(handle)); in AddMessagePipe() 137 std::vector<mojo::ScopedMessagePipeHandle>& handles() { return handles_; } in handles() 143 *num_handles = handles_.size(); in GetSerializedSize() 147 ASSERT_TRUE(!handles_.empty()); in SerializeHandles() 148 for (size_t i = 0; i < handles_.size(); ++i) in SerializeHandles() 149 handles[i] = handles_[i].release().value(); in SerializeHandles() 150 handles_.clear(); in SerializeHandles() 159 std::vector<mojo::ScopedMessagePipeHandle> handles_; member in mojo::core::__anona30b2c700111::SimpleMessage
|
D | handle_table.h | 78 HandleMap handles_; variable
|
/external/libchrome/mojo/public/cpp/bindings/lib/ |
D | serialization_context.cc | 25 DCHECK_LT(handles_.size(), std::numeric_limits<uint32_t>::max()); in AddHandle() 26 out_data->value = static_cast<uint32_t>(handles_.size()); in AddHandle() 27 handles_.emplace_back(std::move(handle)); in AddHandle() 62 handles_.swap(*message->mutable_handles()); in TakeHandlesFromMessage() 71 DCHECK_LT(encoded_handle.value, handles_.size()); in TakeHandle() 72 return std::move(handles_[encoded_handle.value]); in TakeHandle()
|
D | sync_handle_registry.cc | 46 if (base::ContainsKey(handles_, handle)) in RegisterHandle() 53 handles_[handle] = callback; in RegisterHandle() 59 if (!base::ContainsKey(handles_, handle)) in UnregisterHandle() 64 handles_.erase(handle); in UnregisterHandle() 144 const auto iter = handles_.find(ready_handle); in Wait()
|
D | serialization_context.h | 54 const std::vector<mojo::ScopedHandle>* handles() { return &handles_; } in COMPONENT_EXPORT() 55 std::vector<mojo::ScopedHandle>* mutable_handles() { return &handles_; } in COMPONENT_EXPORT() 87 std::vector<mojo::ScopedHandle> handles_; in COMPONENT_EXPORT()
|
D | message.cc | 181 handles_(std::move(other.handles_)), in Message() 223 handles_.resize(num_handles); in Message() 225 reinterpret_cast<MojoHandle*>(handles_.data()), in Message() 263 handles_ = std::move(other.handles_); in operator =() 279 handles_.clear(); in Reset()
|
/external/tensorflow/tensorflow/core/framework/ |
D | function_handle_cache.cc | 44 h = gtl::FindWithDefault(handles_, key, kInvalidHandle); in Instantiate() 51 handles_[key] = *handle; in Instantiate() 60 for (const auto& entry : handles_) { in Clear() 63 handles_.clear(); in Clear()
|
D | function_handle_cache.h | 46 std::unordered_map<string, FunctionLibraryRuntime::Handle> handles_
|
/external/tensorflow/tensorflow/compiler/xrt/ |
D | xrt_util.cc | 44 for (size_t i = 0; i < handles_.size(); ++i) { in ~ScopedHandles() 46 memory_manager_->Release(handles_[i]).IgnoreError(); in ~ScopedHandles() 51 int64 operator[](size_t index) const { return handles_.at(index); } in operator []() 53 size_t size() const { return handles_.size(); } in size() 59 if (index >= handles_.size()) { in Add() 60 handles_.resize(index + 1, XRTMemoryManager::InvalidKey()); in Add() 64 Status status = memory_manager_->Release(handles_[index]); in Add() 72 handles_[index] = handle; in Add() 87 TF_RETURN_IF_ERROR(memory_manager_->Release(handles_[index])); in Drop() 96 int64 handle = handles_.at(index); in Release() [all …]
|
/external/minigbm/cros_gralloc/ |
D | cros_gralloc_driver.cc | 55 handles_.clear(); in ~cros_gralloc_driver() 153 handles_.emplace(hnd, std::make_pair(buffer, 1)); in emplace_buffer() 287 handles_[hnd].second++; in retain() 321 handles_.emplace(hnd, std::make_pair(buffer, 1)); in retain() 341 if (!--handles_[hnd].second) in release() 342 handles_.erase(hnd); in release() 517 if (handles_.count(hnd)) in get_buffer() 518 return handles_[hnd].first; in get_buffer() 528 for (const auto &pair : handles_) in for_each_handle()
|
/external/libchrome/ipc/ |
D | message_view.cc | 17 handles_(std::move(handles)) {} in MessageView() 22 : buffer_view_(std::move(buffer_view)), handles_(std::move(handles)) {} in MessageView()
|
D | message_view.h | 44 return std::move(handles_); in COMPONENT_EXPORT() 49 base::Optional<std::vector<mojo::native::SerializedHandlePtr>> handles_; in COMPONENT_EXPORT() local
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | bfc_allocator.h | 289 handles_.resize(n_handles, kInvalidChunkHandle); in AllocationRegion() 309 handles_.resize(n_handles, kInvalidChunkHandle); in extend() 312 return handles_[IndexFor(p)]; in get_handle() 314 void set_handle(const void* p, ChunkHandle h) { handles_[IndexFor(p)] = h; } in set_handle() 322 std::swap(handles_, other->handles_); in Swap() 341 std::vector<ChunkHandle> handles_; variable
|
/external/tensorflow/tensorflow/core/kernels/ |
D | functional_ops.cc | 153 handles_ ABSL_GUARDED_BY(mu_); 221 const auto iter = handles_.find(lib); in GetHandles() 222 if (TF_PREDICT_TRUE(iter != handles_.end())) { in GetHandles() 229 const auto iter = handles_.find(lib); in GetHandles() 230 if (TF_PREDICT_TRUE(iter != handles_.end())) { in GetHandles() 236 handles_[lib] = {*then_handle, *else_handle}; in GetHandles() 398 handles_ ABSL_GUARDED_BY(mu_); 672 const auto iter = handles_.find(lib); in GetHandles() 673 if (TF_PREDICT_TRUE(iter != handles_.end())) { in GetHandles() 680 const auto iter = handles_.find(lib); in GetHandles() [all …]
|
D | partitioned_function_ops.cc | 77 for (const auto& it : handles_) { in ~PartitionedCallOp() 112 auto it = handles_.find(lib); in ComputeAsync() 113 if (it == handles_.end()) { in ComputeAsync() 116 handles_[lib] = handle; in ComputeAsync()
|
D | partitioned_function_ops.h | 67 gtl::FlatMap<FunctionLibraryRuntime*, FunctionLibraryRuntime::Handle> handles_
|
/external/libchrome/libchrome_tools/patches/ |
D | Mojo-Check-if-dispatcher-is-null-in-Core-UnwrapPlatf.patch | 28 base::AutoLock lock(handles_->GetLock()); 29 dispatcher = handles_->GetDispatcher(mojo_handle);
|
/external/tensorflow/tensorflow/core/common_runtime/eager/ |
D | tensor_handle.cc | 69 : handles_(std::move(handles)), shape_(shape) { in PackedTensorHandleData() 70 for (auto* handle : handles_) { in PackedTensorHandleData() 76 for (auto* handle : handles_) { in ~PackedTensorHandleData() 104 for (auto* handle : handles_) { in Unprotect() 118 for (auto* handle : handles_) { in IsReady() 134 for (auto* handle : handles_) { in WaitReady() 147 for (const auto* handle : handles_) { in DebugString() 157 return handles_.size(); in NumPackedHandles() 162 if (index < 0 || index >= handles_.size()) { in ExtractPackedHandle() 164 handles_.size(), "), but got ", index); in ExtractPackedHandle() [all …]
|
/external/libchrome/mojo/public/cpp/bindings/ |
D | message.h | 160 const std::vector<ScopedHandle>* handles() const { return &handles_; } in COMPONENT_EXPORT() 161 std::vector<ScopedHandle>* mutable_handles() { return &handles_; } in COMPONENT_EXPORT() 231 std::vector<ScopedHandle> handles_; in COMPONENT_EXPORT() local
|
D | sync_handle_registry.h | 72 std::map<Handle, HandleCallback> handles_; variable
|
/external/libchrome/libchrome_tools/patch/ |
D | mojom_disable_trace_and_mem_dump.patch | 17 handles_.reset(new HandleTable); 19 - handles_.get(), "MojoHandleTable", nullptr); 21 + // handles_.get(), "MojoHandleTable", nullptr); 30 - ->UnregisterAndDeleteDumpProviderSoon(std::move(handles_)); 32 + // ->UnregisterAndDeleteDumpProviderSoon(std::move(handles_));
|