Home
last modified time | relevance | path

Searched refs:storage_ (Results 1 – 25 of 98) sorted by relevance

1234

/third_party/skia/third_party/externals/abseil-cpp/absl/container/
Dinlined_vector.h112 InlinedVector() noexcept(noexcept(allocator_type())) : storage_() {} in noexcept()
116 : storage_(alloc) {} in InlinedVector()
121 : storage_(alloc) { in storage_() function
122 storage_.Initialize(DefaultValueAdapter(), n); in storage_()
128 : storage_(alloc) { in storage_() function
129 storage_.Initialize(CopyValueAdapter(v), n); in storage_()
147 : storage_(alloc) { in storage_() function
148 storage_.Initialize(IteratorValueAdapter<ForwardIterator>(first), in storage_()
158 : storage_(alloc) { in storage_() function
165 : InlinedVector(other, *other.storage_.GetAllocPtr()) {} in InlinedVector()
[all …]
/third_party/abseil-cpp/absl/container/
Dinlined_vector.h112 InlinedVector() noexcept(noexcept(allocator_type())) : storage_() {} in noexcept()
116 : storage_(alloc) {} in InlinedVector()
121 : storage_(alloc) { in storage_() function
122 storage_.Initialize(DefaultValueAdapter(), n); in storage_()
128 : storage_(alloc) { in storage_() function
129 storage_.Initialize(CopyValueAdapter(v), n); in storage_()
147 : storage_(alloc) { in storage_() function
148 storage_.Initialize(IteratorValueAdapter<ForwardIterator>(first), in storage_()
158 : storage_(alloc) { in storage_() function
165 : InlinedVector(other, *other.storage_.GetAllocPtr()) {} in InlinedVector()
[all …]
/third_party/boost/libs/asio/include/boost/asio/impl/
Dbuffered_read_stream.hpp36 resize_guard(storage_); in fill()
37 std::size_t previous_size = storage_.size(); in fill()
38 storage_.resize(storage_.capacity()); in fill()
39 storage_.resize(previous_size + next_layer_.read_some(buffer( in fill()
40 storage_.data() + previous_size, in fill()
41 storage_.size() - previous_size))); in fill()
43 return storage_.size() - previous_size; in fill()
50 resize_guard(storage_); in fill()
51 std::size_t previous_size = storage_.size(); in fill()
52 storage_.resize(storage_.capacity()); in fill()
[all …]
Dbuffered_write_stream.hpp35 buffer(storage_.data(), storage_.size())); in flush()
36 storage_.consume(bytes_written); in flush()
44 buffer(storage_.data(), storage_.size()), in flush()
46 storage_.consume(bytes_written); in flush()
58 : storage_(storage), in buffered_flush_handler()
65 : storage_(other.storage_), in buffered_flush_handler()
71 : storage_(other.storage_), in buffered_flush_handler()
80 storage_.consume(bytes_written); in operator ()()
85 detail::buffered_stream_storage& storage_; member in boost::asio::detail::buffered_flush_handler
227 handler, &storage_); in BOOST_ASIO_INITFN_AUTO_RESULT_TYPE()
[all …]
/third_party/boost/boost/asio/impl/
Dbuffered_read_stream.hpp36 resize_guard(storage_); in fill()
37 std::size_t previous_size = storage_.size(); in fill()
38 storage_.resize(storage_.capacity()); in fill()
39 storage_.resize(previous_size + next_layer_.read_some(buffer( in fill()
40 storage_.data() + previous_size, in fill()
41 storage_.size() - previous_size))); in fill()
43 return storage_.size() - previous_size; in fill()
50 resize_guard(storage_); in fill()
51 std::size_t previous_size = storage_.size(); in fill()
52 storage_.resize(storage_.capacity()); in fill()
[all …]
Dbuffered_write_stream.hpp35 buffer(storage_.data(), storage_.size())); in flush()
36 storage_.consume(bytes_written); in flush()
44 buffer(storage_.data(), storage_.size()), in flush()
46 storage_.consume(bytes_written); in flush()
58 : storage_(storage), in buffered_flush_handler()
65 : storage_(other.storage_), in buffered_flush_handler()
71 : storage_(other.storage_), in buffered_flush_handler()
80 storage_.consume(bytes_written); in operator ()()
85 detail::buffered_stream_storage& storage_; member in boost::asio::detail::buffered_flush_handler
227 handler, &storage_); in BOOST_ASIO_INITFN_AUTO_RESULT_TYPE()
[all …]
/third_party/boost/libs/hana/include/boost/hana/functional/
Ddemux.hpp207 : storage_{static_cast<T&&>(t)...}
210 basic_tuple<F, G...> storage_;
214 return hana::at_c<0>(storage_)(
215 hana::at_c<n+1>(storage_)(x...)...
221 return hana::at_c<0>(storage_)(
222 hana::at_c<n+1>(storage_)(x...)...
228 return static_cast<F&&>(hana::at_c<0>(storage_))(
229 static_cast<G&&>(hana::at_c<n+1>(storage_))(x...)...
238 : storage_{static_cast<T&&>(t)...}
241 basic_tuple<F, G> storage_;
[all …]
Dreverse_partial.hpp69 : storage_{static_cast<T&&>(t)...}
72 basic_tuple<F, X...> storage_;
76 return hana::at_c<0>(storage_)(
78 hana::at_c<n+1>(storage_)...
84 return hana::at_c<0>(storage_)(
86 hana::at_c<n+1>(storage_)...
92 return static_cast<F&&>(hana::at_c<0>(storage_))(
94 static_cast<X&&>(hana::at_c<n+1>(storage_))...
Dpartial.hpp71 : storage_{static_cast<T&&>(t)...}
74 basic_tuple<F, X...> storage_;
78 return hana::at_c<0>(storage_)(
79 hana::at_c<n+1>(storage_)...,
86 return hana::at_c<0>(storage_)(
87 hana::at_c<n+1>(storage_)...,
94 return static_cast<F&&>(hana::at_c<0>(storage_))(
95 static_cast<X&&>(hana::at_c<n+1>(storage_))...,
Dlockstep.hpp63 : storage_{static_cast<T&&>(t)...}
66 basic_tuple<F, G...> storage_;
70 return hana::at_c<0>(storage_)(
71 hana::at_c<n+1>(storage_)(static_cast<X&&>(x))...
77 return hana::at_c<0>(storage_)(
78 hana::at_c<n+1>(storage_)(static_cast<X&&>(x))...
84 return static_cast<F&&>(hana::at_c<0>(storage_))(
85 static_cast<G&&>(hana::at_c<n+1>(storage_))(static_cast<X&&>(x))...
/third_party/boost/boost/hana/functional/
Ddemux.hpp207 : storage_{static_cast<T&&>(t)...}
210 basic_tuple<F, G...> storage_;
214 return hana::at_c<0>(storage_)(
215 hana::at_c<n+1>(storage_)(x...)...
221 return hana::at_c<0>(storage_)(
222 hana::at_c<n+1>(storage_)(x...)...
228 return static_cast<F&&>(hana::at_c<0>(storage_))(
229 static_cast<G&&>(hana::at_c<n+1>(storage_))(x...)...
238 : storage_{static_cast<T&&>(t)...}
241 basic_tuple<F, G> storage_;
[all …]
Dreverse_partial.hpp69 : storage_{static_cast<T&&>(t)...}
72 basic_tuple<F, X...> storage_;
76 return hana::at_c<0>(storage_)(
78 hana::at_c<n+1>(storage_)...
84 return hana::at_c<0>(storage_)(
86 hana::at_c<n+1>(storage_)...
92 return static_cast<F&&>(hana::at_c<0>(storage_))(
94 static_cast<X&&>(hana::at_c<n+1>(storage_))...
Dpartial.hpp71 : storage_{static_cast<T&&>(t)...}
74 basic_tuple<F, X...> storage_;
78 return hana::at_c<0>(storage_)(
79 hana::at_c<n+1>(storage_)...,
86 return hana::at_c<0>(storage_)(
87 hana::at_c<n+1>(storage_)...,
94 return static_cast<F&&>(hana::at_c<0>(storage_))(
95 static_cast<X&&>(hana::at_c<n+1>(storage_))...,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DIndexedMap.h36 StorageT storage_; variable
46 assert(toIndex_(n) < storage_.size() && "index out of bounds!");
47 return storage_[toIndex_(n)];
51 assert(toIndex_(n) < storage_.size() && "index out of bounds!");
52 return storage_[toIndex_(n)];
56 storage_.reserve(s); in reserve()
60 storage_.resize(s, nullVal_); in resize()
64 storage_.clear(); in clear()
69 if (NewSize > storage_.size()) in grow()
74 return toIndex_(n) < storage_.size(); in inBounds()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/cleanup/
Dcleanup.h89 Cleanup(Callback callback) : storage_(std::move(callback)) {} // NOLINT in Cleanup()
94 ABSL_HARDENING_ASSERT(storage_.IsCallbackEngaged()); in Cancel()
95 storage_.DestroyCallback(); in Cancel()
99 ABSL_HARDENING_ASSERT(storage_.IsCallbackEngaged()); in Invoke()
100 storage_.InvokeCallback(); in Invoke()
101 storage_.DestroyCallback(); in Invoke()
105 if (storage_.IsCallbackEngaged()) { in ~Cleanup()
106 storage_.InvokeCallback(); in ~Cleanup()
107 storage_.DestroyCallback(); in ~Cleanup()
112 cleanup_internal::Storage<Callback> storage_;
/third_party/boost/boost/dll/detail/demangling/
Dmangled_storage_base.hpp35 std::vector<entry> storage_; member
42 storage_ = storage.storage_; in assign()
47 storage_.swap(storage.storage_); in swap()
51 storage_.clear(); in clear()
54 std::vector<entry> & get_storage() {return storage_;}; in get_storage()
80 void load(library_info & li) { storage_.clear(); add_symbols(li.symbols()); }; in load()
84 storage_.clear(); in load()
108 storage_.emplace_back(sym, dm); in add_symbols()
110 storage_.emplace_back(sym, sym); in add_symbols()
/third_party/boost/libs/hana/include/boost/hana/
Dlazy.hpp53 : storage_{static_cast<T&&>(t)...} in lazy_apply_t()
56 basic_tuple<F, Args...> storage_; member
64 : storage_{static_cast<Y&&>(y)} in lazy_value_t()
67 basic_tuple<X> storage_; member
77 hana::at_c<0>(storage_), static_cast<Args&&>(args)...}; in operator ()()
86 static_cast<X&&>(hana::at_c<0>(storage_)), in operator ()()
120 return hana::at_c<0>(expr.storage_)( in apply()
121 hana::at_c<n+1>(expr.storage_)... in apply()
128 return hana::at_c<0>(expr.storage_)( in apply()
129 hana::at_c<n+1>(expr.storage_)... in apply()
[all …]
Dtuple.hpp99 basic_tuple<Xn...> storage_; member
105 : storage_(hana::at_c<n>(static_cast<Other&&>(other))...) in tuple()
113 : storage_() in tuple()
120 : storage_(xn...) in tuple()
128 : storage_(static_cast<Yn&&>(yn)...) in tuple()
137 other.storage_)
146 static_cast<tuple<Yn...>&&>(other).storage_)
159 other.storage_)
175 static_cast<tuple&&>(other).storage_)
183 detail::assign(this->storage_, other.storage_, in operator =()
[all …]
/third_party/boost/boost/hana/
Dlazy.hpp53 : storage_{static_cast<T&&>(t)...} in lazy_apply_t()
56 basic_tuple<F, Args...> storage_; member
64 : storage_{static_cast<Y&&>(y)} in lazy_value_t()
67 basic_tuple<X> storage_; member
77 hana::at_c<0>(storage_), static_cast<Args&&>(args)...}; in operator ()()
86 static_cast<X&&>(hana::at_c<0>(storage_)), in operator ()()
120 return hana::at_c<0>(expr.storage_)( in apply()
121 hana::at_c<n+1>(expr.storage_)... in apply()
128 return hana::at_c<0>(expr.storage_)( in apply()
129 hana::at_c<n+1>(expr.storage_)... in apply()
[all …]
Dtuple.hpp99 basic_tuple<Xn...> storage_; member
105 : storage_(hana::at_c<n>(static_cast<Other&&>(other))...) in tuple()
113 : storage_() in tuple()
120 : storage_(xn...) in tuple()
128 : storage_(static_cast<Yn&&>(yn)...) in tuple()
137 other.storage_)
146 static_cast<tuple<Yn...>&&>(other).storage_)
159 other.storage_)
175 static_cast<tuple&&>(other).storage_)
183 detail::assign(this->storage_, other.storage_, in operator =()
[all …]
/third_party/grpc/src/core/lib/gprpp/
Datomic.h42 explicit Atomic(T val = T()) : storage_(val) {} in storage_() function
45 return storage_.load(static_cast<std::memory_order>(order)); in Load()
49 storage_.store(val, static_cast<std::memory_order>(order)); in Store()
53 return storage_.exchange(desired, static_cast<std::memory_order>(order)); in Exchange()
58 return GPR_ATM_INC_CAS_THEN(storage_.compare_exchange_weak( in CompareExchangeWeak()
65 return GPR_ATM_INC_CAS_THEN(storage_.compare_exchange_strong( in CompareExchangeStrong()
72 return GPR_ATM_INC_ADD_THEN(storage_.fetch_add(
78 return GPR_ATM_INC_ADD_THEN(storage_.fetch_sub(
85 T count = storage_.load(static_cast<std::memory_order>(load_order));
99 std::atomic<T> storage_;
/third_party/boost/boost/histogram/
Dhistogram.hpp83 : storage_(std::move(unsafe_access::storage(rhs))) in histogram()
91 : storage_(unsafe_access::storage(rhs)), offset_(unsafe_access::offset(rhs)) { in histogram()
100 storage_ = std::move(unsafe_access::storage(rhs)); in operator =()
109 storage_ = unsafe_access::storage(rhs); in operator =()
117 , storage_(std::move(s)) in histogram()
120 storage_.reset(detail::bincount(axes_)); in histogram()
134 std::size_t size() const noexcept { return storage_.size(); } in size()
137 void reset() { storage_.reset(size()); } in reset()
210 offset_, storage_, axes_, args); in operator ()()
236 detail::fill_n(mp11::mp_bool<(n_sample_args_expected == 0)>{}, offset_, storage_, in fill()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/common/third_party/base/anglebase/
Dno_destructor.h60 new (storage_) T(std::forward<Args>(args)...); in NoDestructor()
65 explicit NoDestructor(const T &x) { new (storage_) T(x); } in NoDestructor()
66 explicit NoDestructor(T &&x) { new (storage_) T(std::move(x)); } in NoDestructor()
79 const T *get() const { return reinterpret_cast<const T *>(storage_); } in get()
80 T *get() { return reinterpret_cast<T *>(storage_); } in get()
83 alignas(T) char storage_[sizeof(T)];
98 T *storage_ptr_ = reinterpret_cast<T *>(storage_);
/third_party/skia/third_party/externals/angle2/src/common/third_party/base/anglebase/
Dno_destructor.h60 new (storage_) T(std::forward<Args>(args)...); in NoDestructor()
65 explicit NoDestructor(const T &x) { new (storage_) T(x); } in NoDestructor()
66 explicit NoDestructor(T &&x) { new (storage_) T(std::move(x)); } in NoDestructor()
79 const T *get() const { return reinterpret_cast<const T *>(storage_); } in get()
80 T *get() { return reinterpret_cast<T *>(storage_); } in get()
83 alignas(T) char storage_[sizeof(T)];
98 T *storage_ptr_ = reinterpret_cast<T *>(storage_);
/third_party/boost/boost/context/
Dpooled_fixedsize_stack.hpp75 boost::pool< detail::map_stack_allocator< traitsT > > storage_; member in boost::context::basic_pooled_fixedsize_stack::storage
77 boost::pool< boost::default_user_allocator_malloc_free > storage_; member in boost::context::basic_pooled_fixedsize_stack::storage
84 storage_( stack_size, next_size, max_size) { in storage()
89 void * vp = storage_.malloc(); in allocate()
110 storage_.free( vp); in deallocate()
124 intrusive_ptr< storage > storage_; member in boost::context::basic_pooled_fixedsize_stack
132 storage_( new storage( stack_size, next_size, max_size) ) { in basic_pooled_fixedsize_stack()
136 return storage_->allocate(); in allocate()
140 storage_->deallocate( sctx); in deallocate()

1234