/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/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/gemmlowp/internal/ |
D | allocator.h | 85 storage_(nullptr), 110 storage_ = memalign(kAlignment, storage_size_); 112 if (posix_memalign(&storage_, kAlignment, storage_size_)) { 113 storage_ = nullptr; 118 ReleaseBuildAssertion(!storage_size_ || storage_, "allocation failure"); 179 std::uintptr_t addr = reinterpret_cast<std::uintptr_t>(storage_) + offset; 186 free(storage_); 195 mutable void* storage_;
|
/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 | 222 Buffer() : external_ptr_(nullptr), storage_(kExternal) {} in Buffer() 241 return (storage_ == kExternal) ? external_ptr_ in GetDataPtr() 245 return (storage_ == kExternal) in GetDataPtr() 253 if (storage_ == kExternal) { in Clear() 262 storage_ = kExternal; in Clear() 289 storage_ = kExternal; in Assign() 297 storage_ = kContained; in Assign() 318 return (storage_ == kExternal && external_ptr_ == nullptr); in IsEmpty() 335 if (storage_ == kExternal) { in MoveTo() 337 destination->storage_ = kExternal; in MoveTo() [all …]
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_symbolizer.cc | 87 for (uptr i = 0; i < storage_.size(); ++i) { in GetOwnedCopy() 88 if (!internal_strcmp(storage_[i], str)) { in GetOwnedCopy() 89 last_match_ = storage_[i]; in GetOwnedCopy() 94 storage_.push_back(last_match_); in GetOwnedCopy()
|
D | sanitizer_symbolizer.h | 125 : storage_(kInitialCapacity), last_match_(nullptr), in ModuleNameOwner() 131 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/v8/test/cctest/wasm/ |
D | wasm-run-utils.h | 295 GetParameterCount(p0, p1, p2, p3), storage_), 302 storage_[index++] = WasmOpcodes::LocalTypeFor(ret); 305 storage_[index++] = WasmOpcodes::LocalTypeFor(p0); 307 storage_[index++] = WasmOpcodes::LocalTypeFor(p1); 309 storage_[index++] = WasmOpcodes::LocalTypeFor(p2); 311 storage_[index++] = WasmOpcodes::LocalTypeFor(p3); 373 LocalType storage_[5];
|
/external/v8/test/cctest/compiler/ |
D | c-signature.h | 113 MachineType storage_[1 + kParamCount]; 117 kParamCount, reinterpret_cast<MachineType*>(&storage_)) { in CSignatureOf() 118 if (return_count_ == 1) storage_[0] = MachineTypeForC<Ret>(); in CSignatureOf()
|
/external/opencv3/modules/cudalegacy/src/ |
D | fgd.cpp | 616 CvMemStorage* storage_; member in __anon0c08ab400811::FGDImpl 621 storage_ = cvCreateMemStorage(); in FGDImpl() 622 CV_Assert( storage_ != 0 ); in FGDImpl() 627 cvReleaseMemStorage(&storage_); in ~FGDImpl() 643 cvClearMemStorage(storage_); in apply() 658 … findForegroundRegions(foreground_, h_foreground_, foreground_regions_, storage_, params_); in apply()
|
/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/v8/src/ |
D | builtins.cc | 633 storage_(Handle<FixedArray>::cast( in ArrayConcatVisitor() 649 if (index < static_cast<uint32_t>(storage_->length())) { in visit() 650 storage_->set(index, *elm); in visit() 662 SeededNumberDictionary::cast(*storage_)); in visit() 685 static_cast<uint32_t>(FixedArrayBase::cast(*storage_)->length())) { in increase_index_offset() 702 array->set_elements(*storage_); in ToArray() 710 Handle<FixedArray> current_storage(*storage_); in SetDictionaryMode() 734 GlobalHandles::Destroy(Handle<Object>::cast(storage_).location()); in clear_storage() 738 storage_ = in set_storage() 754 Handle<FixedArray> storage_; // Always a global handle. member in v8::internal::__anon30b6a4830211::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()
|