Home
last modified time | relevance | path

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

123

/external/bluetooth/glib/tests/
Dslist-test.c36 GSList *slist = NULL; in test_slist_sort() local
42 slist = g_slist_append (slist, GINT_TO_POINTER (array[i])); in test_slist_sort()
45 slist = g_slist_sort (slist, sort); in test_slist_sort()
49 p1 = g_slist_nth_data (slist, i); in test_slist_sort()
50 p2 = g_slist_nth_data (slist, i+1); in test_slist_sort()
60 GSList *slist = NULL; in test_slist_sort_with_data() local
66 slist = g_slist_append (slist, GINT_TO_POINTER (array[i])); in test_slist_sort_with_data()
69 slist = g_slist_sort_with_data (slist, (GCompareDataFunc)sort, NULL); in test_slist_sort_with_data()
73 p1 = g_slist_nth_data (slist, i); in test_slist_sort_with_data()
74 p2 = g_slist_nth_data (slist, i+1); in test_slist_sort_with_data()
[all …]
Dtestglib.c164 GSList *slist = NULL; in gslist_test() local
168 slist = g_slist_append (slist, &test_nums[i]); in gslist_test()
169 slist = g_slist_reverse (slist); in gslist_test()
173 GSList *st = g_slist_nth (slist, i); in gslist_test()
178 g_slist_free (slist); in gslist_test()
179 slist = NULL; in gslist_test()
182 slist = g_slist_insert_sorted (slist, &more_nums[i], my_list_compare_one); in gslist_test()
191 GSList *st = g_slist_nth (slist, i); in gslist_test()
196 g_slist_free (slist); in gslist_test()
197 slist = NULL; in gslist_test()
[all …]
/external/stlport/stlport/stl/
D_slist.c58 # define slist _STLP_PTR_IMPL_NAME(slist) macro
60 # define slist _STLP_NON_DBG_NAME(slist) macro
70 slist<_Tp,_Alloc>& slist<_Tp,_Alloc>::operator=(const slist<_Tp,_Alloc>& __x) {
91 void slist<_Tp, _Alloc>::_M_fill_assign(size_type __n, const _Tp& __val) { in _M_fill_assign()
106 void slist<_Tp,_Alloc>::resize(size_type __len, const _Tp& __x) { in resize()
119 void slist<_Tp,_Alloc>::remove(const _Tp& __val) { in remove()
129 #if !defined (slist)
134 void _Slist_unique(slist<_Tp, _Alloc>& __that, _BinaryPredicate __pred) { in _Slist_unique()
136 typename slist<_Tp, _Alloc>::iterator __ite(__that.begin()); in _Slist_unique()
148 void _Slist_merge(slist<_Tp, _Alloc>& __that, slist<_Tp, _Alloc>& __x, in _Slist_merge()
[all …]
D_slist.h190 # define slist _STLP_PTR_IMPL_NAME(slist)
192 # define slist _STLP_NON_DBG_NAME(slist)
198 class slist;
200 #if !defined (slist)
206 void _Slist_unique(slist<_Tp, _Alloc>& __that, _BinaryPredicate __binary_pred);
209 void _Slist_merge(slist<_Tp, _Alloc>& __that, slist<_Tp, _Alloc>& __x,
213 void _Slist_sort(slist<_Tp, _Alloc>& __that, _StrictWeakOrdering __comp);
215 #if !defined (slist)
220 class slist : protected _STLP_PRIV _Slist_base<_Tp,_Alloc>
221 #if defined (_STLP_USE_PARTIAL_SPEC_WORKAROUND) && !defined (slist)
[all …]
D_config_compat_post.h38 # define __slist__ slist
/external/libpcap/
Dgencode.h188 struct slist;
192 struct slist *jt; /*only for relative jump in block*/
193 struct slist *jf; /*only for relative jump in block*/
197 struct slist { struct
199 struct slist *next; argument
232 struct slist *stmts; /* side effect stmts */
256 struct slist *s; /* stmt list */
326 void sappend(struct slist *, struct slist *);
Dwlan_filtering.patch31 static struct slist *xfer_to_a(struct arth *);
49 +static struct slist *
53 + struct slist *s, *s_load_fc;
54 + struct slist *sjset_qos;
55 + struct slist *s_load;
56 + struct slist *s_ld_a_2;
57 + struct slist *s_add_a_x;
58 + struct slist *s_a_to_x;
59 + struct slist *sjset_data_frame_1;
60 + struct slist *sjset_data_frame_2;
[all …]
Doptimize.c102 static int eq_slist(struct slist *, struct slist *);
129 static inline struct slist *this_op(struct slist *);
137 static int slength(struct slist *);
452 struct slist *s;
679 static inline struct slist *
681 struct slist *s; in this_op()
702 struct slist *s;
703 struct slist *next, *last;
753 struct slist *add, *tax, *ild;
1169 register struct slist *s;
[all …]
Dgencode.c176 static inline struct slist *new_stmt(int);
192 static struct slist *gen_load_llrel(u_int, u_int);
193 static struct slist *gen_load_a(enum e_offrel, u_int, u_int);
194 static struct slist *gen_loadx_iphdrlen(void);
203 static struct slist *gen_llprefixlen(void);
246 static struct slist *xfer_to_x(struct arth *);
247 static struct slist *xfer_to_a(struct arth *);
328 static inline struct slist *
332 struct slist *p;
334 p = (struct slist *)newchunk(sizeof(*p));
[all …]
/external/stlport/test/unit/
Dslist_test.cpp71 slist<char> str(array+0, array + 6); in slist1()
72 slist<char>::iterator i; in slist1()
74 slist<char>::const_iterator ci(i); in slist1()
75 slist<char>::const_iterator ci2(ci); in slist1()
115 slist<char>::iterator sl_char_ite; in slist1()
116 slist<int>::iterator sl_int_ite; in slist1()
127 slist<int> sl(array, array + 5); in erase()
128 slist<int>::iterator slit; in erase()
158 slist<int> sl; in insert()
170 slist<int>::iterator slit(sl.begin()); in insert()
[all …]
Dmvctor_declaration_test.cpp137 struct __move_traits<slist<specially_allocated_struct> > {
248 CPPUNIT_ASSERT( is_movable(slist<char>()) ); in movable_declaration()
249 CPPUNIT_ASSERT( is_movable(slist<specially_allocated_struct>()) ); in movable_declaration()
251 CPPUNIT_ASSERT( is_move_complete(slist<char>()) ); in movable_declaration()
252 CPPUNIT_ASSERT( !is_move_complete(slist<specially_allocated_struct>()) ); in movable_declaration()
254 CPPUNIT_ASSERT( !is_move_complete(slist<char>()) ); in movable_declaration()
Dptrspec_test.cpp58 TEST_INSTANCIATE_CONTAINER(slist);
87 slist<void*> void_slist; in ptr_specialization_test()
112 slist<int*> pint_slist; in ptr_specialization_test()
113 slist<int*> pint_slist2; in ptr_specialization_test()
114 slist<int const*> pcint_slist; in ptr_specialization_test()
189 slist<int*> pint_slist_from_vect(pint_vect.begin(), pint_vect.end()); in ptr_specialization_test()
Dalg_test.cpp129 slist<int> slint(ints, ints + ARRAY_SIZE(ints)); in search_n_test()
130 slist<int>::iterator slit = search_n(slint.begin(), slint.end(), 2, 2); in search_n_test()
162 slist<int> slint(ints, ints + ARRAY_SIZE(ints)); in search_n_test()
163 slist<int>::iterator slit = search_n(slint.begin(), slint.end(), 2, 1, greater<int>()); in search_n_test()
218 slist<int> intsl; in find_first_of_test()
/external/stlport/test/eh/
Dtest_slist.cpp32 typedef EH_STD::slist<TestClass, eh_allocator(TestClass) > TestSList;
46 void operator()( TestSList& slist ) const { in operator ()()
47 slist.sort(); in operator ()()
48 for ( TestSList::iterator p = slist.begin(), q; p != slist.end(); q = p, p++ ) in operator ()()
49 if ( p != slist.begin() ) { in operator ()()
/external/stlport/stlport/stl/pointers/
D_slist.h29 #define SLIST_IMPL _STLP_PTR_IMPL_NAME(slist)
48 # define slist _STLP_NON_DBG_NAME(slist) macro
53 class slist
54 #if defined (_STLP_USE_PARTIAL_SPEC_WORKAROUND) && !defined (slist)
55 : public __stlport_class<slist<_Tp, _Alloc> >
63 typedef slist<_Tp, _Alloc> _Self;
87 explicit slist(const allocator_type& __a = allocator_type())
91 explicit slist(size_type __n, const value_type& __x = _STLP_DEFAULT_CONSTRUCTED(value_type),
93 slist(size_type __n, const value_type& __x,
99 explicit slist(size_type __n) : _M_impl(__n) {} in slist() function
[all …]
/external/bluetooth/glib/gobject/
Dgobjectnotifyqueue.c95 GSList *slist; in g_object_notify_queue_thaw() local
108 for (slist = nqueue->pspecs; slist; slist = slist->next) in g_object_notify_queue_thaw()
110 GParamSpec *pspec = slist->data; in g_object_notify_queue_thaw()
Dglib-genmarshal.c610 GSList *slist, *files = NULL; in main() local
658 for (slist = files; slist; slist = slist->next) in main()
660 gchar *file = slist->data; in main()
/external/bluetooth/glib/glib/
Dgslist.c42 #define _g_slist_free1(slist) g_slice_free (GSList, slist) argument
237 g_slist_insert_before (GSList *slist, in g_slist_insert_before() argument
241 if (!slist) in g_slist_insert_before()
243 slist = _g_slist_alloc (); in g_slist_insert_before()
244 slist->data = data; in g_slist_insert_before()
245 slist->next = NULL; in g_slist_insert_before()
246 g_return_val_if_fail (sibling == NULL, slist); in g_slist_insert_before()
247 return slist; in g_slist_insert_before()
253 for (node = slist; node; last = node, node = last->next) in g_slist_insert_before()
260 node->next = slist; in g_slist_insert_before()
[all …]
Dgslist.h66 GSList* g_slist_insert_before (GSList *slist,
105 #define g_slist_next(slist) ((slist) ? (((GSList *)(slist))->next) : NULL) argument
Dgtestutils.c1163 GSList *slist, *reversed; in g_test_run_suite_internal() local
1172 for (slist = reversed; slist; slist = slist->next) in g_test_run_suite_internal()
1174 GTestCase *tc = slist->data; in g_test_run_suite_internal()
1184 for (slist = reversed; slist; slist = slist->next) in g_test_run_suite_internal()
1186 GTestSuite *ts = slist->data; in g_test_run_suite_internal()
1969 GSList *slist = g_slist_last (tbuffer->msgs); in g_test_log_buffer_pop() local
1970 msg = slist->data; in g_test_log_buffer_pop()
1971 tbuffer->msgs = g_slist_delete_link (tbuffer->msgs, slist); in g_test_log_buffer_pop()
Dgthread.c952 GSList *slist = NULL; in g_thread_foreach() local
958 slist = g_slist_prepend (slist, thread); in g_thread_foreach()
961 while (slist) in g_thread_foreach()
963 GSList *node = slist; in g_thread_foreach()
964 slist = node->next; in g_thread_foreach()
/external/stlport/stlport/stl/debug/
D_slist.h34 #define _STLP_NON_DBG_SLIST _STLP_PRIV _STLP_NON_DBG_NAME(slist) <_Tp, _Alloc>
73 class slist :
79 , public __stlport_class<slist<_Tp, _Alloc> >
84 typedef slist<_Tp,_Alloc> _Self;
107 explicit slist(const allocator_type& __a = allocator_type())
111 explicit slist(size_type __n, const value_type& __x = _Tp(),
113 slist(size_type __n, const value_type& __x,
119 explicit slist(size_type __n) : _M_non_dbg_impl(__n) , _M_iter_list(&_M_non_dbg_impl) {} in slist() function
123 slist(__move_source<_Self> src) in slist() function
138 slist(_InputIterator __first, _InputIterator __last, in slist() function
[all …]
/external/stlport/stlport/
Dslist28 /* Comment following if you want to use the slist constainer even if you ask for
31 # error The slist class is an STLport extension.
42 //# include _STLP_NATIVE_HEADER(slist)
/external/stlport/etc/
Dautoexp.dat365 ; stlport::slist
367 stlp_std::slist<*,*>|stlpx_std::slist<*,*>|stlpmtx_std::slist<*,*>|stlpxmtx_std::slist<*,*>|stlpd_s…
410 stlpd_std::slist<*,*>|stlpdx_std::slist<*,*>|stlpdmtx_std::slist<*,*>|stlpdxmtx_std::slist<*,*>{
419 [slist] : $c._M_non_dbg_impl
Dstd_headers.txt25 slist

123