/external/webrtc/webrtc/modules/audio_processing/ |
D | processing_component.cc | 29 while (!handles_.empty()) { in Destroy() 30 DestroyHandle(handles_.back()); in Destroy() 31 handles_.pop_back(); in Destroy() 60 return handles_[index]; in handle() 73 if (num_handles_ > handles_.size()) { in Initialize() 74 handles_.resize(num_handles_, NULL); in Initialize() 77 assert(handles_.size() >= num_handles_); in Initialize() 79 if (handles_[i] == NULL) { in Initialize() 80 handles_[i] = CreateHandle(); in Initialize() 81 if (handles_[i] == NULL) { in Initialize() [all …]
|
D | processing_component.h | 61 std::vector<void*> handles_; variable
|
/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_fuchsia.cc | 135 handles_(message_->TakeHandlesForTransport()) { in MessageView() 144 handles_ = std::move(other.handles_); in operator =() 163 if (handles_.empty()) in TakeHandles() 173 std::vector<PlatformHandleInTransit> in_handles = std::move(handles_); in TakeHandles() 174 handles_.reserve(in_handles.size()); in TakeHandles() 177 &handles_)) in TakeHandles() 180 return std::move(handles_); in TakeHandles() 186 std::vector<PlatformHandleInTransit> handles_; member in mojo::core::__anonb02869e90111::MessageView
|
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::__anon7bef9a390111::MessageView
|
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 | 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::__anon2b539ad20111::SimpleMessage
|
/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 | 42 h = gtl::FindWithDefault(handles_, key, kInvalidHandle); in Instantiate() 49 handles_[key] = *handle; in Instantiate() 58 for (auto entry : handles_) { in Clear() 61 handles_.clear(); in Clear()
|
D | function_handle_cache.h | 46 std::unordered_map<string, FunctionLibraryRuntime::Handle> handles_
|
/external/minigbm/cros_gralloc/ |
D | cros_gralloc_driver.cc | 21 handles_.clear(); in ~cros_gralloc_driver() 160 handles_.emplace(hnd, std::make_pair(buffer, 1)); in allocate() 178 handles_[hnd].second++; in retain() 219 handles_.emplace(hnd, std::make_pair(buffer, 1)); in retain() 239 if (!--handles_[hnd].second) in release() 240 handles_.erase(hnd); in release() 323 if (handles_.count(hnd)) in get_buffer() 324 return handles_[hnd].first; in get_buffer()
|
D | cros_gralloc_driver.h | 44 handles_; variable
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | bfc_allocator.h | 219 handles_.reset(new ChunkHandle[n_handles]); in AllocationRegion() 221 handles_[i] = kInvalidChunkHandle; in AllocationRegion() 236 return handles_[IndexFor(p)]; in get_handle() 238 void set_handle(const void* p, ChunkHandle h) { handles_[IndexFor(p)] = h; } in set_handle() 246 std::swap(handles_, other.handles_); in Swap() 265 std::unique_ptr<ChunkHandle[]> handles_; variable
|
/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/kernels/ |
D | partitioned_function_ops.cc | 71 for (const auto& it : handles_) { in ~PartitionedCallOp() 106 auto it = handles_.find(lib); in ComputeAsync() 107 if (it == handles_.end()) { in ComputeAsync() 110 handles_[lib] = handle; in ComputeAsync()
|
D | partitioned_function_ops.h | 66 gtl::FlatMap<FunctionLibraryRuntime*, FunctionLibraryRuntime::Handle> handles_
|
/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_));
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
D | tf2xla_util.cc | 692 auto iter = handles_.find(canonicalized_name); in GetOrInstantiate() 693 if (iter != handles_.end()) { in GetOrInstantiate() 699 handles_[canonicalized_name] = *handle; in GetOrInstantiate() 705 for (auto iter : handles_) { in ReleaseAllHandles() 708 handles_.clear(); in ReleaseAllHandles()
|