Searched refs:tail (Results 1 - 25 of 411) sorted by relevance

1234567891011>>

/freebsd-10-stable/contrib/ncurses/ncurses/
H A Dfifo_defs.h44 #define tail sp->_fifotail macro
48 #define h_inc() { head == FIFO_SIZE-1 ? head = 0 : head++; if (head == tail) head = -1, tail = 0;}
49 #define h_dec() { head == 0 ? head = FIFO_SIZE-1 : head--; if (head == tail) tail = -1;}
50 #define t_inc() { tail == FIFO_SIZE-1 ? tail = 0 : tail++; if (tail == head) tail
[all...]
/freebsd-10-stable/usr.bin/find/
H A Doperator.c80 PLAN *tail; /* pointer to tail of subplan */ local
94 for (tail = subplan = NULL;;) {
112 tail = subplan = next;
114 tail->next = next;
115 tail = next;
117 tail->next = NULL;
131 PLAN *tail; /* pointer to tail of result plan */ local
134 result = tail
169 PLAN *tail; /* pointer to tail of result plan */ local
231 PLAN *tail; /* pointer to tail of result plan */ local
[all...]
H A Dfind.c79 PLAN *plan, *tail, *new; local
97 for (plan = tail = NULL; *argv;) {
101 tail = plan = new;
103 tail->next = new;
104 tail = new;
120 tail = plan = new;
128 tail->next = new;
129 tail = new;
132 tail->next = new;
133 tail
[all...]
/freebsd-10-stable/contrib/com_err/
H A Dcompile_et.h58 struct error_code *next, **tail; member in struct:error_code
67 (L)->tail = &(V)->next; \
70 *(L)->tail = (V); \
71 (L)->tail = &(V)->next; \
/freebsd-10-stable/crypto/heimdal/lib/com_err/
H A Dcompile_et.h61 struct error_code *next, **tail; member in struct:error_code
70 (L)->tail = &(V)->next; \
73 *(L)->tail = (V); \
74 (L)->tail = &(V)->next; \
/freebsd-10-stable/sys/dev/cxgb/sys/
H A Dmbufq.h37 struct mbuf *tail; member in struct:mbuf_head
46 l->head = l->tail = NULL;
81 l->tail->m_nextpkt = m;
82 l->tail = m;
93 if (m == l->tail)
94 l->head = l->tail = NULL;
114 if (a->tail)
115 a->tail->m_nextpkt = b->head;
116 if (b->tail)
117 a->tail
[all...]
/freebsd-10-stable/sys/dev/xen/netfront/
H A Dmbufq.h37 struct mbuf *tail; member in struct:mbuf_head
46 l->head = l->tail = NULL;
81 l->tail->m_nextpkt = m;
82 l->tail = m;
93 if (m == l->tail)
94 l->head = l->tail = NULL;
114 if (a->tail)
115 a->tail->m_nextpkt = b->head;
116 if (b->tail)
117 a->tail
[all...]
/freebsd-10-stable/tests/sys/pjdfstest/tests/
H A Dconf13 mountpoint=$(df . | tail -1 | awk '{print $6}')
/freebsd-10-stable/tools/tools/track/
H A Dtrack.sh31 tail -10000 -F "$@" |
/freebsd-10-stable/usr.bin/tail/
H A DMakefile1 # $FreeBSD: stable/10/usr.bin/tail/Makefile 314425 2017-02-28 22:18:05Z asomers $
6 PROG= tail
7 SRCS= forward.c misc.c read.c reverse.c tail.c
/freebsd-10-stable/contrib/jemalloc/include/jemalloc/internal/
H A Dhash.h111 /* tail */
113 const uint8_t *tail = (const uint8_t *) (data + nblocks*4); local
118 case 3: k1 ^= tail[2] << 16;
119 case 2: k1 ^= tail[1] << 8;
120 case 1: k1 ^= tail[0]; k1 *= c1; k1 = hash_rotl_32(k1, 15);
183 /* tail */
185 const uint8_t *tail = (const uint8_t *) (data + nblocks*16); local
192 case 15: k4 ^= tail[14] << 16;
193 case 14: k4 ^= tail[13] << 8;
194 case 13: k4 ^= tail[1
271 const uint8_t *tail = (const uint8_t*)(data + nblocks*16); local
[all...]
/freebsd-10-stable/usr.bin/tail/tests/
H A Dtail_test.sh25 # $FreeBSD: stable/10/usr.bin/tail/tests/tail_test.sh 332610 2018-04-16 16:42:16Z asomers $
35 tail -r infile > outfile
36 tail -r < infile > outpipe
58 tail -r infile > outfile
59 tail -r < infile > outpipe
80 tail -rn2 infile > outfile
81 tail -rn2 < infile > outpipe
101 printf '\n1\n2\n3\n' | tail -r > outfile
102 printf '\n1\n2\n3\n' | tail -r > outpipe
123 tail
[all...]
/freebsd-10-stable/contrib/gcc/
H A Dtree-iterator.c70 struct tree_statement_list_node *head, *tail, *cur; local
78 tail = STATEMENT_LIST_TAIL (t);
85 if (!head || !tail)
87 gcc_assert (head == tail);
97 tail = head;
112 tail->next = cur;
113 cur->prev = tail;
122 STATEMENT_LIST_TAIL (i->container) = tail;
134 i->ptr = tail;
146 struct tree_statement_list_node *head, *tail, *cu local
[all...]
H A Dsched-ebb.c357 add_deps_for_risky_insns (rtx head, rtx tail)
362 rtx next_tail = NEXT_INSN (tail);
440 schedule_ebb (rtx head, rtx tail)
446 last_bb = BLOCK_FOR_INSN (tail);
448 if (no_real_insns_p (head, tail))
449 return BLOCK_FOR_INSN (tail);
451 gcc_assert (INSN_P (head) && INSN_P (tail));
459 sched_analyze (&tmp_deps, head, tail);
463 compute_forward_dependences (head, tail);
465 add_deps_for_risky_insns (head, tail);
354 add_deps_for_risky_insns(rtx head, rtx tail) argument
437 schedule_ebb(rtx head, rtx tail) argument
545 rtx tail; local
[all...]
/freebsd-10-stable/contrib/ncurses/ncurses/base/
H A Dlib_ungetch.c53 T(("head = %d, tail = %d, peek = %d", head, tail, peek));
64 if (tail != -1) {
68 peek = tail; /* no raw keys */
/freebsd-10-stable/sys/dev/netmap/
H A Dnetmap_mbq.c46 q->head = q->tail = NULL;
67 if (q->tail) {
68 q->tail->m_nextpkt = m;
69 q->tail = m;
71 q->head = q->tail = m;
99 q->tail = NULL;
/freebsd-10-stable/contrib/ntp/lib/isc/include/isc/
H A Dqueue.h21 * There are built-in mutex locks for the head and tail of the queue,
47 type *head, *tail; \
56 (queue).tail = (void *) &((queue).headnode); \
60 #define ISC_QUEUE_EMPTY(queue) ISC_TF((queue).head == (queue).tail)
74 (queue).tail->link.next = elt; \
75 (queue).tail = elt; \
91 (queue).tail = (queue).head; \
H A Dlist.h31 #define ISC_LIST(type) struct { type *head, *tail; }
33 do { (list).head = NULL; (list).tail = NULL; } while (0)
46 #define ISC_LIST_TAIL(list) ((list).tail)
54 (list).tail = (elt); \
71 if ((list).tail != NULL) \
72 (list).tail->link.next = (elt); \
75 (elt)->link.prev = (list).tail; \
77 (list).tail = (elt); \
94 ISC_INSIST((list).tail == (elt)); \
95 (list).tail
[all...]
/freebsd-10-stable/contrib/ncurses/man/
H A DMKterminfo.sh34 # This script takes terminfo.head and terminfo.tail and splices in between
54 tail=$3
58 .\" It is generated from terminfo.head, Caps, and terminfo.tail.
108 cat $tail
/freebsd-10-stable/lib/libc/include/isc/
H A Dlist.h29 #define LIST(type) struct { type *head, *tail; }
31 do { (list).head = NULL; (list).tail = NULL; } while (0)
45 #define TAIL(list) ((list).tail)
54 (list).tail = (elt); \
63 if ((list).tail != NULL) \
64 (list).tail->link.next = (elt); \
67 (elt)->link.prev = (list).tail; \
69 (list).tail = (elt); \
78 INSIST((list).tail == (elt)); \
79 (list).tail
[all...]
/freebsd-10-stable/contrib/gdb/gdb/gdbserver/
H A Dinferiors.c46 if (list->tail != NULL)
47 list->tail->next = new_inferior;
50 list->tail = new_inferior;
71 if (list->head != list->tail)
86 if (list->tail == entry)
87 list->tail = list->head;
100 if (list->tail == entry)
101 list->tail = *cur;
143 all_threads.head = all_threads.tail = NULL;
/freebsd-10-stable/sys/ia64/ia64/
H A Dxtrace.c160 uint64_t head, tail; local
164 tail = PCPU_GET(md.xtrace_tail);
165 if (head == 0 || tail == 0) {
169 while (head != tail) {
170 rec = (void *)(uintptr_t)tail;
175 tail += sizeof(*rec);
176 tail &= ia64_xtrace_mask;
178 PCPU_SET(md.xtrace_tail, tail);
/freebsd-10-stable/sys/netgraph/bluetooth/include/
H A Dng_bluetooth.h67 struct mbuf *tail; /* last item in the queue */ member in struct:ng_bt_mbufq
78 (q)->tail = NULL; \
101 if ((q)->tail == NULL) \
104 (q)->tail->m_nextpkt = (i); \
106 (q)->tail = (i); \
116 (q)->tail = NULL; \
126 if ((q)->tail == NULL) \
127 (q)->tail = (i); \
/freebsd-10-stable/sys/pc98/cbus/
H A Dsctermvar.h37 int attr, int tail);
39 int attr, int tail);
47 static __inline void sc_term_down(scr_stat *scp, int n, int tail);
51 int attr, int head, int tail);
53 int attr, int head, int tail);
64 sc_term_ins_line(scr_stat *scp, int y, int n, int ch, int attr, int tail) argument
66 if (tail <= 0)
67 tail = scp->ysize;
70 if (n > tail - y)
71 n = tail
78 sc_term_del_line(scr_stat *scp, int y, int n, int ch, int attr, int tail) argument
151 sc_term_down(scr_stat *scp, int n, int tail) argument
180 sc_term_up_scroll(scr_stat *scp, int n, int ch, int attr, int head, int tail) argument
196 sc_term_down_scroll(scr_stat *scp, int n, int ch, int attr, int head, int tail) argument
[all...]
/freebsd-10-stable/usr.bin/lastcomm/tests/
H A Dlegacy_test.sh32 lastcomm -cesuS -f - <$DIR/v1-$ARCH-acct.in | tail -r | check 2 $DIR/v1-$ARCH.out
34 lastcomm -cesuS -f - <$DIR/v2-$ARCH-acct.in | tail -r | check 4 $DIR/v2-$ARCH.out
36 lastcomm -cesuS -f - <v1v2-$ARCH-acct.in | tail -r | check 6 v1v2-$ARCH.out

Completed in 497 milliseconds

1234567891011>>