/external/libchrome/base/ |
D | optional.h | 128 if (!other.storage_.is_null_) 133 if (!other.storage_.is_null_) 137 constexpr Optional(const T& value) : storage_(value) {} 140 Optional(T&& value) : storage_(std::move(value)) {} 145 : storage_(base::in_place, std::forward<Args>(args)...) {} 155 if (other.storage_.is_null_) { 165 if (other.storage_.is_null_) { 184 DCHECK(!storage_.is_null_); 191 DCHECK(!storage_.is_null_); 207 constexpr explicit operator bool() const { return !storage_.is_null_; } [all …]
|
/external/pdfium/third_party/base/ |
D | optional.h | 128 if (!other.storage_.is_null_) 133 if (!other.storage_.is_null_) 137 constexpr Optional(const T& value) : storage_(value) {} 140 Optional(T&& value) : storage_(std::move(value)) {} 145 : storage_(in_place, std::forward<Args>(args)...) {} 155 if (other.storage_.is_null_) { 165 if (other.storage_.is_null_) { 184 DCHECK(!storage_.is_null_); 191 DCHECK(!storage_.is_null_); 207 constexpr explicit operator bool() const { return !storage_.is_null_; } [all …]
|
/external/llvm/include/llvm/ADT/ |
D | IndexedMap.h | 37 StorageT storage_; variable 47 assert(toIndex_(n) < storage_.size() && "index out of bounds!"); 48 return storage_[toIndex_(n)]; 52 assert(toIndex_(n) < storage_.size() && "index out of bounds!"); 53 return storage_[toIndex_(n)]; 57 storage_.reserve(s); in reserve() 61 storage_.resize(s, nullVal_); in resize() 65 storage_.clear(); in clear() 70 if (NewSize > storage_.size()) in grow() 75 return toIndex_(n) < storage_.size(); in inBounds() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | IndexedMap.h | 39 StorageT storage_; variable 49 assert(toIndex_(n) < storage_.size() && "index out of bounds!"); 50 return storage_[toIndex_(n)]; 54 assert(toIndex_(n) < storage_.size() && "index out of bounds!"); 55 return storage_[toIndex_(n)]; 59 storage_.reserve(s); in reserve() 63 storage_.resize(s, nullVal_); in resize() 67 storage_.clear(); in clear() 72 if (NewSize > storage_.size()) in grow() 77 return toIndex_(n) < storage_.size(); in inBounds() [all …]
|
/external/webrtc/webrtc/base/ |
D | cryptstring.h | 74 storage_ = new char[32]; in FormatCryptString() 77 storage_[0] = 0; in FormatCryptString() 86 memcpy(storage_ + length_, data, length); in Append() 88 storage_[length_] = '\0'; in Append() 94 password->CopyTo(storage_ + length_, true); in Append() 103 return storage_; in GetData() 114 char * old_storage = storage_; in EnsureStorage() 122 storage_ = new char[capacity_]; in EnsureStorage() 125 memcpy(storage_, old_storage, length_); in EnsureStorage() 138 storage_[0] = 0; in ~FormatCryptString() [all …]
|
/external/libbrillo/brillo/ |
D | any_internal_impl_unittest.cc | 16 EXPECT_EQ(Buffer::kExternal, buffer.storage_); in TEST() 24 EXPECT_EQ(Buffer::kContained, buffer.storage_); in TEST() 32 EXPECT_EQ(Buffer::kContained, buffer.storage_); in TEST() 41 EXPECT_EQ(Buffer::kContained, buffer.storage_); in TEST() 48 EXPECT_EQ(Buffer::kContained, buffer.storage_); in TEST() 58 EXPECT_EQ(Buffer::kContained, buffer.storage_); in TEST() 70 EXPECT_EQ(Buffer::kExternal, buffer.storage_); in TEST() 82 EXPECT_EQ(Buffer::kContained, buffer.storage_); in TEST() 90 EXPECT_EQ(Buffer::kExternal, buffer.storage_); in TEST()
|
D | any_internal_impl.h | 223 Buffer() : external_ptr_(nullptr), storage_(kExternal) {} in Buffer() 242 return (storage_ == kExternal) ? external_ptr_ in GetDataPtr() 246 return (storage_ == kExternal) in GetDataPtr() 254 if (storage_ == kExternal) { in Clear() 263 storage_ = kExternal; in Clear() 290 storage_ = kExternal; in Assign() 298 storage_ = kContained; in Assign() 319 return (storage_ == kExternal && external_ptr_ == nullptr); in IsEmpty() 336 if (storage_ == kExternal) { in MoveTo() 338 destination->storage_ = kExternal; in MoveTo() [all …]
|
/external/gemmlowp/internal/ |
D | allocator.h | 77 storage_(nullptr), 101 storage_ = aligned_alloc(kAlignment, storage_size_); 104 ReleaseBuildAssertion(!storage_size_ || storage_, "allocation failure"); 165 std::uintptr_t addr = reinterpret_cast<std::uintptr_t>(storage_) + offset; 172 aligned_free(storage_); 181 mutable void* storage_;
|
/external/libmojo/mojo/public/cpp/bindings/lib/ |
D | array_internal.cc | 36 : storage_(storage), mask_(mask) { in BitRef() 42 *storage_ |= mask_; in operator =() 44 *storage_ &= ~mask_; in operator =() 55 return (*storage_ & mask_) != 0; in operator bool()
|
D | array_internal.h | 82 uint8_t* storage_;
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_symbolizer.cc | 88 for (uptr i = 0; i < storage_.size(); ++i) { in GetOwnedCopy() 89 if (!internal_strcmp(storage_[i], str)) { in GetOwnedCopy() 90 last_match_ = storage_[i]; in GetOwnedCopy() 95 storage_.push_back(last_match_); in GetOwnedCopy()
|
D | sanitizer_symbolizer.h | 130 : storage_(kInitialCapacity), last_match_(nullptr), in ModuleNameOwner() 136 InternalMmapVector<const char*> storage_; variable
|
/external/v8/src/base/ |
D | lazy-instance.h | 183 reinterpret_cast<void*>(&storage_)); in Init() 189 return AllocationTrait::MutableInstance(&storage_); in Pointer() 194 return *AllocationTrait::MutableInstance(&storage_); in Get() 201 mutable StorageType storage_; member
|
/external/Microsoft-GSL/include/gsl/ |
D | span | 341 constexpr span() GSL_NOEXCEPT : storage_(nullptr, details::extent_type<0>()) 347 constexpr span(pointer ptr, index_type count) : storage_(ptr, count) {} 350 : storage_(firstElem, std::distance(firstElem, lastElem)) 356 : storage_(&arr[0], details::extent_type<N>()) 362 : storage_(&arr[0], details::extent_type<N>()) 368 : storage_(&arr[0], details::extent_type<N>()) 374 : storage_(ptr.get(), count) 378 constexpr span(const std::unique_ptr<ElementType>& ptr) : storage_(ptr.get(), ptr.get() ? 1 : 0) 381 constexpr span(const std::shared_ptr<ElementType>& ptr) : storage_(ptr.get(), ptr.get() ? 1 : 0) 416 : storage_(other.data(), details::extent_type<OtherExtent>(other.size())) [all …]
|
/external/vulkan-validation-layers/layers/ |
D | descriptor_sets.h | 249 virtual bool IsStorage() const override { return storage_; } in IsStorage() 254 bool storage_; 265 virtual bool IsStorage() const override { return storage_; } in IsStorage() 270 bool storage_; variable 280 virtual bool IsStorage() const override { return storage_; } in IsStorage() 286 bool storage_;
|
D | descriptor_sets.cpp | 1139 : storage_(false), image_view_(VK_NULL_HANDLE), image_layout_(VK_IMAGE_LAYOUT_UNDEFINED) { in ImageDescriptor() 1142 if (VK_DESCRIPTOR_TYPE_STORAGE_IMAGE == type) storage_ = true; in ImageDescriptor() 1169 : storage_(false), dynamic_(false), buffer_(VK_NULL_HANDLE), offset_(0), range_(0) { in BufferDescriptor() 1175 storage_ = true; in BufferDescriptor() 1178 storage_ = true; in BufferDescriptor() 1202 …tor::TexelDescriptor(const VkDescriptorType type) : buffer_view_(VK_NULL_HANDLE), storage_(false) { in TexelDescriptor() 1205 if (VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER == type) storage_ = true; in TexelDescriptor()
|
/external/deqp/framework/opengl/ |
D | gluVarType.cpp | 259 …Declaration (const VarType& varType_, const std::string& name_, Storage storage_, Interpolation in… in VariableDeclaration() argument 262 , storage (storage_) in VariableDeclaration()
|
D | gluVarType.hpp | 258 …VariableDeclaration (const VarType& varType_, const std::string& name_, Storage storage_ = STORAGE…
|
/external/protobuf/conformance/third_party/jsoncpp/ |
D | jsoncpp.cpp | 2637 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_.policy_ == duplicate) in ~CZString() 2678 unsigned this_len = this->storage_.length_; in operator <() [all …]
|
D | json.h | 624 StringStorage storage_; member
|
/external/brotli/c/enc/ |
D | encode.c | 77 uint8_t* storage_; member 203 BROTLI_FREE(m, s->storage_); in GetBrotliStorage() 204 s->storage_ = BROTLI_ALLOC(m, uint8_t, size); in GetBrotliStorage() 208 return s->storage_; in GetBrotliStorage() 692 s->storage_ = 0; in BrotliEncoderInitState() 746 BROTLI_FREE(m, s->storage_); in BrotliEncoderCleanupState()
|
/external/v8/src/builtins/ |
D | builtins-array.cc | 819 storage_(isolate->global_handles()->Create(*storage)), in ArrayConcatVisitor() 845 LookupIterator it(isolate_, storage_, index, LookupIterator::OWN); in visit() 866 SeededNumberDictionary::cast(*storage_)); in visit() 891 static_cast<uint32_t>(FixedArrayBase::cast(*storage_)->length())) { in increase_index_offset() 918 return Handle<FixedArray>::cast(storage_); in storage_fixed_array() 922 return Handle<JSReceiver>::cast(storage_); in storage_jsreceiver() 956 inline void clear_storage() { GlobalHandles::Destroy(storage_.location()); } in clear_storage() 961 storage_ = isolate_->global_handles()->Create(storage); in set_storage() 979 Handle<Object> storage_; // Always a global handle. member in v8::internal::__anon15643ac50411::ArrayConcatVisitor
|
/external/deqp/modules/glshared/ |
D | glsVertexArrayTests.cpp | 1918 …ay::InputType inputType_, Array::OutputType outputType_, Array::Storage storage_, Array::Usage usa… in ArraySpec() argument 1921 , storage (storage_) in ArraySpec()
|
/external/libtextclassifier/ |
D | feature-processor_test.cc | 79 std::vector<float> storage_; member in libtextclassifier2::__anon5caec34a0111::FakeEmbeddingExecutor
|