Home
last modified time | relevance | path

Searched refs:array_ (Results 1 – 7 of 7) sorted by relevance

/external/chromium/base/
Dscoped_ptr.h171 explicit scoped_array(C* p = NULL) : array_(p) { } in array_() function
177 delete[] array_; in ~scoped_array()
184 if (p != array_) {
186 delete[] array_;
187 array_ = p;
195 assert(array_ != NULL);
196 return array_[i];
202 return array_; in get()
208 bool operator==(C* p) const { return array_ == p; }
209 bool operator!=(C* p) const { return array_ != p; }
[all …]
/external/qemu/elff/
Ddwarf_defs.h722 array_(&small_array_[0]) { in DwarfAbbrDieArray()
727 if (array_ != &small_array_[0]) { in ~DwarfAbbrDieArray()
728 delete[] array_; in ~DwarfAbbrDieArray()
780 memcpy(new_array, array_, count_ * sizeof(const Dwarf_Abbr_DIE*)); in add()
781 if (array_ != &small_array_[0]) { in add()
782 delete[] array_; in add()
784 array_ = new_array; in add()
789 array_[num - 1] = abbr; in add()
814 return array_[num - 1]; in get()
865 return array_[num - 1]; in cache_to()
[all …]
/external/protobuf/gtest/src/
Dgtest-test-part.cc69 : array_(new internal::Vector<TestPartResult>) { in TestPartResultArray()
74 delete array_; in ~TestPartResultArray()
79 array_->PushBack(result); in Append()
89 return array_->GetElement(index); in GetTestPartResult()
94 return array_->size(); in size()
/external/protobuf/src/google/protobuf/stubs/
Dcommon.h511 explicit scoped_array(C* p = NULL) : array_(p) { } in array_() function
517 delete[] array_; in ~scoped_array()
524 if (p != array_) {
526 delete[] array_;
527 array_ = p;
535 assert(array_ != NULL);
536 return array_[i];
542 return array_; in get()
548 bool operator==(C* p) const { return array_ == p; }
549 bool operator!=(C* p) const { return array_ != p; }
[all …]
/external/webkit/JavaScriptCore/wtf/
DTCPackedCache.h154 array_[Hash(key)] = static_cast<T>(KeyToUpper(key) | value); in Put()
159 return KeyMatch(array_[Hash(key)], key); in Has()
168 T entry = array_[Hash(key)]; in GetOrDefault()
175 array_[i] = static_cast<T>(value); in Clear()
229 T array_[1 << kHashbits]; variable
DTCPageMap.h63 void** array_;
69 array_ = reinterpret_cast<void**>((*allocator)(sizeof(void*) << BITS)); in init()
70 memset(array_, 0, sizeof(void*) << BITS); in init()
88 return array_[k]; in get()
96 array_[k] = v; in set()
/external/protobuf/gtest/include/gtest/
Dgtest-test-part.h140 internal::Vector<TestPartResult>* const array_;