/freebsd/contrib/lua/src/ |
H A D | lundump.c | 50 #define loadVector(S,b,n) loadBlock(S,b,(n)*sizeof((b)[0])) argument 147 f->sizecode = n; in loadCode() 159 f->sizek = n; in loadConstants() 195 f->sizep = n; in loadProtos() 213 int i, n; in loadUpvalues() local 214 n = loadInt(S); in loadUpvalues() 228 int i, n; in loadDebug() local 229 n = loadInt(S); in loadDebug() 233 n = loadInt(S); in loadDebug() 240 n = loadInt(S); in loadDebug() [all …]
|
H A D | lmem.h | 31 #define luaM_testsize(n,e) \ argument 32 (sizeof(n) >= sizeof(size_t) && cast_sizet((n)) + 1 > MAX_SIZET/(e)) 34 #define luaM_checksize(L,n,e) \ argument 44 #define luaM_limitN(n,t) \ argument 45 ((cast_sizet(n) <= MAX_SIZET/sizeof(t)) ? (n) : \ 52 #define luaM_reallocvchar(L,b,on,n) \ argument 57 #define luaM_freearray(L, b, n) luaM_free_(L, (b), (n)*sizeof(*(b))) argument 60 #define luaM_newvector(L,n,t) cast(t*, luaM_malloc_(L, (n)*sizeof(t), 0)) argument 61 #define luaM_newvectorchecked(L,n,t) \ argument 62 (luaM_checksize(L,n,sizeof(t)), luaM_newvector(L,n,t)) [all …]
|
/freebsd/sys/sys/ |
H A D | bitset.h | 43 (__size_t)(n) : ((n) % _BITSET_BITS))) 50 ((p)->__bits[__bitset_word(_s, n)] &= ~__bitset_mask((_s), (n))) 58 ((p)->__bits[__bitset_word(_s, n)] |= __bitset_mask((_s), (n))) 74 (p)->__bits[__bitset_word(_s, n)] = __bitset_mask((_s), (n)); \ 206 &(p)->__bits[__bitset_word((_s), (n))], (n)) != 0) 210 &(p)->__bits[__bitset_word((_s), (n))], (n)) != 0) 327 #define BIT_CLR(_s, n, p) __BIT_CLR(_s, n, p) argument 342 #define BIT_ISSET(_s, n, p) __BIT_ISSET(_s, n, p) argument 349 #define BIT_SET(_s, n, p) __BIT_SET(_s, n, p) argument 350 #define BIT_SETOF(_s, n, p) __BIT_SETOF(_s, n, p) argument [all …]
|
/freebsd/contrib/ntp/ntpdc/ |
H A D | ntpdc-opts.h | 104 #define DESC(n) (ntpdcOptions.pOptDesc[INDEX_OPT_## n]) argument 106 #define HAVE_OPT(n) (! UNUSED_OPT(& DESC(n))) argument 108 #define OPT_ARG(n) (DESC(n).optArg.argString) argument 113 #define STATE_OPT(n) (DESC(n).fOptState & OPTST_SET_MASK) argument 115 #define COUNT_OPT(n) (DESC(n).optOccCt) argument 117 #define ISSEL_OPT(n) (SELECTED_OPT(&DESC(n))) argument 119 #define ISUNUSED_OPT(n) (UNUSED_OPT(& DESC(n))) argument 121 #define ENABLED_OPT(n) (! DISABLED_OPT(& DESC(n))) argument 124 #define STACKCT_OPT(n) (((tArgList*)(DESC(n).optCookie))->useCt) argument 127 #define STACKLST_OPT(n) (((tArgList*)(DESC(n).optCookie))->apzArgs) argument [all …]
|
/freebsd/usr.bin/dc/ |
H A D | bcode.c | 362 bn_check(BN_mul(n, n, a, ctx)); in scale_number() 364 bn_check(BN_div(n, NULL, n, a, ctx)); in scale_number() 410 scale_number(n->number, s - n->scale); in normalize() 411 n->scale = s; in normalize() 425 BN_set_negative(n->number, !BN_is_negative(n->number)); in negate() 580 push_number(n); in get_scale() 611 push_number(n); in get_obase() 638 push_number(n); in get_ibase() 668 push_number(n); in stackdepth() 703 return n->scale ? n->scale : 1; in count_digits() [all …]
|
H A D | mem.c | 32 struct number *n; in new_number() local 34 n = bmalloc(sizeof(*n)); in new_number() 35 n->scale = 0; in new_number() 36 n->number = BN_new(); in new_number() 39 return (n); in new_number() 46 BN_free(n->number); in free_number() 47 free(n); in free_number() 84 struct number *n; in dup_number() local 86 n = bmalloc(sizeof(*n)); in dup_number() 87 n->scale = a->scale; in dup_number() [all …]
|
/freebsd/contrib/ncurses/ncurses/trace/ |
H A D | lib_tracedmp.c | 53 int i, j, n, width; in NCURSES_EXPORT() local 57 n = 0; in NCURSES_EXPORT() 62 n = j; in NCURSES_EXPORT() 66 if (n > width) in NCURSES_EXPORT() 67 width = n; in NCURSES_EXPORT() 78 for (n = 0; n <= win->_maxy; ++n) { in NCURSES_EXPORT() 101 name, n, in NCURSES_EXPORT() 102 (long) win->_line[n].firstchar, in NCURSES_EXPORT() 103 (long) win->_line[n].lastchar, in NCURSES_EXPORT() 126 "widec", n, 8, " ", my_buffer); in NCURSES_EXPORT() [all …]
|
/freebsd/bin/sh/tests/builtins/ |
H A D | read4.0 | 2 printf '%s\n' '\a\ b c' | { read a b; printf '%s\n' "x${a}x${b}x"; } 3 printf '%s\n' '\a b\ c' | { read a b; printf '%s\n' "x${a}x${b}x"; } 4 printf '%s\n' '\a\:b:c' | { IFS=: read a b; printf '%s\n' "x${a}x${b}x"; } 5 printf '%s\n' '\a:b\:c' | { IFS=: read a b; printf '%s\n' "x${a}x${b}x"; } 6 printf '%s\n' '\\ a' | { read a b; printf '%s\n' "x${a}x${b}x"; } 7 printf '%s\n' '\\:a' | { IFS=: read a b; printf '%s\n' "x${a}x${b}x"; } 8 printf '%s\n' '\\\ a' | { read a b; printf '%s\n' "x${a}x${b}x"; } 9 printf '%s\n' '\\\:a' | { IFS=: read a b; printf '%s\n' "x${a}x${b}x"; }
|
/freebsd/lib/msun/src/ |
H A D | s_scalbln.c | 35 scalbln(double x, long n) in scalbln() argument 38 return (scalbn(x, (n > NMAX) ? NMAX : (n < NMIN) ? NMIN : (int)n)); in scalbln() 42 scalblnf(float x, long n) in scalblnf() argument 45 return (scalbnf(x, (n > NMAX) ? NMAX : (n < NMIN) ? NMIN : (int)n)); in scalblnf() 49 scalblnl(long double x, long n) in scalblnl() argument 52 return (scalbnl(x, (n > NMAX) ? NMAX : (n < NMIN) ? NMIN : (int)n)); in scalblnl()
|
/freebsd/contrib/ncurses/include/ |
H A D | term_entry.h | 70 #define for_each_boolean(n,tp) for(n = 0; n < NUM_BOOLEANS(tp); n++) argument 71 #define for_each_number(n,tp) for(n = 0; n < NUM_NUMBERS(tp); n++) argument 72 #define for_each_string(n,tp) for(n = 0; n < NUM_STRINGS(tp); n++) argument 75 #define for_each_ext_boolean(n,tp) for(n = BOOLCOUNT; (int) n < (int) NUM_BOOLEANS(tp); n++) argument 76 #define for_each_ext_number(n,tp) for(n = NUMCOUNT; (int) n < (int) NUM_NUMBERS(tp); n++) argument 77 #define for_each_ext_string(n,tp) for(n = STRCOUNT; (int) n < (int) NUM_STRINGS(tp); n++) argument
|
/freebsd/contrib/netbsd-tests/lib/libc/stdio/ |
H A D | t_fmemopen.c | 72 off_t n; member 583 rest = t->n - len; in ATF_TC_BODY() 805 buf1[t->n] = 0x1; in ATF_TC_BODY() 849 if (i < t->n) { in ATF_TC_BODY() 903 if (i < t->n) { in ATF_TC_BODY() 907 == t->n - len); in ATF_TC_BODY() 912 buf1[t->n] = 0x1; in ATF_TC_BODY() 957 buf[t->n] = 0x1; in ATF_TC_BODY() 1014 buf[t->n] = 0x1; in ATF_TC_BODY() 1018 ATF_CHECK(fwrite(t->s, 1, t->n, fp) == (size_t)t->n); in ATF_TC_BODY() [all …]
|
/freebsd/contrib/one-true-awk/testdir/ |
H A D | T.func | 18 { m=$1; n=i($2); assert(m>n) } 63 function f(n) { 64 if (n <= 1) 67 return n * f(n-1) 97 function ack(m,n) { 125 function fib(n) { 127 else return add(fib(n-1), fib(n-2)) 129 function add(m,n) { return m+n } 174 BEGIN { n = 0; f(); n = 2 }; END { print n}' >foo2 179 BEGIN { n = 10 [all …]
|
/freebsd/lib/libc/stdio/ |
H A D | printf-pos.c | 90 u_int n; in inittypes() local 96 for (n = 0; n < STATIC_ARG_TBL_SIZE; n++) in inittypes() 299 n = 0; in __find_arguments() 301 n = 10 * n + to_digit(ch); in __find_arguments() 310 types.nextarg = n; in __find_arguments() 492 n = 0; in __find_warguments() 494 n = 10 * n + to_digit(ch); in __find_warguments() 640 u_int n, newsize; in __grow_type_table() local 658 for (n = oldsize; n < newsize; n++) in __grow_type_table() 674 u_int n; in build_arg_table() local [all …]
|
/freebsd/contrib/ofed/libibmad/ |
H A D | dump.c | 201 n += snprintf(buf + n, bufsz - n, "1X or "); in dump_linkwidth() 203 n += snprintf(buf + n, bufsz - n, "4X or "); in dump_linkwidth() 205 n += snprintf(buf + n, bufsz - n, "8X or "); in dump_linkwidth() 207 n += snprintf(buf + n, bufsz - n, "12X or "); in dump_linkwidth() 209 n += snprintf(buf + n, bufsz - n, "2X or "); in dump_linkwidth() 281 n += snprintf(buf + n, bufsz - n, "2.5 Gbps or "); in dump_linkspeed() 283 n += snprintf(buf + n, bufsz - n, "5.0 Gbps or "); in dump_linkspeed() 285 n += snprintf(buf + n, bufsz - n, "10.0 Gbps or "); in dump_linkspeed() 719 n += snprintf(buf + n, bufsz - n, "%2u|", vl); in mad_dump_sltovl() 744 n += snprintf(buf + n, bufsz - n, "\nWEIGHT: |"); in mad_dump_vlarbitration() [all …]
|
/freebsd/contrib/ncurses/test/ |
H A D | dup_field.c | 84 unsigned n; in my_help_edit_field() local 88 for (n = 0; n < SIZEOF(commands); ++n) { in my_help_edit_field() 96 name = commands[n].help; in my_help_edit_field() 106 for (n = 0; msgs[n] != 0; ++n) { in my_help_edit_field() 107 free(msgs[n]); in my_help_edit_field() 215 unsigned n; in my_edit_field() local 231 for (n = 0; n < SIZEOF(commands); ++n) { in my_edit_field() 232 if (commands[n].code == ch) { in my_edit_field() 233 *result = commands[n].result; in my_edit_field() 301 unsigned n = 0; in demo_forms() local [all …]
|
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | zfs_uio.c | 64 while (n && uio->uio_resid) { in zfs_uiomove_iov() 123 n -= cnt; in zfs_uiomove_iov() 135 while (n && uio->uio_resid) { in zfs_uiomove_bvec_impl() 159 n -= cnt; in zfs_uiomove_bvec_impl() 241 n -= copy_from_seg; in zfs_uiomove_bvec_rq() 356 n -= cnt; in zfs_uio_prefaultpages() 410 if (n > uio->uio_resid) in zfs_uioskip() 420 uio->uio_skip += n; in zfs_uioskip() 432 uio->uio_skip += n; in zfs_uioskip() 440 uio->uio_loffset += n; in zfs_uioskip() [all …]
|
/freebsd/tools/test/stress2/misc/ |
H A D | syscall5.sh | 73 n=$syscall 75 while [ $n -gt 0 ]; do 77 ln -fs $n $last 83 ../tools/exclude_syscall.sh $n && 84 { n=$((n - 1)); continue; } 88 { n=$((n - 1)); continue; } 89 echo "`date '+%T'` syscall $n ($name)" 90 echo "`date '+%T'` syscall $n ($name)" >> $log 94 ./syscall4.sh $n || break 95 [ $n -le $esyscall ] && break [all …]
|
/freebsd/stand/forth/ |
H A D | menu-commands.4th | 46 drop ( n n c-addr -- n n ) \ unused 47 toggle_menuitem ( n n -- n n ) 64 toggle_menuitem ( n -- n ) 143 toggle_menuitem ( n -- n ) 183 toggle_menuitem ( n -- n ) 222 toggle_menuitem ( n -- n ) 271 2drop ( n k addr -- n ) 279 kernel_state @ ( n -- n k ) 280 init_cyclestate ( n k -- n ) 305 root_state @ ( n -- n k ) [all …]
|
/freebsd/sys/crypto/openssl/ |
H A D | ossl_sha512.c | 72 size_t n = c->num; in ossl_sha512_final() local 75 n++; in ossl_sha512_final() 77 memset(p + n, 0, sizeof(c->u) - n); in ossl_sha512_final() 78 n = 0; in ossl_sha512_final() 82 memset(p + n, 0, sizeof(c->u) - 16 - n); in ossl_sha512_final() 110 for (n = 0; n < SHA224_DIGEST_LENGTH / 8; n++) { in ossl_sha512_final() 136 for (n = 0; n < SHA256_DIGEST_LENGTH / 8; n++) { in ossl_sha512_final() 150 for (n = 0; n < SHA384_DIGEST_LENGTH / 8; n++) { in ossl_sha512_final() 164 for (n = 0; n < SHA512_DIGEST_LENGTH / 8; n++) { in ossl_sha512_final() 204 if (len < n) { in ossl_sha512_update() [all …]
|
/freebsd/contrib/tcsh/nls/et/ |
H A D | set22 | 4 2 \nKasutaja %s: vale parool\n 5 3 Vigane alias 'precmd' eemaldatud.\n 6 4 Vigane alias 'cwdcmd' eemaldatud.\n 7 5 Vigane alias 'beepcmd' eemaldatud.\n 8 6 Vigane alias 'periodic' eemaldatud.\n 9 7 töötlen käsurida\n 11 9 katkestan failide kustutamise!\n 12 10 käsurida on nüüd:\n 13 11 töötlen käsurida\n 14 12 ühes loenditest\n [all …]
|
/freebsd/sys/dev/syscons/fonts/ |
H A D | cursor.awk | 13 n = substr($3, 1, i - 1) 14 name[n] = $4 18 width[n] = substr($4, i + 1, j - i - 1) 19 height[n] = substr($4, j + 1, k - j - 1) 20 baspect[n] = $6 21 iaspect[n] = $8 24 n = substr($2, 5) 25 printf("static const struct mousedata %s = { {\n\t", name[n]) 40 width[n], height[n], baspect[n], iaspect[n], name[n])
|
/freebsd/sys/kern/ |
H A D | uipc_sockbuf.c | 171 m_copydata(n, 0, n->m_len, mtodo(m, m->m_len)); in sbready_compress() 310 n = n->m_next; in sbfree() 858 for (n = m; n != NULL; n = n->m_next) in sblastmbufchk() 914 n = n->m_nextpkt; in sbappend_locked() 920 } while (n->m_next && (n = n->m_next)); in sbappend_locked() 933 } while (n->m_next && (n = n->m_next)); in sbappend_locked() 982 for (n = m; n != NULL; n = n->m_next) { in sbappend_ktls_rx() 1248 for (n = m; n->m_next != NULL; n = n->m_next) in sbappendaddr_locked_internal() 1399 if (n && (n->m_flags & M_EOR) == 0 && in sbcompress() 1424 if (n) in sbcompress() [all …]
|
/freebsd/sys/dev/xilinx/ |
H A D | if_xaereg.h | 49 #define XAE_STATCNT(n) (0x00200 + 0x8 * (n)) /* Statistics Counters RO */ argument 91 #define XAE_FFV(n) (0x00710 + 0x4 * (n)) /* Frame Filter Value RW */ argument 92 #define XAE_FFMV(n) (0x00750 + 0x4 * (n)) /* Frame Filter Mask Value RW */ argument 93 #define XAE_TX_VLAN(n) (0x04000 + 0x4 * (n)) /* Transmit VLAN Data Table RW */ argument 94 #define XAE_RX_VLAN(n) (0x08000 + 0x4 * (n)) /* Receive VLAN Data Table RW */ argument 95 #define XAE_AVB(n) (0x10000 + 0x4 * (n)) /* Ethernet AVB RW */ argument 96 #define XAE_MAT(n) (0x20000 + 0x4 * (n)) /* Multicast Address Table RW */ argument
|
/freebsd/share/examples/ppp/ |
H A D | chap-auth | 46 proc mkhalfframe { n prompt } { 49 frame .$n; 51 .$n.prompt insert 1.0 $prompt; 52 pack .$n.prompt -side left; 56 proc mkframe { n prompt value entry } { 59 mkhalfframe $n $prompt; 61 .$n.value insert 1.0 $value; 62 pack .$n.value -side right; 66 bind .$n.value <Return> {done}; 68 .$n.value configure -state disabled; [all …]
|
/freebsd/contrib/tcsh/nls/ja/ |
H A D | set16 | 3 1 tty pgrp を %d から %dに再設定します\n 4 2 \nログアウトは"logout"を使用して下さい\n 5 3 \n%s終了は"exit"を使用して下さい\n 6 4 seek to eval %x %x\n 7 5 seek to alias %x %x\n 8 6 seek to file %x\n 9 7 間違った seek タイプです %d\n 10 8 tell eval %x %x\n 11 9 tell alias %x %x\n 12 10 tell file %x\n
|