Searched refs:top (Results 1 - 25 of 489) sorted by relevance

1234567891011>>

/freebsd-current/contrib/processor-trace/libipt/src/
H A Dpt_retstack.c39 retstack->top = 0;
48 return (retstack->top == retstack->bottom ? 1 : 0);
53 uint8_t top; local
58 top = retstack->top;
60 if (top == retstack->bottom)
63 top = (!top ? pt_retstack_size : top - 1);
65 retstack->top
75 uint8_t top, bottom; local
[all...]
/freebsd-current/sys/contrib/openzfs/module/lua/
H A Dlapi.h14 #define api_incr_top(L) {L->top++; api_check(L, L->top <= L->ci->top, \
18 { if ((nres) == LUA_MULTRET && L->ci->top < L->top) L->ci->top = L->top; }
20 #define api_checknelems(L,n) api_check(L, (n) < (L->top - L->ci->func), \
/freebsd-current/contrib/ncurses/ncurses/base/
H A Dlib_scrreg.c47 wsetscrreg(WINDOW *win, int top, int bottom) argument
49 T((T_CALLED("wsetscrreg(%p,%d,%d)"), (void *) win, top, bottom));
52 top >= 0 && top <= win->_maxy &&
54 bottom > top) {
55 win->_regtop = (NCURSES_SIZE_T) top;
/freebsd-current/contrib/libcbor/src/cbor/internal/
H A Dstack.c11 return (struct _cbor_stack){.top = NULL, .size = 0};
15 struct _cbor_stack_record *top = stack->top; local
16 stack->top = stack->top->lower;
17 _cbor_free(top);
29 *new_top = (struct _cbor_stack_record){stack->top, item, subitems};
30 stack->top = new_top;
/freebsd-current/contrib/lua/src/
H A Dlapi.h15 /* Increments 'L->top.p', checking for stack overflows */
16 #define api_incr_top(L) {L->top.p++; \
17 api_check(L, L->top.p <= L->ci->top.p, \
24 ** increases its stack space ('L->ci->top.p').
27 { if ((nres) <= LUA_MULTRET && L->ci->top.p < L->top.p) \
28 L->ci->top.p = L->top.p; }
33 api_check(L, (n) < (L->top
[all...]
H A Dltm.c105 StkId func = L->top.p;
110 L->top.p = func + 4;
122 StkId func = L->top.p;
126 L->top.p += 3;
133 setobjs2s(L, res, --L->top.p); /* move result to its place */
168 StkId top = L->top.p; local
169 if (l_unlikely(!callbinTM(L, s2v(top - 2), s2v(top - 1), top
[all...]
/freebsd-current/tools/test/stress2/misc/
H A Dbeneath.sh37 top=/tmp/beneath.d
38 mkdir -p $top
39 cat > $top/beneath.c <<EOF
77 cc -o $top/beneath -Wall -Wextra $top/beneath.c || exit 1
78 rm $top/beneath.c
81 cd $top
84 ./beneath $top/a/b
85 touch $top/a/c
87 ./beneath $top/
[all...]
H A Dbeneath4.sh88 warn("cwd=%s, top=%s. flag=%0.6x. fstatf(%s) = %2d (expect %2d). %4s",
104 top=$dir/a
110 #$dir/beneath4 $top a 0x1000 0 || s=1
111 #$dir/beneath4 $top b 0x1000 2 || s=1
112 #$dir/beneath4 $top c 0x1000 0 || s=1
113 #$dir/beneath4 $top d 0x1000 0 || s=1
114 #$dir/beneath4 $top e 0x1000 2 || s=1
115 #$dir/beneath4 $top fifo 0x1000 0 || s=1
116 #$dir/beneath4 $top $top/
[all...]
H A Dzzbuildworld.sh43 top=$mntpoint
44 export MAKEOBJDIRPREFIX=$top/obj
45 export log=$top/buildworld.`date +%Y%m%dT%H%M`
/freebsd-current/usr.bin/top/
H A DMakefile4 PROG= top
5 SRCS= commands.c display.c machine.c screen.c top.c \
7 MAN= top.1
/freebsd-current/contrib/libxo/tests/xo/
H A Dxo_02.sh16 # This is testing --wrap, --open, --close, --top-wrap, etc, so
21 ${XOP} --top-wrap --open a/b/c "$@"
22 ${XOP} --top-wrap --close a/b/c --not-first "$@"
24 ${XOP} --top-wrap --wrap a/b/c "$@"
26 ${XOP} --top-wrap --open a/b/c "$@"
28 ${XOP} --top-wrap --close a/b/c --not-first "$@"
32 ${XOP} --top-wrap --wrap a/b/c "$@"
34 ${XOP} --top-wrap "test\n"
41 ${XOP} --top-wrap --open top/dat
[all...]
/freebsd-current/bin/pax/tests/
H A Dlegacy_test.pl24 my $top = getcwd . "/ustar-pathnames-1";
25 skip "Current path is too long", 6 if length $top > 92;
26 rmtree $top;
27 my $subdir = "x" . "x" x (92 - length $top);
28 my $work94 = "$top/$subdir";
54 (my $orig = $top) =~ s,1$,2,;
56 rename $top, $orig;
61 system "diff -ru $orig $top";
64 rmtree $top;
65 rename $orig, $top;
[all...]
/freebsd-current/crypto/openssl/crypto/bn/
H A Dbn_word.c44 for (i = a->top - 1; i >= 0; i--) {
72 if (a->top == 0)
81 for (i = a->top - 1; i >= 0; i--) {
89 if ((a->top > 0) && (a->d[a->top - 1] == 0))
90 a->top--;
92 if (!a->top)
120 for (i = 0; w != 0 && i < a->top; i++) {
124 if (w && i == a->top) {
125 if (bn_wexpand(a, a->top
[all...]
H A Dbn_shift.c24 if (bn_wexpand(r, a->top + 1) == NULL)
26 r->top = a->top;
28 if (bn_wexpand(r, a->top + 1) == NULL)
34 for (i = 0; i < a->top; i++) {
40 r->top += c;
57 i = a->top;
65 r->top = i;
69 r->top -= (t == 1);
75 if (!r->top)
175 int i, top, nw; local
[all...]
/freebsd-current/sys/dev/qat/qat_api/common/utils/
H A Dlac_lock_free_stack.h16 volatile pointer_t top; member in struct:__anon4286
41 old_top.atomic = stack->top.atomic;
48 } while (!__sync_bool_compare_and_swap(&stack->top.atomic,
62 old_top.atomic = stack->top.atomic;
66 } while (!__sync_bool_compare_and_swap(&stack->top.atomic,
79 top(lock_free_stack_t *stack) function
81 pointer_t old_top = stack->top;
/freebsd-current/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_diag_standalone.cpp21 uptr top = 0; local
23 GetThreadStackTopAndBottom(false, &top, &bottom);
25 Unwind(max_depth, pc, bp, context, top, bottom, fast);
/freebsd-current/contrib/netbsd-tests/usr.bin/xlint/lint1/
H A Dd_c99_recursive_init.c2 struct top { struct
/freebsd-current/stand/libsa/
H A Dsbrk.c39 setheap(void *base, void *top) argument
44 maxheap = (char *)top - (char *)heapbase;
/freebsd-current/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan_thread.cpp27 stack_.top = stack_.bottom + stack_size;
35 __msan_unpoison((void *)stack_.bottom, stack_.top - stack_.bottom);
48 CHECK(MEM_IS_APP(stack_.top - 1));
84 return {stack_.bottom, stack_.top};
87 // may be in process of overwriting stack_.top/bottom_. But in such case
89 if (cur_stack >= next_stack_.bottom && cur_stack < next_stack_.top)
90 return {next_stack_.bottom, next_stack_.top};
91 return {stack_.bottom, stack_.top};
94 uptr MsanThread::stack_top() { return GetStackBounds().top; }
100 return addr >= bounds.bottom && addr < bounds.top;
[all...]
/freebsd-current/crypto/openssh/
H A Dbitmap.c34 size_t top; /* index of top word allocated */ member in struct:bitmap
49 ret->top = 0;
68 b->top = 0;
74 if (b->top >= b->len)
76 if (b->len == 0 || (n / BITMAP_BITS) > b->top)
87 if (b->top >= b->len || n > BITMAP_MAX)
109 if (offset > b->top)
110 b->top = offset;
115 /* Resets b->top t
[all...]
/freebsd-current/contrib/elftoolchain/libelftc/
H A Dmake-toolchain-version14 top=""
32 echo " -t TOPDIR Set the top-of-tree directory [required]."
73 't') top="${OPTARG}" ;;
78 [ -n "${top}" ] || usage
81 cd ${top} || usage "ERROR: Cannot change directory to \"${top}\"."
/freebsd-current/lib/libc/gmon/
H A Dmcount.c69 struct tostruct *top, *prevtop; local
194 top = &p->tos[toindex];
195 top->selfpc = selfpc;
196 top->count = 1;
197 top->link = 0;
200 top = &p->tos[toindex];
201 if (top->selfpc == selfpc) {
205 top->count++;
210 * top points to what we are looking at,
211 * prevtop points to previous top
[all...]
/freebsd-current/crypto/openssl/crypto/err/
H A Derr_blocks.c26 err_clear(es, es->top, 0);
37 err_set_debug(es, es->top, file, line, func);
60 i = es->top;
113 err_clear_data(es, es->top, 0);
114 err_set_error(es, es->top, lib, reason);
116 err_set_data(es, es->top, buf, buf_size, flags);
/freebsd-current/contrib/libucl/src/
H A Ducl_emitter_streamline.c52 const ucl_object_t *top; member in struct:ucl_emitter_context_streamline
82 sctx->top = obj;
95 struct ucl_emitter_streamline_stack *st, *top; local
98 /* Check top object presence */
99 if (sctx->top == NULL) {
100 sctx->top = obj;
103 top = sctx->containers;
106 if (top != NULL && !top->is_array) {
/freebsd-current/tools/test/stress2/tools/
H A Dmonitor.sh33 -T top \
34 -e "sh -c \"ssh -t crashbox 'top -s 1';sleep 36000\""&

Completed in 161 milliseconds

1234567891011>>