/external/stlport/test/eh/ |
random_number.cpp | 30 return (unsigned)(EH_STD::rand() + EH_STD::rand()) % range; 32 static EH_STD::subtractive_rng rnd;
|
Prefix.h | 86 # define EH_STD STLPORT 88 # define EH_STD __STD 98 #define EH_DISTANCE(a, b, result) EH_STD::distance(a, b, result) 114 #define stl_destroy EH_STD::destroy 146 return __n != 0 ? __REINTERPRET_CAST(value_type*,EH_STD::__new_alloc::allocate(__n * sizeof(value_type))) : 0; 151 if (__p != 0) EH_STD::__new_alloc::deallocate((void*)__p, __n * sizeof(value_type)); 154 void deallocate(pointer __p) const { if (__p != 0) EH_STD::__new_alloc::deallocate((void*)__p, sizeof(value_type)); } 179 # define EH_BIT_VECTOR EH_STD::vector<bool, eh_allocator(bool) > 184 # define EH_BIT_VECTOR EH_STD::vector<bool, eh_allocator(bool) > 237 # define EH_BIT_VECTOR EH_STD::vector<bool [all...] |
nc_alloc.cpp | 60 throw EH_STD::bad_alloc(); 86 typedef EH_STD::set<void*, EH_STD::less<void*> > allocation_set; 95 typedef EH_STD::hash_set<void*, ::hash_void, EH_STD::equal_to<void*> > allocation_set; 207 throw(EH_STD::bad_alloc) 212 void* _STLP_CALL operator new(size_t size, const EH_STD::nothrow_t&) throw() { 223 void* _STLP_CALL operator new[](size_t size ) throw(EH_STD::bad_alloc) { 228 void* _STLP_CALL operator new[](size_t size, const EH_STD::nothrow_t&) throw() { 288 EH_STD::cerr<<"\nEH TEST FAILURE !\n" [all...] |
LeakCheck.h | 172 EH_STD::ostream_iterator<value_type> o(EH_STD::cerr, " "); 173 EH_STD::cerr<<"EH test FAILED:\nStrong guaranee failed !\n"; 174 EH_STD::copy(dup.begin(), dup.end(), o); 175 EH_STD::cerr<<"\nOriginal is:\n"; 176 EH_STD::copy(v.begin(), v.end(), o); 177 EH_STD::cerr<<EH_STD::endl;
|
test_algobase.cpp | 45 EH_STD::uninitialized_copy((TestClass*)stuff, (TestClass*)end_of_stuff, buffer ); 46 EH_ASSERT( EH_STD::equal( (TestClass*)stuff, (TestClass*)end_of_stuff, buffer ) ); 64 EH_STD::uninitialized_fill( buffer, buf_end, testValue ); 81 EH_STD::uninitialized_fill_n( buffer, (EH_CSTD::size_t)kBufferSize, testValue );
|
test_algo.cpp | 50 EH_STD::sort( begin(), begin() + ( end() - begin() )/2 ); 51 EH_STD::sort( begin() + ( end() - begin() )/2, end() ); 96 SortClass* d = EH_STD::stable_partition( buf.begin(), buf.end(), throw_cmp ); 108 EH_STD::fill_n( counts, (int)SortClass::kRange, 0 ); 154 EH_STD::fill_n( counts, (int)SortClass::kRange, 0 ); 188 EH_STD::stable_sort( buf.begin(), buf.end() ); 205 EH_STD::stable_sort( buf.begin(), buf.end(), EH_STD::less<SortClass>() ); 222 EH_STD::inplace_merge( buf.begin(), buf.begin() + ( buf.end() - buf.begin() )/2, buf.end() ); 239 EH_STD::inplace_merge( buf.begin(), buf.begin() + ( buf.end() - buf.begin() )/2, buf.end() [all...] |
test_map.cpp | 36 container_category(const EH_STD::__multimap__<K,V,Comp, A>&) 43 container_category(const EH_STD::__map__<K,V,Comp, A>&) 48 typedef EH_STD::__multimap__<TestClass, TestClass, ThrowCompare, eh_allocator(TestClass) > TestMultiMap; 86 typedef EH_STD::__map__<TestClass, TestClass, ThrowCompare, eh_allocator(TestClass) > TestMap;
|
test_push_back.h | 44 EH_ASSERT( EH_STD::equal( original.begin(), original.end(), c.begin() ) );
|
test_push_front.h | 40 EH_ASSERT( EH_STD::equal( original.begin(), original.end(), ++next ) );
|
test_string.cpp | 30 typedef EH_STD::basic_string<char, EH_STD::char_traits<char>, eh_allocator(char) > TestString;
|
test_insert.h | 82 typedef EH_STD::vector<key> key_list; 95 EH_STD::sort( keys.begin(), keys.end() ); 96 key_iterator last = EH_STD::unique( keys.begin(), keys.end() ); 131 EH_STD::identity<value_type>() ); 144 EH_STD::select1st<value_type>() ); 179 EH_STD::pair<DstIter, DstIter> p = EH_STD::mismatch( first1, original.end(), first2 ); 182 SrcIter srcItem = EH_STD::find( SrcIter(firstNew), SrcIter(lastNew), *p.second ); 188 tmp = EH_STD::find( from_orig, last_from_orig, p.first ); 193 EH_STD::copy(tmp+1, last_from_orig, tmp) [all...] |
test_hash_map.cpp | 37 typedef EH_STD::__hash_multimap__<TestClass, TestClass, ThrowHash, ThrowEqual, 84 typedef EH_STD::__hash_map__<TestClass, TestClass, ThrowHash,
|
test_hash_set.cpp | 32 typedef EH_STD::__hash_multiset__<TestClass, ThrowHash, ThrowEqual, 80 typedef EH_STD::__hash_set__<TestClass, ThrowHash, ThrowEqual, eh_allocator(TestClass) > TestSet;
|
test_set.cpp | 34 typedef EH_STD::__multiset__<TestClass, ThrowCompare, eh_allocator(TestClass) > TestMultiSet; 68 typedef EH_STD::__set__<TestClass, ThrowCompare, eh_allocator(TestClass) > TestSet;
|
test_slist.cpp | 32 typedef EH_STD::slist<TestClass, eh_allocator(TestClass) > TestSList; 34 typedef EH_STD::__slist__<TestClass, eh_allocator(TestClass) > TestSList;
|
test_vector.cpp | 31 typedef EH_STD::vector<TestClass, eh_allocator(TestClass) > TestVector; 33 typedef EH_STD::__vector__<TestClass, eh_allocator(TestClass) > TestVector;
|
TestClass.h | 71 typedef EH_STD::pair<const TestClass, TestClass> pair_testclass_testclass;
|
test_deque.cpp | 39 typedef EH_STD::deque<DQTestClass, eh_allocator(DQTestClass) > TestDeque;
|
test_list.cpp | 31 typedef EH_STD::__list__<TestClass, eh_allocator(TestClass) > TestList;
|