Home
last modified time | relevance | path

Searched refs:slist (Results 1 – 25 of 92) sorted by relevance

1234

/third_party/glib/glib/tests/
Dslist.c28 GSList *slist = NULL; in test_slist_sort() local
32 slist = g_slist_append (slist, GINT_TO_POINTER (array[i])); in test_slist_sort()
34 slist = g_slist_sort (slist, sort); in test_slist_sort()
39 p1 = g_slist_nth_data (slist, i); in test_slist_sort()
40 p2 = g_slist_nth_data (slist, i+1); in test_slist_sort()
45 g_slist_free (slist); in test_slist_sort()
51 GSList *slist = NULL; in test_slist_sort_with_data() local
55 slist = g_slist_append (slist, GINT_TO_POINTER (array[i])); in test_slist_sort_with_data()
57 slist = g_slist_sort_with_data (slist, (GCompareDataFunc)sort, NULL); in test_slist_sort_with_data()
62 p1 = g_slist_nth_data (slist, i); in test_slist_sort_with_data()
[all …]
Dutils.c792 GSList *slist = NULL; in test_clear_slist() local
794 g_clear_slist (&slist, NULL); in test_clear_slist()
795 g_assert_null (slist); in test_clear_slist()
797 slist = g_slist_prepend (slist, "test"); in test_clear_slist()
798 g_assert_nonnull (slist); in test_clear_slist()
800 g_clear_slist (&slist, NULL); in test_clear_slist()
801 g_assert_null (slist); in test_clear_slist()
803 g_clear_slist (&slist, g_free); in test_clear_slist()
804 g_assert_null (slist); in test_clear_slist()
806 slist = g_slist_prepend (slist, g_malloc (16)); in test_clear_slist()
[all …]
/third_party/boost/libs/container/test/
Dslist_test.cpp27 slist<recursive_slist> slist_;
28 slist<recursive_slist>::iterator it_;
29 slist<recursive_slist>::const_iterator cit_;
37 slist<recursive_slist> recursive_list_list; in recursive_slist_test()
46 typedef slist< ValueType
57 const slist<int> expected_list(il.begin(), il.end()); in test_support_for_initializer_list()
59 slist<int> sl = il; in test_support_for_initializer_list()
65 slist<int> sl = {1, 2}; in test_support_for_initializer_list()
71 slist<int> sl({ 1, 2 }, slist<int>::allocator_type()); in test_support_for_initializer_list()
77 slist<int> sl = {4, 5}; in test_support_for_initializer_list()
[all …]
Dexplicit_inst_slist_test.cpp19 template class ::boost::container::slist<empty>;
20 volatile ::boost::container::slist<empty> dummy;
31 template class boost::container::slist member in boost::container::boost::container
35 template class boost::container::slist member in boost::container::boost::container
/third_party/boost/boost/container/
Dslist.hpp63 class slist;
202 class slist class
223 BOOST_COPYABLE_AND_MOVABLE(slist)
260 slist() BOOST_NOEXCEPT_IF(dtl::is_nothrow_default_constructible<ValueAllocator>::value) in BOOST_NOEXCEPT_IF()
269 explicit slist(const allocator_type& a) BOOST_NOEXCEPT_OR_NOTHROW in slist() function in boost::container::slist
280 explicit slist(size_type n) in slist() function in boost::container::slist
291 slist(size_type n, const allocator_type &a) in slist() function in boost::container::slist
302 explicit slist(size_type n, const value_type& x, const allocator_type& a = allocator_type()) in slist() function in boost::container::slist
314 slist(InpIt first, InpIt last, const allocator_type& a = allocator_type()) in slist() function in boost::container::slist
326 slist(std::initializer_list<value_type> il, const allocator_type& a = allocator_type()) in slist() function in boost::container::slist
[all …]
/third_party/boost/boost/serialization/
Dslist.hpp39 const BOOST_STD_EXTENSION_NAMESPACE::slist<U, Allocator> &t, in save()
44 BOOST_STD_EXTENSION_NAMESPACE::slist<U, Allocator> in save()
57 typename BOOST_STD_EXTENSION_NAMESPACE::slist<T, Allocator>::value_type
63 BOOST_STD_EXTENSION_NAMESPACE::slist<T, Allocator> &t, in collection_load_impl()
71 typename BOOST_STD_EXTENSION_NAMESPACE::slist<T, Allocator>::iterator last; in collection_load_impl()
87 BOOST_STD_EXTENSION_NAMESPACE::slist<U, Allocator> &t, in load()
102 typename BOOST_STD_EXTENSION_NAMESPACE::slist<U, Allocator>::iterator hint; in load()
113 typename BOOST_STD_EXTENSION_NAMESPACE::slist<U, Allocator>::iterator last; in load()
130 BOOST_STD_EXTENSION_NAMESPACE::slist<U, Allocator> &t, in serialize()
141 BOOST_SERIALIZATION_COLLECTION_TRAITS(BOOST_STD_EXTENSION_NAMESPACE::slist)
/third_party/glib/glib/
Dgtester.c296 GSList *slist, *free_list = NULL; in launch_test_binary() local
317 for (slist = subtest_args; slist; slist = slist->next) in launch_test_binary()
339 for (slist = subtest_paths; slist; slist = slist->next) in launch_test_binary()
341 for (slist = skipped_paths; slist; slist = slist->next) in launch_test_binary()
347 for (slist = subtest_args; slist; slist = slist->next) in launch_test_binary()
348 argv[i++] = (gchar*) slist->data; in launch_test_binary()
371 for (slist = subtest_paths; slist; slist = slist->next) in launch_test_binary()
372 argv[i++] = queue_gfree (&free_list, g_strdup_printf ("-p=%s", (gchar*) slist->data)); in launch_test_binary()
373 for (slist = skipped_paths; slist; slist = slist->next) in launch_test_binary()
374 argv[i++] = queue_gfree (&free_list, g_strdup_printf ("-s=%s", (gchar*) slist->data)); in launch_test_binary()
Dgslist.c111 #define _g_slist_free1(slist) g_slice_free (GSList, slist) argument
349 g_slist_insert_before (GSList *slist, in g_slist_insert_before() argument
353 if (!slist) in g_slist_insert_before()
355 slist = _g_slist_alloc (); in g_slist_insert_before()
356 slist->data = data; in g_slist_insert_before()
357 slist->next = NULL; in g_slist_insert_before()
358 g_return_val_if_fail (sibling == NULL, slist); in g_slist_insert_before()
359 return slist; in g_slist_insert_before()
365 for (node = slist; node; last = node, node = last->next) in g_slist_insert_before()
372 node->next = slist; in g_slist_insert_before()
[all …]
/third_party/curl/tests/libtest/
Dlib510.c66 struct curl_slist *slist = NULL; in test() local
82 slist = curl_slist_append(slist, "Transfer-Encoding: chunked"); in test()
83 if(!slist) { in test()
114 test_setopt(curl, CURLOPT_HTTPHEADER, slist); in test()
127 if(slist) in test()
128 curl_slist_free_all(slist); in test()
Dlib579.c90 struct curl_slist *slist = NULL; in test() local
106 slist = curl_slist_append(slist, "Transfer-Encoding: chunked"); in test()
107 if(!slist) { in test()
138 test_setopt(curl, CURLOPT_HTTPHEADER, slist); in test()
153 if(slist) in test()
154 curl_slist_free_all(slist); in test()
Dlib539.c31 struct curl_slist *slist = NULL; in test() local
69 slist = curl_slist_append(NULL, "SYST"); in test()
70 if(!slist) { in test()
79 test_setopt(curl, CURLOPT_QUOTE, slist); in test()
85 curl_slist_free_all(slist); in test()
Dlib1510.c39 struct curl_slist *slist = NULL, *slist2; in test() local
50 slist2 = curl_slist_append(slist, dnsentry); in test()
55 slist = slist2; in test()
70 easy_setopt(curl, CURLOPT_RESOLVE, slist); in test()
94 curl_slist_free_all(slist); in test()
Dlib661.c30 struct curl_slist *slist = NULL; in test() local
99 slist = curl_slist_append(NULL, "SYST"); in test()
100 if(!slist) { in test()
110 test_setopt(curl, CURLOPT_QUOTE, slist); in test()
127 test_setopt(curl, CURLOPT_QUOTE, slist); in test()
138 test_setopt(curl, CURLOPT_QUOTE, slist); in test()
144 curl_slist_free_all(slist); in test()
Dlib1512.c42 struct curl_slist *slist = NULL; in test() local
55 slist = curl_slist_append(slist, dnsentry); in test()
76 easy_setopt(curl[0], CURLOPT_RESOLVE, slist); in test()
86 curl_slist_free_all(slist); in test()
Dlib1506.c41 struct curl_slist *slist = NULL, *slist2; in test() local
52 slist2 = curl_slist_append(slist, dnsentry); in test()
57 slist = slist2; in test()
83 easy_setopt(curl[i], CURLOPT_RESOLVE, slist); in test()
131 curl_slist_free_all(slist); in test()
/third_party/curl/docs/examples/
Dcertinfo.c69 struct curl_slist *slist; in main() local
71 for(slist = certinfo->certinfo[i]; slist; slist = slist->next) in main()
72 printf("%s\n", slist->data); in main()
/third_party/openssl/crypto/
Dmem_sec.c537 ossl_ssize_t list, slist; in sh_malloc() local
551 for (slist = list; slist >= 0; slist--) in sh_malloc()
552 if (sh.freelist[slist] != NULL) in sh_malloc()
554 if (slist < 0) in sh_malloc()
558 while (slist != list) { in sh_malloc()
559 char *temp = sh.freelist[slist]; in sh_malloc()
562 OPENSSL_assert(!sh_testbit(temp, slist, sh.bitmalloc)); in sh_malloc()
563 sh_clearbit(temp, slist, sh.bittable); in sh_malloc()
565 OPENSSL_assert(temp != sh.freelist[slist]); in sh_malloc()
568 slist++; in sh_malloc()
[all …]
/third_party/boost/libs/config/test/
Dboost_has_slist.ipp9 // TITLE: <slist>
10 // DESCRIPTION: The C++ implementation provides the (SGI) slist class.
14 #include <ext/slist>
16 #include <slist>
26 void foo(const BOOST_STD_EXTENSION_NAMESPACE::slist<T,Alloc>& )
33 BOOST_STD_EXTENSION_NAMESPACE::slist<int> l;
/third_party/boost/libs/interprocess/test/
Dslist_test.cpp22 typedef slist<int, ShmemAllocator> MyList;
28 typedef slist<test::movable_int, ShmemMoveAllocator> MyMoveList;
31 typedef slist<test::movable_and_copyable_int, ShmemCopyMoveAllocator> MyCopyMoveList;
34 typedef slist<test::copyable_int, ShmemCopyAllocator> MyCopyList;
57 < slist<test::EmplaceInt>, Options>()) in main()
/third_party/boost/boost/assign/std/
Dslist.hpp35 …inline list_inserter< assign_detail::call_push_back< BOOST_STD_EXTENSION_NAMESPACE::slist<V,A> >, …
36 operator+=( BOOST_STD_EXTENSION_NAMESPACE::slist<V,A>& c, V2 v ) in operator +=()
42 …inline list_inserter< assign_detail::call_push_back< BOOST_STD_EXTENSION_NAMESPACE::slist<V,A> >, …
43 operator+=( BOOST_STD_EXTENSION_NAMESPACE::slist<V,A>& c, V2&& v )
/third_party/glib/gobject/
Dgobjectnotifyqueue.c103 GSList *slist; in g_object_notify_queue_thaw() local
127 for (slist = nqueue->pspecs; slist; slist = slist->next) in g_object_notify_queue_thaw()
129 pspecs[n_pspecs++] = slist->data; in g_object_notify_queue_thaw()
/third_party/boost/libs/intrusive/test/
Dscary_iterators_test.cpp108 BOOST_STATIC_ASSERT((!detail::is_same< slist<MyClass<> >::iterator in main()
109 , slist<MyClass<> >::const_iterator in main()
112 BOOST_STATIC_ASSERT((detail::is_same< slist<MyClass<>, constant_time_size<true> >::iterator in main()
113 , slist<MyClass<>, constant_time_size<false> >::iterator in main()
116 BOOST_STATIC_ASSERT((!detail::is_same< slist<MyClass<> >::iterator in main()
117 , slist<MyClass<smart_ptr<void> > >::iterator in main()
120 BOOST_STATIC_ASSERT((detail::is_same< slist<MyClass<>, size_type<unsigned int > >::iterator in main()
121 , slist<MyClass<>, size_type<unsigned char> >::iterator in main()
124 BOOST_STATIC_ASSERT((detail::is_same< slist<MyClass<>, cache_last<false> >::iterator in main()
125 , slist<MyClass<>, cache_last<true> >::iterator in main()
[all …]
/third_party/boost/boost/container/pmr/
Dslist.hpp28 using slist = boost::container::slist<T, polymorphic_allocator<T>>; typedef
37 typedef boost::container::slist
/third_party/boost/boost/algorithm/string/std/
Dslist_traits.hpp27 class has_stable_iterators< BOOST_STD_EXTENSION_NAMESPACE::slist<T,AllocT> >
40 class has_const_time_insert< BOOST_STD_EXTENSION_NAMESPACE::slist<T,AllocT> >
53 class has_const_time_erase< BOOST_STD_EXTENSION_NAMESPACE::slist<T,AllocT> >
/third_party/openssl/doc/man3/
DSSL_CTX_set1_sigalgs.pod14 long SSL_CTX_set1_sigalgs(SSL_CTX *ctx, const int *slist, long slistlen);
15 long SSL_set1_sigalgs(SSL *ssl, const int *slist, long slistlen);
19 long SSL_CTX_set1_client_sigalgs(SSL_CTX *ctx, const int *slist, long slistlen);
20 long SSL_set1_client_sigalgs(SSL *ssl, const int *slist, long slistlen);
27 algorithms for B<ctx> or B<ssl>. The array B<slist> of length B<slistlen>
95 const int slist[] = {NID_sha256, EVP_PKEY_EC, NID_sha256, EVP_PKEY_RSA};
97 SSL_CTX_set1_sigalgs(ctx, slist, 4);

1234