/freebsd/lib/libbsdstat/ |
H A D | bsdstat.h | 91 #define BSDSTAT_DEFINE_BOUNCE(_t) \ argument 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) \ [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 16 diff -s $_out $_t.res -u 2>/dev/null 19 echo "Test: $_t output mismatch" 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 [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]; in fips186_2_prf() local 43 os_memcpy(_t, ctx.state, 20); in fips186_2_prf() 44 SHA1Transform(_t, xkey); in fips186_2_prf() 45 _t[0] = host_to_be32(_t[0]); in fips186_2_prf() 46 _t[1] = host_to_be32(_t[1]); in fips186_2_prf() 47 _t[2] = host_to_be32(_t[2]); in fips186_2_prf() 48 _t[3] = host_to_be32(_t[3]); in fips186_2_prf() 49 _t[4] = host_to_be32(_t[4]); in fips186_2_prf() 50 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 | 64 u32 t[5], _t[5]; in fips186_2_prf() local 90 os_memcpy(_t, t, 20); in fips186_2_prf() 91 sha1_transform(_t, xkey); in fips186_2_prf() 92 WPA_PUT_BE32(xpos, _t[0]); in fips186_2_prf() 93 WPA_PUT_BE32(xpos + 4, _t[1]); in fips186_2_prf() 94 WPA_PUT_BE32(xpos + 8, _t[2]); in fips186_2_prf() 95 WPA_PUT_BE32(xpos + 12, _t[3]); in fips186_2_prf() 96 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 \ 55 le ## _n ## _get_bits(__le ## _n v, uint ## _n ## _t f) \ 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 \ 78 le ## _n ## _encode_bits(__le ## _n v, uint ## _n ## _t f) \ 89 le ## _n ## p_replace_bits(uint ## _n ## _t *p, \ 90 uint ## _n ## _t v, uint ## _n ## _t f) \ [all …]
|
/freebsd/sys/arm64/include/ |
H A D | atomic.h | 82 atomic_##op##_##bar##t##flav(volatile uint##t##_t *p, uint##t##_t val) 87 uint##t##_t tmp; \ 104 uint##t##_t tmp; \ 147 atomic_cmpset_##bar##t##flav(volatile uint##t##_t *p, \ 148 uint##t##_t cmpval, uint##t##_t newval) 152 atomic_fcmpset_##bar##t##flav(volatile uint##t##_t *p, \ 153 uint##t##_t *cmpval, uint##t##_t newval) 158 uint##t##_t tmp; \ 179 uint##t##_t oldval; \ 209 uint##t##_t _cmpval, tmp; \ [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, \ 47 atomic_compare_exchange_weak_##short_type(atomic_##short_type##_t *a, \ 55 atomic_compare_exchange_strong_##short_type(atomic_##short_type##_t *a, \ 71 atomic_fetch_add_##short_type(atomic_##short_type##_t *a, \ 77 atomic_fetch_sub_##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/netpfil/ipfilter/netinet/ |
H A D | ipf_rb.h | 12 #define RBI_LINK(_n, _t) \ argument 14 struct _t *left; \ 15 struct _t *right; \ 16 struct _t *parent; \ 20 #define RBI_HEAD(_n, _t) \ argument 22 struct _t top; \ 24 int (* compare)(struct _t *, struct _t *); \ 27 #define RBI_CODE(_n, _t, _f, _cmp) \ argument 29 typedef void (*_n##_rb_walker_t)(_t *, void *); \ 31 _t * _n##_rb_delete(struct _n##_rb_head *, _t *); \ [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/contrib/libdivsufsort/include/ |
H A D | divsufsort.h.cmake | 55 typedef @SAINDEX_TYPE@ saidx@W64BIT@_t; 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); 111 saidx@W64BIT@_t *SA /* can NULL */, 112 saidx@W64BIT@_t n, saidx@W64BIT@_t *idx); 126 saidx@W64BIT@_t *A /* can NULL */, 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 [all …]
|
/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); \ 206 extern khint_t kh_get_##name(const kh_##name##_t *h, khkey_t key); \ 207 extern int kh_resize_##name(kh_##name##_t *h, khint_t new_n_buckets); \ 208 extern khint_t kh_put_##name(kh_##name##_t *h, khkey_t key, int *ret); \ 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)); \ [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/sys/netlink/ |
H A D | netlink_message_writer.h | 180 #define nlattr_restore_offset(_ns, _off, _t) ((_t *)_nlattr_restore_offset(_ns, _off)) argument 190 #define nlmsg_reserve_object(_ns, _t) ((_t *)nlmsg_reserve_data_raw(_ns, sizeof(_t))) argument 191 #define nlmsg_reserve_data(_ns, _sz, _t) ((_t *)nlmsg_reserve_data_raw(_ns, _sz)) argument 217 #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 | 537 uint32_t _t = _x & 0xFFU; \ 538 _t <<= 8U; _x >>= 8U; _t |= _x & 0xFFU; \ 539 (X) = (uint16_t) _t; \ 543 uint32_t _t = _x & 0xFF; \ 544 _t <<= 8; _x >>= 8; _t |= _x & 0xFF; \ 545 _t <<= 8; _x >>= 8; _t |= _x & 0xFF; \ 546 _t <<= 8; _x >>= 8; _t |= _x & 0xFF; \ 547 (X) = (T) _t; \ 555 uint64_t _t = _x & 0xFF; \ 556 _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/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/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/contrib/dev/mediatek/mt76/ |
H A D | mt76_connac_mcu.h | 1119 #define MCU_CMD(_t) FIELD_PREP(__MCU_CMD_FIELD_ID, \ argument 1120 MCU_CMD_##_t) 1121 #define MCU_EXT_CMD(_t) (MCU_CMD(EXT_CID) | \ argument 1123 MCU_EXT_CMD_##_t)) 1124 #define MCU_EXT_QUERY(_t) (MCU_EXT_CMD(_t) | __MCU_CMD_FIELD_QUERY) argument 1125 #define MCU_UNI_CMD(_t) (__MCU_CMD_FIELD_UNI | \ argument 1127 MCU_UNI_CMD_##_t)) 1128 #define MCU_CE_CMD(_t) (__MCU_CMD_FIELD_CE | \ argument 1130 MCU_CE_CMD_##_t)) 1131 #define MCU_CE_QUERY(_t) (MCU_CE_CMD(_t) | __MCU_CMD_FIELD_QUERY) argument [all …]
|
/freebsd/share/mk/ |
H A D | install-new.mk | 51 _t=-e; _bak=; \ 54 -?) _t=$$1; shift;; \ 60 if test $$_t $$new; then \
|