Home
last modified time | relevance | path

Searched refs:insCnt (Results 1 – 13 of 13) sorted by relevance

/external/stlport/test/eh/
Dtest_set.cpp54 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()
Dtest_vector.cpp42 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()
Dtest_hash_map.cpp66 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()
Dtest_hash_set.cpp62 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()
Dtest_map.cpp65 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()
Dtest_bit_vector.cpp102 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()
Dtest_string.cpp55 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()
Dtest_valarray.cpp57 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()
Dtest_rope.cpp68 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()
Dtest_deque.cpp68 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()
Dtest_list.cpp84 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()
Dtest_slist.cpp73 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()
Dtest_insert.h293 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()