/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/libmojo/mojo/edk/system/ |
D | handle_table.cc | 25 handles_.insert(std::make_pair(handle, Entry(std::move(dispatcher)))); in AddDispatcher() 45 auto result = handles_.insert( in AddDispatchersFromTransit() 55 auto it = handles_.find(handle); in GetDispatcher() 56 if (it == handles_.end()) in GetDispatcher() 64 auto it = handles_.find(handle); in GetAndRemoveDispatcher() 65 if (it == handles_.end()) in GetAndRemoveDispatcher() 71 handles_.erase(it); in GetAndRemoveDispatcher() 82 auto it = handles_.find(handles[i]); in BeginTransit() 83 if (it == handles_.end()) in BeginTransit() 102 auto it = handles_.find(dispatcher.local_handle); in CompleteTransitAndClose() [all …]
|
D | core.cc | 166 return handles_.GetDispatcher(handle); in GetDispatcher() 218 return handles_.AddDispatcher(dispatcher); in AddDispatcher() 227 if (!handles_.AddDispatchersFromTransit(dispatchers, handles)) in AddDispatchersFromTransit() 254 MojoResult result = handles_.GetAndRemoveDispatcher(wrapper_handle, &d); in PassWrappedPlatformHandle() 307 dispatcher = handles_.GetDispatcher(mojo_handle); in PassSharedMemoryHandle() 311 result = handles_.GetAndRemoveDispatcher(mojo_handle, &dispatcher); in PassSharedMemoryHandle() 381 MojoResult rv = handles_.GetAndRemoveDispatcher(handle, &dispatcher); in Close() 478 MojoResult rv = handles_.BeginTransit(handles, num_handles, &dispatchers); in AllocMessage() 480 handles_.CancelTransit(dispatchers); in AllocMessage() 493 handles_.CompleteTransitAndClose(dispatchers); in AllocMessage() [all …]
|
D | channel_posix.cc | 44 handles_(message_->TakeHandlesForTransport()) { in MessageView() 53 handles_ = std::move(other.handles_); in operator =() 71 ScopedPlatformHandleVectorPtr TakeHandles() { return std::move(handles_); } in TakeHandles() 75 handles_ = std::move(handles); in SetHandles() 81 ScopedPlatformHandleVectorPtr handles_; member in mojo::edk::__anona552ed230111::MessageView
|
D | channel.cc | 121 handles_ = reinterpret_cast<HandleEntry*>(mutable_extra_header()); in Message() 124 handles_[i].handle = base::win::HandleToUint32(INVALID_HANDLE_VALUE); in Message() 231 base::win::Uint32ToHandle(message->handles_[i].handle); in Deserialize() 330 memset(handles_, 0, extra_header_size()); in SetHandles() 332 handles_[i].handle = base::win::HandleToUint32((*handle_vector_)[i].handle); in SetHandles()
|
D | handle_table.h | 65 HandleMap handles_; variable
|
D | channel.h | 185 HandleEntry* handles_ = nullptr; member
|
D | core.h | 303 HandleTable handles_; variable
|
/external/libmojo/mojo/public/cpp/bindings/lib/ |
D | serialization_context.cc | 18 for (auto handle : handles_) { in ~SerializedHandleVector() 31 DCHECK_LT(handles_.size(), std::numeric_limits<uint32_t>::max()); in AddHandle() 32 data.value = static_cast<uint32_t>(handles_.size()); in AddHandle() 33 handles_.push_back(handle); in AddHandle() 42 DCHECK_LT(encoded_handle.value, handles_.size()); in TakeHandle() 43 return FetchAndReset(&handles_[encoded_handle.value]); in TakeHandle() 47 handles_.swap(*other); in Swap()
|
D | message.cc | 43 handles_(std::move(other.handles_)), in Message() 54 std::swap(other.handles_, handles_); in operator =() 61 handles_.clear(); in Reset() 76 handles_.swap(*handles); in InitializeFromMojoMessage() 125 if (handles_.empty()) // Fast path for the common case: No handles. in TakeMojoMessage() 137 handles_.empty() ? nullptr in TakeMojoMessage() 138 : reinterpret_cast<const MojoHandle*>(handles_.data()), in TakeMojoMessage() 139 handles_.size(), in TakeMojoMessage() 143 handles_.clear(); in TakeMojoMessage() 161 for (std::vector<Handle>::iterator it = handles_.begin(); in CloseHandles() [all …]
|
D | sync_handle_registry.cc | 37 if (base::ContainsKey(handles_, handle)) in RegisterHandle() 45 handles_[handle] = callback; in RegisterHandle() 51 if (!base::ContainsKey(handles_, handle)) in UnregisterHandle() 57 handles_.erase(handle); in UnregisterHandle() 90 const auto iter = handles_.find(Handle(ready_handle)); in WatchAllHandles()
|
D | serialization_context.h | 29 size_t size() const { return handles_.size(); } in size() 49 std::vector<mojo::Handle> handles_;
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | bfc_allocator.h | 194 handles_ = new ChunkHandle[n_handles]; in AllocationRegion() 196 handles_[i] = kInvalidChunkHandle; in AllocationRegion() 202 ~AllocationRegion() { delete[] handles_; } in ~AllocationRegion() 215 return handles_[IndexFor(p)]; in get_handle() 217 void set_handle(const void* p, ChunkHandle h) { handles_[IndexFor(p)] = h; } in set_handle() 225 std::swap(handles_, other.handles_); in Swap() 244 ChunkHandle* handles_ = nullptr; variable
|
/external/libmojo/mojo/public/cpp/bindings/ |
D | message.h | 124 const std::vector<Handle>* handles() const { return &handles_; } in handles() 125 std::vector<Handle>* mutable_handles() { return &handles_; } in mutable_handles() 162 std::vector<Handle> handles_; variable
|
D | sync_handle_registry.h | 56 HandleMap handles_; variable
|
/external/tensorflow/tensorflow/core/kernels/ |
D | functional_ops.cc | 211 const auto iter = handles_.find(lib); in ComputeAsync() 212 if (iter == handles_.end()) { in ComputeAsync() 217 handles_[lib] = {cond_handle, body_handle}; in ComputeAsync() 233 handles_ GUARDED_BY(mu_);
|
/external/tensorflow/tensorflow/stream_executor/cuda/ |
D | cuda_dnn.cc | 1331 handles_.assign(seq_length, handle); in CudnnRnnSequenceTensorDescriptor() 1337 wrap::cudnnDestroyTensorDescriptor(parent_, handles_[0]); in ~CudnnRnnSequenceTensorDescriptor() 1344 CHECK(!handles_.empty()) << "handles cannot be empty"; in handles() 1345 return handles_.data(); in handles() 1358 std::vector<cudnnTensorDescriptor_t> handles_; member in perftools::gputools::cuda::CudnnRnnSequenceTensorDescriptor
|