/freebsd/contrib/processor-trace/libipt/src/ |
H A D | pt_retstack.c | 39 retstack->top = 0; in pt_retstack_init() 53 uint8_t top; in pt_retstack_pop() local 58 top = retstack->top; in pt_retstack_pop() 63 top = (!top ? pt_retstack_size : top - 1); in pt_retstack_pop() 65 retstack->top = top; in pt_retstack_pop() 75 uint8_t top, bottom; in pt_retstack_push() local 80 top = retstack->top; in pt_retstack_push() 83 retstack->stack[top] = ip; in pt_retstack_push() 85 top = (top == pt_retstack_size ? 0 : top + 1); in pt_retstack_push() 87 if (bottom == top) in pt_retstack_push() [all …]
|
/freebsd/crypto/openssl/crypto/bn/ |
H A D | bn_exp.c | 523 if (top > b->top) in MOD_EXP_CTIME_COPY_TO_PREBUF() 590 b->top = top; in MOD_EXP_CTIME_COPY_FROM_PREBUF() 635 top = m->top; in BN_mod_exp_mont_consttime() 760 tmp.top = am.top = 0; in BN_mod_exp_mont_consttime() 772 tmp.top = top; in BN_mod_exp_mont_consttime() 851 for (i = am.top; i < top; i++) in BN_mod_exp_mont_consttime() 853 for (i = tmp.top; i < top; i++) in BN_mod_exp_mont_consttime() 919 tmp.top = top; in BN_mod_exp_mont_consttime() 960 for (i = am.top; i < top; i++) in BN_mod_exp_mont_consttime() 962 for (i = tmp.top; i < top; i++) in BN_mod_exp_mont_consttime() [all …]
|
H A D | bn_shift.c | 26 r->top = a->top; in BN_lshift1() 40 r->top += c; in BN_lshift1() 57 i = a->top; in BN_rshift1() 65 r->top = i; in BN_rshift1() 69 r->top -= (t == 1); in BN_rshift1() 75 if (!r->top) in BN_rshift1() 120 if (a->top != 0) { in bn_lshift_fixed_top() 144 r->top = a->top + nw + 1; in bn_lshift_fixed_top() 175 int i, top, nw; in bn_rshift_fixed_top() local 197 top = a->top - nw; in bn_rshift_fixed_top() [all …]
|
H A D | bn_word.c | 44 for (i = a->top - 1; i >= 0; i--) { in BN_mod_word() 72 if (a->top == 0) in BN_div_word() 81 for (i = a->top - 1; i >= 0; i--) { in BN_div_word() 89 if ((a->top > 0) && (a->d[a->top - 1] == 0)) in BN_div_word() 90 a->top--; in BN_div_word() 92 if (!a->top) in BN_div_word() 124 if (w && i == a->top) { in BN_add_word() 127 a->top++; in BN_add_word() 176 a->top--; in BN_sub_word() 187 if (a->top) { in BN_mul_word() [all …]
|
H A D | bn_lib.c | 353 a->top = b->top; in BN_copy() 383 a->top = b->top; in BN_swap() 406 a->top = 0; in BN_clear() 624 i = a->top - b->top; in BN_ucmp() 670 if (a->top > b->top) in BN_cmp() 672 if (a->top < b->top) in BN_cmp() 840 t = (a->top ^ b->top) & condition; in BN_consttime_swap() 841 a->top ^= t; in BN_consttime_swap() 842 b->top ^= t; in BN_consttime_swap() 914 a->top = 0; in BN_zero_ex() [all …]
|
/freebsd/sys/contrib/openzfs/module/lua/ |
H A D | lapi.c | 101 if (res && ci->top < L->top + size) in lua_checkstack() 102 ci->top = L->top + size; /* adjust frame top */ in lua_checkstack() 117 setobj2s(to, to->top++, from->top + i); in lua_xmove() 184 L->top--; in lua_remove() 299 setobjs2s(L, L->top, L->top - 1); in lua_arith() 612 luaV_gettable(L, gt, L->top - 1, L->top - 1); in lua_getglobal() 621 luaV_gettable(L, t, L->top - 1, L->top - 1); in lua_gettable() 632 luaV_gettable(L, t, L->top - 1, L->top - 1); in lua_getfield() 739 luaV_settable(L, gt, L->top - 1, L->top - 2); in lua_setglobal() 750 luaV_settable(L, t, L->top - 2, L->top - 1); in lua_settable() [all …]
|
H A D | lvm.c | 296 StkId top = L->top; in luaV_concat() local 298 if (!(ttisstring(top-2) || ttisnumber(top-2)) || !tostring(L, top-1)) { in luaV_concat() 299 if (!call_binTM(L, top-2, top-1, top-2, TM_CONCAT)) in luaV_concat() 300 luaG_concaterror(L, top-2, top-1); in luaV_concat() 519 L->top = ci->top; /* restore top */ in luaV_finishOp() 524 L->top = ci->top; /* correct top */ in luaV_finishOp() 529 L->top = ci->top; /* adjust results */ in luaV_finishOp() 726 L->top = ci->top; /* restore top */ in luaV_execute() 807 oci->top = L->top = ofunc + (L->top - nfunc); /* correct top */ in luaV_execute() 824 if (b) L->top = ci->top; in luaV_execute() [all …]
|
H A D | lapi.h | 14 #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/contrib/libxo/tests/core/saved/ |
H A D | test_12.HIPx.out | 12 <div class="data color-fg-red" data-tag="name" data-xpath="/top/data/thing/name">thing</div> 16 <div class="data" data-tag="time" data-xpath="/top/data/thing[name = 'thing']/time">02:15</div> 24 <div class="data" data-tag="time" data-xpath="/top/data/thing[name = 'thing']/time">03:45</div> 28 <div class="data color-fg-red" data-tag="name" data-xpath="/top/data/thing/name">thing</div> 32 <div class="data" data-tag="time" data-xpath="/top/data/thing[name = 'thing']/time">02:15</div> 40 <div class="data" data-tag="time" data-xpath="/top/data/thing[name = 'thing']/time">03:45</div> 44 <div class="data color-fg-red" data-tag="name" data-xpath="/top/data/thing/name">thing</div> 60 <div class="data color-fg-red" data-tag="name" data-xpath="/top/data/thing/name">thing</div> 76 <div class="data color-fg-red" data-tag="name" data-xpath="/top/data/thing/name">thing</div> 92 <div class="data color-fg-red" data-tag="name" data-xpath="/top/data/thing/name">thing</div> [all …]
|
H A D | test_08.HIPx.out | 6 …<div class="data" data-tag="name" data-xpath="/top/data/contents/item/name" data-key="key">gum … 7 …<div class="data" data-tag="count" data-xpath="/top/data/contents/item[name = 'gum']/count"> … 10 …<div class="data" data-tag="name" data-xpath="/top/data/contents/item/name" data-key="key">rope … 11 …<div class="data" data-tag="count" data-xpath="/top/data/contents/item[name = 'rope']/count"> … 14 …<div class="data" data-tag="name" data-xpath="/top/data/contents/item/name" data-key="key">ladder … 18 …<div class="data" data-tag="name" data-xpath="/top/data/contents/item/name" data-key="key">bolt … 22 …<div class="data" data-tag="name" data-xpath="/top/data/contents/item/name" data-key="key">water … 34 …<div class="data" data-tag="name" data-xpath="/top/data2/contents/item/name" data-key="key">gum … 122 …<div class="data" data-tag="last" data-xpath="/top/data4/m1/contents/item[name = 'gum']/last">3</d… 156 …<div class="data" data-tag="last" data-xpath="/top/data4/m1/contents/item[name = 'rope']/last">3</… [all …]
|
H A D | test_02.HIPx.out | 2 <div class="data" data-tag="name" data-xpath="/top/data/name">em0 </div> 8 …<div class="data" data-tag="what" data-xpath="/top/data[name = 'em0 '][name = 'em0']/what">braces… 28 <div class="data" data-tag="fd" data-xpath="/top/data[name = 'em0 '][name = 'em0']/fd">-1</div> 32 …<div class="data" data-tag="test" data-xpath="/top/data[name = 'em0 '][name = 'em0']/test">good</… 36 <div class="data" data-tag="fd" data-xpath="/top/data[name = 'em0 '][name = 'em0']/fd">-1</div> 40 …<div class="data" data-tag="test" data-xpath="/top/data[name = 'em0 '][name = 'em0']/test">good</… 120 <div class="data" data-tag="ten" data-xpath="/top/data[name = 'em0 '][name = 'em0']/ten">10</div> 136 <div class="data" data-tag="min" data-xpath="/top/data[name = 'em0 '][name = 'em0']/min">15</div> 138 <div class="data" data-tag="cur" data-xpath="/top/data[name = 'em0 '][name = 'em0']/cur">20</div> 146 <div class="data" data-tag="min" data-xpath="/top/data[name = 'em0 '][name = 'em0']/min">15</div> [all …]
|
H A D | test_01.HIPx.out | 3 <div class="data" data-tag="type" data-xpath="/top-level/type">ethernet</div> 5 <div class="data" data-tag="type" data-xpath="/top-level/type">bridge</div> 7 <div class="data" data-tag="type" data-xpath="/top-level/type"> 18u</div> 9 <div class="data" data-tag="type" data-xpath="/top-level/type"> 24</div> 12 <div class="data" data-tag="address" data-xpath="/top-level/address">0x0</div> 14 <div class="data" data-tag="port" data-xpath="/top-level/port">1</div> 19 <div class="data" data-tag="address" data-xpath="/top-level/address">0x0</div> 21 <div class="data" data-tag="port" data-xpath="/top-level/port">1</div> 28 <div class="data" data-tag="port" data-xpath="/top-level/port">1</div> 37 <div class="data" data-tag="host" data-xpath="/top-level/host">my-box</div> [all …]
|
/freebsd/crypto/openssh/ |
H A D | bitmap.c | 49 ret->top = 0; in bitmap_new() 68 b->top = 0; in bitmap_zero() 74 if (b->top >= b->len) in bitmap_test_bit() 109 if (offset > b->top) in bitmap_set_bit() 110 b->top = offset; in bitmap_set_bit() 119 if (b->top >= b->len) in retop() 121 while (b->top > 0 && b->d[b->top] == 0) in retop() 122 b->top--; in retop() 133 if (offset > b->top) in bitmap_clear_bit() 147 if (b->top >= b->len) in bitmap_nbits() [all …]
|
/freebsd/contrib/libxo/tests/gettext/saved/ |
H A D | gt_01.HIPx.out | 3 <div class="data" data-tag="noun" data-xpath="/top/noun">ordsway</div> 7 <div class="data" data-tag="owner" data-xpath="/top/owner">ymay</div> 14 <div class="data" data-tag="noun" data-xpath="/top/noun">ordsway</div> 16 <div class="data" data-tag="owner" data-xpath="/top/owner">ymay</div> 23 <div class="data" data-tag="bytes" data-xpath="/top/bytes">0</div> 28 <div class="data" data-tag="bytes" data-xpath="/top/bytes">1</div> 33 <div class="data" data-tag="bytes" data-xpath="/top/bytes">2</div> 38 <div class="data" data-tag="bytes" data-xpath="/top/bytes">3</div> 43 <div class="data" data-tag="bytes" data-xpath="/top/bytes">4</div> 62 <div class="data" data-tag="time" data-xpath="/top/time">32</div> [all …]
|
/freebsd/lib/libc/gmon/ |
H A D | mcount.c | 195 top->selfpc = selfpc; in _MCOUNT_DECL() 196 top->count = 1; in _MCOUNT_DECL() 197 top->link = 0; in _MCOUNT_DECL() 200 top = &p->tos[toindex]; in _MCOUNT_DECL() 205 top->count++; in _MCOUNT_DECL() 215 if (top->link == 0) { in _MCOUNT_DECL() 227 top->selfpc = selfpc; in _MCOUNT_DECL() 228 top->count = 1; in _MCOUNT_DECL() 236 prevtop = top; in _MCOUNT_DECL() 237 top = &p->tos[top->link]; in _MCOUNT_DECL() [all …]
|
/freebsd/tools/test/stress2/misc/ |
H A D | beneath.sh | 37 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/a/c 89 ./beneath $top/a/d [all …]
|
H A D | beneath4.sh | 104 top=$dir/a 121 $dir/beneath4 $top a 0x2000 0 || s=1 122 $dir/beneath4 $top b 0x2000 2 || s=1 123 $dir/beneath4 $top c 0x2000 0 || s=1 124 $dir/beneath4 $top d 0x2000 93 || s=1 125 $dir/beneath4 $top e 0x2000 93 || s=1 126 $dir/beneath4 $top fifo 0x2000 0 || s=1 127 $dir/beneath4 $top $top/../../beneath4.d/a/a 0x2000 93 || s=1 128 $dir/beneath4 $top $top/.. 0x2000 93 || s=1 129 $dir/beneath4 $top ../a 0x2000 93 || s=1 [all …]
|
/freebsd/contrib/lua/src/ |
H A D | lapi.c | 121 if (res && ci->top.p < L->top.p + n) in lua_checkstack() 122 ci->top.p = L->top.p + n; /* adjust frame top */ in lua_checkstack() 137 setobjs2s(to, to->top.p, from->top.p + i); in lua_xmove() 341 setobjs2s(L, L->top.p, L->top.p - 1); in lua_arith() 345 luaO_arith(L, op, s2v(L->top.p - 2), s2v(L->top.p - 1), L->top.p - 2); in lua_arith() 904 L->top.p -= n; in aux_rawset() 928 L->top.p--; in lua_rawseti() 967 L->top.p--; in lua_setmetatable() 987 L->top.p--; in lua_setiuservalue() 1000 || (L->ci->top.p - L->top.p >= (nr) - (na)), \ [all …]
|
H A D | ltm.c | 105 StkId func = L->top.p; in luaT_callTM() 110 L->top.p = func + 4; in luaT_callTM() 122 StkId func = L->top.p; in luaT_callTMres() 126 L->top.p += 3; in luaT_callTMres() 168 StkId top = L->top.p; in luaT_tryconcatTM() local 169 if (l_unlikely(!callbinTM(L, s2v(top - 2), s2v(top - 1), top - 2, in luaT_tryconcatTM() 171 luaG_concaterror(L, s2v(top - 2), s2v(top - 1)); in luaT_tryconcatTM() 204 return !l_isfalse(s2v(L->top.p)); in luaT_callorderTM() 246 setobjs2s(L, L->top.p++, ci->func.p); in luaT_adjustvarargs() 253 ci->top.p += actual + 1; in luaT_adjustvarargs() [all …]
|
/freebsd/sys/kern/ |
H A D | subr_smp.c | 696 top, top->cg_count, mp_ncpus); in smp_topo() 699 top, cpusetobj_strprint(cpusetbuf, &top->cg_mask), in smp_topo() 707 top = &top->cg_child[0]; in smp_topo() 711 return (top); in smp_topo() 744 return (top); in smp_topo_none() 791 top->cg_child = child = top + 1; in smp_topo_1level() 795 return (top); in smp_topo_1level() 825 return (top); in smp_topo_2level() 837 cg = top; in smp_topo_find() 1207 while (node != top && (node = node->parent) != top) in topo_next_node() [all …]
|
/freebsd/sys/crypto/aesni/ |
H A D | aesni_wrap.c | 112 struct blocks8 *top; in aesni_encrypt_ecb() local 123 top->blk[0] = tout[0]; in aesni_encrypt_ecb() 124 top->blk[1] = tout[1]; in aesni_encrypt_ecb() 125 top->blk[2] = tout[2]; in aesni_encrypt_ecb() 126 top->blk[3] = tout[3]; in aesni_encrypt_ecb() 127 top->blk[4] = tout[4]; in aesni_encrypt_ecb() 128 top->blk[5] = tout[5]; in aesni_encrypt_ecb() 152 struct blocks8 *top; in aesni_decrypt_ecb() local 214 struct blocks8 *top; in aesni_encrypt_icm() local 338 __m128i *top; in aesni_crypt_xts_block8() local [all …]
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/json/ |
H A D | tst.general.d.out | 172 sel |top| 176 sel |top.mid| 178 sel |top.centre| 180 sel |top.mid.legs| 184 sel |top.mid.array| 186 sel |top.number| 188 sel |top.array| 190 sel |top.array[0]| 192 sel |top.array[1]| 194 sel |top.array[2]| [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/msan/ |
H A D | msan_thread.cpp | 27 stack_.top = stack_.bottom + stack_size; in SetThreadStackAndTls() 48 CHECK(MEM_IS_APP(stack_.top - 1)); in Init() 84 return {stack_.bottom, stack_.top}; in GetStackBounds() 90 return {next_stack_.bottom, next_stack_.top}; in GetStackBounds() 91 return {stack_.bottom, stack_.top}; in GetStackBounds() 94 uptr MsanThread::stack_top() { return GetStackBounds().top; } in stack_top() 100 return addr >= bounds.bottom && addr < bounds.top; in AddrIsInStack() 106 next_stack_.top = bottom + size; in StartSwitchFiber() 115 *size_old = stack_.top - stack_.bottom; in FinishSwitchFiber() 117 stack_.top = next_stack_.top; in FinishSwitchFiber() [all …]
|
/freebsd/contrib/libxo/tests/xo/ |
H A D | xo_02.sh | 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/data 44 ${XOP} --top-wrap --close top/data
|
/freebsd/contrib/libcbor/src/cbor/internal/ |
H A D | builder_callbacks.c | 32 switch (ctx->stack->top->item->type) { in _cbor_builder_append() 41 CBOR_ASSERT(ctx->stack->top->subitems > 0); in _cbor_builder_append() 50 ctx->stack->top->subitems--; in _cbor_builder_append() 51 if (ctx->stack->top->subitems == 0) { in _cbor_builder_append() 69 if (ctx->stack->top->subitems % 2) { in _cbor_builder_append() 86 CBOR_ASSERT(ctx->stack->top->subitems > 0); in _cbor_builder_append() 87 ctx->stack->top->subitems--; in _cbor_builder_append() 88 if (ctx->stack->top->subitems == 0) { in _cbor_builder_append() 94 ctx->stack->top->subitems ^= in _cbor_builder_append() 100 CBOR_ASSERT(ctx->stack->top->subitems == 1); in _cbor_builder_append() [all …]
|