Searched defs:ilist (Results 1 - 3 of 3) sorted by relevance
/external/linux-tools-perf/src/tools/perf/util/ |
H A D | intlist.h | 19 void intlist__delete(struct intlist *ilist); 21 void intlist__remove(struct intlist *ilist, struct int_node *in); 22 int intlist__add(struct intlist *ilist, int i); 24 struct int_node *intlist__entry(const struct intlist *ilist, unsigned int idx); 25 struct int_node *intlist__find(struct intlist *ilist, int i); 27 static inline bool intlist__has_entry(struct intlist *ilist, int i) argument 29 return intlist__find(ilist, i) != NULL; 32 static inline bool intlist__empty(const struct intlist *ilist) argument 34 return rblist__empty(&ilist->rblist); 37 static inline unsigned int intlist__nr_entries(const struct intlist *ilist) argument 43 intlist__first(struct intlist *ilist) argument [all...] |
H A D | intlist.c | 29 static void int_node__delete(struct int_node *ilist) argument 31 free(ilist); 50 int intlist__add(struct intlist *ilist, int i) argument 52 return rblist__add_node(&ilist->rblist, (void *)((long)i)); 55 void intlist__remove(struct intlist *ilist, struct int_node *node) argument 57 rblist__remove_node(&ilist->rblist, &node->rb_node); 60 struct int_node *intlist__find(struct intlist *ilist, int i) argument 65 if (ilist == NULL) 69 rb_node = rblist__find(&ilist->rblist, (void *)((long)i)); 76 static int intlist__parse_list(struct intlist *ilist, cons argument 97 struct intlist *ilist = malloc(sizeof(*ilist)); local 115 intlist__delete(struct intlist *ilist) argument 121 intlist__entry(const struct intlist *ilist, unsigned int idx) argument [all...] |
/external/llvm/include/llvm/ADT/ |
H A D | ilist.h | 1 //==-- llvm/ADT/ilist.h - Intrusive Linked List Template ---------*- C++ -*-==// 19 // The ilist class itself, should be a plug in replacement for list, assuming 24 // The ilist class is implemented by allocating a 'tail' node when the list is 73 /// strategy. The sentinel is stored in the prev field of ilist's Head. 83 /// provideInitialHead - when constructing an ilist, provide a starting 215 assert(NodePtr && "--'d off the beginning of an ilist!"); 451 // an ilist (and potentially deleted) with iterators still pointing at it. 586 struct ilist : public iplist<NodeTy> { struct in namespace:llvm 590 ilist() {} function in struct:llvm::ilist 591 ilist(cons function in struct:llvm::ilist 594 explicit ilist(size_type count) { function in struct:llvm::ilist 597 ilist(size_type count, const NodeTy &val) { function in struct:llvm::ilist 600 template<class InIt> ilist(InIt first, InIt last) { function in struct:llvm::ilist [all...] |
Completed in 317 milliseconds