Home
last modified time | relevance | path

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

/external/llvm/include/llvm/ADT/
DSetVector.h60 return vector_.empty(); in empty()
65 return vector_.size(); in size()
70 return vector_.begin(); in begin()
75 return vector_.begin(); in begin()
80 return vector_.end(); in end()
85 return vector_.end(); in end()
91 return vector_.back(); in back()
96 assert(n < vector_.size() && "SetVector access out of range!");
97 return vector_[n];
105 vector_.push_back(X); in insert()
[all …]
/external/chromium_org/tools/gn/
Dunique_vector.h125 const Vector& vector() const { return vector_; }
126 size_t size() const { return vector_.size(); }
127 bool empty() const { return vector_.empty(); }
128 void clear() { vector_.clear(); set_.clear(); }
129 void reserve(size_t s) { vector_.reserve(s); }
131 const T& operator[](size_t index) const { return vector_[index]; }
133 const_iterator begin() const { return vector_.begin(); }
134 iterator begin() { return vector_.begin(); }
135 const_iterator end() const { return vector_.end(); }
136 iterator end() { return vector_.end(); }
[all …]
/external/chromium_org/ppapi/proxy/
Dserialized_var.cc273 *output_count_ = static_cast<uint32_t>(vector_.size()); in ~ReceiveSerializedVarVectorOutParam()
274 if (!vector_.size()) { in ~ReceiveSerializedVarVectorOutParam()
279 *output_ = static_cast<PP_Var*>(malloc(vector_.size() * sizeof(PP_Var))); in ~ReceiveSerializedVarVectorOutParam()
280 for (size_t i = 0; i < vector_.size(); i++) { in ~ReceiveSerializedVarVectorOutParam()
284 *serialized = vector_[i]; in ~ReceiveSerializedVarVectorOutParam()
290 return &vector_; in OutParam()
Dserialized_var.h340 std::vector<SerializedVar> vector_; variable
/external/chromium_org/testing/gtest/test/
Dgtest_unittest.cc836 vector_.push_back(i); in VectorShuffleTest()
886 TestingVector vector_; member in __anon3a9d90ee0111::VectorShuffleTest
893 ShuffleRange(&random_, 0, 0, &vector_); in TEST_F()
894 ASSERT_PRED1(VectorIsNotCorrupt, vector_); in TEST_F()
895 ASSERT_PRED1(VectorIsUnshuffled, vector_); in TEST_F()
898 ShuffleRange(&random_, kVectorSize/2, kVectorSize/2, &vector_); in TEST_F()
899 ASSERT_PRED1(VectorIsNotCorrupt, vector_); in TEST_F()
900 ASSERT_PRED1(VectorIsUnshuffled, vector_); in TEST_F()
903 ShuffleRange(&random_, kVectorSize - 1, kVectorSize - 1, &vector_); in TEST_F()
904 ASSERT_PRED1(VectorIsNotCorrupt, vector_); in TEST_F()
[all …]
/external/gtest/test/
Dgtest_unittest.cc843 vector_.push_back(i); in VectorShuffleTest()
893 TestingVector vector_; member in __anon1a644c070111::VectorShuffleTest
900 ShuffleRange(&random_, 0, 0, &vector_); in TEST_F()
901 ASSERT_PRED1(VectorIsNotCorrupt, vector_); in TEST_F()
902 ASSERT_PRED1(VectorIsUnshuffled, vector_); in TEST_F()
905 ShuffleRange(&random_, kVectorSize/2, kVectorSize/2, &vector_); in TEST_F()
906 ASSERT_PRED1(VectorIsNotCorrupt, vector_); in TEST_F()
907 ASSERT_PRED1(VectorIsUnshuffled, vector_); in TEST_F()
910 ShuffleRange(&random_, kVectorSize - 1, kVectorSize - 1, &vector_); in TEST_F()
911 ASSERT_PRED1(VectorIsNotCorrupt, vector_); in TEST_F()
[all …]
/external/protobuf/gtest/test/
Dgtest_unittest.cc892 vector_.PushBack(i); in VectorShuffleTest()
942 TestingVector vector_; member in __anon9c4f4e670111::VectorShuffleTest
949 vector_.ShuffleRange(&random_, 0, 0); in TEST_F()
950 ASSERT_PRED1(VectorIsNotCorrupt, vector_); in TEST_F()
951 ASSERT_PRED1(VectorIsUnshuffled, vector_); in TEST_F()
954 vector_.ShuffleRange(&random_, kVectorSize/2, kVectorSize/2); in TEST_F()
955 ASSERT_PRED1(VectorIsNotCorrupt, vector_); in TEST_F()
956 ASSERT_PRED1(VectorIsUnshuffled, vector_); in TEST_F()
959 vector_.ShuffleRange(&random_, kVectorSize - 1, kVectorSize - 1); in TEST_F()
960 ASSERT_PRED1(VectorIsNotCorrupt, vector_); in TEST_F()
[all …]