Home
last modified time | relevance | path

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

12

/external/v8/src/
Dunique.h136 UniqueSet() : size_(0), capacity_(0), array_(NULL) { } in UniqueSet()
141 array_(zone->NewArray<Unique<T> >(capacity)) { in UniqueSet()
147 : size_(1), capacity_(1), array_(zone->NewArray<Unique<T> >(1)) { in UniqueSet()
148 array_[0] = uniq; in UniqueSet()
156 if (array_[i] == uniq) return; in Add()
157 if (array_[i].raw_address_ > uniq.raw_address_) { in Add()
160 for (int j = size_ - 1; j >= i; j--) array_[j + 1] = array_[j]; in Add()
161 array_[i] = uniq; in Add()
168 array_[size_++] = uniq; in Add()
174 if (array_[i] == uniq) { in Remove()
[all …]
Dhydrogen-gvn.cc18 array_(NULL), in HInstructionMap()
63 HInstructionMapListElement* array_; member in v8::internal::FINAL
139 array_(zone->NewArray<HInstructionMapListElement>(other->array_size_)), in HInstructionMap()
143 MemCopy(array_, other->array_, in HInstructionMap()
154 HInstruction* instr = array_[i].instr; in Kill()
159 for (int current = array_[i].next; current != kNil; current = next) { in Kill()
175 array_[i].next = kept; in Kill()
178 instr = array_[i].instr; in Kill()
182 int head = array_[i].next; in Kill()
184 array_[i].instr = NULL; in Kill()
[all …]
Dliveedit.h239 explicit JSArrayBasedStruct(Handle<JSArray> array) : array_(array) { in JSArrayBasedStruct()
243 return array_; in GetJSArray()
247 return array_->GetIsolate(); in isolate()
252 JSObject::SetElement(array_, field_position, value, NONE, SLOPPY).Assert(); in SetField()
261 isolate(), array_, field_position).ToHandleChecked(); in GetField()
270 Handle<JSArray> array_;
/external/ceres-solver/include/ceres/internal/
Dfixed_array.h110 inline const T* get() const { return &array_[0].element; } in get()
111 inline T* get() { return &array_[0].element; } in get()
117 return array_[i].element;
124 return array_[i].element;
127 inline iterator begin() { return &array_[0].element; } in begin()
128 inline iterator end() { return &array_[size_].element; } in end()
130 inline const_iterator begin() const { return &array_[0].element; } in begin()
131 inline const_iterator end() const { return &array_[size_].element; } in end()
154 InnerContainer* const array_; variable
166 array_((n <= kInlineElements in FixedArray()
[all …]
Dscoped_ptr.h202 explicit scoped_array(C* p = NULL) : array_(p) { } in array_() function
208 delete[] array_; in ~scoped_array()
215 if (p != array_) {
217 delete[] array_;
218 array_ = p;
226 assert(array_ != NULL);
227 return array_[i];
233 return array_; in get()
239 bool operator==(const C* p) const { return array_ == p; }
240 bool operator!=(const C* p) const { return array_ != p; }
[all …]
/external/google-breakpad/src/common/
Dscoped_ptr.h197 explicit scoped_array(C* p = NULL) : array_(p) { } in array_() function
203 delete[] array_; in ~scoped_array()
210 if (p != array_) {
212 delete[] array_;
213 array_ = p;
221 assert(array_ != NULL);
222 return array_[i];
228 return array_; in get()
234 bool operator==(C* p) const { return array_ == p; }
235 bool operator!=(C* p) const { return array_ != p; }
[all …]
/external/jsoncpp/src/lib_json/
Djson_valueiterator.inl28 iterator_.array_ = ValueInternalArray::IteratorState();
43 iterator_.array_ = state;
61 return ValueInternalArray::dereference( iterator_.array_ );
74 ValueInternalArray::increment( iterator_.array_ );
87 ValueInternalArray::decrement( iterator_.array_ );
124 return ValueInternalArray::distance( iterator_.array_, other.iterator_.array_ );
141 return ValueInternalArray::equals( iterator_.array_, other.iterator_.array_ );
154 iterator_.array_ = other.iterator_.array_;
174 return Value( ValueInternalArray::indexOf( iterator_.array_ ) );
194 return Value::UInt( ValueInternalArray::indexOf( iterator_.array_ ) );
Djson_internalarray.inl167 return x.array_ == other.array_
176 JSON_ASSERT_MESSAGE( it.array_ &&
177 (it.currentPageIndex_ - it.array_->pages_)*itemsPerPage + it.currentItemIndex_
178 != it.array_->size_,
192 JSON_ASSERT_MESSAGE( it.array_ && it.currentPageIndex_ == it.array_->pages_
217 JSON_ASSERT_MESSAGE( it.array_ &&
218 (it.currentPageIndex_ - it.array_->pages_)*itemsPerPage + it.currentItemIndex_
219 < it.array_->size_,
227 it.array_ = const_cast<ValueInternalArray *>( this );
236 it.array_ = const_cast<ValueInternalArray *>( this );
[all …]
Djson_value.cpp299 value_.array_ = arrayAllocator()->newArray(); in Value()
482 value_.array_ = arrayAllocator()->newArrayCopy( *other.value_.array_ ); in Value()
525 arrayAllocator()->destructArray( value_.array_ ); in ~Value()
611 return value_.array_->compare( *(other.value_.array_) ) < 0; in operator <()
673 return value_.array_->compare( *(other.value_.array_) ) == 0; in operator ==()
996 return Int( value_.array_->size() ); in size()
1037 value_.array_->clear(); in clear()
1069 value_.array_->resize( newSize ); in resize()
1090 return value_.array_->resolveReference( index ); in operator []()
1116 Value *value = value_.array_->find( index ); in operator []()
[all …]
/external/sfntly/cpp/src/sfntly/data/
Dfont_data.cc26 return std::min<int32_t>(array_->Size() - bound_offset_, bound_length_); in Size()
47 return std::min<int32_t>(array_->Length() - bound_offset_, bound_length_); in Length()
55 Init(data->array_); in FontData()
60 Init(data->array_); in FontData()
69 array_ = ba; in Init()
Dwritable_font_data.cc55 array_->Put(BoundOffset(index), b); in WriteByte()
63 return array_->Put(BoundOffset(index), in WriteBytes()
80 array_->Put(BoundOffset(index), in WriteBytesPad()
96 array_->Put(index + i, pad); in WritePadding()
159 array_->CopyFrom(is, length); in CopyFrom()
163 array_->CopyFrom(is); in CopyFrom()
Dreadable_font_data.cc61 int32_t b = array_->Get(BoundOffset(index)); in ReadUByte()
72 int32_t b = array_->Get(BoundOffset(index)); in ReadByte()
86 return array_->Get(BoundOffset(index), b, offset, BoundLength(index, length)); in ReadBytes()
155 return array_->CopyTo(os, BoundOffset(0), Length()); in CopyTo()
159 return array_->CopyTo(wfd->BoundOffset(0), in CopyTo()
160 wfd->array_, in CopyTo()
166 return array_->CopyTo(ba, BoundOffset(0), Length()); in CopyTo()
/external/protobuf/src/google/protobuf/stubs/
Dcommon.h542 explicit scoped_array(C* p = NULL) : array_(p) { } in array_() function
548 delete[] array_; in ~scoped_array()
555 if (p != array_) {
557 delete[] array_;
558 array_ = p;
566 assert(array_ != NULL);
567 return array_[i];
573 return array_; in get()
579 bool operator==(C* p) const { return array_ == p; }
580 bool operator!=(C* p) const { return array_ != p; }
[all …]
/external/v8/test/cctest/
Dtest-declarative-accessors.cc78 isolate_(NULL), array_(new AlignedArray), handle_array_(new HandleArray) { in DescriptorTestHelper()
84 SmartPointer<AlignedArray> array_; member in DescriptorTestHelper
179 helper->array_->Reset(); in TestPrimitiveValue()
180 helper->array_->As<T*>()[index] = value; in TestPrimitiveValue()
181 VerifyRead(descriptor, internal_field, helper->array_.get(), expected); in TestPrimitiveValue()
227 AlignedArray* array = helper->array_.get(); in TestBitmaskCompare()
232 helper->array_->As<T*>()[index] = compare_value & bitmask; in TestBitmaskCompare()
255 AlignedArray* array = helper.array_.get(); in TEST()
277 AlignedArray* array = helper.array_.get(); in TEST()
/external/google-breakpad/src/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/mesa3d/src/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/protobuf/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/llvm/utils/unittest/googletest/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/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/jsoncpp/chromium-overrides/src/lib_json/
Djson_value.cpp303 value_.array_ = arrayAllocator()->newArray(); in Value()
486 value_.array_ = arrayAllocator()->newArrayCopy( *other.value_.array_ ); in Value()
529 arrayAllocator()->destructArray( value_.array_ ); in ~Value()
615 return value_.array_->compare( *(other.value_.array_) ) < 0; in operator <()
677 return value_.array_->compare( *(other.value_.array_) ) == 0; in operator ==()
1000 return Int( value_.array_->size() ); in size()
1041 value_.array_->clear(); in clear()
1073 value_.array_->resize( newSize ); in resize()
1094 return value_.array_->resolveReference( index ); in operator []()
1120 Value *value = value_.array_->find( index ); in operator []()
[all …]
/external/v8/src/heap/
Dmark-compact.h143 : array_(NULL), top_(0), bottom_(0), mask_(0), overflowed_(false) {} in MarkingDeque()
148 array_ = obj_low; in Initialize()
176 array_[top_] = object; in INLINE()
186 array_[top_] = object; in INLINE()
194 HeapObject* object = array_[top_]; in INLINE()
205 array_[bottom_] = object; in INLINE()
209 HeapObject** array() { return array_; } in array()
216 HeapObject** array_;
/external/gtest/include/gtest/internal/
Dgtest-internal.h978 Init(rhs.array_, rhs.size_, rhs.relation_to_source_);
987 delete[] array_;
992 const_iterator begin() const { return array_; }
993 const_iterator end() const { return array_ + size_; }
1004 array_ = array;
1008 array_ = copy;
1014 const Element* array_;
/external/google-breakpad/src/testing/gtest/include/gtest/internal/
Dgtest-internal.h1052 Init(rhs.array_, rhs.size_, rhs.relation_to_source_);
1061 delete[] array_;
1066 const_iterator begin() const { return array_; }
1067 const_iterator end() const { return array_ + size_; }
1078 array_ = array;
1082 array_ = copy;
1088 const Element* array_;
/external/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-internal.h1075 Init(rhs.array_, rhs.size_, rhs.relation_to_source_);
1084 delete[] array_;
1089 const_iterator begin() const { return array_; }
1090 const_iterator end() const { return array_ + size_; }
1101 array_ = array;
1105 array_ = copy;
1111 const Element* array_;
/external/mesa3d/src/gtest/include/gtest/internal/
Dgtest-internal.h1046 Init(rhs.array_, rhs.size_, rhs.relation_to_source_);
1055 delete[] array_;
1060 const_iterator begin() const { return array_; }
1061 const_iterator end() const { return array_ + size_; }
1072 array_ = array;
1076 array_ = copy;
1082 const Element* array_;

12