Home
last modified time | relevance | path

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

1234

/third_party/skia/third_party/externals/tint/src/reader/spirv/
Dparser_impl_test_helper.h67 auto* spirv_function = impl_.ir_context()->GetFunction(function_id); in function_emitter()
68 return FunctionEmitter(&impl_, *spirv_function); in function_emitter()
73 bool Parse() { return impl_.Parse(); } in Parse()
77 Program program() { return impl_.program(); } in program()
80 Namer& namer() { return impl_.namer(); } in namer()
84 ProgramBuilder& builder() { return impl_.builder(); } in builder()
87 const std::string error() { return impl_.error(); } in error()
90 bool success() { return impl_.success(); } in success()
96 FailStream& Fail() { return impl_.Fail(); } in Fail()
100 spvtools::opt::IRContext* ir_context() { return impl_.ir_context(); } in ir_context()
[all …]
/third_party/libphonenumber/cpp/src/phonenumbers/base/memory/
Dscoped_ptr.h222 scoped_ptr() : impl_(NULL) { }
225 explicit scoped_ptr(element_type* p) : impl_(p) { }
228 scoped_ptr(element_type* p, const D& d) : impl_(p, d) { }
241 scoped_ptr(scoped_ptr<U, V> other) : impl_(&other.impl_) {
258 impl_.TakeState(&rhs.impl_);
264 void reset(element_type* p = NULL) { impl_.reset(p); }
269 assert(impl_.get() != NULL);
270 return *impl_.get();
273 assert(impl_.get() != NULL);
274 return impl_.get();
[all …]
/third_party/vk-gl-cts/external/amber/src/src/
Drecipe.cc22 Recipe::Recipe() : impl_(nullptr) {} in Recipe()
25 delete impl_; in ~Recipe()
29 if (!impl_) in GetShaderInfo()
31 return impl_->GetShaderInfo(); in GetShaderInfo()
35 return impl_ ? impl_->GetRequiredFeatures() : std::vector<std::string>(); in GetRequiredFeatures()
39 return impl_ ? impl_->GetRequiredDeviceExtensions() in GetRequiredDeviceExtensions()
44 return impl_ ? impl_->GetRequiredInstanceExtensions() in GetRequiredInstanceExtensions()
49 if (impl_) in SetFenceTimeout()
50 impl_->SetFenceTimeout(timeout_ms); in SetFenceTimeout()
/third_party/protobuf/src/google/protobuf/io/
Dzero_copy_stream_impl.cc86 : copying_input_(file_descriptor), impl_(&copying_input_, block_size) {} in FileInputStream()
91 return impl_.Next(data, size); in Next()
94 void FileInputStream::BackUp(int count) { impl_.BackUp(count); } in BackUp()
96 bool FileInputStream::Skip(int count) { return impl_.Skip(count); } in Skip()
98 int64_t FileInputStream::ByteCount() const { return impl_.ByteCount(); } in ByteCount()
168 : copying_output_(file_descriptor), impl_(&copying_output_, block_size) {} in FileOutputStream()
170 FileOutputStream::~FileOutputStream() { impl_.Flush(); } in ~FileOutputStream()
173 bool flush_succeeded = impl_.Flush(); in Close()
177 bool FileOutputStream::Flush() { return impl_.Flush(); } in Flush()
180 return impl_.Next(data, size); in Next()
[all …]
/third_party/flutter/skia/third_party/externals/spirv-tools/source/opt/
Doptimizer.cpp32 : impl_(std::move(impl)) {} in PassToken()
34 : impl_(std::move(that.impl_)) {} in PassToken()
37 impl_ = std::move(that.impl_); in operator =()
50 Optimizer::Optimizer(spv_target_env env) : impl_(new Impl(env)) {} in Optimizer()
56 for (uint32_t i = 0; i < impl_->pass_manager.NumPasses(); ++i) { in SetMessageConsumer()
57 impl_->pass_manager.GetPass(i)->SetMessageConsumer(c); in SetMessageConsumer()
59 impl_->pass_manager.SetMessageConsumer(std::move(c)); in SetMessageConsumer()
64 p.impl_->pass->SetMessageConsumer(impl_->pass_manager.consumer()); in RegisterPass()
65 impl_->pass_manager.AddPass(std::move(p.impl_->pass)); in RegisterPass()
73 BuildModule(impl_->target_env, impl_->pass_manager.consumer(), in Run()
[all …]
/third_party/googletest/googlemock/include/gmock/
Dgmock-cardinalities.h96 explicit Cardinality(const CardinalityInterface* impl) : impl_(impl) {} in Cardinality()
100 int ConservativeLowerBound() const { return impl_->ConservativeLowerBound(); } in ConservativeLowerBound()
101 int ConservativeUpperBound() const { return impl_->ConservativeUpperBound(); } in ConservativeUpperBound()
106 return impl_->IsSatisfiedByCallCount(call_count); in IsSatisfiedByCallCount()
112 return impl_->IsSaturatedByCallCount(call_count); in IsSaturatedByCallCount()
118 return impl_->IsSaturatedByCallCount(call_count) && in IsOverSaturatedByCallCount()
119 !impl_->IsSatisfiedByCallCount(call_count); in IsOverSaturatedByCallCount()
123 void DescribeTo(::std::ostream* os) const { impl_->DescribeTo(os); } in DescribeTo()
130 std::shared_ptr<const CardinalityInterface> impl_;
/third_party/mesa3d/src/gtest/include/gtest/
Dgtest-matchers.h189 : impl_(impl) {} in MatcherInterfaceAdapter()
190 ~MatcherInterfaceAdapter() override { delete impl_; } in ~MatcherInterfaceAdapter() local
192 void DescribeTo(::std::ostream* os) const override { impl_->DescribeTo(os); } in DescribeTo()
195 impl_->DescribeNegationTo(os); in DescribeNegationTo()
200 return impl_->MatchAndExplain(x, listener); in MatchAndExplain()
204 const MatcherInterface<T>* const impl_;
264 return impl_->MatchAndExplain(x, listener); in MatchAndExplain()
274 void DescribeTo(::std::ostream* os) const { impl_->DescribeTo(os); } in DescribeTo()
278 impl_->DescribeNegationTo(os); in DescribeNegationTo()
291 return impl_.get(); in GetDescriber()
[all …]
/third_party/gn/src/base/containers/
Dflat_tree.h307 return lhs.impl_.body_ == rhs.impl_.body_;
315 return lhs.impl_.body_ < rhs.impl_.body_;
396 return {impl_.body_.emplace(position, std::forward<V>(val)), true};
417 impl_.body_.emplace_back(std::forward<V>(val));
440 impl_.body_.emplace_back(std::forward<V>(val));
451 std::stable_sort(first, last, impl_.get_value_comp());
456 return !impl_.get_value_comp()(lhs, rhs);
488 } impl_;
505 : impl_(comp) {}
514 : impl_(comp, first, last) {
[all …]
/third_party/skia/third_party/externals/spirv-tools/source/
Dlibspirv.cpp63 SpirvTools::SpirvTools(spv_target_env env) : impl_(new Impl(env)) { in SpirvTools()
70 SetContextMessageConsumer(impl_->context, std::move(consumer)); in SetMessageConsumer()
84 impl_->context, text, text_size, options, &spvbinary, nullptr); in Assemble()
100 spv_result_t status = spvBinaryToText(impl_->context, binary, binary_size, in Disassemble()
115 return spvValidateBinary(impl_->context, binary, binary_size, nullptr) == in Validate()
123 bool valid = spvValidateWithOptions(impl_->context, options, &the_binary, in Validate()
125 if (!valid && impl_->context->consumer) { in Validate()
126 impl_->context->consumer.operator()( in Validate()
133 bool SpirvTools::IsValid() const { return impl_->context != nullptr; } in IsValid()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/
Dlibspirv.cpp63 SpirvTools::SpirvTools(spv_target_env env) : impl_(new Impl(env)) { in SpirvTools()
70 SetContextMessageConsumer(impl_->context, std::move(consumer)); in SetMessageConsumer()
84 impl_->context, text, text_size, options, &spvbinary, nullptr); in Assemble()
100 spv_result_t status = spvBinaryToText(impl_->context, binary, binary_size, in Disassemble()
115 return spvValidateBinary(impl_->context, binary, binary_size, nullptr) == in Validate()
123 bool valid = spvValidateWithOptions(impl_->context, options, &the_binary, in Validate()
125 if (!valid && impl_->context->consumer) { in Validate()
126 impl_->context->consumer.operator()( in Validate()
133 bool SpirvTools::IsValid() const { return impl_->context != nullptr; } in IsValid()
/third_party/spirv-tools/source/
Dlibspirv.cpp63 SpirvTools::SpirvTools(spv_target_env env) : impl_(new Impl(env)) { in SpirvTools()
70 SetContextMessageConsumer(impl_->context, std::move(consumer)); in SetMessageConsumer()
84 impl_->context, text, text_size, options, &spvbinary, nullptr); in Assemble()
100 spv_result_t status = spvBinaryToText(impl_->context, binary, binary_size, in Disassemble()
117 return spvValidateBinary(impl_->context, binary, binary_size, nullptr) == in Validate()
125 bool valid = spvValidateWithOptions(impl_->context, options, &the_binary, in Validate()
127 if (!valid && impl_->context->consumer) { in Validate()
128 impl_->context->consumer.operator()( in Validate()
135 bool SpirvTools::IsValid() const { return impl_->context != nullptr; } in IsValid()
/third_party/mesa3d/src/gtest/include/gtest/internal/
Dgtest-param-util.h128 ParamIterator(const ParamIterator& other) : impl_(other.impl_->Clone()) {} in ParamIterator()
131 impl_.reset(other.impl_->Clone());
135 const T& operator*() const { return *impl_->Current(); }
136 const T* operator->() const { return impl_->Current(); }
139 impl_->Advance();
144 ParamIteratorInterface<T>* clone = impl_->Clone();
145 impl_->Advance();
149 return impl_.get() == other.impl_.get() || impl_->Equals(*other.impl_);
157 explicit ParamIterator(ParamIteratorInterface<T>* impl) : impl_(impl) {} in ParamIterator()
158 std::unique_ptr<ParamIteratorInterface<T> > impl_; variable
[all …]
/third_party/libphonenumber/cpp/src/phonenumbers/
Ddefault_logger.h56 LoggerHandler(Logger* impl) : impl_(impl) {}
59 if (impl_) {
60 impl_->WriteMessage("\n");
66 if (impl_) {
67 impl_->WriteMessage(ConvertToString<T>::DoWork(value));
73 Logger* const impl_;
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Doptimizer.cpp43 : impl_(std::move(impl)) {} in PassToken()
46 : impl_(MakeUnique<Optimizer::PassToken::Impl>(std::move(pass))) {} in PassToken()
49 : impl_(std::move(that.impl_)) {} in PassToken()
52 impl_ = std::move(that.impl_); in operator =()
65 Optimizer::Optimizer(spv_target_env env) : impl_(new Impl(env)) { in Optimizer()
73 for (uint32_t i = 0; i < impl_->pass_manager.NumPasses(); ++i) { in SetMessageConsumer()
74 impl_->pass_manager.GetPass(i)->SetMessageConsumer(c); in SetMessageConsumer()
76 impl_->pass_manager.SetMessageConsumer(std::move(c)); in SetMessageConsumer()
80 return impl_->pass_manager.consumer(); in consumer()
85 p.impl_->pass->SetMessageConsumer(consumer()); in RegisterPass()
[all …]
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Doptimizer.cpp43 : impl_(std::move(impl)) {} in PassToken()
46 : impl_(MakeUnique<Optimizer::PassToken::Impl>(std::move(pass))) {} in PassToken()
49 : impl_(std::move(that.impl_)) {} in PassToken()
52 impl_ = std::move(that.impl_); in operator =()
65 Optimizer::Optimizer(spv_target_env env) : impl_(new Impl(env)) { in Optimizer()
73 for (uint32_t i = 0; i < impl_->pass_manager.NumPasses(); ++i) { in SetMessageConsumer()
74 impl_->pass_manager.GetPass(i)->SetMessageConsumer(c); in SetMessageConsumer()
76 impl_->pass_manager.SetMessageConsumer(std::move(c)); in SetMessageConsumer()
80 return impl_->pass_manager.consumer(); in consumer()
85 p.impl_->pass->SetMessageConsumer(consumer()); in RegisterPass()
[all …]
/third_party/spirv-tools/source/opt/
Doptimizer.cpp43 : impl_(std::move(impl)) {} in PassToken()
46 : impl_(MakeUnique<Optimizer::PassToken::Impl>(std::move(pass))) {} in PassToken()
49 : impl_(std::move(that.impl_)) {} in PassToken()
52 impl_ = std::move(that.impl_); in operator =()
65 Optimizer::Optimizer(spv_target_env env) : impl_(new Impl(env)) { in Optimizer()
73 for (uint32_t i = 0; i < impl_->pass_manager.NumPasses(); ++i) { in SetMessageConsumer()
74 impl_->pass_manager.GetPass(i)->SetMessageConsumer(c); in SetMessageConsumer()
76 impl_->pass_manager.SetMessageConsumer(std::move(c)); in SetMessageConsumer()
80 return impl_->pass_manager.consumer(); in consumer()
85 p.impl_->pass->SetMessageConsumer(consumer()); in RegisterPass()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dstr_format.h654 bool is_basic() const { return impl_.is_basic(); } in is_basic()
661 bool has_left_flag() const { return impl_.has_left_flag(); } in has_left_flag()
669 bool has_show_pos_flag() const { return impl_.has_show_pos_flag(); } in has_show_pos_flag()
676 bool has_sign_col_flag() const { return impl_.has_sign_col_flag(); } in has_sign_col_flag()
684 bool has_alt_flag() const { return impl_.has_alt_flag(); } in has_alt_flag()
691 bool has_zero_flag() const { return impl_.has_zero_flag(); } in has_zero_flag()
697 return impl_.conversion_char(); in conversion_char()
705 int width() const { return impl_.width(); } in width()
712 int precision() const { return impl_.precision(); } in precision()
717 : impl_(impl) {} in FormatConversionSpec()
[all …]
/third_party/googletest/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 std::unique_ptr<ParamIteratorInterface<T> > impl_; variable
[all …]
/third_party/cef/libcef/browser/
Dmenu_model_impl.cc34 explicit CefSimpleMenuModel(CefMenuModelImpl* impl) : impl_(impl) {} in CefSimpleMenuModel()
42 int GetItemCount() const override { return impl_->GetCount(); } in GetItemCount()
45 switch (impl_->GetTypeAt(index)) { in GetTypeAt()
67 return impl_->GetCommandIdAt(index); in GetCommandIdAt()
71 return impl_->GetFormattedLabelAt(index); in GetLabelAt()
77 return impl_->GetLabelFontListAt(index); in GetLabelFontListAt()
86 if (impl_->GetAcceleratorAt(index, key_code, shift_pressed, ctrl_pressed, in GetAcceleratorAt()
104 return impl_->IsCheckedAt(index); in IsItemCheckedAt()
108 return impl_->GetGroupIdAt(index); in GetGroupIdAt()
120 return impl_->IsEnabledAt(index); in IsEnabledAt()
[all …]
/third_party/flutter/skia/third_party/externals/spirv-tools/source/
Dlibspirv.cpp33 SpirvTools::SpirvTools(spv_target_env env) : impl_(new Impl(env)) {} in SpirvTools()
38 SetContextMessageConsumer(impl_->context, std::move(consumer)); in SetMessageConsumer()
52 impl_->context, text, text_size, options, &spvbinary, nullptr); in Assemble()
68 spv_result_t status = spvBinaryToText(impl_->context, binary, binary_size, in Disassemble()
83 return spvValidateBinary(impl_->context, binary, binary_size, nullptr) == in Validate()
90 return spvValidateWithOptions(impl_->context, options, &the_binary, in Validate()
/third_party/skia/third_party/externals/libwebp/src/utils/
Dthread_utils.c206 WebPWorkerImpl* const impl = (WebPWorkerImpl*)worker->impl_; in ThreadLoop()
235 WebPWorkerImpl* const impl = (WebPWorkerImpl*)worker->impl_; in ChangeState()
283 worker->impl_ = (void*)impl; in Reset()
284 if (worker->impl_ == NULL) { in Reset()
303 worker->impl_ = NULL; in Reset()
332 if (worker->impl_ != NULL) { in End()
333 WebPWorkerImpl* const impl = (WebPWorkerImpl*)worker->impl_; in End()
339 worker->impl_ = NULL; in End()
343 assert(worker->impl_ == NULL); in End()
/third_party/flutter/skia/third_party/externals/libwebp/src/utils/
Dthread_utils.c206 WebPWorkerImpl* const impl = (WebPWorkerImpl*)worker->impl_; in ThreadLoop()
235 WebPWorkerImpl* const impl = (WebPWorkerImpl*)worker->impl_; in ChangeState()
283 worker->impl_ = (void*)impl; in Reset()
284 if (worker->impl_ == NULL) { in Reset()
303 worker->impl_ = NULL; in Reset()
332 if (worker->impl_ != NULL) { in End()
333 WebPWorkerImpl* const impl = (WebPWorkerImpl*)worker->impl_; in End()
339 worker->impl_ = NULL; in End()
343 assert(worker->impl_ == NULL); in End()
/third_party/vk-gl-cts/external/amber/src/samples/
Dconfig_helper.cc53 impl_ = amber::MakeUnique<ConfigHelperVulkan>(); in CreateConfig()
60 impl_ = amber::MakeUnique<ConfigHelperDawn>(); in CreateConfig()
67 if (!impl_) in CreateConfig()
70 return impl_->CreateConfig( in CreateConfig()
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/internal/
Dflag.h639 : impl_(name, filename, &FlagOps<T>, help,
644 absl::string_view Name() const { return impl_.Name(); }
645 std::string Filename() const { return impl_.Filename(); }
646 std::string Help() const { return impl_.Help(); }
649 return impl_.IsSpecifiedOnCommandLine();
651 std::string DefaultValue() const { return impl_.DefaultValue(); }
652 std::string CurrentValue() const { return impl_.CurrentValue(); }
669 impl_.AssertValidType(base_internal::FastTypeId<T>(), &GenRuntimeTypeId<T>);
672 if (ABSL_PREDICT_FALSE(!value_.Get(impl_.seq_lock_, u.value))) {
673 impl_.Read(&u.value);
[all …]
/third_party/protobuf/src/google/protobuf/
Dmap_field_inl.h171 return static_cast<int>(impl_.GetMap().size()); in size()
186 impl_.MutableMap()->clear(); in Clear()
199 const Map<Key, T>& map = impl_.GetMap(); in SetMapIteratorValue()
212 const Map<Key, T>& map = impl_.GetMap(); in ContainsMapKey()
256 impl_.MergeFrom(other_field.impl_); in MergeFrom()
267 impl_.Swap(&other_field->impl_); in Swap()
289 const Map<Key, T>& map = impl_.GetMap(); in SyncRepeatedFieldWithMapNoLock()
317 Map<Key, T>* map = const_cast<MapField*>(this)->impl_.MutableMap(); in SyncMapWithRepeatedFieldNoLock()
344 Map<Key, T>* map = const_cast<MapField*>(this)->impl_.MutableMap(); in SpaceUsedExcludingSelfNoLock()

1234