/freebsd/lib/libbsdstat/ |
H A D | bsdstat.h | 92 static void _t##_setfmt(struct _t *wf, const char *fmt0) \ 94 static void _t##_collect_cur(struct _t *wf) \ 96 static void _t##_collect_tot(struct _t *wf) \ 98 static void _t##_update_tot(struct _t *wf) \ 100 static int _t##_get_curstat(struct _t *wf, int s, char b[], size_t bs) \ 102 static int _t##_get_totstat(struct _t *wf, int s, char b[], size_t bs) \ 104 static void _t##_print_header(struct _t *wf, FILE *fd) \ 106 static void _t##_print_current(struct _t *wf, FILE *fd) \ 108 static void _t##_print_total(struct _t *wf, FILE *fd) \ 110 static void _t##_print_verbose(struct _t *wf, FILE *fd) \ [all …]
|
/freebsd/contrib/libucl/tests/ |
H A D | basic.test | 6 _t=`echo $_tin | sed -e 's/.in$//'` 8 $PROG $_t.in $_out 10 echo "Test: $_t failed, output:" 15 if [ -f $_t.res ] ; then 25 $PROG -f $_t.in > /dev/null 27 $PROG -j $_t.in > /dev/null 28 $PROG -c -j $_t.in > /dev/null 30 $PROG -y $_t.in > /dev/null 32 $PROG -C $_t.in > /dev/null 34 $PROG -M $_t.in > /dev/null [all …]
|
H A D | run_tests.sh | 10 _t=`echo $_tin | sed -e 's/.in$//'` 11 $1 $_t.in $_t.out 13 echo "Test: $_t failed, output:" 14 cat $_t.out 15 rm $_t.out 18 if [ -f $_t.res ] ; then 19 diff -s $_t.out $_t.res -u 2>/dev/null 21 rm $_t.out 22 echo "Test: $_t output mismatch" 26 rm $_t.out
|
/freebsd/contrib/wpa/src/crypto/ |
H A D | fips_prf_internal.c | 20 u32 t[5], _t[5]; in fips186_2_prf() local 46 os_memcpy(_t, t, 20); in fips186_2_prf() 47 SHA1Transform(_t, xkey); in fips186_2_prf() 48 _t[0] = host_to_be32(_t[0]); in fips186_2_prf() 49 _t[1] = host_to_be32(_t[1]); in fips186_2_prf() 50 _t[2] = host_to_be32(_t[2]); in fips186_2_prf() 51 _t[3] = host_to_be32(_t[3]); in fips186_2_prf() 52 _t[4] = host_to_be32(_t[4]); in fips186_2_prf() 53 os_memcpy(xpos, _t, 20); in fips186_2_prf()
|
H A D | fips_prf_wolfssl.c | 39 u32 t[5], _t[5]; in fips186_2_prf() local 65 os_memcpy(_t, t, 20); in fips186_2_prf() 66 sha1_transform(_t, xkey); in fips186_2_prf() 67 WPA_PUT_BE32(xpos, _t[0]); in fips186_2_prf() 68 WPA_PUT_BE32(xpos + 4, _t[1]); in fips186_2_prf() 69 WPA_PUT_BE32(xpos + 8, _t[2]); in fips186_2_prf() 70 WPA_PUT_BE32(xpos + 12, _t[3]); in fips186_2_prf() 71 WPA_PUT_BE32(xpos + 16, _t[4]); in fips186_2_prf()
|
H A D | fips_prf_openssl.c | 51 u32 t[5], _t[5]; in fips186_2_prf() local 77 os_memcpy(_t, t, 20); in fips186_2_prf() 78 sha1_transform(_t, xkey); in fips186_2_prf() 79 WPA_PUT_BE32(xpos, _t[0]); in fips186_2_prf() 80 WPA_PUT_BE32(xpos + 4, _t[1]); in fips186_2_prf() 81 WPA_PUT_BE32(xpos + 8, _t[2]); in fips186_2_prf() 82 WPA_PUT_BE32(xpos + 12, _t[3]); in fips186_2_prf() 83 WPA_PUT_BE32(xpos + 16, _t[4]); in fips186_2_prf()
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | bitfield.h | 42 static __inline uint ## _n ## _t \ 43 u ## _n ## _get_bits(uint ## _n ## _t v, uint ## _n ## _t f) \ 54 static __inline uint ## _n ## _t \ 65 static __inline uint ## _n ## _t \ 66 u ## _n ## _encode_bits(uint ## _n ## _t v, uint ## _n ## _t f) \ 77 static __inline uint ## _n ## _t \ 90 uint ## _n ## _t v, uint ## _n ## _t f) \ 103 uint ## _n ## _t v, uint ## _n ## _t f) \ 114 static __inline uint ## _n ## _t \ 115 u ## _n ## _replace_bits(uint ## _n ## _t p, \ [all …]
|
/freebsd/contrib/jemalloc/include/jemalloc/internal/ |
H A D | atomic_c11.h | 19 typedef _Atomic(type) atomic_##short_type##_t; \ 22 atomic_load_##short_type(const atomic_##short_type##_t *a, \ 29 atomic_##short_type##_t* a_nonconst = \ 30 (atomic_##short_type##_t*)a; \ 35 atomic_store_##short_type(atomic_##short_type##_t *a, \ 41 atomic_exchange_##short_type(atomic_##short_type##_t *a, type val, \ 71 atomic_fetch_add_##short_type(atomic_##short_type##_t *a, \ 77 atomic_fetch_sub_##short_type(atomic_##short_type##_t *a, \ 82 atomic_fetch_and_##short_type(atomic_##short_type##_t *a, \ 87 atomic_fetch_or_##short_type(atomic_##short_type##_t *a, \ [all …]
|
H A D | atomic_gcc_atomic.h | 43 } atomic_##short_type##_t; \ 46 atomic_load_##short_type(const atomic_##short_type##_t *a, \ 54 atomic_store_##short_type(atomic_##short_type##_t *a, type val, \ 60 atomic_exchange_##short_type(atomic_##short_type##_t *a, type val, \ 69 atomic_compare_exchange_weak_##short_type(atomic_##short_type##_t *a, \ 79 atomic_compare_exchange_strong_##short_type(atomic_##short_type##_t *a, \ 95 atomic_fetch_add_##short_type(atomic_##short_type##_t *a, type val, \ 102 atomic_fetch_sub_##short_type(atomic_##short_type##_t *a, type val, \ 109 atomic_fetch_and_##short_type(atomic_##short_type##_t *a, type val, \ 116 atomic_fetch_or_##short_type(atomic_##short_type##_t *a, type val, \ [all …]
|
H A D | atomic_gcc_sync.h | 90 } atomic_##short_type##_t; \ 93 atomic_load_##short_type(const atomic_##short_type##_t *a, \ 106 atomic_store_##short_type(atomic_##short_type##_t *a, \ 118 atomic_exchange_##short_type(atomic_##short_type##_t *a, type val, \ 133 atomic_compare_exchange_weak_##short_type(atomic_##short_type##_t *a, \ 147 atomic_compare_exchange_strong_##short_type(atomic_##short_type##_t *a, \ 166 atomic_fetch_add_##short_type(atomic_##short_type##_t *a, type val, \ 172 atomic_fetch_sub_##short_type(atomic_##short_type##_t *a, type val, \ 178 atomic_fetch_and_##short_type(atomic_##short_type##_t *a, type val, \ 184 atomic_fetch_or_##short_type(atomic_##short_type##_t *a, type val, \ [all …]
|
/freebsd/sys/sys/ |
H A D | _bitset.h | 45 #define __BITSET_DEFINE(_t, _s) \ argument 46 struct _t { \ 56 #define __BITSET_DEFINE_VAR(_t) __BITSET_DEFINE(_t, 1) argument 66 #define BITSET_DEFINE(_t, _s) __BITSET_DEFINE(_t, _s) argument 67 #define BITSET_DEFINE_VAR(_t) __BITSET_DEFINE_VAR(_t) argument
|
/freebsd/sys/arm64/include/ |
H A D | atomic.h | 81 atomic_##op##_##bar##t##flav(volatile uint##t##_t *p, uint##t##_t val) 86 uint##t##_t tmp; \ 103 uint##t##_t tmp; \ 147 uint##t##_t cmpval, uint##t##_t newval) 152 uint##t##_t *cmpval, uint##t##_t newval) 157 uint##t##_t tmp; \ 276 atomic_fetchadd_##t##flav(volatile uint##t##_t *p, uint##t##_t val) 299 uint##t##_t ret; \ 326 atomic_swap_##t##flav(volatile uint##t##_t *p, uint##t##_t val) 335 uint##t##_t ret; \ [all …]
|
/freebsd/sys/netpfil/ipfilter/netinet/ |
H A D | ipf_rb.h | 14 struct _t *left; \ 15 struct _t *right; \ 16 struct _t *parent; \ 22 struct _t top; \ 24 int (* compare)(struct _t *, struct _t *); \ 31 _t * _n##_rb_delete(struct _n##_rb_head *, _t *); \ 145 deleteblack(struct _n##_rb_head *head, _t *parent, _t *node) \ 147 _t *tmp; \ 224 _t * \ 305 _t *prev; \ [all …]
|
/freebsd/contrib/libdivsufsort/include/ |
H A D | divsufsort.h.cmake | 76 divsufsort@W64BIT@(const sauchar_t *T, saidx@W64BIT@_t *SA, saidx@W64BIT@_t n); 87 saidx@W64BIT@_t 88 divbwt@W64BIT@(const sauchar_t *T, sauchar_t *U, saidx@W64BIT@_t *A, saidx@W64BIT@_t n); 112 saidx@W64BIT@_t n, saidx@W64BIT@_t *idx); 127 saidx@W64BIT@_t n, saidx@W64BIT@_t idx); 139 sufcheck@W64BIT@(const sauchar_t *T, const saidx@W64BIT@_t *SA, saidx@W64BIT@_t n, saint_t verbose); 153 saidx@W64BIT@_t 156 const saidx@W64BIT@_t *SA, saidx@W64BIT@_t SAsize, 157 saidx@W64BIT@_t *left); 170 saidx@W64BIT@_t [all …]
|
/freebsd/sys/riscv/include/ |
H A D | atomic.h | 53 atomic_##NAME##_acq_##WIDTH(__volatile uint##WIDTH##_t *p, uint##WIDTH##_t v)\ 60 atomic_##NAME##_rel_##WIDTH(__volatile uint##WIDTH##_t *p, uint##WIDTH##_t v)\ 68 atomic_cmpset_acq_##WIDTH(__volatile uint##WIDTH##_t *p, \ 69 uint##WIDTH##_t cmpval, uint##WIDTH##_t newval) \ 79 atomic_cmpset_rel_##WIDTH(__volatile uint##WIDTH##_t *p, \ 80 uint##WIDTH##_t cmpval, uint##WIDTH##_t newval) \ 88 atomic_fcmpset_acq_##WIDTH(__volatile uint##WIDTH##_t *p, \ 89 uint##WIDTH##_t *cmpval, uint##WIDTH##_t newval) \ 99 atomic_fcmpset_rel_##WIDTH(__volatile uint##WIDTH##_t *p, \ 100 uint##WIDTH##_t *cmpval, uint##WIDTH##_t newval) \
|
/freebsd/contrib/libucl/klib/ |
H A D | khash.h | 200 } kh_##name##_t; 203 extern kh_##name##_t * kh_init_##name(void); \ 204 extern void kh_destroy_##name(kh_##name##_t *h); \ 205 extern void kh_clear_##name(kh_##name##_t *h); \ 209 extern void kh_del_##name(kh_##name##_t *h, khint_t x); 212 SCOPE kh_##name##_t *kh_init_##name(void) { \ 213 return (kh_##name##_t*)kcalloc(1, sizeof(kh_##name##_t)); \ 215 SCOPE void kh_destroy_##name(kh_##name##_t *h) \ 223 SCOPE void kh_unused(kh_clear_##name)(kh_##name##_t *h) \ 349 SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x) \ [all …]
|
/freebsd/sys/netlink/ |
H A D | netlink_message_writer.h | 176 #define nlattr_restore_offset(_ns, _off, _t) ((_t *)_nlattr_restore_offset(_ns, _off)) argument 186 #define nlmsg_reserve_object(_ns, _t) ((_t *)nlmsg_reserve_data_raw(_ns, sizeof(_t))) argument 187 #define nlmsg_reserve_data(_ns, _sz, _t) ((_t *)nlmsg_reserve_data_raw(_ns, _sz)) argument 213 #define nlmsg_reserve_attr(_ns, _at, _t) ((_t *)_nlmsg_reserve_attr(_ns, _at, NLA_ALIGN(sizeof(_t))… argument
|
/freebsd/sys/dev/usb/ |
H A D | usb_core.h | 46 #define USB_BUS_LOCK_ASSERT(_b, _t) USB_MTX_ASSERT(&(_b)->bus_mtx, _t) argument 51 #define USB_BUS_SPIN_LOCK_ASSERT(_b, _t) USB_MTX_ASSERT(&(_b)->bus_spin_lock, _t) argument 56 #define USB_XFER_LOCK_ASSERT(_x, _t) USB_MTX_ASSERT((_x)->xroot->xfer_mtx, _t) argument
|
/freebsd/contrib/elftoolchain/libelf/ |
H A D | libelf_convert.m4 | 538 _t <<= 8U; _x >>= 8U; _t |= _x & 0xFFU; \ 544 _t <<= 8; _x >>= 8; _t |= _x & 0xFF; \ 545 _t <<= 8; _x >>= 8; _t |= _x & 0xFF; \ 546 _t <<= 8; _x >>= 8; _t |= _x & 0xFF; \ 556 _t <<= 8; _x >>= 8; _t |= _x & 0xFF; \ 557 _t <<= 8; _x >>= 8; _t |= _x & 0xFF; \ 558 _t <<= 8; _x >>= 8; _t |= _x & 0xFF; \ 559 _t <<= 8; _x >>= 8; _t |= _x & 0xFF; \ 560 _t <<= 8; _x >>= 8; _t |= _x & 0xFF; \ 561 _t <<= 8; _x >>= 8; _t |= _x & 0xFF; \ [all …]
|
/freebsd/sys/contrib/ck/src/ |
H A D | ck_ec.c | 202 static uint##W##_t ck_ec##W##_wait_easy(struct ck_ec##W* ec, \ 204 uint##W##_t expected) \ 206 uint##W##_t current = ck_pr_load_##W(&ec->counter); \ 235 uint##W##_t current, \ 236 uint##W##_t unflagged, \ 237 uint##W##_t flagged) \ 239 uint##W##_t old_word; \ 335 uint##W##_t current; \
|
/freebsd/sys/dev/ice/ |
H A D | ice_defs.h | 53 #define MIN_T(_t, _a, _b) min((_t)(_a), (_t)(_b)) argument
|
/freebsd/contrib/bmake/mk/ |
H A D | install-new.mk | 39 _t=-e; _bak=; \ 42 -?) _t=$$1; shift;; \ 48 if test $$_t $$new; then \
|
/freebsd/sys/dev/ath/ |
H A D | ah_osdep.h | 127 #define OS_BUS_BARRIER(_ah, _start, _len, _t) \ argument 129 (bus_space_handle_t)(_ah)->ah_sh, (_start), (_len), (_t)) 130 #define OS_BUS_BARRIER_REG(_ah, _reg, _t) \ argument 131 OS_BUS_BARRIER((_ah), (_reg), 4, (_t))
|
/freebsd/share/mk/ |
H A D | install-new.mk | 51 _t=-e; _bak=; \ 54 -?) _t=$$1; shift;; \ 60 if test $$_t $$new; then \
|
/freebsd/sys/contrib/dev/mediatek/mt76/ |
H A D | mt76_connac_mcu.h | 1120 MCU_CMD_##_t) 1123 MCU_EXT_CMD_##_t)) 1124 #define MCU_EXT_QUERY(_t) (MCU_EXT_CMD(_t) | __MCU_CMD_FIELD_QUERY) argument 1130 MCU_CE_CMD_##_t)) 1131 #define MCU_CE_QUERY(_t) (MCU_CE_CMD(_t) | __MCU_CMD_FIELD_QUERY) argument 1133 #define MCU_WA_CMD(_t) (MCU_CMD(_t) | __MCU_CMD_FIELD_WA) argument 1134 #define MCU_WA_EXT_CMD(_t) (MCU_EXT_CMD(_t) | __MCU_CMD_FIELD_WA) argument 1139 #define MCU_WM_UNI_CMD(_t) (MCU_UNI_CMD(_t) | \ argument 1141 #define MCU_WM_UNI_CMD_QUERY(_t) (MCU_UNI_CMD(_t) | \ argument 1144 #define MCU_WA_UNI_CMD(_t) (MCU_UNI_CMD(_t) | \ argument [all …]
|