Home
last modified time | relevance | path

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

12345

/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/node/src/api/
Dembed_helpers.cc90 : impl_(new Impl()) { in CommonEnvironmentSetup()
94 impl_->platform = platform; in CommonEnvironmentSetup()
95 uv_loop_t* loop = &impl_->loop; in CommonEnvironmentSetup()
106 impl_->allocator = ArrayBufferAllocator::Create(); in CommonEnvironmentSetup()
107 impl_->isolate = NewIsolate(impl_->allocator, &impl_->loop, platform); in CommonEnvironmentSetup()
108 Isolate* isolate = impl_->isolate; in CommonEnvironmentSetup()
123 impl_->isolate_data.reset(CreateIsolateData( in CommonEnvironmentSetup()
124 isolate, loop, platform, impl_->allocator.get())); in CommonEnvironmentSetup()
127 impl_->context.Reset(isolate, context); in CommonEnvironmentSetup()
134 impl_->env.reset(make_env(this)); in CommonEnvironmentSetup()
[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/node/deps/v8/src/base/
Dhashmap.h105 DCHECK_NOT_NULL(impl_.map_); in Invalidate()
106 impl_.allocator().DeleteArray(impl_.map_, capacity()); in Invalidate()
107 impl_ = Impl(impl_.match(), AllocationPolicy()); in Invalidate()
111 uint32_t occupancy() const { return impl_.occupancy_; } in occupancy()
116 uint32_t capacity() const { return impl_.capacity_; } in capacity()
129 AllocationPolicy allocator() const { return impl_.allocator(); } in allocator()
135 Entry* map_end() const { return impl_.map_ + impl_.capacity_; } in map_end()
181 } impl_; variable
188 : impl_(std::move(match), std::move(allocator)) { in TemplateHashMapImpl()
197 : impl_(original->impl_.match(), std::move(allocator)) { in TemplateHashMapImpl()
[all …]
/third_party/googletest/googlemock/include/gmock/
Dgmock-cardinalities.h98 explicit Cardinality(const CardinalityInterface* impl) : impl_(impl) {} in Cardinality()
102 int ConservativeLowerBound() const { return impl_->ConservativeLowerBound(); } in ConservativeLowerBound()
103 int ConservativeUpperBound() const { return impl_->ConservativeUpperBound(); } in ConservativeUpperBound()
108 return impl_->IsSatisfiedByCallCount(call_count); in IsSatisfiedByCallCount()
114 return impl_->IsSaturatedByCallCount(call_count); in IsSaturatedByCallCount()
120 return impl_->IsSaturatedByCallCount(call_count) && in IsOverSaturatedByCallCount()
121 !impl_->IsSatisfiedByCallCount(call_count); in IsOverSaturatedByCallCount()
125 void DescribeTo(::std::ostream* os) const { impl_->DescribeTo(os); } in DescribeTo()
132 std::shared_ptr<const CardinalityInterface> impl_;
/third_party/node/deps/v8/third_party/wasm-api/
Dwasm.hh416 } impl_; member in wasm::Val
418 Val(ValKind kind, impl impl) : kind_(kind), impl_(impl) {} in Val()
421 Val() : kind_(ANYREF) { impl_.ref = nullptr; } in Val()
422 Val(int32_t i) : kind_(I32) { impl_.i32 = i; } in Val()
423 Val(int64_t i) : kind_(I64) { impl_.i64 = i; } in Val()
424 Val(float32_t z) : kind_(F32) { impl_.f32 = z; } in Val()
425 Val(float64_t z) : kind_(F64) { impl_.f64 = z; } in Val()
426 Val(own<Ref>&& r) : kind_(ANYREF) { impl_.ref = r.release(); } in Val()
428 Val(Val&& that) : kind_(that.kind_), impl_(that.impl_) { in Val()
429 if (is_ref()) that.impl_.ref = nullptr; in Val()
[all …]
/third_party/node/src/
Dnode_threadsafe_cow-inl.h18 : cow_(cow), lock_(cow->impl_->mutex) {} in Read()
22 return cow_->impl_->data;
27 return &cow_->impl_->data;
32 : cow_(cow), impl_(cow->impl_.write()), lock_(impl_->mutex) {} in Write()
36 return impl_->data;
41 return &impl_->data;
/third_party/node/deps/v8/src/handles/
Dpersistent-handles.cc134 : impl_(isolate->handle_scope_implementer()) { in PersistentHandlesScope()
135 impl_->BeginDeferredScope(); in PersistentHandlesScope()
136 HandleScopeData* data = impl_->isolate()->handle_scope_data(); in PersistentHandlesScope()
137 Address* new_next = impl_->GetSpareOrNewBlock(); in PersistentHandlesScope()
141 DCHECK(!impl_->blocks()->empty()); in PersistentHandlesScope()
143 DCHECK(data->limit == &impl_->blocks()->back()[kHandleBlockSize]); in PersistentHandlesScope()
144 impl_->blocks()->push_back(new_next); in PersistentHandlesScope()
158 impl_->isolate()->handle_scope_data()->level--; in ~PersistentHandlesScope()
159 DCHECK_EQ(impl_->isolate()->handle_scope_data()->level, prev_level_); in ~PersistentHandlesScope()
163 std::unique_ptr<PersistentHandles> ph = impl_->DetachPersistent(prev_limit_); in Detach()
[all …]
/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/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/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/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/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/node/deps/v8/include/
Dv8-util.h173 size_t Size() { return Traits::Size(&impl_); }
184 return Local<V>::New(isolate_, FromVal(Traits::Get(&impl_, key)));
191 return Traits::Get(&impl_, key) != kPersistentContainerNotFound;
200 return SetReturnValueFromVal(&returnValue, Traits::Get(&impl_, key));
207 return Release(Traits::Remove(&impl_, key)).Pass();
218 while (!Traits::Empty(&impl_)) {
220 Traits::Swap(impl_, impl);
281 return PersistentValueReference(Traits::Get(&impl_, key));
293 typename Traits::Impl* impl() { return &impl_; }
326 p.val_ = FromVal(Traits::Remove(&impl_, key));
[all …]
/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/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/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.h135 ParamIterator(const ParamIterator& other) : impl_(other.impl_->Clone()) {} in ParamIterator()
137 if (this != &other) impl_.reset(other.impl_->Clone());
141 const T& operator*() const { return *impl_->Current(); }
142 const T* operator->() const { return impl_->Current(); }
145 impl_->Advance();
150 ParamIteratorInterface<T>* clone = impl_->Clone();
151 impl_->Advance();
155 return impl_.get() == other.impl_.get() || impl_->Equals(*other.impl_);
163 explicit ParamIterator(ParamIteratorInterface<T>* impl) : impl_(impl) {} in ParamIterator()
164 std::unique_ptr<ParamIteratorInterface<T>> impl_; variable
[all …]
/third_party/node/deps/googletest/include/gtest/internal/
Dgtest-param-util.h135 ParamIterator(const ParamIterator& other) : impl_(other.impl_->Clone()) {} in ParamIterator()
137 if (this != &other) impl_.reset(other.impl_->Clone());
141 const T& operator*() const { return *impl_->Current(); }
142 const T* operator->() const { return impl_->Current(); }
145 impl_->Advance();
150 ParamIteratorInterface<T>* clone = impl_->Clone();
151 impl_->Advance();
155 return impl_.get() == other.impl_.get() || impl_->Equals(*other.impl_);
163 explicit ParamIterator(ParamIteratorInterface<T>* impl) : impl_(impl) {} in ParamIterator()
164 std::unique_ptr<ParamIteratorInterface<T>> impl_; variable
[all …]
/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()

12345