Searched refs:slist (Results 1 - 25 of 37) sorted by relevance

12

/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dstrlist.h19 struct strlist *strlist__new(bool dupstr, const char *slist);
20 void strlist__delete(struct strlist *slist);
22 void strlist__remove(struct strlist *slist, struct str_node *sn);
23 int strlist__load(struct strlist *slist, const char *filename);
24 int strlist__add(struct strlist *slist, const char *str);
26 struct str_node *strlist__entry(const struct strlist *slist, unsigned int idx);
27 struct str_node *strlist__find(struct strlist *slist, const char *entry);
29 static inline bool strlist__has_entry(struct strlist *slist, const char *entry) argument
31 return strlist__find(slist, entry) != NULL;
34 static inline bool strlist__empty(const struct strlist *slist) argument
39 strlist__nr_entries(const struct strlist *slist) argument
45 strlist__first(struct strlist *slist) argument
[all...]
H A Dstrlist.c48 struct strlist *slist = container_of(rblist, struct strlist, rblist); local
51 str_node__delete(snode, slist->dupstr);
62 int strlist__add(struct strlist *slist, const char *new_entry) argument
64 return rblist__add_node(&slist->rblist, new_entry);
67 int strlist__load(struct strlist *slist, const char *filename) argument
83 err = strlist__add(slist, entry);
94 void strlist__remove(struct strlist *slist, struct str_node *snode) argument
96 rblist__remove_node(&slist->rblist, &snode->rb_node);
99 struct str_node *strlist__find(struct strlist *slist, const char *entry) argument
102 struct rb_node *rb_node = rblist__find(&slist
110 strlist__parse_list_entry(struct strlist *slist, const char *s) argument
118 strlist__parse_list(struct strlist *slist, const char *s) argument
137 struct strlist *slist = malloc(sizeof(*slist)); local
156 strlist__delete(struct strlist *slist) argument
162 strlist__entry(const struct strlist *slist, unsigned int idx) argument
[all...]
H A Dthread_map.c167 struct strlist *slist = strlist__new(false, pid_str); local
169 if (!slist)
172 strlist__for_each(pos, slist) {
204 strlist__delete(slist);
225 struct strlist *slist; local
237 slist = strlist__new(false, tid_str);
238 if (!slist)
241 strlist__for_each(pos, slist) {
H A Dintlist.c95 struct intlist *intlist__new(const char *slist) argument
105 if (slist && intlist__parse_list(ilist, slist))
H A Dintlist.h18 struct intlist *intlist__new(const char *slist);
/external/openfst/src/include/fst/
H A Dslist.h0 // slist.h
18 // Includes slist definition or defines in terms of STL list as a fallback.
27 #include <ext/slist>
31 using __gnu_cxx::slist;
43 template <typename T> class slist : public list<T> {
/external/stlport/stlport/stl/
H A 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) {
106 void slist<_Tp,_Alloc>::resize(size_type __len, const _Tp& __x) {
119 void slist<_T
215 # undef slist macro
[all...]
H A D_config_compat_post.h38 # define __slist__ slist
H A D_slist.h190 # define slist _STLP_PTR_IMPL_NAME(slist) macro
192 # define slist _STLP_NON_DBG_NAME(slist) macro
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<_T
220 class slist : protected _STLP_PRIV _Slist_base<_Tp,_Alloc> class in inherits:_STLP_PRIV_Slist_base,__stlport_class
280 explicit slist(const allocator_type& __a = allocator_type()) function in class:slist
289 explicit slist(size_type __n, const value_type& __x = _STLP_DEFAULT_CONSTRUCTED(_Tp), function in class:slist
307 slist(_InputIterator __first, _InputIterator __last, function in class:slist
314 slist(_InputIterator __first, _InputIterator __last) function in class:slist
319 slist(const_iterator __first, const_iterator __last, function in class:slist
323 slist(const value_type* __first, const value_type* __last, function in class:slist
329 slist(const _Self& __x) function in class:slist
334 slist(__move_source<_Self> src) function in class:slist
819 # undef slist macro
841 operator ==(const slist<_Tp,_Alloc>& _SL1, const slist<_Tp,_Alloc>& _SL2) argument
[all...]
/external/stlport/test/eh/
H A Dtest_slist.cpp21 # include <slist>
23 # include <slist.h>
32 typedef EH_STD::slist<TestClass, eh_allocator(TestClass) > TestSList;
44 gTestController.SetCurrentTestName("slist::sort()");
46 void operator()( TestSList& slist ) const {
47 slist.sort();
48 for ( TestSList::iterator p = slist.begin(), q; p != slist.end(); q = p, p++ )
49 if ( p != slist.begin() ) {
/external/lldb/test/lang/cpp/namespace/
H A DTestNamespace.py57 slist = ['(int) a = 12', 'anon_uint', 'a_uint', 'b_uint', 'y_uint']
59 slist = ['(int) a = 12',
67 substrs = slist)
/external/libpcap/
H A Dgencode.h207 struct slist;
211 struct slist *jt; /*only for relative jump in block*/
212 struct slist *jf; /*only for relative jump in block*/
216 struct slist { struct
218 struct slist *next;
251 struct slist *stmts; /* side effect stmts */
275 struct slist *s; /* stmt list */
352 void sappend(struct slist *, struct slist *);
H A Dgencode.c215 static inline struct slist *new_stmt(int);
231 static struct slist *gen_load_llrel(u_int, u_int);
232 static struct slist *gen_load_macplrel(u_int, u_int);
233 static struct slist *gen_load_a(enum e_offrel, u_int, u_int);
234 static struct slist *gen_loadx_iphdrlen(void);
241 static struct slist *gen_load_prism_llprefixlen(void);
242 static struct slist *gen_load_avs_llprefixlen(void);
243 static struct slist *gen_load_radiotap_llprefixlen(void);
244 static struct slist *gen_load_ppi_llprefixlen(void);
246 static struct slist *gen_llprefixle
[all...]
H A Doptimize.c419 struct slist *s;
637 static inline struct slist *
638 this_op(struct slist *s)
657 struct slist *s;
658 struct slist *next, *last;
708 struct slist *add, *tax, *ild;
1129 register struct slist *s;
1149 struct slist *s;
1624 struct slist *tmp, *s;
1730 eq_slist(struct slist *
[all...]
/external/stlport/test/unit/
H A Dslist_test.cpp7 # include <slist>
71 slist<char> str(array+0, array + 6);
72 slist<char>::iterator i;
74 slist<char>::const_iterator ci(i);
75 slist<char>::const_iterator ci2(ci);
115 slist<char>::iterator sl_char_ite;
116 slist<int>::iterator sl_int_ite;
127 slist<int> sl(array, array + 5);
128 slist<int>::iterator slit;
158 slist<in
[all...]
H A Dmvctor_declaration_test.cpp8 # include <slist>
63 # if defined (__DMC__) // slist<_Tp,_Alloc>::remove error
137 struct __move_traits<slist<specially_allocated_struct> > {
247 //slist:
248 CPPUNIT_ASSERT( is_movable(slist<char>()) );
249 CPPUNIT_ASSERT( is_movable(slist<specially_allocated_struct>()) );
251 CPPUNIT_ASSERT( is_move_complete(slist<char>()) );
252 CPPUNIT_ASSERT( !is_move_complete(slist<specially_allocated_struct>()) );
254 CPPUNIT_ASSERT( !is_move_complete(slist<char>()) );
H A Dptrspec_test.cpp4 # include <slist>
58 TEST_INSTANCIATE_CONTAINER(slist); variable
87 slist<void*> void_slist;
112 slist<int*> pint_slist;
113 slist<int*> pint_slist2;
114 slist<int const*> pcint_slist;
189 slist<int*> pint_slist_from_vect(pint_vect.begin(), pint_vect.end());
H A Dalg_test.cpp3 # include <slist>
129 slist<int> slint(ints, ints + ARRAY_SIZE(ints));
130 slist<int>::iterator slit = search_n(slint.begin(), slint.end(), 2, 2);
162 slist<int> slint(ints, ints + ARRAY_SIZE(ints));
163 slist<int>::iterator slit = search_n(slint.begin(), slint.end(), 2, 1, greater<int>());
218 slist<int> intsl;
/external/stlport/stlport/
H A 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/stlport/stl/pointers/
H A D_slist.h29 #define SLIST_IMPL _STLP_PTR_IMPL_NAME(slist)
48 # define slist _STLP_NON_DBG_NAME(slist) macro
53 class slist class in inherits:__stlport_class
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()) function in class:slist
91 explicit slist(size_type __n, const value_type& __x = _STLP_DEFAULT_CONSTRUCTED(value_type), function in class:slist
93 slist(size_typ
99 explicit slist(size_type __n) : _M_impl(__n) {} function in class:slist
106 slist(_InputIterator __first, _InputIterator __last, function in class:slist
118 slist(_InputIterator __first, _InputIterator __last) function in class:slist
126 slist(const_iterator __first, const_iterator __last, function in class:slist
130 slist(const value_type* __first, const value_type* __last, function in class:slist
136 slist(const _Self& __x) : _M_impl(__x._M_impl) {} function in class:slist
139 slist(__move_source<_Self> src) function in class:slist
411 # undef slist macro
[all...]
/external/stlport/stlport/stl/debug/
H A D_slist.h34 #define _STLP_NON_DBG_SLIST _STLP_PRIV _STLP_NON_DBG_NAME(slist) <_Tp, _Alloc>
53 * slist special debug traits version.
73 class slist : class in inherits:_STLP_PRIV__construct_checker,__stlport_class
79 , public __stlport_class<slist<_Tp, _Alloc> >
84 typedef slist<_Tp,_Alloc> _Self;
107 explicit slist(const allocator_type& __a = allocator_type()) function in class:slist
111 explicit slist(size_type __n, const value_type& __x = _Tp(), function in class:slist
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) {} function in class:slist
123 slist(__move_sourc function in class:slist
138 slist(_InputIterator __first, _InputIterator __last, function in class:slist
145 slist(_InputIterator __first, _InputIterator __last) function in class:slist
152 slist(const value_type* __first, const value_type* __last, function in class:slist
158 slist(const_iterator __first, const_iterator __last, function in class:slist
165 slist(const _Self& __x) : function in class:slist
[all...]
/external/stlport/src/
H A Ddll_main.cpp45 #include <slist>
177 template class _STLP_CLASS_DECLSPEC _STLP_PTR_IMPL_NAME(slist)<void*, allocator<void*> >;
/external/chromium_org/third_party/cld/base/
H A Dstl_decl_msvc.h24 #define slist list macro
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dpage_heap.cc355 Length PageHeap::ReleaseLastNormalSpan(SpanList* slist) { argument
356 Span* s = slist->normal.prev;
383 SpanList* slist = (release_index_ == kMaxPages) ? local
385 if (!DLL_IsEmpty(&slist->normal)) {
386 Length released_len = ReleaseLastNormalSpan(slist);
/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Dpage_heap.cc294 Length PageHeap::ReleaseLastNormalSpan(SpanList* slist) { argument
295 Span* s = slist->normal.prev;
322 SpanList* slist = (release_index_ == kMaxPages) ? local
324 if (!DLL_IsEmpty(&slist->normal)) {
325 Length released_len = ReleaseLastNormalSpan(slist);

Completed in 972 milliseconds

12