Home
last modified time | relevance | path

Searched refs:EH_STD (Results 1 – 19 of 19) sorted by relevance

/external/stlport/test/eh/
Dnc_alloc.cpp60 throw EH_STD::bad_alloc(); in maybe_fail()
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) in operator new()
212 void* _STLP_CALL operator new(size_t size, const EH_STD::nothrow_t&) throw() { in operator new()
223 void* _STLP_CALL operator new[](size_t size ) throw(EH_STD::bad_alloc) { in operator new[]()
228 void* _STLP_CALL operator new[](size_t size, const EH_STD::nothrow_t&) throw() { in operator new[]()
288 EH_STD::cerr<<"\nEH TEST FAILURE !\n"; in ReportLeaked()
291 EH_STD::cerr << "ERROR : " << alloc_count << " outstanding allocations.\n"; in ReportLeaked()
293 EH_STD::cerr << "ERROR : " << object_count << " non-destroyed objects.\n"; in ReportLeaked()
[all …]
DPrefix.h86 # define EH_STD STLPORT macro
88 # define EH_STD __STD macro
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_…
151 if (__p != 0) EH_STD::__new_alloc::deallocate((void*)__p, __n * sizeof(value_type)); in deallocate()
154 …void deallocate(pointer __p) const { if (__p != 0) EH_STD::__new_alloc::deallocate((void*)__p, si… in deallocate()
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 …]
Dtest_algo.cpp50 EH_STD::sort( begin(), begin() + ( end() - begin() )/2 ); in PrepareMerge()
51 EH_STD::sort( begin() + ( end() - begin() )/2, end() ); in PrepareMerge()
96 SortClass* d = EH_STD::stable_partition( buf.begin(), buf.end(), throw_cmp ); in operator ()()
108 EH_STD::fill_n( counts, (int)SortClass::kRange, 0 ); in operator ()()
154 EH_STD::fill_n( counts, (int)SortClass::kRange, 0 ); in assert_sorted_version()
188 EH_STD::stable_sort( buf.begin(), buf.end() ); in operator ()()
205 EH_STD::stable_sort( buf.begin(), buf.end(), EH_STD::less<SortClass>() ); in operator ()()
222EH_STD::inplace_merge( buf.begin(), buf.begin() + ( buf.end() - buf.begin() )/2, buf.end() ); in operator ()()
239 EH_STD::inplace_merge( buf.begin(), buf.begin() + ( buf.end() - buf.begin() )/2, buf.end(), in operator ()()
240 EH_STD::less<SortClass>() ); in operator ()()
[all …]
DLeakCheck.h172 EH_STD::ostream_iterator<value_type> o(EH_STD::cerr, " "); in catch()
173 EH_STD::cerr<<"EH test FAILED:\nStrong guaranee failed !\n"; in catch()
174 EH_STD::copy(dup.begin(), dup.end(), o); in catch()
175 EH_STD::cerr<<"\nOriginal is:\n"; in catch()
176 EH_STD::copy(v.begin(), v.end(), o); in catch()
177 EH_STD::cerr<<EH_STD::endl; in catch()
Drandom_number.cpp30 return (unsigned)(EH_STD::rand() + EH_STD::rand()) % range; in random_number()
32 static EH_STD::subtractive_rng rnd; in random_number()
Dtest_algobase.cpp45 EH_STD::uninitialized_copy((TestClass*)stuff, (TestClass*)end_of_stuff, buffer ); in operator ()()
46 EH_ASSERT( EH_STD::equal( (TestClass*)stuff, (TestClass*)end_of_stuff, buffer ) ); in operator ()()
64 EH_STD::uninitialized_fill( buffer, buf_end, testValue ); in operator ()()
81 EH_STD::uninitialized_fill_n( buffer, (EH_CSTD::size_t)kBufferSize, testValue ); in operator ()()
Dtest_insert.h82 typedef EH_STD::vector<key> key_list; in CountUniqueItems_Aux()
95 EH_STD::sort( keys.begin(), keys.end() ); in CountUniqueItems_Aux()
96 key_iterator last = EH_STD::unique( keys.begin(), keys.end() ); in CountUniqueItems_Aux()
131 EH_STD::identity<value_type>() ); in CountUniqueItems()
144 EH_STD::select1st<value_type>() ); in CountUniqueItems()
179 EH_STD::pair<DstIter, DstIter> p = EH_STD::mismatch( first1, original.end(), first2 ); in VerifyInsertion()
182 SrcIter srcItem = EH_STD::find( SrcIter(firstNew), SrcIter(lastNew), *p.second ); in VerifyInsertion()
188 tmp = EH_STD::find( from_orig, last_from_orig, p.first ); in VerifyInsertion()
193 EH_STD::copy(tmp+1, last_from_orig, tmp); in VerifyInsertion()
200 dstItem = EH_STD::find( first1, original.end(), *p.first ); in VerifyInsertion()
[all …]
Dtest_map.cpp36 container_category(const EH_STD::__multimap__<K,V,Comp, A>&) in container_category()
43 container_category(const EH_STD::__map__<K,V,Comp, A>&) in container_category()
48 typedef EH_STD::__multimap__<TestClass, TestClass, ThrowCompare, eh_allocator(TestClass) > TestMult…
86 typedef EH_STD::__map__<TestClass, TestClass, ThrowCompare, eh_allocator(TestClass) > TestMap;
Dtest_string.cpp30 typedef EH_STD::basic_string<char, EH_STD::char_traits<char>, eh_allocator(char) > TestString;
Dtest_slist.cpp32 typedef EH_STD::slist<TestClass, eh_allocator(TestClass) > TestSList;
34 typedef EH_STD::__slist__<TestClass, eh_allocator(TestClass) > TestSList;
Dtest_set.cpp34 typedef EH_STD::__multiset__<TestClass, ThrowCompare, eh_allocator(TestClass) > TestMultiSet;
68 typedef EH_STD::__set__<TestClass, ThrowCompare, eh_allocator(TestClass) > TestSet;
Dtest_hash_map.cpp37 typedef EH_STD::__hash_multimap__<TestClass, TestClass, ThrowHash, ThrowEqual,
84 typedef EH_STD::__hash_map__<TestClass, TestClass, ThrowHash,
Dtest_hash_set.cpp32 typedef EH_STD::__hash_multiset__<TestClass, ThrowHash, ThrowEqual,
80 typedef EH_STD::__hash_set__<TestClass, ThrowHash, ThrowEqual, eh_allocator(TestClass) > TestSet;
Dtest_vector.cpp31 typedef EH_STD::vector<TestClass, eh_allocator(TestClass) > TestVector;
33 typedef EH_STD::__vector__<TestClass, eh_allocator(TestClass) > TestVector;
Dtest_push_back.h44 EH_ASSERT( EH_STD::equal( original.begin(), original.end(), c.begin() ) ); in operator()
Dtest_push_front.h40 EH_ASSERT( EH_STD::equal( original.begin(), original.end(), ++next ) ); in operator()
DTestClass.h71 typedef EH_STD::pair<const TestClass, TestClass> pair_testclass_testclass;
Dtest_deque.cpp39 typedef EH_STD::deque<DQTestClass, eh_allocator(DQTestClass) > TestDeque;
Dtest_list.cpp31 typedef EH_STD::__list__<TestClass, eh_allocator(TestClass) > TestList;