Home
last modified time | relevance | path

Searched refs:impl_ (Results 1 – 25 of 139) sorted by relevance

123456

/external/libchrome/base/task/sequence_manager/
Dtask_queue.cc17 : impl_(std::move(impl)), in TaskQueue()
19 sequence_manager_(impl_ ? impl_->GetSequenceManagerWeakPtr() : nullptr), in TaskQueue()
21 impl_ ? impl_->GetGracefulQueueShutdownHelper() : nullptr) {} in TaskQueue()
25 if (!impl_) in ~TaskQueue()
27 if (impl_->IsUnregistered()) in ~TaskQueue()
80 if (!impl_) in ShutdownTaskQueue()
83 impl_.reset(); in ShutdownTaskQueue()
86 impl_->SetBlameContext(nullptr); in ShutdownTaskQueue()
87 impl_->SetOnTaskStartedHandler( in ShutdownTaskQueue()
89 impl_->SetOnTaskCompletedHandler( in ShutdownTaskQueue()
[all …]
/external/parameter-framework/asio-1.10.6/include/asio/ip/
Dbasic_endpoint.hpp50 : impl_() in basic_endpoint()
72 : impl_(internet_protocol.family(), port_num) in basic_endpoint()
80 : impl_(addr, port_num) in basic_endpoint()
86 : impl_(other.impl_) in basic_endpoint()
92 : impl_(other.impl_) in basic_endpoint()
99 impl_ = other.impl_; in operator =()
106 impl_ = other.impl_; in operator =()
113 if (impl_.is_v4()) in protocol()
121 return impl_.data(); in data()
127 return impl_.data(); in data()
[all …]
/external/parameter-framework/asio-1.10.6/include/asio/local/
Dbasic_endpoint.hpp57 : impl_(path_name) in basic_endpoint()
63 : impl_(path_name) in basic_endpoint()
69 : impl_(other.impl_) in basic_endpoint()
75 : impl_(other.impl_) in basic_endpoint()
82 impl_ = other.impl_; in operator =()
89 impl_ = other.impl_; in operator =()
102 return impl_.data(); in data()
108 return impl_.data(); in data()
114 return impl_.size(); in size()
120 impl_.resize(new_size); in resize()
[all …]
/external/parameter-framework/asio-1.10.6/include/asio/generic/
Dbasic_endpoint.hpp57 : impl_(socket_address, socket_address_size, socket_protocol) in basic_endpoint()
64 : impl_(endpoint.data(), endpoint.size(), endpoint.protocol().protocol()) in basic_endpoint()
70 : impl_(other.impl_) in basic_endpoint()
76 : impl_(other.impl_) in basic_endpoint()
83 impl_ = other.impl_; in operator =()
90 impl_ = other.impl_; in operator =()
97 return protocol_type(impl_.family(), impl_.protocol()); in protocol()
103 return impl_.data(); in data()
109 return impl_.data(); in data()
115 return impl_.size(); in size()
[all …]
/external/grpc-grpc/test/cpp/qps/
Dhistogram.h32 : impl_(grpc_histogram_create(default_resolution(), in Histogram()
35 if (impl_) grpc_histogram_destroy(impl_); in ~Histogram()
38 if (impl_) grpc_histogram_destroy(impl_); in Reset()
39 impl_ = grpc_histogram_create(default_resolution(), default_max_possible()); in Reset()
42 Histogram(Histogram&& other) : impl_(other.impl_) { other.impl_ = nullptr; } in Histogram()
44 void Merge(const Histogram& h) { grpc_histogram_merge(impl_, h.impl_); } in Merge()
45 void Add(double value) { grpc_histogram_add(impl_, value); } in Add()
47 return grpc_histogram_percentile(impl_, pctile); in Percentile()
49 double Count() const { return grpc_histogram_count(impl_); } in Count()
50 void Swap(Histogram* other) { std::swap(impl_, other->impl_); } in Swap()
[all …]
/external/libvpx/libvpx/vpx_util/
Dvpx_thread.c36 pthread_mutex_lock(&worker->impl_->mutex_); in thread_loop()
38 pthread_cond_wait(&worker->impl_->condition_, &worker->impl_->mutex_); in thread_loop()
47 pthread_cond_signal(&worker->impl_->condition_); in thread_loop()
48 pthread_mutex_unlock(&worker->impl_->mutex_); in thread_loop()
58 if (worker->impl_ == NULL) return; in change_state()
60 pthread_mutex_lock(&worker->impl_->mutex_); in change_state()
64 pthread_cond_wait(&worker->impl_->condition_, &worker->impl_->mutex_); in change_state()
69 pthread_cond_signal(&worker->impl_->condition_); in change_state()
72 pthread_mutex_unlock(&worker->impl_->mutex_); in change_state()
97 worker->impl_ = (VPxWorkerImpl *)vpx_calloc(1, sizeof(*worker->impl_)); in reset()
[all …]
/external/libaom/libaom/aom_util/
Daom_thread.c67 pthread_mutex_lock(&worker->impl_->mutex_); in thread_loop()
69 pthread_cond_wait(&worker->impl_->condition_, &worker->impl_->mutex_); in thread_loop()
78 pthread_cond_signal(&worker->impl_->condition_); in thread_loop()
79 pthread_mutex_unlock(&worker->impl_->mutex_); in thread_loop()
89 if (worker->impl_ == NULL) return; in change_state()
91 pthread_mutex_lock(&worker->impl_->mutex_); in change_state()
95 pthread_cond_wait(&worker->impl_->condition_, &worker->impl_->mutex_); in change_state()
100 pthread_cond_signal(&worker->impl_->condition_); in change_state()
103 pthread_mutex_unlock(&worker->impl_->mutex_); in change_state()
128 worker->impl_ = (AVxWorkerImpl *)aom_calloc(1, sizeof(*worker->impl_)); in reset()
[all …]
/external/webrtc/webrtc/base/
Dscoped_ptr.h322 scoped_ptr() : impl_(nullptr) {}
325 explicit scoped_ptr(element_type* p) : impl_(p) {}
328 scoped_ptr(element_type* p, const D& d) : impl_(p, d) {}
331 scoped_ptr(std::nullptr_t) : impl_(nullptr) {}
345 : impl_(&other.impl_) {
362 impl_.TakeState(&rhs.impl_);
385 void reset(element_type* p = nullptr) { impl_.reset(p); }
390 assert(impl_.get() != nullptr);
391 return *impl_.get();
394 assert(impl_.get() != nullptr);
[all …]
/external/bcc/src/cc/
Dtable_storage.cc33 void TableStorage::Init(unique_ptr<TableStorageImpl> impl) { impl_ = move(impl); } in Init()
35 return impl_->Find(path.to_string(), result); in Find()
38 return impl_->Insert(path.to_string(), move(desc)); in Insert()
40 bool TableStorage::Delete(const Path &path) { return impl_->Delete(path.to_string()); } in Delete()
46 it = impl_->erase(*it.impl_); in DeletePrefix()
61 TableStorage::iterator TableStorage::begin() { return impl_->begin(); } in begin()
62 TableStorage::iterator TableStorage::end() { return impl_->end(); } in end()
64 return impl_->lower_bound(p.to_string()); in lower_bound()
67 return impl_->upper_bound(p.to_string() + "\x7f"); in upper_bound()
72 TableStorage::iterator::iterator(unique_ptr<TableStorageIteratorImpl> impl) : impl_(move(impl)) {} in iterator()
[all …]
/external/deqp-deps/SPIRV-Tools/source/reduce/
Dreducer.cpp38 Reducer::Reducer(spv_target_env env) : impl_(MakeUnique<Impl>(env)) {} in Reducer()
43 for (auto& pass : impl_->passes) { in SetMessageConsumer()
46 impl_->consumer = std::move(c); in SetMessageConsumer()
51 impl_->interestingness_function = std::move(interestingness_function); in SetInterestingnessFunction()
64 if (!impl_->interestingness_function(current_binary, reductions_applied)) { in Run()
65 impl_->consumer(SPV_MSG_INFO, nullptr, {}, in Run()
76 while (!impl_->ReachedStepLimit(reductions_applied, options) && in Run()
83 for (auto& pass : impl_->passes) { in Run()
91 impl_->consumer(SPV_MSG_INFO, nullptr, {}, in Run()
97 impl_->consumer( in Run()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/reduce/
Dreducer.cpp38 Reducer::Reducer(spv_target_env env) : impl_(MakeUnique<Impl>(env)) {} in Reducer()
43 for (auto& pass : impl_->passes) { in SetMessageConsumer()
46 impl_->consumer = std::move(c); in SetMessageConsumer()
51 impl_->interestingness_function = std::move(interestingness_function); in SetInterestingnessFunction()
64 if (!impl_->interestingness_function(current_binary, reductions_applied)) { in Run()
65 impl_->consumer(SPV_MSG_INFO, nullptr, {}, in Run()
76 while (!impl_->ReachedStepLimit(reductions_applied, options) && in Run()
83 for (auto& pass : impl_->passes) { in Run()
91 impl_->consumer(SPV_MSG_INFO, nullptr, {}, in Run()
97 impl_->consumer( in Run()
[all …]
/external/grpc-grpc/src/core/lib/gprpp/
Dthd.h53 Thread() : state_(FAKE), impl_(nullptr) {} in Thread()
65 Thread(Thread&& other) : state_(other.state_), impl_(other.impl_) { in Thread()
67 other.impl_ = nullptr; in Thread()
81 impl_ = other.impl_;
83 other.impl_ = nullptr;
91 ~Thread() { GPR_ASSERT(impl_ == nullptr); } in ~Thread()
94 if (impl_ != nullptr) { in Start()
97 impl_->Start(); in Start()
104 if (impl_ != nullptr) { in Join()
105 impl_->Join(); in Join()
[all …]
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_rtcp_impl_unittest.cc111 impl_.reset(new ModuleRtpRtcpImpl(config)); in RtpRtcpModule()
112 impl_->SetRTCPStatus(RtcpMode::kCompound); in RtpRtcpModule()
122 rtc::scoped_ptr<ModuleRtpRtcpImpl> impl_; member in webrtc::__anon865dfefd0111::RtpRtcpModule
127 impl_->SetRemoteSSRC(ssrc); in SetRemoteSsrc()
143 return counter_map_[impl_->SSRC()]; in RtcpReceived()
167 EXPECT_EQ(0, sender_.impl_->SetSendingStatus(true)); in RtpRtcpImplTest()
168 sender_.impl_->SetSendingMediaStatus(true); in RtpRtcpImplTest()
169 sender_.impl_->SetSSRC(kSenderSsrc); in RtpRtcpImplTest()
171 sender_.impl_->SetSequenceNumber(kSequenceNumber); in RtpRtcpImplTest()
172 sender_.impl_->SetStorePacketsStatus(true, 100); in RtpRtcpImplTest()
[all …]
/external/protobuf/src/google/protobuf/io/
Dzero_copy_stream_impl.cc81 impl_(&copying_input_, block_size) { in FileInputStream()
91 return impl_.Next(data, size); in Next()
95 impl_.BackUp(count); in BackUp()
99 return impl_.Skip(count); in Skip()
103 return impl_.ByteCount(); in ByteCount()
177 impl_(&copying_output_, block_size) { in FileOutputStream()
181 impl_.Flush(); in ~FileOutputStream()
185 bool flush_succeeded = impl_.Flush(); in Close()
190 return impl_.Flush(); in Flush()
194 return impl_.Next(data, size); in Next()
[all …]
/external/compiler-rt/lib/tsan/tests/rtl/
Dtsan_test_util_posix.cc408 impl_ = new Impl; in ScopedThread()
409 impl_->main = main; in ScopedThread()
410 impl_->detached = detached; in ScopedThread()
411 atomic_store(&impl_->event, 0, memory_order_relaxed); in ScopedThread()
418 __interceptor_pthread_create(&impl_->thread, &attr, in ScopedThread()
419 ScopedThread::Impl::ScopedThreadCallback, impl_); in ScopedThread()
424 if (!impl_->main) { in ~ScopedThread()
426 impl_->send(&event); in ~ScopedThread()
427 if (!impl_->detached) in ~ScopedThread()
428 __interceptor_pthread_join(impl_->thread, 0); in ~ScopedThread()
[all …]
/external/google-breakpad/src/testing/include/gmock/
Dgmock-cardinalities.h90 explicit Cardinality(const CardinalityInterface* impl) : impl_(impl) {} in Cardinality()
94 int ConservativeLowerBound() const { return impl_->ConservativeLowerBound(); } in ConservativeLowerBound()
95 int ConservativeUpperBound() const { return impl_->ConservativeUpperBound(); } in ConservativeUpperBound()
99 return impl_->IsSatisfiedByCallCount(call_count); in IsSatisfiedByCallCount()
104 return impl_->IsSaturatedByCallCount(call_count); in IsSaturatedByCallCount()
110 return impl_->IsSaturatedByCallCount(call_count) && in IsOverSaturatedByCallCount()
111 !impl_->IsSatisfiedByCallCount(call_count); in IsOverSaturatedByCallCount()
115 void DescribeTo(::std::ostream* os) const { impl_->DescribeTo(os); } in DescribeTo()
122 internal::linked_ptr<const CardinalityInterface> impl_;
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googlemock/include/gmock/
Dgmock-cardinalities.h90 explicit Cardinality(const CardinalityInterface* impl) : impl_(impl) {} in Cardinality()
94 int ConservativeLowerBound() const { return impl_->ConservativeLowerBound(); } in ConservativeLowerBound()
95 int ConservativeUpperBound() const { return impl_->ConservativeUpperBound(); } in ConservativeUpperBound()
99 return impl_->IsSatisfiedByCallCount(call_count); in IsSatisfiedByCallCount()
104 return impl_->IsSaturatedByCallCount(call_count); in IsSaturatedByCallCount()
110 return impl_->IsSaturatedByCallCount(call_count) && in IsOverSaturatedByCallCount()
111 !impl_->IsSatisfiedByCallCount(call_count); in IsOverSaturatedByCallCount()
115 void DescribeTo(::std::ostream* os) const { impl_->DescribeTo(os); } in DescribeTo()
122 internal::linked_ptr<const CardinalityInterface> impl_;
/external/googletest/googlemock/include/gmock/
Dgmock-cardinalities.h94 explicit Cardinality(const CardinalityInterface* impl) : impl_(impl) {} in Cardinality()
98 int ConservativeLowerBound() const { return impl_->ConservativeLowerBound(); } in ConservativeLowerBound()
99 int ConservativeUpperBound() const { return impl_->ConservativeUpperBound(); } in ConservativeUpperBound()
103 return impl_->IsSatisfiedByCallCount(call_count); in IsSatisfiedByCallCount()
108 return impl_->IsSaturatedByCallCount(call_count); in IsSaturatedByCallCount()
114 return impl_->IsSaturatedByCallCount(call_count) && in IsOverSaturatedByCallCount()
115 !impl_->IsSatisfiedByCallCount(call_count); in IsOverSaturatedByCallCount()
119 void DescribeTo(::std::ostream* os) const { impl_->DescribeTo(os); } in DescribeTo()
126 std::shared_ptr<const CardinalityInterface> impl_;
/external/parameter-framework/asio-1.10.6/include/asio/impl/
Dio_service.ipp32 impl_(service_registry_->first_service<impl_type>())
39 impl_(service_registry_->first_service<impl_type>())
51 std::size_t s = impl_.run(ec);
58 return impl_.run(ec);
64 std::size_t s = impl_.run_one(ec);
71 return impl_.run_one(ec);
77 std::size_t s = impl_.poll(ec);
84 return impl_.poll(ec);
90 std::size_t s = impl_.poll_one(ec);
97 return impl_.poll_one(ec);
[all …]
/external/tensorflow/tensorflow/compiler/jit/
Dresource_operation_safety_analysis.cc184 if (other.impl_ == impl_) { in Add()
189 if (!impl_) { in Add()
191 impl_ = other.impl_; in Add()
208 impl_->insert(resource_op); in Add()
212 return impl_ ? impl_->begin() : GetEmptyImpl()->begin(); in begin()
216 return impl_ ? impl_->end() : GetEmptyImpl()->end(); in end()
220 return impl_ != nullptr && impl_->count(resource_op); in Contains()
232 impl_ = storage_.get(); in EnsureIsCopied()
241 Impl* impl_ = nullptr; member in tensorflow::__anon4804d3d80111::ResourceOpSet
/external/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-param-util.h106 ParamIterator(const ParamIterator& other) : impl_(other.impl_->Clone()) {} in ParamIterator()
109 impl_.reset(other.impl_->Clone());
113 const T& operator*() const { return *impl_->Current(); }
114 const T* operator->() const { return impl_->Current(); }
117 impl_->Advance();
122 ParamIteratorInterface<T>* clone = impl_->Clone();
123 impl_->Advance();
127 return impl_.get() == other.impl_.get() || impl_->Equals(*other.impl_);
135 explicit ParamIterator(ParamIteratorInterface<T>* impl) : impl_(impl) {} in ParamIterator()
136 scoped_ptr<ParamIteratorInterface<T> > impl_; variable
[all …]
/external/google-breakpad/src/testing/gtest/include/gtest/internal/
Dgtest-param-util.h106 ParamIterator(const ParamIterator& other) : impl_(other.impl_->Clone()) {} in ParamIterator()
109 impl_.reset(other.impl_->Clone());
113 const T& operator*() const { return *impl_->Current(); }
114 const T* operator->() const { return impl_->Current(); }
117 impl_->Advance();
122 ParamIteratorInterface<T>* clone = impl_->Clone();
123 impl_->Advance();
127 return impl_.get() == other.impl_.get() || impl_->Equals(*other.impl_);
135 explicit ParamIterator(ParamIteratorInterface<T>* impl) : impl_(impl) {} in ParamIterator()
136 scoped_ptr<ParamIteratorInterface<T> > impl_; variable
[all …]
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/include/gtest/internal/
Dgtest-param-util.h106 ParamIterator(const ParamIterator& other) : impl_(other.impl_->Clone()) {} in ParamIterator()
109 impl_.reset(other.impl_->Clone());
113 const T& operator*() const { return *impl_->Current(); }
114 const T* operator->() const { return impl_->Current(); }
117 impl_->Advance();
122 ParamIteratorInterface<T>* clone = impl_->Clone();
123 impl_->Advance();
127 return impl_.get() == other.impl_.get() || impl_->Equals(*other.impl_);
135 explicit ParamIterator(ParamIteratorInterface<T>* impl) : impl_(impl) {} in ParamIterator()
136 scoped_ptr<ParamIteratorInterface<T> > impl_; variable
[all …]
/external/mesa3d/src/gtest/include/gtest/internal/
Dgtest-param-util.h130 ParamIterator(const ParamIterator& other) : impl_(other.impl_->Clone()) {} in ParamIterator()
133 impl_.reset(other.impl_->Clone());
137 const T& operator*() const { return *impl_->Current(); }
138 const T* operator->() const { return impl_->Current(); }
141 impl_->Advance();
146 ParamIteratorInterface<T>* clone = impl_->Clone();
147 impl_->Advance();
151 return impl_.get() == other.impl_.get() || impl_->Equals(*other.impl_);
159 explicit ParamIterator(ParamIteratorInterface<T>* impl) : impl_(impl) {} in ParamIterator()
160 scoped_ptr<ParamIteratorInterface<T> > impl_; variable
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-param-util.h130 ParamIterator(const ParamIterator& other) : impl_(other.impl_->Clone()) {} in ParamIterator()
133 impl_.reset(other.impl_->Clone());
137 const T& operator*() const { return *impl_->Current(); }
138 const T* operator->() const { return impl_->Current(); }
141 impl_->Advance();
146 ParamIteratorInterface<T>* clone = impl_->Clone();
147 impl_->Advance();
151 return impl_.get() == other.impl_.get() || impl_->Equals(*other.impl_);
159 explicit ParamIterator(ParamIteratorInterface<T>* impl) : impl_(impl) {} in ParamIterator()
160 scoped_ptr<ParamIteratorInterface<T> > impl_; variable
[all …]

123456