/external/webrtc/webrtc/base/ |
cryptstring.h | 74 storage_ = new char[32]; 77 storage_[0] = 0; 86 memcpy(storage_ + length_, data, length); 88 storage_[length_] = '\0'; 94 password->CopyTo(storage_ + length_, true); 103 return storage_; 114 char * old_storage = storage_; 122 storage_ = new char[capacity_]; 125 memcpy(storage_, old_storage, length_); 138 storage_[0] = 0 146 char * storage_; member in class:rtc::FormatCryptString [all...] |
/external/llvm/include/llvm/ADT/ |
IndexedMap.h | 37 StorageT storage_; member in class:llvm::IndexedMap 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); 61 storage_.resize(s, nullVal_); 65 storage_.clear(); 70 if (NewSize > storage_.size()) 75 return toIndex_(n) < storage_.size() [all...] |
/art/runtime/base/ |
bit_vector.cc | 31 : storage_(storage), 35 DCHECK(storage_ != nullptr); 37 static_assert(sizeof(*storage_) == kWordBytes, "word bytes"); 38 static_assert(sizeof(*storage_) * 8u == kWordBits, "word bits"); 63 allocator_->Free(storage_); 89 return (memcmp(storage_, src->GetRawStorage(), our_highest_index * kWordBytes) == 0); 109 uint32_t this_storage = storage_[i]; 110 uint32_t other_storage = other->storage_[i]; 126 storage_[idx] &= src->GetRawStorageWord(idx); 134 storage_[idx] = 0 [all...] |
bit_vector.h | 120 : storage_(other.storage_), 124 other.storage_ = nullptr; 157 storage_[WordIndex(idx)] |= BitMask(idx); 165 storage_[WordIndex(idx)] &= ~BitMask(idx); 173 return (idx < (storage_size_ * kWordBits)) && IsBitSet(storage_, idx); 226 return storage_[idx]; 230 return storage_; 234 return storage_; 265 memcpy(dst, storage_, vec_len) 299 uint32_t* storage_; \/\/ The storage for the bit vector. member in class:art::BitVector [all...] |
bit_vector-inl.h | 69 memset(storage_, 0, storage_size_ * kWordBytes); 75 (memcmp(storage_, src->GetRawStorage(), storage_size_ * sizeof(uint32_t)) == 0);
|
bit_vector_test.cc | 226 // Test copying when `bv.storage_` and `buf` are of equal lengths. 240 // Test copying when the `bv.storage_` is longer than `buf`. As long as 258 // Test zero padding when `bv.storage_` is shorter than `buf`.
|
/external/libbrillo/brillo/ |
any_internal_impl_unittest.cc | 16 EXPECT_EQ(Buffer::kExternal, buffer.storage_); 24 EXPECT_EQ(Buffer::kContained, buffer.storage_); 32 EXPECT_EQ(Buffer::kContained, buffer.storage_); 41 EXPECT_EQ(Buffer::kContained, buffer.storage_); 48 EXPECT_EQ(Buffer::kContained, buffer.storage_); 58 EXPECT_EQ(Buffer::kContained, buffer.storage_); 70 EXPECT_EQ(Buffer::kExternal, buffer.storage_); 82 EXPECT_EQ(Buffer::kContained, buffer.storage_); 90 EXPECT_EQ(Buffer::kExternal, buffer.storage_);
|
any_internal_impl.h | 222 Buffer() : external_ptr_(nullptr), storage_(kExternal) {} 239 // or the raw data depending on |storage_| type. 241 return (storage_ == kExternal) ? external_ptr_ 245 return (storage_ == kExternal) 253 if (storage_ == kExternal) { 262 storage_ = kExternal; 289 storage_ = kExternal; 297 storage_ = kContained; 318 return (storage_ == kExternal && external_ptr_ == nullptr); 335 if (storage_ == kExternal) 357 StorageType storage_; \/\/ Declare after the union to eliminate member padding. member in class:brillo::internal_details::final [all...] |
/system/connectivity/shill/ |
pending_activation_store.cc | 44 if (storage_.get()) 45 storage_->Flush(); // Make certain that everything is persisted. 96 if (storage_.get()) { 97 storage_->Flush(); 98 storage_.reset(); // KeyFileStore closes the file in its destructor. 116 storage_.reset(storage.release()); 125 if (!storage_.get()) { 130 if (!storage_->GetInt(IdentifierTypeToGroupId(type), identifier, &state)) { 148 if (!storage_.get()) { 161 if (!storage_->SetInt [all...] |
profile.cc | 161 CHECK(!storage_.get()); 187 storage_.reset(storage); 195 return service->Save(storage_.get()) && storage_->Flush(); 201 return storage_->DeleteGroup(service->GetStorageIdentifier()) && 202 storage_->Flush(); 206 return service->Save(storage_.get()) && storage_->Flush(); 212 return service->Load(storage_.get()); 223 return device->Load(storage_.get()) [all...] |
profile.h | 166 // Write all in-memory state to disk via |storage_|. 202 return storage_.get(); 207 return storage_.get(); 223 StoreInterface* storage() { return storage_.get(); } 261 std::unique_ptr<StoreInterface> storage_; member in class:shill::Profile
|
pending_activation_store.h | 105 std::unique_ptr<StoreInterface> storage_; member in class:shill::PendingActivationStore
|
/external/chromium-trace/catapult/tracing/tracing/base/ |
settings.html | 42 input_class.storage_ = storage; 55 var rawVal = input_class.storage_.getItem(key); 65 input_class.storage_.removeItem(key); 83 input_class.storage_.setItem( 97 for (var i = 0; i < input_class.storage_.length; i++) { 98 var key = input_class.storage_.key(i); 128 input_class.storage_ = instance; 132 if (!tr.isHeadless && input_class.storage_ === localStorage) 134 return input_class.storage_;
|
/external/gemmlowp/internal/ |
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/compiler-rt/lib/sanitizer_common/ |
sanitizer_symbolizer.cc | 87 for (uptr i = 0; i < storage_.size(); ++i) { 88 if (!internal_strcmp(storage_[i], str)) { 89 last_match_ = storage_[i]; 94 storage_.push_back(last_match_);
|
sanitizer_symbolizer.h | 125 : storage_(kInitialCapacity), last_match_(nullptr), 131 InternalMmapVector<const char*> storage_; member in class:__sanitizer::final::ModuleNameOwner
|
/art/runtime/jit/ |
offline_profiling_info.h | 128 explicit SafeBuffer(size_t size) : storage_(new uint8_t[size]) { 129 ptr_current_ = storage_.get(); 147 uint8_t* Get() { return storage_.get(); } 150 std::unique_ptr<uint8_t> storage_; member in struct:art::ProfileCompilationInfo::SafeBuffer
|
/external/v8/src/base/ |
lazy-instance.h | 183 reinterpret_cast<void*>(&storage_)); 189 return AllocationTrait::MutableInstance(&storage_); 194 return *AllocationTrait::MutableInstance(&storage_); 201 mutable StorageType storage_; member in struct:v8::base::LazyInstanceImpl
|
/system/update_engine/common/ |
prefs.cc | 33 return storage_->GetKey(key, value); 37 TEST_AND_RETURN_FALSE(storage_->SetKey(key, value)); 81 return storage_->KeyExists(key); 85 TEST_AND_RETURN_FALSE(storage_->DeleteKey(key));
|
prefs.h | 60 explicit PrefsBase(StorageInterface* storage) : storage_(storage) {} 83 StorageInterface* storage_; member in class:chromeos_update_engine::PrefsBase
|
/external/v8/test/cctest/wasm/ |
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]; member in class:__anon25293::WasmRunner
|
/external/v8/test/cctest/compiler/ |
c-signature.h | 113 MachineType storage_[1 + kParamCount]; member in class:v8::internal::compiler::CSignatureOf 117 kParamCount, reinterpret_cast<MachineType*>(&storage_)) { 118 if (return_count_ == 1) storage_[0] = MachineTypeForC<Ret>();
|
/art/runtime/ |
handle_scope-inl.h | 38 CHECK_EQ(&storage_[0], GetReferences());
|
/external/opencv3/modules/cudalegacy/src/ |
fgd.cpp | 616 CvMemStorage* storage_; 621 storage_ = cvCreateMemStorage(); 622 CV_Assert( storage_ != 0 ); 627 cvReleaseMemStorage(&storage_); 643 cvClearMemStorage(storage_); 658 findForegroundRegions(foreground_, h_foreground_, foreground_regions_, storage_, params_);
|
/prebuilts/misc/common/swig/include/2.0.11/chicken/ |
typemaps.i | 105 %define INOUT_TYPEMAP(type_, from_scheme, to_scheme, checker, convtype, storage_) 120 #if "storage_" == "0" 135 C_word *known_space = C_alloc(storage_);
|