Home
last modified time | relevance | path

Searched refs:find_last (Results 1 – 23 of 23) sorted by relevance

/external/llvm-project/llvm/unittests/ADT/
DSparseBitVectorTest.cpp154 EXPECT_EQ(1, Vec.find_last()); in TEST()
158 EXPECT_EQ(2, Vec.find_last()); in TEST()
163 EXPECT_EQ(3, Vec.find_last()); in TEST()
169 EXPECT_EQ(2, Vec.find_last()); in TEST()
179 EXPECT_EQ(4000, Vec.find_last()); in TEST()
185 EXPECT_EQ(2000, Vec.find_last()); in TEST()
DBitVectorTest.cpp209 EXPECT_EQ(75, A.find_last()); in TYPED_TEST()
235 EXPECT_EQ(99, A.find_last()); in TYPED_TEST()
241 EXPECT_EQ(-1, A.find_last()); in TYPED_TEST()
257 EXPECT_EQ(47, A.find_last()); in TYPED_TEST()
295 EXPECT_EQ(-1, A.find_last()); in TYPED_TEST()
302 EXPECT_EQ(-1, A.find_last()); in TYPED_TEST()
316 EXPECT_EQ(16, A.find_last()); in TYPED_TEST()
338 EXPECT_EQ(19, A.find_last()); in TYPED_TEST()
/external/rust/crates/rayon/tests/
Doctillion.rs76 let x = two_threads(|| octillion().find_last(|_| true)); in find_last_octillion()
83 let x = two_threads(|| octillion_inclusive().find_last(|_| true)); in find_last_octillion_inclusive()
90 let x = two_threads(|| octillion_flat().find_last(|_| true)); in find_last_octillion_flat()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/
DUDTLayout.cpp62 int Last = UsedBytes.find_last(); in tailPadding()
250 uint32_t Offset = UsedBytes.find_last() + 1; in initializeChildren()
264 LayoutSize = UsedBytes.find_last() + 1; in initializeChildren()
/external/llvm-project/llvm/lib/DebugInfo/PDB/
DUDTLayout.cpp62 int Last = UsedBytes.find_last(); in tailPadding()
250 uint32_t Offset = UsedBytes.find_last() + 1; in initializeChildren()
264 LayoutSize = UsedBytes.find_last() + 1; in initializeChildren()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/
DHashTable.cpp50 int ReqBits = Vec.find_last() + 1; in writeSparseBitVector()
/external/llvm-project/llvm/lib/DebugInfo/PDB/Native/
DHashTable.cpp50 int ReqBits = Vec.find_last() + 1; in writeSparseBitVector()
/external/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
DHashTable.h162 int NumBitsP = Present.find_last() + 1; in calculateSerializedLength()
163 int NumBitsD = Deleted.find_last() + 1; in calculateSerializedLength()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/PDB/Native/
DHashTable.h162 int NumBitsP = Present.find_last() + 1; in calculateSerializedLength()
163 int NumBitsD = Deleted.find_last() + 1; in calculateSerializedLength()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DSparseBitVector.h135 int find_last() const { in find_last() function
787 int find_last() const { in find_last() function
791 return (Last.index() * ElementSize) + Last.find_last(); in find_last()
DSmallBitVector.h237 int find_last() const { in find_last() function
244 return getPointer()->find_last(); in find_last()
DBitVector.h335 int find_last() const { return find_last_in(0, Size); } in find_last() function
/external/llvm-project/llvm/include/llvm/ADT/
DSparseBitVector.h135 int find_last() const { in find_last() function
787 int find_last() const { in find_last() function
791 return (Last.index() * ElementSize) + Last.find_last(); in find_last()
DSmallBitVector.h237 int find_last() const { in find_last() function
244 return getPointer()->find_last(); in find_last()
DBitVector.h318 int find_last() const { return find_last_in(0, Size); } in find_last() function
/external/rust/crates/rayon/src/iter/find_first_last/
Dmod.rs51 pub(super) fn find_last<I, P>(pi: I, find_op: P) -> Option<I::Item> in find_last() function
/external/rust/crates/rayon/src/iter/
Dmod.rs1711 fn find_last<P>(self, predicate: P) -> Option<Self::Item> in find_last() method
1715 find_first_last::find_last(self, predicate) in find_last()
1817 self.filter_map(predicate).find_last(yes) in find_map_last()
2677 let (i, _) = self.map(predicate).enumerate().find_last(check)?; in position_last()
Dtest.rs1296 assert_eq!(a.par_iter().find_last(|&&x| x % 42 == 41), Some(&1007_i32)); in find_first_or_last()
1298 a.par_iter().find_last(|&&x| x % 19 == 1 && x % 53 == 0), in find_first_or_last()
1301 assert_eq!(a.par_iter().find_last(|&&x| x < 0), None); in find_first_or_last()
/external/rust/crates/rayon/src/
Drange_inclusive.rs287 pool.install(|| assert_eq!(iter.find_last(|_| true), Some(i64::MAX))); in test_usize_i64_overflow()
Drange.rs367 pool.install(|| assert_eq!(iter.find_last(|_| true), Some(i64::MAX - 1))); in test_usize_i64_overflow()
/external/python/cpython2/Doc/library/
Dfl.rst231 .. method:: form.find_last()
/external/rust/crates/rayon/
DRELEASES.md545 - Parallel iterators now support `find_first()`, `find_last()`, `position_first()`,
/external/llvm-project/llvm/unittests/IR/
DConstantRangeTest.cpp1234 APInt SMax(Bits, Results.find_last() - Bias); in TEST_F()