Home
last modified time | relevance | path

Searched refs:storage_ (Results 1 - 25 of 39) sorted by relevance

12

/third_party/skia/third_party/externals/abseil-cpp/absl/container/
H A Dinlined_vector.h112 InlinedVector() noexcept(noexcept(allocator_type())) : storage_() {} in noexcept()
116 : storage_(alloc) {} in storage_() function in absl::InlinedVector
121 : storage_(alloc) { in InlinedVector()
122 storage_.Initialize(DefaultValueAdapter(), n); in InlinedVector()
128 : storage_(alloc) { in InlinedVector()
129 storage_.Initialize(CopyValueAdapter(v), n); in InlinedVector()
147 : storage_(alloc) { in InlinedVector()
148 storage_.Initialize(IteratorValueAdapter<ForwardIterator>(first), in InlinedVector()
158 : storage_(alloc) { in InlinedVector()
165 : InlinedVector(other, *other.storage_ in InlinedVector()
755 Storage storage_; global() member in absl::InlinedVector
[all...]
H A Dfixed_array.h135 : storage_(n, a) { in FixedArray()
137 memory_internal::ConstructRange(storage_.alloc(), storage_.begin(), in FixedArray()
138 storage_.end()); in FixedArray()
145 : storage_(n, a) { in FixedArray()
146 memory_internal::ConstructRange(storage_.alloc(), storage_.begin(), in FixedArray()
147 storage_.end(), val); in FixedArray()
161 : storage_(std::distance(first, last), a) { in FixedArray()
162 memory_internal::CopyRange(storage_ in FixedArray()
489 Storage storage_; global() member in absl::FixedArray
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
H A DIndexedMap.h36 StorageT storage_;
46 assert(toIndex_(n) < storage_.size() && "index out of bounds!"); in operator []()
47 return storage_[toIndex_(n)]; in operator []()
51 assert(toIndex_(n) < storage_.size() && "index out of bounds!"); in operator []()
52 return storage_[toIndex_(n)]; in operator []()
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_ in inBounds()
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/cleanup/
H A 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_; member in absl::final
[all...]
/third_party/node/deps/v8/src/base/
H A Doptional.h220 : storage_(in_place, std::forward<Args>(args)...) {} in OptionalBase()
225 if (other.storage_.is_populated_) storage_.Init(other.storage_.value_);
230 if (other.storage_.is_populated_)
231 storage_.Init(std::move(other.storage_.value_));
248 if (other.storage_.is_populated_) in CopyAssign()
249 InitOrAssign(other.storage_.value_); in CopyAssign()
256 if (other.storage_ in MoveAssign()
281 OptionalStorage<T> storage_; global() member in v8::base::internal::OptionalBase
[all...]
H A Dlazy-instance.h175 InitOnceTrait::Init(&once_, &InitInstance, static_cast<void*>(&storage_)); in Init()
181 return AllocationTrait::MutableInstance(&storage_); in Pointer()
186 return *AllocationTrait::MutableInstance(&storage_); in Get()
193 mutable StorageType storage_; member
235 new (&storage_) T(std::forward<Args>(args)...); in LeakyObject()
241 T* get() { return reinterpret_cast<T*>(&storage_); } in get()
244 typename std::aligned_storage<sizeof(T), alignof(T)>::type storage_; member in v8::base::LeakyObject
/third_party/skia/third_party/externals/angle2/src/common/third_party/base/anglebase/
H A 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)]; member in angle::base::NoDestructor
98 T *storage_ptr_ = reinterpret_cast<T *>(storage_);
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/
H A Darg.cc74 char *p = storage_ + sizeof(storage_); in PrintAsOct()
80 size_ = storage_ + sizeof(storage_) - p; in PrintAsOct()
88 start_ = storage_; in PrintAsDec()
89 size_ = numbers_internal::FastIntToBuffer(v, storage_) - storage_; in PrintAsDec()
105 char *p = storage_ + sizeof(storage_); in PrintAsDec()
118 size_ = storage_ in PrintAsDec()
178 char storage_[128 / 3 + 1 + 1]; global() member in absl::str_format_internal::__anon19376::IntDigits
[all...]
/third_party/libphonenumber/cpp/src/phonenumbers/geocoding/
H A Darea_code_map.cc39 storage_.reset(storage); in ReadAreaCodeMap()
43 const int entries = storage_->GetNumOfEntries(); in Lookup()
54 const int* const lengths = storage_->GetPossibleLengths(); in Lookup()
55 const int lengths_size = storage_->GetPossibleLengthsSize(); in Lookup()
68 const int32 current_prefix = storage_->GetPrefix(current_index); in Lookup()
70 return storage_->GetDescription(current_index); in Lookup()
80 int32 current_value = storage_->GetPrefix(current); in BinarySearch()
H A Darea_code_map.h73 scoped_ptr<const DefaultMapStorage> storage_; member in i18n::phonenumbers::AreaCodeMap
/third_party/gn/src/base/
H A Dvalue_iterators.cc130 : storage_(storage) {} in dict_iterator_proxy()
133 return iterator(storage_->begin()); in begin()
137 return const_iterator(storage_->begin()); in begin()
141 return iterator(storage_->end()); in end()
145 return const_iterator(storage_->end()); in end()
186 : storage_(storage) {} in const_dict_iterator_proxy()
190 return const_iterator(storage_->begin()); in begin()
195 return const_iterator(storage_->end()); in end()
H A Dvalue_iterators.h149 DictStorage* storage_; member in base::detail::dict_iterator_proxy
184 const DictStorage* storage_; member in base::detail::const_dict_iterator_proxy
/third_party/node/deps/v8/third_party/inspector_protocol/crdtp/
H A Dprotocol_core.cc14 : storage_(new std::vector<uint8_t>(std::move(bytes))), in DeserializerState()
15 tokenizer_(span<uint8_t>(storage_->data(), storage_->size())) {} in DeserializerState()
18 : storage_(std::move(storage)), tokenizer_(span) {} in DeserializerState()
226 : storage_(storage), span_(span) {} in IncomingDeferredMessage()
230 return DeserializerState(storage_, span_);
236 DeserializerState::Storage storage_; member in v8_crdtp::IncomingDeferredMessage
H A Dprotocol_core.h42 const Storage& storage() const { return storage_; } in storage()
46 const Storage storage_; member in v8_crdtp::DeserializerState
/third_party/node/deps/v8/src/bigint/
H A Ddiv-helpers.h56 storage_.reset(digits); in ShiftedDigits()
76 std::unique_ptr<digit_t[]> storage_; member in v8::bigint::ShiftedDigits
H A Dbigint-internal.h144 explicit ScratchDigits(int len) : RWDigits(nullptr, len), storage_(len) { in ScratchDigits()
145 digits_ = storage_.get(); in ScratchDigits()
149 Storage storage_; member in v8::bigint::ScratchDigits
H A Dmul-fft.cc434 storage_ = new digit_t[length_ * n_]; in FFTContainer()
436 digit_t* ptr = storage_; in FFTContainer()
447 delete[] storage_; in ~FFTContainer()
476 digit_t* storage_; // Combined storage of all parts. member in v8::bigint::__anon14045::FFTContainer
/third_party/node/deps/v8/src/deoptimizer/
H A Dtranslated-state.h121 void set_storage(Handle<HeapObject> storage) { storage_ = storage; } in set_storage()
128 return storage_; in storage()
139 Handle<HeapObject> storage_; // Contains the materialized value or the member in v8::internal::TranslatedValue
H A Dtranslated-state.cc400 if (storage_->IsHeapNumber() && in GetRawValue()
401 DoubleToSmiInteger(storage_->Number(), &smi)) { in GetRawValue()
404 return *storage_; in GetRawValue()
477 storage_ = storage; in set_initialized_storage()
498 return storage_; in GetValue()
560 return storage_; in GetValue()
1845 Handle<HeapObject> object_storage = Handle<HeapObject>::cast(slot->storage_); in InitializeJSObjectAt()
1893 Handle<HeapObject> object_storage = Handle<HeapObject>::cast(slot->storage_); in InitializeObjectWithTaggedFieldsAt()
/third_party/vk-gl-cts/framework/opengl/
H A DgluVarType.cpp260 VariableDeclaration::VariableDeclaration (const VarType& varType_, const std::string& name_, Storage storage_, Interpolation interpolation_, const Layout& layout_, deUint32 memoryAccessQualifierBits_) in VariableDeclaration() argument
263 , storage (storage_) in VariableDeclaration()
/third_party/node/deps/v8/src/builtins/
H A Dbuiltins-array.cc663 storage_(isolate->global_handles()->Create(*storage)), in ArrayConcatVisitor()
694 LookupIterator it(isolate_, storage_, index, LookupIterator::OWN); in visit()
713 Handle<NumberDictionary> dict(NumberDictionary::cast(*storage_), isolate_); in visit()
740 static_cast<uint32_t>(FixedArrayBase::cast(*storage_).length())) { in increase_index_offset()
764 Handle<JSReceiver> result = Handle<JSReceiver>::cast(storage_); in ToJSReceiver()
806 inline void clear_storage() { GlobalHandles::Destroy(storage_.location()); } in clear_storage()
811 storage_ = isolate_->global_handles()->Create(storage); in set_storage()
830 return Handle<FixedArray>::cast(storage_); in storage_fixed_array()
834 Handle<Object> storage_; // Always a global handle. member in v8::internal::__anon14076::ArrayConcatVisitor
/third_party/node/deps/brotli/c/enc/
H A Dencode.c90 uint8_t* storage_; member
213 BROTLI_FREE(m, s->storage_); in GetBrotliStorage()
214 s->storage_ = BROTLI_ALLOC(m, uint8_t, size); in GetBrotliStorage()
215 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(s->storage_)) return NULL; in GetBrotliStorage()
218 return s->storage_; in GetBrotliStorage()
768 s->storage_ = 0; in BrotliEncoderInitState()
821 BROTLI_FREE(m, s->storage_); in BrotliEncoderCleanupState()
/third_party/skia/third_party/externals/brotli/c/enc/
H A Dencode.c90 uint8_t* storage_; member
213 BROTLI_FREE(m, s->storage_); in GetBrotliStorage()
214 s->storage_ = BROTLI_ALLOC(m, uint8_t, size); in GetBrotliStorage()
215 if (BROTLI_IS_OOM(m) || BROTLI_IS_NULL(s->storage_)) return NULL; in GetBrotliStorage()
218 return s->storage_; in GetBrotliStorage()
768 s->storage_ = 0; in BrotliEncoderInitState()
821 BROTLI_FREE(m, s->storage_); in BrotliEncoderCleanupState()
/third_party/protobuf/conformance/third_party/jsoncpp/
H A Djsoncpp.cpp2637 storage_.policy_ = allocate & 0x3; in CZString()
2638 storage_.length_ = ulength & 0x3FFFFFFF; in CZString()
2642 : cstr_(other.storage_.policy_ != noDuplication && other.cstr_ != 0 in CZString()
2643 ? duplicateStringValue(other.cstr_, other.storage_.length_) in CZString()
2645 storage_.policy_ = (other.cstr_ in CZString()
2646 ? (static_cast<DuplicationPolicy>(other.storage_.policy_) == noDuplication in CZString()
2648 : static_cast<DuplicationPolicy>(other.storage_.policy_)); in CZString()
2649 storage_.length_ = other.storage_.length_; in CZString()
2660 if (cstr_ && storage_ in ~CZString()
[all...]
/third_party/skia/third_party/externals/spirv-headers/tools/buildHeaders/jsoncpp/dist/
H A Djsoncpp.cpp2619 storage_.policy_ = allocate;
2620 storage_.length_ = length;
2624 : cstr_(other.storage_.policy_ != noDuplication && other.cstr_ != 0
2625 ? duplicateStringValue(other.cstr_, other.storage_.length_)
2628 storage_.policy_ = (other.cstr_
2629 ? (other.storage_.policy_ == noDuplication
2631 : other.storage_.policy_);
2632 storage_.length_ = other.storage_.length_;
2636 if (cstr_ && storage_
[all...]

Completed in 32 milliseconds

12