Home
last modified time | relevance | path

Searched refs:vector_ (Results 1 – 14 of 14) sorted by relevance

/external/llvm/include/llvm/ADT/
DSetVector.h62 ArrayRef<T> getArrayRef() const { return vector_; } in getArrayRef()
66 return vector_.empty(); in empty()
71 return vector_.size(); in size()
76 return vector_.begin(); in begin()
81 return vector_.begin(); in begin()
86 return vector_.end(); in end()
91 return vector_.end(); in end()
96 return vector_.rbegin(); in rbegin()
101 return vector_.rbegin(); in rbegin()
106 return vector_.rend(); in rend()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DSetVector.h64 ArrayRef<T> getArrayRef() const { return vector_; } in getArrayRef()
69 return std::move(vector_); in takeVector()
74 return vector_.empty(); in empty()
79 return vector_.size(); in size()
84 return vector_.begin(); in begin()
89 return vector_.begin(); in begin()
94 return vector_.end(); in end()
99 return vector_.end(); in end()
104 return vector_.rbegin(); in rbegin()
109 return vector_.rbegin(); in rbegin()
[all …]
/external/v8/src/
Ddetachable-vector.h23 DetachableVector() : vector_(nullptr) {} in DetachableVector()
25 ~DetachableVector() { delete vector_; } in ~DetachableVector() local
29 vector_->push_back(value); in push_back()
34 delete vector_; in free() local
35 vector_ = nullptr; in free()
39 void detach() { vector_ = nullptr; } in detach()
41 T& at(typename std::vector<T>::size_type i) const { return vector_->at(i); } in at()
43 T& back() const { return vector_->back(); } in back()
45 T& front() const { return vector_->front(); } in front()
47 void pop_back() { vector_->pop_back(); } in pop_back()
[all …]
Dvector-slot-pair.h23 : vector_(vector), slot_(slot) {} in VectorSlotPair()
25 bool IsValid() const { return !vector_.is_null() && !slot_.IsInvalid(); } in IsValid()
27 Handle<FeedbackVector> vector() const { return vector_; } in vector()
33 Handle<FeedbackVector> vector_;
Dfeedback-vector.h557 vector_(nullptr), in FeedbackNexus()
561 : vector_(vector), slot_(slot), kind_(vector->GetKind(slot)) {} in FeedbackNexus()
564 DCHECK_NULL(vector_); in vector_handle()
568 return vector_handle_.is_null() ? vector_ : *vector_handle_; in vector()
705 FeedbackVector* vector_; variable
Dvector-slot-pair.cc15 return vector_.is_null() ? -1 : FeedbackVector::GetIndex(slot_); in index()
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DSetVector.h59 return vector_.empty(); in empty()
64 return vector_.size(); in size()
69 return vector_.begin(); in begin()
74 return vector_.begin(); in begin()
79 return vector_.end(); in end()
84 return vector_.end(); in end()
90 return vector_.back(); in back()
95 assert(n < vector_.size() && "SetVector access out of range!");
96 return vector_[n];
104 vector_.push_back(X); in insert()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_reachability.h113 : size_(size), vector_((size + kBits - 1) / kBits, 0) {} in BitVector()
118 return vector_[index / kBits] & (1ull << (index % kBits)); in Get()
124 vector_[index / kBits] |= 1ull << (index % kBits); in Set()
129 for (size_t i = 0; i < vector_.size(); ++i) { in OrWith()
130 vector_[i] |= other.vector_[i]; in OrWith()
135 void SetToZero() { std::fill(vector_.begin(), vector_.end(), 0); } in SetToZero()
138 return vector_ == other.vector_;
141 return vector_ != other.vector_;
151 std::vector<Word> vector_; variable
/external/vixl/src/
Dinvalset-vixl.h193 bool IsUsingVector() const { return vector_ != NULL; } in IsUsingVector()
216 std::vector<ElementType>* vector_; variable
318 : valid_cached_min_(false), sorted_(true), size_(0), vector_(NULL) { in InvalSet()
328 delete vector_; in ~InvalSet() local
355 vector_->push_back(element); in insert()
361 vector_ = in insert()
363 vector_->push_back(element); in insert()
369 cached_min_index_ = IsUsingVector() ? vector_->size() - 1 : size_ - 1; in insert()
430 vector_->clear(); in clear()
470 VIXL_ASSERT((&(vector_->front()) <= element) && in EraseInternal()
[all …]
/external/dng_sdk/source/
Ddng_auto_ptr.h202 : vector_(new dng_std_vector<T>(count)) in AutoArray()
213 vector_.reset(new dng_std_vector<T>(count)); in Reset()
222 return (*vector_) [i];
226 return (*vector_) [i];
233 if (vector_) in Get()
234 return vector_->data(); in Get()
240 if (vector_) in Get()
241 return vector_->data(); in Get()
256 std::unique_ptr<dng_std_vector<T> > vector_;
/external/tensorflow/tensorflow/core/grappler/
Dutils.h81 vector_.push_back(value); in PushBack()
86 T back = vector_.back(); in PopBack()
88 vector_.pop_back(); in PopBack()
94 bool Empty() const { return vector_.empty(); } in Empty()
96 void Reserve(int64 size) { vector_.reserve(size); } in Reserve()
100 std::vector<T> vector_; variable
/external/tensorflow/tensorflow/lite/delegates/flex/
Dkernel.cc118 vector_.resize(outputs_.size()); in OpOutputs()
138 auto* handle = vector_[i]; in GetHandle()
144 vector_[i] = nullptr; in GetHandle()
155 for (int i = 0; i < vector_.size(); ++i) { in ResetTensorHandles()
156 if (vector_[i]) { in ResetTensorHandles()
157 vector_[i]->Unref(); in ResetTensorHandles()
158 vector_[i] = nullptr; in ResetTensorHandles()
165 return &vector_; in GetTensorHandles()
171 tensorflow::gtl::InlinedVector<tensorflow::TensorHandle*, 2> vector_; member in tflite::flex::kernel::OpOutputs
/external/google-breakpad/src/testing/gtest/test/
Dgtest_unittest.cc770 vector_.push_back(i); in VectorShuffleTest()
820 TestingVector vector_; member in __anona73f14e70111::VectorShuffleTest
827 ShuffleRange(&random_, 0, 0, &vector_); in TEST_F()
828 ASSERT_PRED1(VectorIsNotCorrupt, vector_); in TEST_F()
829 ASSERT_PRED1(VectorIsUnshuffled, vector_); in TEST_F()
832 ShuffleRange(&random_, kVectorSize/2, kVectorSize/2, &vector_); in TEST_F()
833 ASSERT_PRED1(VectorIsNotCorrupt, vector_); in TEST_F()
834 ASSERT_PRED1(VectorIsUnshuffled, vector_); in TEST_F()
837 ShuffleRange(&random_, kVectorSize - 1, kVectorSize - 1, &vector_); in TEST_F()
838 ASSERT_PRED1(VectorIsNotCorrupt, vector_); in TEST_F()
[all …]
/external/googletest/googletest/test/
Dgtest_unittest.cc906 vector_.push_back(i); in VectorShuffleTest()
956 TestingVector vector_; member in __anond51514d20111::VectorShuffleTest
963 ShuffleRange(&random_, 0, 0, &vector_); in TEST_F()
964 ASSERT_PRED1(VectorIsNotCorrupt, vector_); in TEST_F()
965 ASSERT_PRED1(VectorIsUnshuffled, vector_); in TEST_F()
968 ShuffleRange(&random_, kVectorSize/2, kVectorSize/2, &vector_); in TEST_F()
969 ASSERT_PRED1(VectorIsNotCorrupt, vector_); in TEST_F()
970 ASSERT_PRED1(VectorIsUnshuffled, vector_); in TEST_F()
973 ShuffleRange(&random_, kVectorSize - 1, kVectorSize - 1, &vector_); in TEST_F()
974 ASSERT_PRED1(VectorIsNotCorrupt, vector_); in TEST_F()
[all …]