Home
last modified time | relevance | path

Searched refs:wrapped_ (Results 1 – 11 of 11) sorted by relevance

/external/webrtc/webrtc/sound/
Dsoundsystemproxy.cc17 return wrapped_ ? wrapped_->EnumeratePlaybackDevices(devices) : false; in EnumeratePlaybackDevices()
22 return wrapped_ ? wrapped_->EnumerateCaptureDevices(devices) : false; in EnumerateCaptureDevices()
27 return wrapped_ ? wrapped_->GetDefaultPlaybackDevice(device) : false; in GetDefaultPlaybackDevice()
32 return wrapped_ ? wrapped_->GetDefaultCaptureDevice(device) : false; in GetDefaultCaptureDevice()
38 return wrapped_ ? wrapped_->OpenPlaybackDevice(device, params) : NULL; in OpenPlaybackDevice()
44 return wrapped_ ? wrapped_->OpenCaptureDevice(device, params) : NULL; in OpenCaptureDevice()
Dautomaticallychosensoundsystem.h46 if (wrapped_) { in Init()
56 wrapped_ = sound_systems_[i].get(); in Init()
61 if (!wrapped_) { in Init()
65 LOG(LS_INFO) << "Selected " << wrapped_->GetName() << " sound system"; in Init()
72 if (!wrapped_) { in Terminate()
75 wrapped_->Terminate(); in Terminate()
76 wrapped_ = NULL; in Terminate()
83 return wrapped_ ? wrapped_->GetName() : "automatic"; in GetName()
Dsoundsystemproxy.h24 SoundSystemProxy() : wrapped_(NULL) {} in SoundSystemProxy()
42 SoundSystemInterface *wrapped_;
/external/tensorflow/tensorflow/core/distributed_runtime/
Dworker_cache_wrapper.h28 WorkerCacheWrapper(WorkerCacheInterface* wrapped) : wrapped_(wrapped) {} in WorkerCacheWrapper()
33 return wrapped_->ListWorkers(workers); in ListWorkers()
37 return wrapped_->ListWorkersInJob(job_name, workers); in ListWorkersInJob()
48 return wrapped_->CreateWorker(target); in CreateWorker()
57 return wrapped_->ReleaseWorker(target, worker); in ReleaseWorker()
66 return wrapped_->GetDeviceLocalityNonBlocking(device, locality); in GetDeviceLocalityNonBlocking()
75 return wrapped_->GetDeviceLocalityAsync(device, locality, std::move(done)); in GetDeviceLocalityAsync()
79 virtual void SetLogging(bool active) { wrapped_->SetLogging(active); } in SetLogging()
82 virtual void ClearLogs() { wrapped_->ClearLogs(); } in ClearLogs()
87 return wrapped_->RetrieveLogs(step_id, ss); in RetrieveLogs()
[all …]
Dworker_session.cc26 : wrapped_(std::move(w)) {} in WorkerFreeListCache()
30 wrapped_->ReleaseWorker(p.first, p.second.worker); in ~WorkerFreeListCache()
35 wrapped_->ListWorkers(workers); in ListWorkers()
40 wrapped_->ListWorkersInJob(job_name, workers); in ListWorkersInJob()
50 state.worker = wrapped_->CreateWorker(target); in CreateWorker()
63 return wrapped_->GetDeviceLocalityNonBlocking(device, locality); in GetDeviceLocalityNonBlocking()
68 wrapped_->GetDeviceLocalityAsync(device, locality, done); in GetDeviceLocalityAsync()
71 void SetLogging(bool active) override { wrapped_->SetLogging(active); } in SetLogging()
73 void ClearLogs() override { wrapped_->ClearLogs(); } in ClearLogs()
76 return wrapped_->RetrieveLogs(step_id, ss); in RetrieveLogs()
[all …]
/external/tensorflow/tensorflow/core/framework/
Dallocator.h291 explicit AllocatorWrapper(Allocator* wrapped) : wrapped_(wrapped) {} in AllocatorWrapper()
296 Allocator* wrapped() const { return wrapped_; } in wrapped()
298 string Name() override { return wrapped_->Name(); } in Name()
301 return wrapped_->AllocateRaw(alignment, num_bytes); in AllocateRaw()
306 return wrapped_->AllocateRaw(alignment, num_bytes, allocation_attr); in AllocateRaw()
309 void DeallocateRaw(void* ptr) override { wrapped_->DeallocateRaw(ptr); } in DeallocateRaw()
312 return wrapped_->TracksAllocationSizes(); in TracksAllocationSizes()
316 return wrapped_->TracksAllocationSizes(); in ShouldAllocateEmptyTensors()
320 return wrapped_->RequestedSize(ptr); in RequestedSize()
324 return wrapped_->AllocatedSize(ptr); in AllocatedSize()
[all …]
/external/tensorflow/tensorflow/stream_executor/
Ddevice_memory.h232 const DeviceMemory<ElemT> &cref() const { return wrapped_; } in cref()
237 DeviceMemory<ElemT> *ptr() { return &wrapped_; } in ptr()
238 const DeviceMemory<ElemT> *ptr() const { return &wrapped_; } in ptr()
246 bool operator==(std::nullptr_t other) const { return wrapped_.is_null(); }
247 bool operator!=(std::nullptr_t other) const { return !wrapped_.is_null(); }
260 auto tmp = wrapped_; in Release()
261 wrapped_.ResetFromByteSize(nullptr, 0); in Release()
266 DeviceMemory<ElemT> wrapped_; // Value we wrap with scoped-release.
Dstream_executor_pimpl.h783 : wrapped_(DeviceMemoryBase()), parent_(nullptr) {} in ScopedDeviceMemory()
788 : wrapped_(value), parent_(parent) {} in ScopedDeviceMemory()
805 if (wrapped_ == nullptr) return; in ~ScopedDeviceMemory()
807 parent_->Deallocate(&wrapped_); in ~ScopedDeviceMemory()
812 if (wrapped_ != nullptr) { in Reset()
814 parent_->Deallocate(&wrapped_); in Reset()
816 wrapped_ = updated; in Reset()
821 if (wrapped_ != nullptr) { in Reset()
823 parent_->Deallocate(&wrapped_); in Reset()
825 wrapped_ = DeviceMemory<ElemT>{}; in Reset()
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dset_stats_aggregator_dataset_op.cc33 : wrapped_(stats_aggregator), tag_(tag), prefix_(prefix) {} in StatsAggregatorWithTagAndPrefix()
38 wrapped_->AddToHistogram(strings::StrCat(tag_, "_", name), values); in AddToHistogram()
40 wrapped_->AddToHistogram(name, values); in AddToHistogram()
46 wrapped_->AddScalar(strings::StrCat(tag_, "_", name), value); in AddScalar()
48 wrapped_->AddScalar(name, value); in AddScalar()
53 wrapped_->EncodeToProto(out_summary); in EncodeToProto()
59 wrapped_->IncrementCounter(strings::StrCat(prefix_, "/", name), label, in IncrementCounter()
62 wrapped_->IncrementCounter(strings::StrCat("/tensorflow/", name), label, in IncrementCounter()
68 std::shared_ptr<StatsAggregator> wrapped_; member in tensorflow::data::__anon8ce92bd20111::StatsAggregatorWithTagAndPrefix
/external/tensorflow/tensorflow/compiler/jit/
Dxla_launch_util.cc169 : xla::DeviceMemoryAllocator(platform), wrapped_(wrapped) {} in XlaAllocator()
179 data = wrapped_->AllocateRaw(Allocator::kAllocatorAlignment, size, attrs); in Allocate()
190 wrapped_->DeallocateRaw(mem.opaque()); in Deallocate()
Dxla_launch_util.h129 Allocator* wrapped_;