Searched refs:int_node (Results 1 – 4 of 4) sorted by relevance
/external/linux-tools-perf/src/tools/perf/util/ |
D | intlist.c | 19 struct int_node *node = malloc(sizeof(*node)); in intlist__node_new() 29 static void int_node__delete(struct int_node *ilist) in int_node__delete() 37 struct int_node *node = container_of(rb_node, struct int_node, rb_node); in intlist__node_delete() 45 struct int_node *node = container_of(rb_node, struct int_node, rb_node); in intlist__node_cmp() 55 void intlist__remove(struct intlist *ilist, struct int_node *node) in intlist__remove() 60 struct int_node *intlist__find(struct intlist *ilist, int i) in intlist__find() 62 struct int_node *node; in intlist__find() 71 node = container_of(rb_node, struct int_node, rb_node); in intlist__find() 121 struct int_node *intlist__entry(const struct intlist *ilist, unsigned int idx) in intlist__entry() 123 struct int_node *node = NULL; in intlist__entry() [all …]
|
D | intlist.h | 9 struct int_node { struct 21 void intlist__remove(struct intlist *ilist, struct int_node *in); argument 24 struct int_node *intlist__entry(const struct intlist *ilist, unsigned int idx); 25 struct int_node *intlist__find(struct intlist *ilist, int i); 43 static inline struct int_node *intlist__first(struct intlist *ilist) in intlist__first() 46 return rn ? rb_entry(rn, struct int_node, rb_node) : NULL; in intlist__first() 48 static inline struct int_node *intlist__next(struct int_node *in) in intlist__next() 54 return rn ? rb_entry(rn, struct int_node, rb_node) : NULL; in intlist__next()
|
/external/selinux/libsepol/cil/src/ |
D | cil_build_ast.h | 215 int cil_fill_integer(struct cil_tree_node *int_node, uint32_t *integer); 216 int cil_fill_integer64(struct cil_tree_node *int_node, uint64_t *integer);
|
D | cil_build_ast.c | 5092 int cil_fill_integer(struct cil_tree_node *int_node, uint32_t *integer) in cil_fill_integer() argument 5098 if (int_node == NULL || integer == NULL) { in cil_fill_integer() 5103 val = strtol(int_node->data, &endptr, 10); in cil_fill_integer() 5104 if (errno != 0 || endptr == int_node->data || *endptr != '\0') { in cil_fill_integer() 5118 int cil_fill_integer64(struct cil_tree_node *int_node, uint64_t *integer) in cil_fill_integer64() argument 5124 if (int_node == NULL || integer == NULL) { in cil_fill_integer64() 5129 val = strtoull(int_node->data, &endptr, 10); in cil_fill_integer64() 5130 if (errno != 0 || endptr == int_node->data || *endptr != '\0') { in cil_fill_integer64()
|