Home
last modified time | relevance | path

Searched refs:range (Results 1 – 25 of 65) sorted by relevance

123

/ndk/tests/device/test-gnustl-full/unit/
Dctype_facets_test.cpp75 char range[] = "abAc123 ."; in _ctype_facet() local
76 const char *rbeg = range; in _ctype_facet()
77 const char *rend = range + sizeof(range); in _ctype_facet()
95 char range[] = "abAc123 ."; in _ctype_facet() local
96 const char *rbeg = range; in _ctype_facet()
97 const char *rend = range + sizeof(range); in _ctype_facet()
122 char range[] = "abAc1"; in _ctype_facet() local
124 ct.toupper(range, range + sizeof(range)); in _ctype_facet()
125 CPPUNIT_ASSERT( equal(range, range + sizeof(range), expected_range) ); in _ctype_facet()
137 char range[] = "ABaC1"; in _ctype_facet() local
[all …]
Dequal_test.cpp44 pair<int*, int*> range = equal_range((int*)numbers, (int*)numbers + 10, 2); in equal_range0() local
45 CPPUNIT_ASSERT( (range.first - numbers) == 4 ); in equal_range0()
46 CPPUNIT_ASSERT( (range.second - numbers) == 8 ); in equal_range0()
56 pair<IntVec::iterator, IntVec::iterator> range = equal_range(v.begin(), v.end(), 2); in equal_range1() local
57 CPPUNIT_ASSERT( (range.first - v.begin()) == 6 ); in equal_range1()
58 CPPUNIT_ASSERT( (range.second - v.begin()) == 9 ); in equal_range1()
59 for (; range.first != range.second; ++range.first) in equal_range1()
60 CPPUNIT_ASSERT( *range.first == 2 ); in equal_range1()
62 range = equal_range(v.begin(), v.end(), 4); in equal_range1()
63 CPPUNIT_ASSERT( range.first == range.second ); in equal_range1()
[all …]
Dhash_test.cpp209 pair<hashType::iterator,hashType::iterator> range = h.equal_range( i->first ); in check_keys() local
210 for ( hashType::iterator j = range.first; j != range.second; ++j ) { in check_keys()
230 pair<hashType::iterator,hashType::iterator> range = h.equal_range(mIter->first); in check_keys()
232 for (hashType::iterator h = range.first; h != range.second; h++) { in check_keys()
/ndk/tests/device/test-stlport/unit/
Dctype_facets_test.cpp75 char range[] = "abAc123 ."; in _ctype_facet() local
76 const char *rbeg = range; in _ctype_facet()
77 const char *rend = range + sizeof(range); in _ctype_facet()
95 char range[] = "abAc123 ."; in _ctype_facet() local
96 const char *rbeg = range; in _ctype_facet()
97 const char *rend = range + sizeof(range); in _ctype_facet()
122 char range[] = "abAc1"; in _ctype_facet() local
124 ct.toupper(range, range + sizeof(range)); in _ctype_facet()
125 CPPUNIT_ASSERT( equal(range, range + sizeof(range), expected_range) ); in _ctype_facet()
137 char range[] = "ABaC1"; in _ctype_facet() local
[all …]
Dequal_test.cpp44 pair<int*, int*> range = equal_range((int*)numbers, (int*)numbers + 10, 2); in equal_range0() local
45 CPPUNIT_ASSERT( (range.first - numbers) == 4 ); in equal_range0()
46 CPPUNIT_ASSERT( (range.second - numbers) == 8 ); in equal_range0()
56 pair<IntVec::iterator, IntVec::iterator> range = equal_range(v.begin(), v.end(), 2); in equal_range1() local
57 CPPUNIT_ASSERT( (range.first - v.begin()) == 6 ); in equal_range1()
58 CPPUNIT_ASSERT( (range.second - v.begin()) == 9 ); in equal_range1()
59 for (; range.first != range.second; ++range.first) in equal_range1()
60 CPPUNIT_ASSERT( *range.first == 2 ); in equal_range1()
62 range = equal_range(v.begin(), v.end(), 4); in equal_range1()
63 CPPUNIT_ASSERT( range.first == range.second ); in equal_range1()
[all …]
Dhash_test.cpp209 pair<hashType::iterator,hashType::iterator> range = h.equal_range( i->first ); in check_keys() local
210 for ( hashType::iterator j = range.first; j != range.second; ++j ) { in check_keys()
230 pair<hashType::iterator,hashType::iterator> range = h.equal_range(mIter->first); in check_keys()
232 for (hashType::iterator h = range.first; h != range.second; h++) { in check_keys()
/ndk/tests/build/issue54465-invalid-asm-operand-out-of-range/jni/
DAndroid.mk4 LOCAL_MODULE := issue54465-invalid-asm-operand-out-of-range
5 LOCAL_SRC_FILES := issue54465-invalid-asm-operand-out-of-range.cpp
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/algorithm/string/
Dconcept.hpp38 typedef iterator_range<IteratorT> range; typedef
46 range r;
/ndk/sources/third_party/googletest/googletest/include/gtest/internal/
Dgtest-type-util.h.pump126 $range i 2..n
129 $range j 1..i
130 $range k 2..i
156 $range i 1..n
167 $range i 1..n-1
169 $range j 1..i
170 $range k i+1..n
226 $range i 2..n
229 $range j 1..i
230 $range k 2..i
[all …]
Dgtest-param-util-generated.h.pump90 $range i 2..n
92 $range j 1..i
124 $range i 2..maxtuple
126 $range j 1..i
127 $range k 2..i
165 // Advance should not be called on beyond-of-range iterators
166 // so no component iterators must be beyond end of range, either.
218 // We must report iterator past the end of the range when either of the
219 // component iterators has reached the end of its range.
231 // begin[i]_ and end[i]_ define the i-th range that Iterator traverses.
[all …]
Dgtest-tuple.h.pump56 $range i 0..n-1
57 $range j 0..n
58 $range k 1..n
63 $range m 0..k-1
64 $range m2 k..n-1
72 $range m 0..j-1
139 $range m 0..k-1
208 $range m 0..k-1
Dgtest-internal.h675 UInt32 Generate(UInt32 range);
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/range/algorithm/
Dequal.hpp159 namespace range namespace
195 using ::boost::range::equal;
/ndk/sources/cxx-stl/stlport/stlport/
Dbitset38 // to test(), except that it does no range checking. The non-const version
39 // returns a reference to a bit, again without doing any range checking.
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/libcxx/android/
Dexecutors.py50 for _ in range(10):
/ndk/sources/third_party/googletest/googletest/include/gtest/
Dgtest-param-test.h.pump90 // ValuesIn(begin,end) container, or an iterator range [begin, end).
217 // Range() returns generators providing sequences of values in a range.
263 // a range [begin, end) defined by a pair of STL-style iterators. These
346 $range i 1..n
348 $range j 1..i
430 $range i 2..maxtuple
432 $range j 1..i
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dbitset751 throw out_of_range("bitset string pos out of range");
753 assert(!"bitset string pos out of range");
838 throw out_of_range("bitset set argument out of range");
840 assert(!"bitset set argument out of range");
861 throw out_of_range("bitset reset argument out of range");
863 assert(!"bitset reset argument out of range");
894 throw out_of_range("bitset flip argument out of range");
896 assert(!"bitset flip argument out of range");
989 throw out_of_range("bitset test argument out of range");
991 assert(!"bitset test argument out of range");
D__tuple160 static_assert(_Ip == 0, "tuple_element index out of range");
161 static_assert(_Ip != 0, "tuple_element index out of range");
189 // __tuple_types<_Types...> using only those _Types in the range [_Sp, _Ep).
Dratio236 static_assert(__static_abs<_Num>::value >= 0, "ratio numerator is out of range");
238 static_assert(__static_abs<_Den>::value > 0, "ratio denominator is out of range");
Dalgorithm1009 … // no need to check range on __m1 because __s guarantees we have enough source
1507 … ++__m1; // no need to check range on __m1 because __s guarantees we have enough source
1645 … ++__m; // no need to check range on __m because __s guarantees we have enough source
3300 // All trues now at start of range, all falses in buffer
3301 // Move falses back into range, but don't mess up __first which points to first false
3362 // We now have a reduced range [__first, __last)
3433 // All trues now at start of range, all falses in buffer
3434 // Move falses back into range, but don't mess up __first which points to first false
3510 // We now have a reduced range [__first, __last]
3883 // j points beyond range to be tested, *__m is known to be <= *__lm1
[all …]
Dstring608 _LIBCPP_ASSERT(__s2 < __s1 || __s2 >= __s1+__n, "char_traits::copy overlapped range");
661 _LIBCPP_ASSERT(__s2 < __s1 || __s2 >= __s1+__n, "char_traits::copy overlapped range");
721 _LIBCPP_ASSERT(__s2 < __s1 || __s2 >= __s1+__n, "char_traits::copy overlapped range");
851 _LIBCPP_ASSERT(__s2 < __s1 || __s2 >= __s1+__n, "char_traits::copy overlapped range");
972 _LIBCPP_ASSERT(__s2 < __s1 || __s2 >= __s1+__n, "char_traits::copy overlapped range");
2797 "string::insert(iterator, range) called with an iterator not"
2824 "string::insert(iterator, range) called with an iterator not"
3150 _LIBCPP_ASSERT(__first <= __last, "string::erase(first, last) called with invalid range");
/ndk/sources/third_party/googletest/googletest/test/
Dgtest_xml_test_utils.py86 for i in range(expected_attributes.length):
Dgtest_filter_unittest.py315 for i in range(0, total_shards):
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/range/detail/
Dcommon.hpp79 class range class
/ndk/sources/third_party/googletest/googletest/src/
Dgtest.cc287 UInt32 Random::Generate(UInt32 range) { in Generate() argument
291 GTEST_CHECK_(range > 0) in Generate()
293 GTEST_CHECK_(range <= kMaxRange) in Generate()
294 << "Generation of a number in [0, " << range << ") was requested, " in Generate()
300 return state_ % range; in Generate()

123