Home
last modified time | relevance | path

Searched refs:ThrowingIterator (Results 1 – 18 of 18) sorted by relevance

/external/llvm-project/libcxx/test/support/
Dtest_iterators.h333 struct ThrowingIterator { struct
343 ThrowingIterator () in ThrowingIterator() function
345ThrowingIterator (const T *first, const T *last, size_t index = 0, ThrowingAction action = TADeref…
347 ThrowingIterator (const ThrowingIterator &rhs) in ThrowingIterator() function
349 ThrowingIterator & operator= (const ThrowingIterator &rhs)
388 ThrowingIterator & operator++()
405 ThrowingIterator operator++(int)
407 ThrowingIterator temp = *this; argument
412 ThrowingIterator & operator--()
429 ThrowingIterator operator--(int) {
[all …]
/external/libcxx/test/support/
Dtest_iterators.h334 struct ThrowingIterator { struct
344 ThrowingIterator () in ThrowingIterator() argument
346ThrowingIterator (const T *first, const T *last, size_t index = 0, ThrowingAction action = TADeref…
348 ThrowingIterator (const ThrowingIterator &rhs) in ThrowingIterator() function
350 ThrowingIterator & operator= (const ThrowingIterator &rhs)
389 ThrowingIterator & operator++()
406 ThrowingIterator operator++(int)
408 ThrowingIterator temp = *this; argument
413 ThrowingIterator & operator--()
430 ThrowingIterator operator--(int) {
[all …]
/external/guava/guava-testlib/test/com/google/common/collect/testing/
DIteratorTesterTest.java255 return new ThrowingIterator<>(new IllegalStateException()); in testUnexpectedException()
332 private static final class ThrowingIterator<E> implements Iterator<E> { class in IteratorTesterTest
335 private ThrowingIterator(RuntimeException ex) { in ThrowingIterator() method in IteratorTesterTest.ThrowingIterator
/external/guava/android/guava-testlib/test/com/google/common/collect/testing/
DIteratorTesterTest.java255 return new ThrowingIterator<>(new IllegalStateException()); in testUnexpectedException()
332 private static final class ThrowingIterator<E> implements Iterator<E> { class in IteratorTesterTest
335 private ThrowingIterator(RuntimeException ex) { in ThrowingIterator() method in IteratorTesterTest.ThrowingIterator
/external/llvm-project/libcxx/test/libcxx/strings/
Diterators.noexcept.pass.cpp54 …static_assert(( std::__libcpp_string_gets_noexcept_iterator<ThrowingIterator <char *> >::valu… in main()
Diterators.exceptions.pass.cpp58 …static_assert(std::__libcpp_string_gets_noexcept_iterator<ThrowingIterator <char *> >::value … in main()
/external/libcxx/test/libcxx/strings/
Diterators.noexcept.pass.cpp56 …static_assert(( std::__libcpp_string_gets_noexcept_iterator<ThrowingIterator <char *> >::valu… in main()
Diterators.exceptions.pass.cpp59 …static_assert(std::__libcpp_string_gets_noexcept_iterator<ThrowingIterator <char *> >::value … in main()
/external/llvm-project/libcxx/test/libcxx/iterators/
Dtrivial_iterators.pass.cpp124 static_assert((!std::__libcpp_is_trivial_iterator<ThrowingIterator <char *> >::value), ""); in main()
/external/libcxx/test/libcxx/iterators/
Dtrivial_iterators.pass.cpp125 static_assert((!std::__libcpp_is_trivial_iterator<ThrowingIterator <char *> >::value), ""); in main()
/external/libcxx/test/std/strings/basic.string/string.modifiers/string_assign/
Diterator.pass.cpp170 typedef ThrowingIterator<char> TIter; in main()
/external/llvm-project/libcxx/test/std/strings/basic.string/string.modifiers/string_assign/
Diterator.pass.cpp169 typedef ThrowingIterator<char> TIter; in main()
/external/llvm-project/libcxx/test/std/strings/basic.string/string.modifiers/string_append/
Diterator.pass.cpp169 typedef ThrowingIterator<char> TIter; in main()
/external/libcxx/test/std/strings/basic.string/string.modifiers/string_append/
Diterator.pass.cpp169 typedef ThrowingIterator<char> TIter; in main()
/external/libcxx/test/std/strings/basic.string/string.modifiers/string_insert/
Diter_iter_iter.pass.cpp150 typedef ThrowingIterator<char> TIter; in main()
/external/llvm-project/libcxx/test/std/strings/basic.string/string.modifiers/string_insert/
Diter_iter_iter.pass.cpp146 typedef ThrowingIterator<char> TIter; in main()
/external/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/
Diter_iter_iter_iter.pass.cpp998 typedef ThrowingIterator<char> TIter; in main()
/external/llvm-project/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/
Diter_iter_iter_iter.pass.cpp998 typedef ThrowingIterator<char> TIter; in main()