/freebsd/sys/compat/linuxkpi/common/include/asm/ |
H A D | byteorder.h | 42 #define __cpu_to_le64(x) htole64(x) argument 43 #define cpu_to_le64(x) __cpu_to_le64(x) argument 44 #define __le64_to_cpu(x) le64toh(x) argument 45 #define le64_to_cpu(x) __le64_to_cpu(x) argument 46 #define __cpu_to_le32(x) htole32(x) argument 47 #define cpu_to_le32(x) __cpu_to_le32(x) argument 48 #define __le32_to_cpu(x) le32toh(x) argument 49 #define le32_to_cpu(x) __le32_to_cpu(x) argument 50 #define __cpu_to_le16(x) htole16(x) argument 51 #define cpu_to_le16(x) __cpu_to_le16(x) argument [all …]
|
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
H A D | byteorder.h | 52 #define BSWAP_8(x) ((x) & 0xff) argument 53 #define BSWAP_16(x) ((x) & 0xffff) argument 54 #define BSWAP_32(x) ((x) & 0xffffffff) argument 55 #define BSWAP_64(x) (x) argument 62 #define BSWAP_8(x) ((x) & 0xff) argument 63 #define BSWAP_16(x) ((BSWAP_8(x) << 8) | BSWAP_8((x) >> 8)) argument 64 #define BSWAP_32(x) ((BSWAP_16(x) << 16) | BSWAP_16((x) >> 16)) argument 65 #define BSWAP_64(x) ((BSWAP_32(x) << 32) | BSWAP_32((x) >> 32)) argument 69 #define BMASK_8(x) ((x) & 0xff) argument 70 #define BMASK_16(x) ((x) & 0xffff) argument [all …]
|
/freebsd/sys/cddl/compat/opensolaris/sys/ |
H A D | byteorder.h | 51 #define BSWAP_8(x) ((x) & 0xff) argument 52 #define BSWAP_16(x) ((BSWAP_8(x) << 8) | BSWAP_8((x) >> 8)) argument 53 #define BSWAP_32(x) ((BSWAP_16(x) << 16) | BSWAP_16((x) >> 16)) argument 54 #define BSWAP_64(x) ((BSWAP_32(x) << 32) | BSWAP_32((x) >> 32)) argument 56 #define BMASK_8(x) ((x) & 0xff) argument 57 #define BMASK_16(x) ((x) & 0xffff) argument 58 #define BMASK_32(x) ((x) & 0xffffffff) argument 59 #define BMASK_64(x) (x) argument 65 #define BE_8(x) BMASK_8(x) argument 66 #define BE_16(x) BMASK_16(x) argument [all …]
|
/freebsd/sys/sys/ |
H A D | _endian.h | 85 #define __bswap16(x) __builtin_bswap16(x) argument 90 #define __ntohl(x) (__bswap32(x)) argument 91 #define __ntohs(x) (__bswap16(x)) argument 83 __bswap16(x) global() argument 84 __bswap32(x) global() argument 88 __ntohl(x) global() argument 89 __ntohs(x) global() argument 93 __htonl(x) global() argument 94 __htons(x) global() argument 95 __ntohl(x) global() argument 96 __ntohs(x) global() argument 104 htobe16(x) global() argument 105 htobe32(x) global() argument 106 htobe64(x) global() argument 107 htole16(x) global() argument 108 htole32(x) global() argument 109 htole64(x) global() argument 111 be16toh(x) global() argument 112 be32toh(x) global() argument 113 be64toh(x) global() argument 114 le16toh(x) global() argument 115 le32toh(x) global() argument 116 le64toh(x) global() argument 118 htobe16(x) global() argument 119 htobe32(x) global() argument 120 htobe64(x) global() argument 121 htole16(x) global() argument 122 htole32(x) global() argument 123 htole64(x) global() argument 125 be16toh(x) global() argument 126 be32toh(x) global() argument 127 be64toh(x) global() argument 128 le16toh(x) global() argument 129 le32toh(x) global() argument 130 le64toh(x) global() argument [all...] |
/freebsd/contrib/ntp/include/ |
H A D | ntp_assert.h | 35 #define ALWAYS_REQUIRE(x) calysto_assert(x) argument 36 #define ALWAYS_INSIST(x) calysto_assume(x) /* DLH calysto_assert()? */ argument 37 #define ALWAYS_INVARIANT(x) calysto_assume(x) argument 38 #define ALWAYS_ENSURE(x) calysto_assert(x) argument 66 #define ALWAYS_REQUIRE(x) assert(x) argument 67 #define ALWAYS_INSIST(x) assert(x) argument 68 #define ALWAYS_INVARIANT(x) assert(x) argument 69 #define ALWAYS_ENSURE(x) assert(x) argument 75 #define ALWAYS_REQUIRE(x) ISC_REQUIRE(x) argument 76 #define ALWAYS_INSIST(x) ISC_INSIST(x) argument [all …]
|
/freebsd/include/ |
H A D | tgmath.h | 65 #define __tg_generic(x, cfnl, cfn, cfnf, fnl, fn, fnf) \ argument 74 #define __tg_type(x) \ argument 77 #define __tg_impl_simple(x, y, z, fnl, fn, fnf, ...) \ argument 81 #define __tg_impl_full(x, y, cfnl, cfn, cfnf, fnl, fn, fnf, ...) \ argument 86 #define __tg_generic_simple(x, fnl, fn, fnf) \ argument 92 #define __tg_impl_simple(x, y, z, fnl, fn, fnf, ...) \ argument 106 #define __tg_generic_full(x, cfnl, cfn, cfnf, fnl, fn, fnf) \ argument 112 #define __tg_impl_full(x, y, cfnl, cfn, cfnf, fnl, fn, fnf, ...) \ argument 126 #define __tg_simple(x, fn) \ argument 128 #define __tg_simple2(x, y, fn) \ argument [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/ |
H A D | int_math.h | 23 #define __has_builtin(x) 0 argument 38 #define crt_isfinite(x) _finite((x)) argument 39 #define crt_isinf(x) !_finite((x)) argument 40 #define crt_isnan(x) _isnan((x)) argument 46 #define crt_isfinite(x) __builtin_isfinite((x)) argument 48 #define crt_isfinite(x) \ argument 56 #define crt_isinf(x) __builtin_isinf((x)) argument 57 #define crt_isnan(x) __builtin_isnan((x)) argument 61 #define crt_copysign(x, y) copysign((x), (y)) argument 62 #define crt_copysignf(x, y) copysignf((x), (y)) argument [all …]
|
/freebsd/sys/dev/cxgb/common/ |
H A D | cxgb_regs.h | 38 #define V_CONGMODE(x) ((x) << S_CONGMODE) argument 42 #define V_TNLFLMODE(x) ((x) << S_TNLFLMODE) argument 46 #define V_FATLPERREN(x) ((x) << S_FATLPERREN) argument 50 #define V_URGTNL(x) ((x) << S_URGTNL) argument 54 #define V_NEWNOTIFY(x) ((x) << S_NEWNOTIFY) argument 58 #define V_AVOIDCQOVFL(x) ((x) << S_AVOIDCQOVFL) argument 62 #define V_OPTONEINTMULTQ(x) ((x) << S_OPTONEINTMULTQ) argument 66 #define V_CQCRDTCTRL(x) ((x) << S_CQCRDTCTRL) argument 70 #define V_EGRENUPBP(x) ((x) << S_EGRENUPBP) argument 74 #define V_DROPPKT(x) ((x) << S_DROPPKT) argument [all …]
|
H A D | cxgb_sge_defs.h | 39 #define V_EC_CREDITS(x) ((x) << S_EC_CREDITS) argument 40 #define G_EC_CREDITS(x) (((x) >> S_EC_CREDITS) & M_EC_CREDITS) argument 43 #define V_EC_GTS(x) ((x) << S_EC_GTS) argument 48 #define V_EC_INDEX(x) ((x) << S_EC_INDEX) argument 49 #define G_EC_INDEX(x) (((x) >> S_EC_INDEX) & M_EC_INDEX) argument 53 #define V_EC_SIZE(x) ((x) << S_EC_SIZE) argument 54 #define G_EC_SIZE(x) (((x) >> S_EC_SIZE) & M_EC_SIZE) argument 58 #define V_EC_BASE_LO(x) ((x) << S_EC_BASE_LO) argument 59 #define G_EC_BASE_LO(x) (((x) >> S_EC_BASE_LO) & M_EC_BASE_LO) argument 63 #define V_EC_BASE_HI(x) ((x) << S_EC_BASE_HI) argument [all …]
|
H A D | cxgb_tcb.h | 39 #define V_TCB_T_STATE(x) ((x) << S_TCB_T_STATE) argument 44 #define V_TCB_TIMER(x) ((x) << S_TCB_TIMER) argument 49 #define V_TCB_DACK_TIMER(x) ((x) << S_TCB_DACK_TIMER) argument 54 #define V_TCB_DEL_FLAG(x) ((x) << S_TCB_DEL_FLAG) argument 59 #define V_TCB_L2T_IX(x) ((x) << S_TCB_L2T_IX) argument 64 #define V_TCB_SMAC_SEL(x) ((x) << S_TCB_SMAC_SEL) argument 69 #define V_TCB_TOS(x) ((x) << S_TCB_TOS) argument 74 #define V_TCB_MAX_RT(x) ((x) << S_TCB_MAX_RT) argument 79 #define V_TCB_T_RXTSHIFT(x) ((x) << S_TCB_T_RXTSHIFT) argument 84 #define V_TCB_T_DUPACKS(x) ((x) << S_TCB_T_DUPACKS) argument [all …]
|
/freebsd/sys/dev/cxgbe/common/ |
H A D | t4_regs.h | 517 #define V_QID(x) ((x) << S_QID) argument 518 #define G_QID(x) (((x) >> S_QID) & M_QID) argument 521 #define V_DBPRIO(x) ((x) << S_DBPRIO) argument 526 #define V_PIDX(x) ((x) << S_PIDX) argument 527 #define G_PIDX(x) (((x) >> S_PIDX) & M_PIDX) argument 532 #define V_DBTYPE(x) ((x) << S_DBTYPE) argument 537 #define V_PIDX_T5(x) ((x) << S_PIDX_T5) argument 538 #define G_PIDX_T5(x) (((x) >> S_PIDX_T5) & M_PIDX_T5) argument 541 #define V_SYNC_T6(x) ((x) << S_SYNC_T6) argument 548 #define V_INGRESSQID(x) ((x) << S_INGRESSQID) argument [all …]
|
H A D | t4_tcb.h | 39 #define V_TCB_ULP_TYPE(x) ((x) << S_TCB_ULP_TYPE) argument 45 #define V_TCB_ULP_RAW(x) ((x) << S_TCB_ULP_RAW) argument 51 #define V_TCB_L2T_IX(x) ((x) << S_TCB_L2T_IX) argument 57 #define V_TCB_SMAC_SEL(x) ((x) << S_TCB_SMAC_SEL) argument 63 #define V_TCB_T_FLAGS(x) ((__u64)(x) << S_TCB_T_FLAGS) argument 69 #define V_TCB_RSS_INFO(x) ((x) << S_TCB_RSS_INFO) argument 75 #define V_TCB_TOS(x) ((x) << S_TCB_TOS) argument 81 #define V_TCB_T_STATE(x) ((x) << S_TCB_T_STATE) argument 87 #define V_TCB_MAX_RT(x) ((x) << S_TCB_MAX_RT) argument 93 #define V_TCB_T_MAXSEG(x) ((x) << S_TCB_T_MAXSEG) argument [all …]
|
/freebsd/tests/include/ |
H A D | endian_test.c | 73 #define H16(x) be16toh(x) in ATF_TC_BODY() argument 74 #define H32(x) be32toh(x) in ATF_TC_BODY() argument 75 #define H64(x) be64toh(x) in ATF_TC_BODY() argument 76 #define O16(x) le16toh(x) in ATF_TC_BODY() argument 77 #define O32(x) le32toh(x) in ATF_TC_BODY() argument 78 #define O64(x) le64toh(x) in ATF_TC_BODY() argument 80 #define H16(x) le16toh(x) in ATF_TC_BODY() argument 81 #define H32(x) le32toh(x) in ATF_TC_BODY() argument 82 #define H64(x) le64toh(x) in ATF_TC_BODY() argument 83 #define O16(x) be16toh(x) in ATF_TC_BODY() argument [all …]
|
H A D | sys_endian_test.c | 70 #define H16(x) be16toh(x) in ATF_TC_BODY() argument 71 #define H32(x) be32toh(x) in ATF_TC_BODY() argument 72 #define H64(x) be64toh(x) in ATF_TC_BODY() argument 73 #define O16(x) le16toh(x) in ATF_TC_BODY() argument 74 #define O32(x) le32toh(x) in ATF_TC_BODY() argument 75 #define O64(x) le64toh(x) in ATF_TC_BODY() argument 77 #define H16(x) le16toh(x) in ATF_TC_BODY() argument 78 #define H32(x) le32toh(x) in ATF_TC_BODY() argument 79 #define H64(x) le64toh(x) in ATF_TC_BODY() argument 80 #define O16(x) be16toh(x) in ATF_TC_BODY() argument [all …]
|
/freebsd/contrib/arm-optimized-routines/math/test/ |
H A D | ulp_wrappers.h | 11 static float sincosf_sinf(float x) {(void)cosf(x); return sinf(x);} in sincosf_sinf() 12 static float sincosf_cosf(float x) {(void)sinf(x); return cosf(x);} in sincosf_cosf() 13 static double sincos_sin(double x) {(void)cos(x); return sin(x);} in sincos_sin() 14 static double sincos_cos(double x) {(void)sin(x); return cos(x);} in sincos_cos() 16 static int sincos_mpfr_sin(mpfr_t y, const mpfr_t x, mpfr_rnd_t r) { mpfr_cos(y,x,r); return mpfr_s… in sincos_mpfr_sin() 17 static int sincos_mpfr_cos(mpfr_t y, const mpfr_t x, mpfr_rnd_t r) { mpfr_sin(y,x,r); return mpfr_c… in sincos_mpfr_cos() 22 static float Z_sinf(float x) { return _ZGVnN4v_sinf(argf(x))[0]; } in Z_sinf() 23 static float Z_cosf(float x) { return _ZGVnN4v_cosf(argf(x))[0]; } in Z_cosf() 24 static float Z_expf_1u(float x) { return _ZGVnN4v_expf_1u(argf(x))[0]; } in Z_expf_1u() 25 static float Z_expf(float x) { return _ZGVnN4v_expf(argf(x))[0]; } in Z_expf() [all …]
|
/freebsd/contrib/openbsm/compat/ |
H A D | endian.h | 125 #define htobe16(x) bswap16((x)) argument 126 #define htobe32(x) bswap32((x)) argument 127 #define htobe64(x) bswap64((x)) argument 128 #define htole16(x) ((uint16_t)(x)) argument 129 #define htole32(x) ((uint32_t)(x)) argument 130 #define htole64(x) ((uint64_t)(x)) argument 132 #define be16toh(x) bswap16((x)) argument 133 #define be32toh(x) bswap32((x)) argument 134 #define be64toh(x) bswap64((x)) argument 135 #define le16toh(x) ((uint16_t)(x)) argument [all …]
|
/freebsd/contrib/ofed/include/ |
H A D | byteorder.h | 54 #define cpu_to_le64p(x) htole64(*((uint64_t *)x)) argument 55 #define le64_to_cpup(x) le64toh(*((uint64_t *)x)) argument 56 #define cpu_to_le32p(x) htole32(*((uint32_t *)x)) argument 57 #define le32_to_cpup(x) le32toh(*((uint32_t *)x)) argument 58 #define cpu_to_le16p(x) htole16(*((uint16_t *)x)) argument 59 #define le16_to_cpup(x) le16toh(*((uint16_t *)x)) argument 60 #define cpu_to_be64p(x) htobe64(*((uint64_t *)x)) argument 61 #define be64_to_cpup(x) be64toh(*((uint64_t *)x)) argument 62 #define cpu_to_be32p(x) htobe32(*((uint32_t *)x)) argument 63 #define be32_to_cpup(x) be32toh(*((uint32_t *)x)) argument [all …]
|
/freebsd/contrib/arm-optimized-routines/pl/math/test/ |
H A D | mathbench_wrappers.h | 9 atan2_wrap (double x) in atan2_wrap() 15 atan2f_wrap (float x) in atan2f_wrap() 21 powi_wrap (double x) in powi_wrap() 29 _Z_atan2_wrap (v_double x) in _Z_atan2_wrap() 35 _Z_atan2f_wrap (v_float x) in _Z_atan2f_wrap() 41 _Z_hypotf_wrap (v_float x) in _Z_hypotf_wrap() 47 _Z_hypot_wrap (v_double x) in _Z_hypot_wrap() 53 xy_Z_pow (v_double x) in xy_Z_pow() 59 x_Z_pow (v_double x) in x_Z_pow() 65 y_Z_pow (v_double x) in y_Z_pow() [all …]
|
/freebsd/contrib/diff/lib/ |
H A D | unlocked-io.h | 45 # define clearerr(x) clearerr_unlocked (x) argument 47 # define clearerr_unlocked(x) clearerr (x) argument 51 # define feof(x) feof_unlocked (x) argument 53 # define feof_unlocked(x) feof (x) argument 57 # define ferror(x) ferror_unlocked (x) argument 59 # define ferror_unlocked(x) ferror (x) argument 63 # define fflush(x) fflush_unlocked (x) argument 65 # define fflush_unlocked(x) fflush (x) argument 69 # define fgets(x,y,z) fgets_unlocked (x,y,z) argument 71 # define fgets_unlocked(x,y,z) fgets (x,y,z) argument [all …]
|
/freebsd/contrib/ofed/libcxgb4/ |
H A D | t4_regs.h | 71 #define QID_V(x) ((x) << QID_S) argument 74 #define DBPRIO_V(x) ((x) << DBPRIO_S) argument 78 #define PIDX_V(x) ((x) << PIDX_S) argument 83 #define DBTYPE_V(x) ((x) << DBTYPE_S) argument 88 #define PIDX_T5_V(x) ((x) << PIDX_T5_S) argument 89 #define PIDX_T5_G(x) (((x) >> PIDX_T5_S) & PIDX_T5_M) argument 94 #define INGRESSQID_V(x) ((x) << INGRESSQID_S) argument 97 #define TIMERREG_V(x) ((x) << TIMERREG_S) argument 100 #define SEINTARM_V(x) ((x) << SEINTARM_S) argument 104 #define CIDXINC_V(x) ((x) << CIDXINC_S) argument [all …]
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | pm_runtime.h | 9 #define pm_runtime_mark_last_busy(x) (void)(x) argument 10 #define pm_runtime_use_autosuspend(x) (void)(x) argument 11 #define pm_runtime_dont_use_autosuspend(x) (void)(x) argument 12 #define pm_runtime_put_autosuspend(x) (void)(x) argument 13 #define pm_runtime_set_autosuspend_delay(x, y) (void)(x); (void)(y) argument 14 #define pm_runtime_set_active(x) (void)(x) argument 15 #define pm_runtime_allow(x) (void)(x) argument 16 #define pm_runtime_put_noidle(x) (void)(x) argument 17 #define pm_runtime_forbid(x) (void)(x) argument 18 #define pm_runtime_get_noresume(x) (void)(x) argument [all …]
|
/freebsd/sys/dev/cxgbe/crypto/ |
H A D | t4_keyctx.c | 67 #define V_TLS_KEYCTX_TX_WR_DUALCK(x) ((x) << S_TLS_KEYCTX_TX_WR_DUALCK) argument 68 #define G_TLS_KEYCTX_TX_WR_DUALCK(x) \ argument 74 #define V_TLS_KEYCTX_TX_WR_TXOPAD_PRESENT(x) \ argument 76 #define G_TLS_KEYCTX_TX_WR_TXOPAD_PRESENT(x) \ argument 84 #define V_TLS_KEYCTX_TX_WR_SALT_PRESENT(x) \ argument 86 #define G_TLS_KEYCTX_TX_WR_SALT_PRESENT(x) \ argument 94 #define V_TLS_KEYCTX_TX_WR_TXCK_SIZE(x) \ argument 96 #define G_TLS_KEYCTX_TX_WR_TXCK_SIZE(x) \ argument 102 #define V_TLS_KEYCTX_TX_WR_TXMK_SIZE(x) \ argument 104 #define G_TLS_KEYCTX_TX_WR_TXMK_SIZE(x) \ argument [all …]
|
/freebsd/tools/build/cross-build/include/mac/sys/ |
H A D | endian.h | 45 #define bswap16(x) __builtin_bswap16(x) argument 46 #define bswap32(x) __builtin_bswap32(x) argument 47 #define bswap64(x) __builtin_bswap64(x) argument 57 #define htobe16(x) bswap16((x)) argument 58 #define htobe32(x) bswap32((x)) argument 59 #define htobe64(x) bswap64((x)) argument 60 #define htole16(x) ((uint16_t)(x)) argument 61 #define htole32(x) ((uint32_t)(x)) argument 62 #define htole64(x) ((uint64_t)(x)) argument 64 #define be16toh(x) bswap16((x)) argument [all …]
|
/freebsd/contrib/jemalloc/include/jemalloc/internal/ |
H A D | bit_util.h | 84 pow2_ceil_u64(uint64_t x) { in pow2_ceil_u64() 114 pow2_ceil_u32(uint32_t x) { in pow2_ceil_u32() 144 pow2_ceil_zu(size_t x) { in pow2_ceil_zu() 154 lg_floor(size_t x) { in lg_floor() 167 lg_floor(size_t x) { in lg_floor() 184 lg_floor(size_t x) { in lg_floor() 197 lg_floor(size_t x) { in lg_floor() 217 lg_ceil(size_t x) { in lg_ceil() 224 #define LG_FLOOR_1(x) 0 argument 225 #define LG_FLOOR_2(x) (x < (1ULL << 1) ? LG_FLOOR_1(x) : 1 + LG_FLOOR_1(x >> 1)) argument [all …]
|
/freebsd/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_debug.h | 46 #define KMP_DEBUG_USE_VAR(x) /* Nothing (it is used!) */ argument 56 #define KMP_DEBUG_USE_VAR(x) ((void)(x)) argument 63 #define KMP_DEBUG_USE_VAR(x) ((void)(x)) argument 81 #define KA_TRACE(d, x) \ argument 85 #define KB_TRACE(d, x) \ argument 89 #define KC_TRACE(d, x) \ argument 93 #define KD_TRACE(d, x) \ argument 97 #define KE_TRACE(d, x) \ argument 101 #define KF_TRACE(d, x) \ argument 105 #define K_DIAG(d, x) \ argument [all …]
|