/external/stlport/test/eh/ |
D | test_set.cpp | 54 size_t insCnt = random_number(random_base); in test_multiset() local 55 TestMultiSet::value_type *insFirst = new TestMultiSet::value_type[1+insCnt]; in test_multiset() 56 WeakCheck( testMultiSet, insert_range_tester(testMultiSet, insFirst, insFirst+insCnt) ); in test_multiset() 57 ConstCheck( 0, test_construct_pointer_range<TestMultiSet>(insFirst, insFirst+insCnt) ); in test_multiset() 87 size_t insCnt = random_number(random_base); in test_set() local 88 TestSet::value_type *insFirst = new TestSet::value_type[1+insCnt]; in test_set() 90 WeakCheck( testSet, insert_range_tester(testSet, insFirst, insFirst+insCnt) ); in test_set() 92 ConstCheck( 0, test_construct_pointer_range<TestSet>(insFirst, insFirst+insCnt) ); in test_set()
|
D | test_vector.cpp | 42 void prepare_insert_n( TestVector& c, size_t insCnt ); 44 void prepare_insert_n( TestVector& c, size_t insCnt ) in prepare_insert_n() argument 47 c.reserve( c.size() + insCnt ); in prepare_insert_n() 91 size_t insCnt = random_number(random_base); in test_vector() local 92 TestClass *insFirst = new TestVector::value_type[1+ insCnt]; in test_vector() 94 ConstCheck( 0, test_construct_pointer_range<TestVector>(insFirst, insFirst+insCnt) ); in test_vector() 96 WeakCheck( testVector, insert_range_tester(testVector, insFirst, insFirst+insCnt) ); in test_vector() 97 WeakCheck( testVector, insert_range_at_begin_tester(testVector, insFirst, insFirst+insCnt) ); in test_vector() 98 WeakCheck( testVector, insert_range_at_end_tester(testVector, insFirst, insFirst+insCnt) ); in test_vector()
|
D | test_hash_map.cpp | 66 size_t insCnt = random_number(random_base); in test_hash_multimap() local 67 TestMultiMap::value_type *insFirst = new TestMultiMap::value_type[1+insCnt]; in test_hash_multimap() 68 WeakCheck( testMultiMap, insert_range_tester(testMultiMap, insFirst, insFirst+insCnt) ); in test_hash_multimap() 69 ConstCheck( 0, test_construct_pointer_range<TestMultiMap>(insFirst, insFirst+insCnt) ); in test_hash_multimap() 113 size_t insCnt = random_number(random_base); in test_hash_map() local 114 TestMap::value_type *insFirst = new TestMap::value_type[1+insCnt]; in test_hash_map() 115 WeakCheck( testMap, insert_range_tester(testMap, insFirst, insFirst+insCnt) ); in test_hash_map() 116 ConstCheck( 0, test_construct_pointer_range<TestMap>(insFirst, insFirst+insCnt) ); in test_hash_map()
|
D | test_hash_set.cpp | 62 size_t insCnt = random_number(random_base); in test_hash_multiset() local 63 TestMultiSet::value_type *insFirst = new TestMultiSet::value_type[1+insCnt]; in test_hash_multiset() 64 WeakCheck( testMultiSet, insert_range_tester(testMultiSet, insFirst, insFirst+insCnt) ); in test_hash_multiset() 65 ConstCheck( 0, test_construct_pointer_range<TestMultiSet>(insFirst, insFirst+insCnt) ); in test_hash_multiset() 109 size_t insCnt = random_number(random_base); in test_hash_set() local 110 TestSet::value_type *insFirst = new TestSet::value_type[1+insCnt]; in test_hash_set() 111 WeakCheck( testSet, insert_range_tester(testSet, insFirst, insFirst+insCnt) ); in test_hash_set() 112 ConstCheck( 0, test_construct_pointer_range<TestSet>(insFirst, insFirst+insCnt) ); in test_hash_set()
|
D | test_map.cpp | 65 size_t insCnt = 1 + random_number(random_base); in test_multimap() local 66 TestMultiMap::value_type *insFirst = new TestMultiMap::value_type[insCnt]; in test_multimap() 68 WeakCheck( testMultiMap, insert_range_tester(testMultiMap, insFirst, insFirst+insCnt) ); in test_multimap() 70 ConstCheck( 0, test_construct_pointer_range<TestMultiMap>(insFirst, insFirst+insCnt) ); in test_multimap() 113 size_t insCnt = random_number(random_base); in test_map() local 114 TestMap::value_type *insFirst = new TestMap::value_type[1+insCnt]; in test_map() 116 WeakCheck( testMap, insert_range_tester(testMap, insFirst, insFirst+insCnt) ); in test_map() 118 ConstCheck( 0, test_construct_pointer_range<TestMap>(insFirst, insFirst+insCnt) ); in test_map()
|
D | test_bit_vector.cpp | 102 size_t insCnt = 1 + random_number(random_base); in test_bit_vector() 103 bool *insFirst = new BitVector::value_type[insCnt]; in test_bit_vector() 104 for (size_t n = 0; n < insCnt; n++) in test_bit_vector() 106 StrongCheck(testVector, insert_range_tester(testVector, insFirst, insFirst+insCnt)); in test_bit_vector() 107 StrongCheck(testVector, insert_range_at_begin_tester(testVector, insFirst, insFirst+insCnt)); in test_bit_vector() 108 StrongCheck(testVector, insert_range_at_end_tester(testVector, insFirst, insFirst+insCnt)); in test_bit_vector() 109 ConstCheck(0, test_construct_pointer_range<BitVector>( insFirst, insFirst + insCnt)); in test_bit_vector()
|
D | test_string.cpp | 55 size_t insCnt = random_number(random_base); in test_string() local 56 TestString::value_type *insFirst = new TestString::value_type[1+insCnt]; in test_string() 58 WeakCheck( testString, insert_range_tester(testString, insFirst, insFirst+insCnt) ); in test_string() 59 WeakCheck( testString, insert_range_at_begin_tester(testString, insFirst, insFirst+insCnt) ); in test_string() 60 WeakCheck( testString, insert_range_at_end_tester(testString, insFirst, insFirst+insCnt) ); in test_string() 62 ConstCheck( 0, test_construct_pointer_range<TestString>(insFirst, insFirst+insCnt) ); in test_string()
|
D | test_valarray.cpp | 57 size_t insCnt = random_number(random_base); in test_rope() local 58 TestValarray::value_type *insFirst = new TestValarray::value_type[1+insCnt]; in test_rope() 60 WeakCheck( testValarray, insert_range_tester(testValarray, insFirst, insFirst+insCnt) ); in test_rope() 61 … WeakCheck( testValarray, insert_range_at_begin_tester(testValarray, insFirst, insFirst+insCnt) ); in test_rope() 62 WeakCheck( testValarray, insert_range_at_end_tester(testValarray, insFirst, insFirst+insCnt) ); in test_rope() 64 ConstCheck( 0, test_construct_pointer_range<TestValarray>(insFirst, insFirst+insCnt) ); in test_rope()
|
D | test_rope.cpp | 68 size_t insCnt = random_number(random_base); in test_rope() local 69 TestRope::value_type *insFirst = new TestRope::value_type[1+insCnt]; in test_rope() 71 WeakCheck( testRope, insert_range_tester(testRope, insFirst, insFirst+insCnt) ); in test_rope() 72 WeakCheck( testRope, insert_range_at_begin_tester(testRope, insFirst, insFirst+insCnt) ); in test_rope() 73 WeakCheck( testRope, insert_range_at_end_tester(testRope, insFirst, insFirst+insCnt) ); in test_rope() 75 ConstCheck( 0, test_construct_pointer_range<TestRope>(insFirst, insFirst+insCnt) ); in test_rope()
|
D | test_deque.cpp | 68 size_t insCnt = random_number(random_base); in test_deque() local 69 DQTestClass *insFirst = new TestDeque::value_type[insCnt + 1]; in test_deque() 71 WeakCheck( testDeque, insert_range_tester(testDeque, insFirst, insFirst + insCnt) ); in test_deque() 72 StrongCheck( testDeque, insert_range_at_begin_tester(testDeque, insFirst, insFirst + insCnt) ); in test_deque() 73 StrongCheck( testDeque, insert_range_at_end_tester(testDeque, insFirst, insFirst + insCnt) ); in test_deque() 75 ConstCheck( 0, test_construct_pointer_range<TestDeque>(insFirst, insFirst + insCnt) ); in test_deque()
|
D | test_list.cpp | 84 size_t insCnt = random_number(random_base); in test_list() local 85 TestClass *insFirst = new TestList::value_type[1+insCnt]; in test_list() 87 WeakCheck( testList, insert_range_tester(testList, insFirst, insFirst+insCnt) ); in test_list() 88 WeakCheck( testList, insert_range_at_begin_tester(testList, insFirst, insFirst+insCnt) ); in test_list() 89 WeakCheck( testList, insert_range_at_end_tester(testList, insFirst, insFirst+insCnt) ); in test_list() 91 ConstCheck( 0, test_construct_pointer_range<TestList>(insFirst, insFirst+insCnt) ); in test_list()
|
D | test_slist.cpp | 73 size_t insCnt = random_number(random_base); in test_slist() local 74 TestClass *insFirst = new TestSList::value_type[1+insCnt]; in test_slist() 75 WeakCheck( testSList, insert_range_tester(testSList, insFirst, insFirst+insCnt) ); in test_slist() 77 ConstCheck( 0, test_construct_pointer_range<TestSList>(insFirst, insFirst+insCnt) ); in test_slist()
|
D | test_insert.h | 293 void VerifyInsertN( const C& original, const C& result, size_t insCnt, in VerifyInsertN() argument 303 while ( insCnt-- > 0 ) in VerifyInsertN() 367 test_insert_n( const C& orig, size_t insCnt, int pos =-1 ) 368 : original( orig ), fPos( random_number( orig.size() )), fInsCnt(insCnt) in original()
|