/freebsd/tools/tools/netmap/ |
H A D | pkt_hash.h | 48 #define HTONS(n) (((((unsigned short)(n) & 0xFF)) << 8) | \ argument 49 (((unsigned short)(n) & 0xFF00) >> 8)) 50 #define NTOHS(n) (((((unsigned short)(n) & 0xFF)) << 8) | \ argument 51 (((unsigned short)(n) & 0xFF00) >> 8)) 53 #define HTONL(n) (((((unsigned long)(n) & 0xFF)) << 24) | \ argument 54 ((((unsigned long)(n) & 0xFF00)) << 8) | \ 55 ((((unsigned long)(n) & 0xFF0000)) >> 8) | \ 56 ((((unsigned long)(n) & 0xFF000000)) >> 24)) 58 #define NTOHL(n) (((((unsigned long)(n) & 0xFF)) << 24) | \ argument 59 ((((unsigned long)(n) & 0xFF00)) << 8) | \ [all …]
|
/freebsd/sys/amd64/vmm/io/ |
H A D | vhpet.c | 179 if (vhpet->isr & (1 << n)) { in vhpet_timer_clear_isr() 183 vhpet->isr &= ~(1 << n); in vhpet_timer_clear_isr() 246 vhpet->isr |= 1 << n; in vhpet_timer_interrupt() 256 KASSERT(vhpet->timer[n].comprate != 0, ("hpet t%d is not periodic", n)); in vhpet_adjust_compval() 280 int n; in vhpet_handler() local 289 n = arg->timer_num; in vhpet_handler() 331 "stopping timer", n); in vhpet_stop_timer() 355 callout_reset_sbt(&vhpet->timer[n].callout, vhpet->timer[n].callout_sbt, in vhpet_start_timer() 404 if (vhpet->isr & (1 << n)) in vhpet_timer_update_config() 449 n, old_pin)); in vhpet_timer_update_config() [all …]
|
/freebsd/contrib/processor-trace/libipt/src/ |
H A D | pt_config.c | 150 if (pt_filter_addr_ncfg() <= n) in pt_filter_addr_cfg() 163 if (pt_filter_addr_ncfg() <= n) in pt_filter_addr_a() 167 return addr[2 * n]; in pt_filter_addr_a() 177 if (pt_filter_addr_ncfg() <= n) in pt_filter_addr_b() 181 return addr[(2 * n) + 1]; in pt_filter_addr_b() 187 uint8_t n; in pt_filter_check_cfg_filter() local 192 for (n = 0; n < pt_filter_addr_ncfg(); ++n) { in pt_filter_check_cfg_filter() 200 addr_a = pt_filter_addr_a(filter, n); in pt_filter_check_cfg_filter() 211 for (n = 0; n < pt_filter_addr_ncfg(); ++n) { in pt_filter_check_cfg_filter() 225 uint8_t n; in pt_filter_check_cfg_stop() local [all …]
|
/freebsd/contrib/ntp/ntpsnmpd/ |
H A D | ntpsnmpd-opts.h | 96 #define DESC(n) (ntpsnmpdOptions.pOptDesc[INDEX_OPT_## n]) argument 98 #define HAVE_OPT(n) (! UNUSED_OPT(& DESC(n))) argument 100 #define OPT_ARG(n) (DESC(n).optArg.argString) argument 105 #define STATE_OPT(n) (DESC(n).fOptState & OPTST_SET_MASK) argument 107 #define COUNT_OPT(n) (DESC(n).optOccCt) argument 109 #define ISSEL_OPT(n) (SELECTED_OPT(&DESC(n))) argument 111 #define ISUNUSED_OPT(n) (UNUSED_OPT(& DESC(n))) argument 113 #define ENABLED_OPT(n) (! DISABLED_OPT(& DESC(n))) argument 116 #define STACKCT_OPT(n) (((tArgList*)(DESC(n).optCookie))->useCt) argument 119 #define STACKLST_OPT(n) (((tArgList*)(DESC(n).optCookie))->apzArgs) argument [all …]
|
/freebsd/contrib/ncurses/ncurses/base/ |
H A D | lib_addstr.c | 62 if (n < 0) in NCURSES_EXPORT() 63 n = INT_MAX; in NCURSES_EXPORT() 96 if (n < 0) { in waddchnstr() 98 n = 0; in waddchnstr() 100 n++; in waddchnstr() 104 if (n == 0) in waddchnstr() 144 n)); in wadd_wchnstr() 151 if (n < 0) { in wadd_wchnstr() 156 if (n == 0) in wadd_wchnstr() 234 if (n < 0) in waddnwstr() [all …]
|
/freebsd/contrib/mandoc/ |
H A D | mdoc_macro.c | 229 for ( ; n; n = n->parent) in mdoc_endparse() 379 n = n->parent; in rew_elem() 391 n = n->parent; in break_intermediate() 395 n = n->parent; in break_intermediate() 415 for (n = mdoc->last; n != NULL && n != target; n = n->parent) { in find_pending() 575 for (n = mdoc->last; n; n = n->parent) { in blk_exp_close() 589 for (n = mdoc->last; n; n = n->parent) { in blk_exp_close() 978 for (n = mdoc->last; n != NULL; n = n->parent) { in blk_full() 1310 for (n = body->child; n && n->next; n = n->next) in blk_part_imp() 1509 n = n->parent; in in_line_eoln() [all …]
|
H A D | man_macro.c | 98 n = man->last; in man_unscope() 108 n->line, n->pos, in man_unscope() 116 n = n->parent; in man_unscope() 120 n = n->parent; in man_unscope() 127 n->line, n->pos, "%s", in man_unscope() 138 man->last = n; in man_unscope() 139 n = n->parent; in man_unscope() 166 n = man->last; in rew_scope() 168 (n->tok == MAN_P || n->tok == MAN_PP || n->tok == MAN_LP)) in rew_scope() 175 n = n->parent; in rew_scope() [all …]
|
/freebsd/crypto/openssh/regress/unittests/bitmap/ |
H A D | tests.c | 35 int i, j, k, n; in tests() local 70 for (n = 0; n < NTESTS; n++) { in tests() 71 ASSERT_INT_EQ(BN_is_bit_set(bn, n), in tests() 72 bitmap_test_bit(b, n)); in tests() 89 for (n = len; n < (int)sizeof(bbuf); n++) in tests() 90 ASSERT_U8_EQ(bbuf[n], 0xfc); in tests() 102 for (n = 0; n < NTESTS; n++) { in tests() 104 bitmap_test_bit(b, n)); in tests() 110 for (n = 0; n < NTESTS; n++) { in tests() 126 for (n = 0; n < NTESTS; n++) { in tests() [all …]
|
/freebsd/sys/dev/ath/ath_hal/ar5210/ |
H A D | ar5210reg.h | 64 #define AR_EP_AIR(n) (AR_EP_AIR_BASE + (n)*4) argument 106 #define AR_KEYTABLE(n) (AR_KEYTABLE_0 + ((n)*32)) argument 281 #define AR_GPIOCR_IN(n) (0<<((n)*2)) /* input-only */ argument 282 #define AR_GPIOCR_OUT0(n) (1<<((n)*2)) /* output-only if GPIODO = 0 */ argument 284 #define AR_GPIOCR_OUT(n) (3<<((n)*2)) /* always output */ argument 285 #define AR_GPIOCR_ALL(n) (3<<((n)*2)) /* all bits for pin */ argument 400 #define AR_KEYTABLE_KEY0(n) (AR_KEYTABLE(n) + 0) /* key bit 0-31 */ argument 401 #define AR_KEYTABLE_KEY1(n) (AR_KEYTABLE(n) + 4) /* key bit 32-47 */ argument 402 #define AR_KEYTABLE_KEY2(n) (AR_KEYTABLE(n) + 8) /* key bit 48-79 */ argument 403 #define AR_KEYTABLE_KEY3(n) (AR_KEYTABLE(n) + 12) /* key bit 80-95 */ argument [all …]
|
/freebsd/tools/regression/sockets/unix_cmsg/ |
H A D | unix_cmsg.t | 9 n=0 38 n=$((n + 1)) 39 run ${n} stream "-z ${t2%% *}" STREAM "${t1} ${t2#* }" 51 n=$((n + 1)) 52 run ${n} stream "-z ${t2%% *}" STREAM "${t1} ${t2#* }" 56 n=$((n + 1)) 57 run ${n} stream "-z 0" STREAM "8 Check LOCAL_PEERCRED socket option" 72 n=$((n + 1)) 73 run ${n} dgram "-z ${t2%% *}" DGRAM "${t1} ${t2#* }" 84 n=$((n + 1)) [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/aarch64/ |
H A D | sme-libc-routines.c | 11 for (size_t i = 0; i < n; ++i) in __arm_sc_memcpy_fwd() 22 return __arm_sc_memcpy_fwd(dest, src, n); in __arm_sc_memcpy() 28 for (size_t i = 0; i < n; ++i) in __arm_sc_memset() 40 while (n > 0) { in __arm_sc_memcpy_rev() 41 --n; in __arm_sc_memcpy_rev() 42 destp[n] = srcp[n]; in __arm_sc_memcpy_rev() 57 if ((srcp > (destp + n)) || (destp > (srcp + n))) in __arm_sc_memmove() 58 return __arm_sc_memcpy_fwd(dest, src, n); in __arm_sc_memmove() 67 return __arm_sc_memcpy_fwd(dest, src, n); in __arm_sc_memmove() 75 return __arm_sc_memcpy_rev(dest, src, n); in __arm_sc_memmove() [all …]
|
/freebsd/contrib/tcsh/nls/spanish/ |
H A D | set7 | 3 1 \n\tTcsh cree que su terminal tiene las\n 4 2 \tsiguientes características:\n\n 5 3 \tTiene %d columnas y %d líneas\n 6 4 \t%s tecla `Alt'\n 9 7 \t%spuede usar tabuladores\n 11 9 \t%s márgenes automáticos\n 14 12 \t%s márgenes mágicos\n 18 16 ERROR: no se puede suprimir\r\n 19 17 DeleteChars: num es ridículo: %d\r\n 20 18 ERROR: no se puede insertar\r\n [all …]
|
/freebsd/crypto/openssl/crypto/modes/ |
H A D | cts128.c | 47 for (n = 0; n < residue; ++n) in CRYPTO_cts128_encrypt_block() 48 ivec[n] ^= in[n]; in CRYPTO_cts128_encrypt_block() 79 for (n = 0; n < residue; ++n) in CRYPTO_nistcts128_encrypt_block() 80 ivec[n] ^= in[n]; in CRYPTO_nistcts128_encrypt_block() 189 for (n = 0; n < 16; ++n) { in CRYPTO_cts128_decrypt_block() 191 out[n] = tmp.c[n] ^ ivec[n]; in CRYPTO_cts128_decrypt_block() 195 out[n] = tmp.c[n] ^ in[n]; in CRYPTO_cts128_decrypt_block() 236 for (n = 0; n < 16; ++n) { in CRYPTO_nistcts128_decrypt_block() 238 out[n] = tmp.c[n] ^ ivec[n]; in CRYPTO_nistcts128_decrypt_block() 239 ivec[n] = in[n + residue]; in CRYPTO_nistcts128_decrypt_block() [all …]
|
/freebsd/contrib/less/ |
H A D | search.c | 434 anchor->lookaside = n = n->prev; in hlist_find() 436 anchor->lookaside = n = n->next; in hlist_find() 453 n = n->left; in hlist_find() 462 n = n->right; in hlist_find() 527 n = n->next; in next_unfiltered() 550 n = n->prev; in prev_unfiltered() 846 n = n->parent->parent; in add_hilite() 858 if (n == n->parent->right && in add_hilite() 862 n = n->left; in add_hilite() 867 n = n->right; in add_hilite() [all …]
|
/freebsd/contrib/tcsh/nls/italian/ |
H A D | set7 | 3 1 \n\tLa tcsh ipotizza che il tuo terminale abbia\n 4 2 \tle seguenti caratteristiche:\n\n 5 3 \t%d colonne e %d linee\n 6 4 \t%s tasto meta\n 9 7 \t%s può usare i tabulatori\n 11 9 \t%s i margini automatici\n 14 12 \t%s i margini magici\n 18 16 ERRORE: non posso cancellare\r\n 20 18 ERRORE: non posso inserire\r\n 22 20 %s: Non riesco ad aprire /etc/termcap.\n [all …]
|
/freebsd/contrib/unbound/ipsecmod/ |
H A D | ipsecmod-whitelist.c | 59 struct name_tree_node* n; in whitelist_str_cfg() local 66 n = (struct name_tree_node*)calloc(1, sizeof(*n)); in whitelist_str_cfg() 67 if(!n) { in whitelist_str_cfg() 72 n->node.key = n; in whitelist_str_cfg() 73 n->name = nm; in whitelist_str_cfg() 74 n->len = len; in whitelist_str_cfg() 77 if(!name_tree_insert(whitelist, n, nm, len, n->labs, n->dclass)) { in whitelist_str_cfg() 79 free(n->name); in whitelist_str_cfg() 80 free(n); in whitelist_str_cfg() 113 if(n) { in whitelist_free() [all …]
|
/freebsd/contrib/tcsh/nls/german/ |
H A D | set7 | 3 1 \n\tTcsh meint, Ihr Endgerät hat die\n 4 2 \tfolgenden Eigenschaften:\n\n 5 3 \tEs hat %d Spalten und %d Zeilen\n 6 4 \tEs hat %s Meta-Taste\n 9 7 \tEs kann%s Tabulatoren benutzen\n 11 9 \tEs %s automatische Ränder\n 14 12 \tEs %s magische Ränder\n 18 16 FEHLER: kann nicht löschen\r\n 19 17 DeleteChars: num ist lächerlich: %d\r\n 20 18 FEHLER: kann nicht einfügen\r\n [all …]
|
/freebsd/contrib/tcsh/ |
H A D | ed.term.c | 760 s[C_SUSP] = n->t_suspc; in tty_getchar() 867 s[C_INTR] = n->t_intrc; in tty_getchar() 868 s[C_QUIT] = n->t_quitc; in tty_getchar() 870 s[C_STOP] = n->t_stopc; in tty_getchar() 871 s[C_EOF] = n->t_eofc; in tty_getchar() 872 s[C_BRK] = n->t_brkc; in tty_getchar() 993 n->tps_length = 0; in tty_setchar() 994 n->tps_lpos = 0; in tty_setchar() 998 n->tps_flag = 0; in tty_setchar() 1009 n->t_eofc = s[C_EOF]; in tty_setchar() [all …]
|
/freebsd/lib/libc/net/ |
H A D | gethostbydns.c | 140 int n; in gethostanswer() local 196 bp += n; in gethostanswer() 230 cp += n; in gethostanswer() 241 cp += n; in gethostanswer() 253 bp += n; in gethostanswer() 256 if (n > ep - bp || n >= MAXHOSTNAMELEN) { in gethostanswer() 262 bp += n; in gethostanswer() 278 if (n > ep - bp || n >= MAXHOSTNAMELEN) { in gethostanswer() 413 if (n > ep - bp || n >= MAXHOSTNAMELEN) in gethostanswer() 563 int n; in _dns_gethostbyaddr() local [all …]
|
/freebsd/sys/arm/ti/ |
H A D | ti_mbox.h | 36 #define TI_MBOX_MESSAGE(n) (0x40 + (n) * 0x4) argument 37 #define TI_MBOX_FIFOSTATUS(n) (0x80 + (n) * 0x4) argument 38 #define TI_MBOX_MSGSTATUS(n) (0xc0 + (n) * 0x4) argument 39 #define TI_MBOX_IRQSTATUS_RAW(n) (0x100 + (n) * 0x10) argument 40 #define TI_MBOX_IRQSTATUS_CLR(n) (0x104 + (n) * 0x10) argument 41 #define TI_MBOX_IRQENABLE_SET(n) (0x108 + (n) * 0x10) argument 42 #define TI_MBOX_IRQENABLE_CLR(n) (0x10c + (n) * 0x10) argument
|
/freebsd/lib/msun/src/ |
H A D | e_fmod.c | 70 n = -1022-ix; in fmod() 71 if(n<=31) { in fmod() 72 hx = (hx<<n)|(lx>>(32-n)); in fmod() 83 if(n<=31) { in fmod() 84 hy = (hy<<n)|(ly>>(32-n)); in fmod() 93 n = ix - iy; in fmod() 94 while(n--) { in fmod() 118 if(n<=20) { in fmod() 119 lx = (lx>>n)|((u_int32_t)hx<<(32-n)); in fmod() 120 hx >>= n; in fmod() [all …]
|
/freebsd/contrib/libucl/tests/basic/ |
H A D | load.res | 2 key1 = " 123\n 321\\n \n"; 5 321\n 10 321\n 12 key4 = "123\\n 321\\\\n"; 13 key5 = "123\n 321\\n"; 14 key6 = " 123\\n 321\\\\n \\n"; 15 key7 = "123\\n 321\\\\n";
|
/freebsd/sys/contrib/libsodium/test/default/ |
H A D | scalarmult_ed25519.c | 25 unsigned char *n, *p, *q, *q2; in main() local 33 if (crypto_scalarmult_ed25519_base(q, n) != 0) { in main() 37 if (crypto_scalarmult_ed25519(q2, n, p) != 0) { in main() 48 if (crypto_scalarmult_ed25519(q2, n, p) != -1) { in main() 52 n[0] = 1; in main() 53 if (crypto_scalarmult_ed25519_base(q, n) != 0) { in main() 56 if (crypto_scalarmult_ed25519(q2, n, p) != 0) { in main() 71 if (crypto_scalarmult_ed25519(q, n, p) != -1) { in main() 74 n[0] = 8; in main() 75 if (crypto_scalarmult_ed25519(q, n, p) != -1) { in main() [all …]
|
/freebsd/sys/contrib/openzfs/module/lua/ |
H A D | llimits.h | 214 #define lua_number2int(i,n) __asm {__asm fld n __asm fistp i} argument 215 #define lua_number2integer(i,n) lua_number2int(i, n) argument 240 #define luai_hashnum(i,n) \ argument 244 #define lua_number2int(i,n) lua_number2int32(i, n, int) argument 245 #define lua_number2unsigned(i,n) lua_number2int32(i, n, lua_Unsigned) argument 249 #define lua_number2integer(i,n) lua_number2int32(i, n, lua_Integer) argument 258 #define lua_number2int(i,n) ((i)=(int)(n)) argument 262 #define lua_number2integer(i,n) ((i)=(lua_Integer)(n)) argument 271 ((i)=(lua_Unsigned)((n) - floor((n)/SUPUNSIGNED)*SUPUNSIGNED)) 273 #define lua_number2unsigned(i,n) ((i)=(lua_Unsigned)(n)) argument [all …]
|
/freebsd/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_recvmmsg.c | 74 unsigned int mmsgcnt, n; in ATF_TC_BODY() local 91 for (off = 0, n = 0; n < mmsgcnt; n++) { in ATF_TC_BODY() 92 iov[n].iov_base = buf + off; in ATF_TC_BODY() 93 iov[n].iov_len = sizeof(DGRAM); in ATF_TC_BODY() 94 off += iov[n].iov_len; in ATF_TC_BODY() 95 mmsghdr[n].msg_hdr.msg_iov = &iov[n]; in ATF_TC_BODY() 107 n = NPKTS; in ATF_TC_BODY() 111 while (n > 0) { in ATF_TC_BODY() 127 n -= cnt; in ATF_TC_BODY() 136 for (n = 0; n < NPKTS; n++) { in ATF_TC_BODY() [all …]
|