Home
last modified time | relevance | path

Searched refs:tail (Results 1 – 7 of 7) sorted by relevance

/bionic/libc/kernel/common/linux/
Dcirc_buf.h25 int tail; member
27 #define CIRC_CNT(head,tail,size) (((head) - (tail)) & ((size)-1)) argument
29 #define CIRC_SPACE(head,tail,size) CIRC_CNT((tail),((head)+1),(size)) argument
30 #define CIRC_CNT_TO_END(head,tail,size) ({int end = (size) - (tail); int n = ((head) + end) & (… argument
31 #define CIRC_SPACE_TO_END(head,tail,size) ({int end = (size) - 1 - (head); int n = (end + (tail argument
Dskbuff.h162 *tail, member
/bionic/libc/private/isc/
Dlist.h24 #define LIST(type) struct { type *head, *tail; }
26 do { (list).head = NULL; (list).tail = NULL; } while (/*CONSTCOND*/0)
39 #define TAIL(list) ((list).tail)
48 (list).tail = (elt); \
57 if ((list).tail != NULL) \
58 (list).tail->link.next = (elt); \
61 (elt)->link.prev = (list).tail; \
63 (list).tail = (elt); \
72 (list).tail = (elt)->link.prev; \
/bionic/libc/bionic/
Dmalloc_debug_check.cpp116 static hdr_t *tail; variable
186 static inline void add_locked(hdr_t *hdr, hdr_t **tail, hdr_t **head) { in add_locked() argument
192 *tail = hdr; in add_locked()
196 static inline int del_locked(hdr_t *hdr, hdr_t **tail, hdr_t **head) { in del_locked() argument
205 *tail = hdr->prev; in del_locked()
217 add_locked(hdr, &tail, &head); in add()
226 del_locked(hdr, &tail, &head); in del()
308 hdr_t **tail, hdr_t **head, unsigned *cnt, in del_and_check_locked() argument
313 del_locked(hdr, tail, head); in del_and_check_locked()
333 return del_and_check_locked(hdr, &tail, &head, &num, safe); in del_leak()
Dfts.c547 FTSENT *cur, *tail; in fts_build() local
648 for (head = tail = NULL, nitems = 0; dirp && (dp = readdir(dirp));) { in fts_build()
734 head = tail = p; in fts_build()
736 tail->fts_link = p; in fts_build()
737 tail = p; in fts_build()
/bionic/libc/kernel/common/linux/netfilter/
Dnfnetlink.h71 #define NFA_NEST(skb, type) ({ struct nfattr *__start = (struct nfattr *) (skb)->tail; NFA_PUT(s…
72 #define NFA_NEST_END(skb, start) ({ (start)->nfa_len = ((skb)->tail - (unsigned char *) (start)); …
/bionic/libc/upstream-netbsd/libc/regex/
Dengine.c366 const char *tail; /* string unmatched by rest of RE */ in dissect() local
426 tail = slow(m, rest, stop, es, stopst); in dissect()
427 if (tail == stop) in dissect()
455 tail = slow(m, rest, stop, es, stopst); in dissect()
456 if (tail == stop) in dissect()
496 tail = slow(m, rest, stop, es, stopst); in dissect()
497 if (tail == stop) in dissect()