Home
last modified time | relevance | path

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

/external/chromium/base/memory/
Dscoped_ptr.h174 explicit scoped_array(C* p = NULL) : array_(p) { } in array_() function
180 delete[] array_; in ~scoped_array()
187 if (p != array_) {
189 delete[] array_;
190 array_ = p;
198 assert(array_ != NULL);
199 return array_[i];
205 return array_; in get()
211 bool operator==(C* p) const { return array_ == p; }
212 bool operator!=(C* p) const { return array_ != p; }
[all …]
/external/chromium/chrome/browser/resources/shared/js/cr/ui/
Darray_data_model.js20 this.array_ = array;
31 return this.array_.length;
40 return this.array_[index];
51 return this.array_.indexOf(item, opt_fromIndex);
61 return this.array_.slice.apply(this.array_, arguments);
75 var arr = this.array_;
/external/chromium/chrome/browser/sync/util/
Ddbgq.h18 DebugQueue() : i_(array_) { } in DebugQueue()
20 i_ = (array_ == i_ ? array_ + size - 1 : i_ - 1); in Push()
25 T array_[size]; variable
/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/qemu/elff/
Ddwarf_defs.h720 : 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/webkit/Source/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/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/llvm/utils/unittest/googletest/
Dgtest-test-part.cc69 array_.push_back(result); in Append()
79 return array_[index]; in GetTestPartResult()
84 return static_cast<int>(array_.size()); in size()
/external/chromium/testing/gtest/src/
Dgtest-test-part.cc69 array_.push_back(result); in Append()
79 return array_[index]; in GetTestPartResult()
84 return static_cast<int>(array_.size()); in size()
/external/valgrind/tsan/
Ddense_multimap.h86 CHECK(ptr_ != (T*)&array_); in ~DenseMultimap()
89 CHECK(ptr_ == (T*)&array_); in ~DenseMultimap()
121 ptr_ = (T*)&array_; in Allocate()
135 T array_[kPreallocatedElements]; variable
Dthread_sanitizer.cc334 array_[array_pos_ % kArraySize].Fill(a, b, v); in Insert()
376 Entry & entry = array_[i]; in ArrayLookup()
402 Entry array_[kArraySize]; member in PairCache
826 array_((array_size <= SizeLimit in FixedArray()
831 if (array_ != alloc_space_) { in ~FixedArray()
832 delete[] array_; in ~FixedArray()
836 T* begin() { return array_; } in begin()
837 T& operator[](int i) { return array_[i]; } in operator []()
841 T* array_; member in FixedArray
/external/chromium/testing/gtest/include/gtest/internal/
Dgtest-internal.h1039 Init(rhs.array_, rhs.size_, rhs.relation_to_source_);
1048 delete[] array_;
1053 const_iterator begin() const { return array_; }
1054 const_iterator end() const { return array_ + size_; }
1065 array_ = array;
1069 array_ = copy;
1075 const Element* array_;
/external/v8/src/
Dliveedit.cc294 : array_(FACTORY->NewJSArray(10)), current_size_(0) {} in CompareOutputArrayWriter()
297 return array_; in GetResult()
301 SetElementNonStrict(array_, in WriteChunk()
304 SetElementNonStrict(array_, in WriteChunk()
307 SetElementNonStrict(array_, in WriteChunk()
314 Handle<JSArray> array_; member in v8::internal::CompareOutputArrayWriter
561 explicit JSArrayBasedStruct(Handle<JSArray> array) : array_(array) { in JSArrayBasedStruct()
564 return array_; in GetJSArray()
569 SetElementNonStrict(array_, field_position, value); in SetField()
572 SetElementNonStrict(array_, in SetSmiValueField()
[all …]
Dhydrogen.cc1033 array_(ZONE->NewArray<HValueMapListElement>(other->array_size_)), in HValueMap()
1036 memcpy(array_, other->array_, array_size_ * sizeof(HValueMapListElement)); in HValueMap()
1046 HValue* value = array_[i].value; in Kill()
1051 for (int current = array_[i].next; current != kNil; current = next) { in Kill()
1065 array_[i].next = kept; in Kill()
1068 if ((array_[i].value->flags() & depends_flags) != 0) { // Drop it. in Kill()
1070 int head = array_[i].next; in Kill()
1072 array_[i].value = NULL; in Kill()
1074 array_[i].value = lists_[head].value; in Kill()
1075 array_[i].next = lists_[head].next; in Kill()
[all …]
Dhydrogen.h943 array_(NULL), in HValueMap()
985 HValueMapListElement* array_; // Primary store - contains the first value variable
Druntime.cc2089 : array_(isolate->factory()->NewFixedArrayWithHoles(initial_capacity)), in FixedArrayBuilder()
2097 : array_(backing_store), in FixedArrayBuilder()
2105 int length = array_->length(); in HasCapacity()
2111 int length = array_->length(); in EnsureCapacity()
2119 array_->GetIsolate()->factory()->NewFixedArrayWithHoles(new_length); in EnsureCapacity()
2120 array_->CopyTo(0, *extended_array, 0, length_); in EnsureCapacity()
2121 array_ = extended_array; in EnsureCapacity()
2127 array_->set(length_, value); in Add()
2133 array_->set(length_, value); in Add()
2138 return array_; in array()
[all …]
/external/protobuf/gtest/include/gtest/
Dgtest-test-part.h140 internal::Vector<TestPartResult>* const array_;
/external/chromium/testing/gtest/include/gtest/
Dgtest-test-part.h137 std::vector<TestPartResult> array_;
/external/llvm/utils/unittest/googletest/include/gtest/
Dgtest-test-part.h137 std::vector<TestPartResult> array_;
/external/webkit/Source/WebCore/inspector/front-end/UglifyJS/
Dparse-js.js1009 return subscripts(array_(), allow_calls);
1044 function array_() { function