Home
last modified time | relevance | path

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

/external/llvm/include/llvm/ADT/
DIndexedMap.h34 StorageT storage_; variable
44 assert(toIndex_(n) < storage_.size() && "index out of bounds!");
45 return storage_[toIndex_(n)];
49 assert(toIndex_(n) < storage_.size() && "index out of bounds!");
50 return storage_[toIndex_(n)];
54 storage_.reserve(s); in reserve()
58 storage_.resize(s, nullVal_); in resize()
62 storage_.clear(); in clear()
67 if (NewSize > storage_.size()) in grow()
72 return toIndex_(n) < storage_.size(); in inBounds()
[all …]
/external/chromium/net/tools/flip_server/
Dsimple_buffer.h20 delete[] storage_; in ~SimpleBuffer()
28 iterator begin() { return storage_ + read_idx_; } in begin()
29 const_iterator begin() const { return storage_ + read_idx_; } in begin()
31 iterator end() { return storage_ + write_idx_; } in end()
32 const_iterator end() const { return storage_ + write_idx_; } in end()
65 char* tmp = storage_; in Swap()
66 storage_ = other->storage_; in Swap()
67 other->storage_ = tmp; in Swap()
83 char* storage_;
Dsimple_buffer.cc24 : storage_(new char[kInitialSimpleBufferSize]), in SimpleBuffer()
37 storage_ = new char[size]; in SimpleBuffer()
90 memcpy(storage_ + write_idx_, bytes, size); in Write()
101 *ptr = storage_ + write_idx_; in GetWritablePtr()
111 *ptr = storage_ + read_idx_; in GetReadablePtr()
149 memmove(storage_, read_ptr, read_size); in Reserve()
173 delete[] storage_; in Reserve()
174 storage_ = new_storage; in Reserve()
/external/chromium/third_party/libjingle/source/talk/base/
Dcryptstring.h94 storage_ = new char[32]; in FormatCryptString()
97 storage_[0] = 0; in FormatCryptString()
106 memcpy(storage_ + length_, data, length); in Append()
108 storage_[length_] = '\0'; in Append()
114 password->CopyTo(storage_ + length_, true); in Append()
123 return storage_; in GetData()
134 char * old_storage = storage_; in EnsureStorage()
142 storage_ = new char[capacity_]; in EnsureStorage()
145 memcpy(storage_, old_storage, length_); in EnsureStorage()
158 storage_[0] = 0; in ~FormatCryptString()
[all …]
/external/chromium-trace/trace-viewer/src/
Dsettings.js24 this.storage_ = FakeLocalStorage();
26 this.storage_ = localStorage;
43 if (!(key in this.storage_))
45 return String(this.storage_[key]);
58 this.storage_[this.namespace_(key, opt_namespace)] = String(value);
71 for (var i = 0; i < this.storage_.length; i++) {
72 var key = this.storage_.key(i);
/external/chromium/base/
Dmach_ipc_mac.mm45 : storage_(new MachMessageData), // Allocate storage_ ourselves
48 memset(storage_, 0, storage_length_bytes_);
53 : storage_(static_cast<MachMessageData*>(storage)),
63 delete storage_;
64 storage_ = NULL;
116 reinterpret_cast<MessageDataPacket*>(storage_->padding + desc_size);
125 reinterpret_cast<MachMsgPortDescriptor*>(storage_->padding);
155 storage_->body.msgh_descriptor_count = n;
168 reinterpret_cast<MachMsgPortDescriptor*>(storage_->padding);
Dmach_ipc_mac.h168 return storage_->body.msgh_descriptor_count; in GetDescriptorCount()
213 mach_msg_header_t *Head() { return &(storage_->head); } in Head()
223 MachMessageData *storage_; variable
/external/v8/src/
Dlazy-instance.h205 reinterpret_cast<void*>(&storage_)); in Init()
211 return AllocationTrait::MutableInstance(&storage_); in Pointer()
216 return *AllocationTrait::MutableInstance(&storage_); in Get()
223 mutable StorageType storage_; member
Dflag-definitions.h88 return static_cast<int>(storage_[0]); in argc()
91 return reinterpret_cast<const char**>(storage_[1]); in argv()
109 storage_[0] = argc; in set_argc()
112 storage_[1] = reinterpret_cast<AtomicWord>(argv); in set_argv()
118 AtomicWord storage_[2];
Druntime.cc9310 storage_(Handle<FixedArray>::cast( in ArrayConcatVisitor()
9324 if (index < static_cast<uint32_t>(storage_->length())) { in visit()
9325 storage_->set(index, *elm); in visit()
9337 SeededNumberDictionary::cast(*storage_)); in visit()
9369 array->set_elements(*storage_); in ToArray()
9377 Handle<FixedArray> current_storage(*storage_); in SetDictionaryMode()
9400 Handle<Object>::cast(storage_).location()); in clear_storage()
9404 storage_ = Handle<FixedArray>::cast( in set_storage()
9409 Handle<FixedArray> storage_; // Always a global handle. member in v8::internal::ArrayConcatVisitor
/external/chromium/chrome/browser/bookmarks/
Dbookmark_storage.cc55 storage_(storage), in LoadTask()
91 storage_.get(), &BookmarkStorage::OnLoadFinished, in Run()
108 scoped_refptr<BookmarkStorage> storage_; member in BookmarkStorage::LoadTask
/external/valgrind/tsan/
Dthread_sanitizer.cc3400 DCHECK(TS_SERIALIZED == 0 || storage_.count(tag) == 0); in GetLine()
3441 for (Map::iterator i = storage_.begin(); i != storage_.end(); ++i) { in ForgetAllState()
3448 storage_.clear(); in ForgetAllState()
3463 for (Map::iterator it = storage_.begin(); it != storage_.end(); ++it) { in PrintStorageStats()
3482 Printf("Storage sizes: %ld\n", storage_.size()); in PrintStorageStats()
3525 size_t old_storage_size = storage_.size(); in WriteBackAndFetch()
3529 line_for_this_tag = &storage_[tag]; in WriteBackAndFetch()
3531 Map::iterator it = storage_.find(tag); in WriteBackAndFetch()
3532 if (it == storage_.end()) { in WriteBackAndFetch()
3545 CHECK(storage_.size() == old_storage_size + 1); in WriteBackAndFetch()
[all …]
/external/chromium-trace/
Dscript.js252storage_="G_testRunner"in global?FakeLocalStorage():localStorage}e.prototype={get:function(c,a,b){…