Home
last modified time | relevance | path

Searched refs:stdlist (Results 1 – 5 of 5) sorted by relevance

/third_party/boost/libs/interprocess/test/
Dlist_test.hpp33 static int execute(int max, MyShmList *shmlist, MyStdList *stdlist) in execute()
39 stdlist->push_back(i); in execute()
41 stdlist->push_back(int(i)); in execute()
43 if(!CheckEqualContainers(shmlist, stdlist)) in execute()
53 static int execute(int max, MyShmList *shmlist, MyStdList *stdlist) in execute()
59 stdlist->push_front(i); in execute()
61 stdlist->push_front(int(i)); in execute()
63 if(!CheckEqualContainers(shmlist, stdlist)) in execute()
73 static int execute(MyShmList *shmlist, MyStdList *stdlist) in execute()
76 stdlist->pop_back(); in execute()
[all …]
Duser_buffer_test.cpp46 bool CheckEqual(MyUserList *userlist, MyStdList *stdlist, MyHeapList *heaplist) in CheckEqual() argument
48 return std::equal(userlist->begin(), userlist->end(), stdlist->begin()) && in CheckEqual()
49 std::equal(heaplist->begin(), heaplist->end(), stdlist->begin()); in CheckEqual()
107 MyStdList *stdlist = new MyStdList; in main() local
114 stdlist->push_back(i); in main()
116 if(!CheckEqual(userlist, stdlist, heaplist)) return 1; in main()
120 stdlist->erase(stdlist->begin()++); in main()
121 if(!CheckEqual(userlist, stdlist, heaplist)) return 1; in main()
125 stdlist->pop_back(); in main()
126 if(!CheckEqual(userlist, stdlist, heaplist)) return 1; in main()
[all …]
/third_party/boost/libs/container/test/
Dlist_test.hpp38 bool list_copyable_only(V1 &boostlist, V2 &stdlist, boost::container::dtl::true_type) in list_copyable_only() argument
42 stdlist.insert(stdlist.end(), 50, 1); in list_copyable_only()
43 if(!test::CheckEqualContainers(boostlist, stdlist)) return false; in list_copyable_only()
48 stdlist.insert(stdlist.begin(), 50, 1); in list_copyable_only()
49 if(!test::CheckEqualContainers(boostlist, stdlist)) return false; in list_copyable_only()
54 stdlist.assign(stdlist.size()/2, 2); in list_copyable_only()
55 if(!test::CheckEqualContainers(boostlist, stdlist)) return false; in list_copyable_only()
60 stdlist.assign(stdlist.size()*3-1, 3); in list_copyable_only()
61 if(!test::CheckEqualContainers(boostlist, stdlist)) return false; in list_copyable_only()
68 stdlist.push_front(int(3)); in list_copyable_only()
[all …]
/third_party/boost/libs/intrusive/perf/
Dperf_list.cpp105 typedef typename get_list<BigSize>::type stdlist; in test_std_list_push_back() typedef
110 stdlist l; in test_std_list_push_back()
112 l.push_back(typename stdlist::value_type(i)); in test_std_list_push_back()
124 typedef typename get_list<BigSize>::type stdlist; in test_compact_std_ptrlist_push_back() typedef
131 std::vector<typename stdlist::value_type> objects(NumElements); in test_compact_std_ptrlist_push_back()
147 typedef typename get_list<BigSize>::type stdlist; in test_disperse_std_ptrlist_push_back() typedef
154 stdlist objects; stdptrlist l; in test_disperse_std_ptrlist_push_back()
156 objects.push_back(typename stdlist::value_type(i)); in test_disperse_std_ptrlist_push_back()
198 typedef typename get_list<BigSize>::type stdlist; in test_std_list_reverse() typedef
201 stdlist l; in test_std_list_reverse()
[all …]
/third_party/boost/libs/intrusive/doc/
Dintrusive.qbk3721 stdlist objects;
3728 objects.push_back(stdlist::value_type(i));
3752 l.sort(std::greater<stdlist::value_type>());
3754 l.sort(std::less<stdlist::value_type>());
3763 l.sort(func_ptr_adaptor<std::greater<stdlist::value_type> >());
3765 l.sort(func_ptr_adaptor<std::less<stdlist::value_type> >());
3822 stdlist::iterator it(l.begin()), end(l.end());