/freebsd-src/crypto/openssl/test/ |
H A D | testutil.h | 289 # define PRINTF_FORMAT(a, b) argument 299 # define PRINTF_FORMAT(a, b) __attribute__ ((format(printf, a, b))) argument 429 # define TEST_int_eq(a, b) test_int_eq(__FILE__, __LINE__, #a, #b, a, b) argument 430 # define TEST_int_ne(a, b) test_int_ne(__FILE__, __LINE__, #a, #b, a, b) argument 431 # define TEST_int_lt(a, b) test_int_lt(__FILE__, __LINE__, #a, #b, a, b) argument 432 # define TEST_int_le(a, b) test_int_le(__FILE__, __LINE__, #a, #b, a, b) argument 433 # define TEST_int_gt(a, b) test_int_gt(__FILE__, __LINE__, #a, #b, a, b) argument 434 # define TEST_int_ge(a, b) test_int_ge(__FILE__, __LINE__, #a, #b, a, b) argument 436 # define TEST_uint_eq(a, b) test_uint_eq(__FILE__, __LINE__, #a, #b, a, b) argument 437 # define TEST_uint_ne(a, b) test_uint_ne(__FILE__, __LINE__, #a, #b, a, b) argument [all …]
|
H A D | constant_time_test.c | 61 static int test_binary_op(unsigned int (*op) (unsigned int a, unsigned int b), in test_binary_op() 72 static int test_binary_op_8(unsigned in test_binary_op_8() 73 char (*op) (unsigned int a, unsigned int b), in test_binary_op_8() 84 static int test_binary_op_s(size_t (*op) (size_t a, size_t b), in test_binary_op_s() 95 static int test_binary_op_64(uint64_t (*op)(uint64_t a, uint64_t b), in test_binary_op_64() 115 unsigned int a = test_values[i]; in test_is_zero() local 126 unsigned int a = test_values_8[i]; in test_is_zero_8() local 137 uint32_t a = test_values_32[i]; in test_is_zero_32() local 148 size_t a = test_values_s[i]; in test_is_zero_s() local 157 static int test_select(unsigned int a, unsigned int b) in test_select() [all …]
|
/freebsd-src/bin/ls/ |
H A D | cmp.c | 45 namecmp(const FTSENT *a, const FTSENT *b) in namecmp() 52 revnamecmp(const FTSENT *a, const FTSENT *b) in revnamecmp() 59 verscmp(const FTSENT *a, const FTSENT *b) in verscmp() 66 revverscmp(const FTSENT *a, const FTSENT *b) in revverscmp() 73 modcmp(const FTSENT *a, const FTSENT *b) in modcmp() 95 revmodcmp(const FTSENT *a, const FTSENT *b) in revmodcmp() 102 acccmp(const FTSENT *a, const FTSENT *b) in acccmp() 124 revacccmp(const FTSENT *a, const FTSENT *b) in revacccmp() 131 birthcmp(const FTSENT *a, const FTSENT *b) in birthcmp() 153 revbirthcmp(const FTSENT *a, const FTSENT *b) in revbirthcmp() [all …]
|
/freebsd-src/crypto/openssl/include/internal/ |
H A D | constant_time.h | 100 static ossl_inline unsigned int constant_time_msb(unsigned int a) in constant_time_msb() 106 static ossl_inline uint32_t constant_time_msb_32(uint32_t a) in constant_time_msb_32() 111 static ossl_inline uint64_t constant_time_msb_64(uint64_t a) in constant_time_msb_64() 116 static ossl_inline size_t constant_time_msb_s(size_t a) in constant_time_msb_s() 121 static ossl_inline unsigned int constant_time_lt(unsigned int a, in constant_time_lt() 122 unsigned int b) in constant_time_lt() 127 static ossl_inline size_t constant_time_lt_s(size_t a, size_t b) in constant_time_lt_s() 132 static ossl_inline unsigned char constant_time_lt_8(unsigned int a, in constant_time_lt_8() 133 unsigned int b) in constant_time_lt_8() 138 static ossl_inline uint64_t constant_time_lt_64(uint64_t a, uint64_t b) in constant_time_lt_64() [all …]
|
/freebsd-src/sys/netinet/ |
H A D | tcp_seq.h | 39 #define SEQ_LT(a,b) ((int)((a)-(b)) < 0) argument 40 #define SEQ_LEQ(a,b) ((int)((a)-(b)) <= 0) argument 41 #define SEQ_GT(a,b) ((int)((a)-(b)) > 0) argument 42 #define SEQ_GEQ(a,b) ((int)((a)-(b)) >= 0) argument 43 #define SEQ_SUB(a,b) ((int)((a)-(b))) argument 45 #define SEQ_MIN(a, b) ((SEQ_LT(a, b)) ? (a) : (b)) argument 46 #define SEQ_MAX(a, b) ((SEQ_GT(a, b)) ? (a) : (b)) argument 48 #define WIN_LT(a,b) (ntohs(a) < ntohs(b)) argument 49 #define WIN_LEQ(a,b) (ntohs(a) <= ntohs(b)) argument 50 #define WIN_GT(a,b) (ntohs(a) > ntohs(b)) argument [all …]
|
/freebsd-src/contrib/ntp/include/ |
H A D | ntp_unixtime.h | 12 # define GETTIMEOFDAY(a, b) (node_gettime(&ntp_node, a)) argument 13 # define SETTIMEOFDAY(a, b) (node_settime(&ntp_node, a)) argument 14 # define ADJTIMEOFDAY(a, b) (node_adjtime(&ntp_node, a, b)) argument 16 # define ADJTIMEOFDAY(a, b) (adjtime(a, b)) argument 21 # define GETTIMEOFDAY(a, b) (gettimeofday(a, b)) argument 22 # define SETTIMEOFDAY(a, b) (settimeofday(a, b)) argument 25 # define GETTIMEOFDAY(a, b) (gettimeofday(a)) argument 26 # define SETTIMEOFDAY(a, b) (settimeofday(a)) argument 29 # define GETTIMEOFDAY(a, b) (gettimeofday(a, b)) argument 30 # define SETTIMEOFDAY(a, b) (settimeofday_NT(a)) argument [all …]
|
/freebsd-src/contrib/netbsd-tests/kernel/ |
H A D | t_ptrace_wait.h | 67 # define TWAIT_WAIT4TYPE(a,b,c,d) wait((b)) argument 68 # define TWAIT_GENERIC(a,b,c) wait((b)) argument 72 # define TWAIT_WAIT4TYPE(a,b,c,d) waitpid((a),(b),(c)) argument 73 # define TWAIT_GENERIC(a,b,c) waitpid((a),(b),(c)) argument 78 # define TWAIT_GENERIC(a,b,c) \ argument 80 # define TWAIT_WAIT6TYPE(a,b,c,d,e,f) waitid((a),(b),(f),(d)) argument 84 # define TWAIT_WAIT4TYPE(a,b,c,d) wait3((b),(c),(d)) argument 85 # define TWAIT_GENERIC(a,b,c) wait3((b),(c),NULL) argument 90 # define TWAIT_WAIT4TYPE(a,b,c,d) wait4((a),(b),(c),(d)) argument 91 # define TWAIT_GENERIC(a,b,c) wait4((a),(b),(c),NULL) argument [all …]
|
/freebsd-src/contrib/ntp/sntp/libopts/ |
H A D | intprops.h | 106 #define INT_BITS_STRLEN_BOUND(b) (((b) * 146 + 484) / 485) argument 160 #define INT_ADD_RANGE_OVERFLOW(a, b, min, max) \ argument 167 #define INT_SUBTRACT_RANGE_OVERFLOW(a, b, min, max) \ argument 174 #define INT_NEGATE_RANGE_OVERFLOW(a, min, max) \ argument 183 #define INT_MULTIPLY_RANGE_OVERFLOW(a, b, min, max) \ argument 198 #define INT_DIVIDE_RANGE_OVERFLOW(a, b, min, max) \ argument 206 #define INT_REMAINDER_RANGE_OVERFLOW(a, b, min, max) \ argument 216 #define INT_LEFT_SHIFT_RANGE_OVERFLOW(a, b, min, max) \ argument 236 # define _GL_ADD_OVERFLOW(a, b, min, max) \ argument 238 # define _GL_SUBTRACT_OVERFLOW(a, b, min, max) \ argument [all …]
|
/freebsd-src/lib/libc/iconv/ |
H A D | iconv_compat.c | 40 __iconv_compat(iconv_t a, char ** b, size_t * c, char ** d, in __iconv_compat() 47 __iconv_free_list_compat(char ** a, size_t b) in __iconv_free_list_compat() 53 __iconv_get_list_compat(char ***a, size_t *b, __iconv_bool c) in __iconv_get_list_compat() 59 iconv_compat(iconv_t a, char ** __restrict b, in iconv_compat() 67 iconv_canonicalize_compat(const char *a) in iconv_canonicalize_compat() 73 iconv_close_compat(iconv_t a) in iconv_close_compat() 79 iconv_open_compat(const char *a, const char *b) in iconv_open_compat() 85 iconv_open_into_compat(const char *a, const char *b, iconv_allocation_t *c) in iconv_open_into_compat() 91 iconv_set_relocation_prefix_compat(const char *a, const char *b) in iconv_set_relocation_prefix_compat() 97 iconvctl_compat(iconv_t a, int b, void *c) in iconvctl_compat() [all …]
|
/freebsd-src/bin/expr/ |
H A D | expr.y | 306 op_or(struct val *a, struct val *b) in op_or() 320 op_and(struct val *a, struct val *b) in op_and() 333 compare_vals(struct val *a, struct val *b) in compare_vals() 358 op_eq(struct val *a, struct val *b) in op_eq() 364 op_gt(struct val *a, struct val *b) in op_gt() 370 op_lt(struct val *a, struct val *b) in op_lt() 376 op_ge(struct val *a, struct val *b) in op_ge() 382 op_le(struct val *a, struct val *b) in op_le() 388 op_ne(struct val *a, struct val *b) in op_ne() 394 assert_plus(intmax_t a, intmax_t b, intmax_t r) in assert_plus() [all …]
|
/freebsd-src/contrib/ncurses/include/ |
H A D | nc_tparm.h | 56 #define TPARM_9(a,b,c,d,e,f,g,h,i,j) tparm(a,TPARM_N(b),TPARM_N(c),TPARM_N(d),TPARM_N(e),TPARM_N(f)… argument 59 #define TPARM_8(a,b,c,d,e,f,g,h,i) tparm(a,TPARM_N(b),TPARM_N(c),TPARM_N(d),TPARM_N(e),TPARM_N(f),T… argument 60 #define TPARM_7(a,b,c,d,e,f,g,h) tparm(a,TPARM_N(b),TPARM_N(c),TPARM_N(d),TPARM_N(e),TPARM_N(f),TPA… argument 61 #define TPARM_6(a,b,c,d,e,f,g) tparm(a,TPARM_N(b),TPARM_N(c),TPARM_N(d),TPARM_N(e),TPARM_N(f),TPARM… argument 62 #define TPARM_5(a,b,c,d,e,f) tparm(a,TPARM_N(b),TPARM_N(c),TPARM_N(d),TPARM_N(e),TPARM_N(f)) argument 63 #define TPARM_4(a,b,c,d,e) tparm(a,TPARM_N(b),TPARM_N(c),TPARM_N(d),TPARM_N(e)) argument 64 #define TPARM_3(a,b,c,d) tparm(a,TPARM_N(b),TPARM_N(c),TPARM_N(d)) argument 65 #define TPARM_2(a,b,c) tparm(a,TPARM_N(b),TPARM_N(c)) argument 66 #define TPARM_1(a,b) tparm(a,TPARM_N(b)) argument 67 #define TPARM_0(a) tparm(a) argument [all …]
|
/freebsd-src/contrib/arm-optimized-routines/pl/math/test/ |
H A D | mathbench_funcs.h |
|
/freebsd-src/sys/compat/linux/ |
H A D | linux_dtrace.h | 46 #define _LIN_SDT_PROBE_DECLARE(a, b, c, d) SDT_PROBE_DECLARE(a, b, c, d) argument 47 #define LIN_SDT_PROBE_DECLARE(a, b, c) _LIN_SDT_PROBE_DECLARE( \ argument 50 #define _LIN_SDT_PROBE_DEFINE0(a, b, c, d) SDT_PROBE_DEFINE(a, \ argument 52 #define LIN_SDT_PROBE_DEFINE0(a, b, c) _LIN_SDT_PROBE_DEFINE0(\ argument 54 #define _LIN_SDT_PROBE_DEFINE1(a, b, c, d, e) SDT_PROBE_DEFINE1(a, \ argument 56 #define LIN_SDT_PROBE_DEFINE1(a, b, c, d) _LIN_SDT_PROBE_DEFINE1(\ argument 58 #define _LIN_SDT_PROBE_DEFINE2(a, b, c, d, e, f) SDT_PROBE_DEFINE2(a, \ argument 60 #define LIN_SDT_PROBE_DEFINE2(a, b, c, d, e) _LIN_SDT_PROBE_DEFINE2(\ argument 62 #define _LIN_SDT_PROBE_DEFINE3(a, b, c, d, e, f, g) SDT_PROBE_DEFINE3(a, \ argument 64 #define LIN_SDT_PROBE_DEFINE3(a, b, c, d, e, f) _LIN_SDT_PROBE_DEFINE3(\ argument [all …]
|
/freebsd-src/contrib/one-true-awk/ |
H A D | parse.c | 44 Node *exptostat(Node *a) in exptostat() 50 Node *node1(int a, Node *b) in node1() 60 Node *node2(int a, Node *b, Node *c) in node2() 71 Node *node3(int a, Node *b, Node *c, Node *d) in node3() 83 Node *node4(int a, Node *b, Node *c, Node *d, Node *e) in node4() 96 Node *node5(int a, Node *b, Node *c, Node *d, Node *e, Node *f) in node5() 110 Node *stat1(int a, Node *b) in stat1() 119 Node *stat2(int a, Node *b, Node *c) in stat2() 128 Node *stat3(int a, Node *b, Node *c, Node *d) in stat3() 137 Node *stat4(int a, Node *b, Node *c, Node *d, Node *e) in stat4() [all …]
|
/freebsd-src/include/ |
H A D | stdckdint.h | 15 #define ckd_add(result, a, b) \ argument 18 #define ckd_add(result, a, b) \ argument 23 #define ckd_sub(result, a, b) \ argument 26 #define ckd_sub(result, a, b) \ argument 31 #define ckd_mul(result, a, b) \ argument 34 #define ckd_mul(result, a, b) \ argument
|
/freebsd-src/contrib/libevent/test/ |
H A D | tinytest_macros.h | 89 #define tt_want_(b, msg, fail) \ argument 101 #define tt_want_msg(b, msg) \ argument 105 #define tt_assert_msg(b, msg) \ argument 109 #define tt_want(b) tt_want_msg( (b), "want("#b")") argument 111 #define tt_assert(b) tt_assert_msg((b), "assert("#b")") argument 113 #define tt_assert_test_fmt_type(a,b,str_test,type,test,printf_type,printf_fmt, \ argument 143 #define tt_assert_test_type(a,b,str_test,type,test,fmt,die_on_fail) \ argument 147 #define tt_assert_test_type_opt(a,b,str_test,type,test,fmt,die_on_fail) \ argument 153 #define tt_assert_op_type(a,op,b,type,fmt) \ argument 157 #define tt_int_op(a,op,b) \ argument [all …]
|
/freebsd-src/contrib/ntp/sntp/libevent/test/ |
H A D | tinytest_macros.h | 89 #define tt_want_(b, msg, fail) \ argument 101 #define tt_want_msg(b, msg) \ argument 105 #define tt_assert_msg(b, msg) \ argument 109 #define tt_want(b) tt_want_msg( (b), "want("#b")") argument 111 #define tt_assert(b) tt_assert_msg((b), "assert("#b")") argument 113 #define tt_assert_test_fmt_type(a,b,str_test,type,test,printf_type,printf_fmt, \ argument 143 #define tt_assert_test_type(a,b,str_test,type,test,fmt,die_on_fail) \ argument 147 #define tt_assert_test_type_opt(a,b,str_test,type,test,fmt,die_on_fail) \ argument 153 #define tt_assert_op_type(a,op,b,type,fmt) \ argument 157 #define tt_int_op(a,op,b) \ argument [all …]
|
/freebsd-src/sys/dev/cfe/ |
H A D | cfe_api.h | 132 # define cfe_strlen(a) __cfe_strlen(a) argument 151 #define cfe_close(a) __cfe_close(a) argument 152 #define cfe_cpu_start(a,b,c,d,e) __cfe_cpu_start(a,b,c,d,e) argument 153 #define cfe_cpu_stop(a) __cfe_cpu_stop(a) argument 154 #define cfe_enumenv(a,b,d,e,f) __cfe_enumenv(a,b,d,e,f) argument 155 #define cfe_enumdev(a,b,c) __cfe_enumdev(a,b,c) argument 156 #define cfe_enummem(a,b,c,d,e) __cfe_enummem(a,b,c,d,e) argument 157 #define cfe_exit(a,b) __cfe_exit(a,b) argument 158 #define cfe_flushcache(a) __cfe_cacheflush(a) argument 159 #define cfe_getdevinfo(a) __cfe_getdevinfo(a) argument [all …]
|
/freebsd-src/sys/contrib/openzfs/include/os/linux/spl/sys/ |
H A D | timer.h | 39 #define ddi_time_before(a, b) (typecheck(clock_t, a) && \ argument 42 #define ddi_time_after(a, b) ddi_time_before(b, argument 43 ddi_time_before_eq(a,b) global() argument 44 ddi_time_after_eq(a,b) global() argument 46 ddi_time_before64(a,b) global() argument 49 ddi_time_after64(a,b) global() argument 50 ddi_time_before_eq64(a,b) global() argument 51 ddi_time_after_eq64(a,b) global() argument [all...] |
/freebsd-src/sys/contrib/libsodium/src/libsodium/crypto_generichash/blake2b/ref/ |
H A D | blake2b-compress-avx2.h | 30 #define ADD(a, b) _mm256_add_epi64(a, b) argument 31 #define SUB(a, b) _mm256_sub_epi64(a, b) argument 33 #define XOR(a, b) _mm256_xor_si256(a, b) argument 34 #define AND(a, b) _mm256_and_si256(a, b) argument 35 #define OR(a, b) _mm256_or_si256(a, b) argument 42 #define BLAKE2B_G1_V1(a, b, c, d, m) \ argument 53 #define BLAKE2B_G2_V1(a, b, c, d, m) \ argument 64 #define BLAKE2B_DIAG_V1(a, b, c, d) \ argument 71 #define BLAKE2B_UNDIAG_V1(a, b, c, d) \ argument 80 #define BLAKE2B_ROUND_V1(a, b, c, d, r, m) \ argument [all …]
|
/freebsd-src/contrib/tcsh/ |
H A D | tc.decls.h | 165 # define tcgetpgrp(a) xtcgetpgrp(a) argument 167 # define tcsetpgrp(a, b) xtcsetpgrp((a), (b)) argument 181 # define memmove(a, b, c) xmemmove(a, b, c) argument 186 # define memset(a, b, c) xmemset(a, b, c) argument 193 # define getcwd(a, b) xgetcwd(a, b) argument 199 # define gethostname(a, b) xgethostname(a, b) argument 205 # define nice(a) xnice(a) argument 211 # define strerror(a) xstrerror(a) argument 226 #define __attribute__(a) argument
|
H A D | tc.sig.h | 58 # define killpg(a, b) kill(-(a), (b)) argument 64 # define killpg(a, b) kill((a), (b)) argument 70 # define killpg(a, b) kill((a), (b)) argument 72 # define signal(a, b) signal((a), (a) == SIGCHLD ? SIG_IGN : (b)) argument 77 # define killpg(a, b) kill(-(a), (b)) argument 82 # define killpg(a, b) kill(-getpgrp(a), b) argument
|
/freebsd-src/sys/sys/ |
H A D | libkern.h | 88 static __inline int imax(int a, int b) { return (a > b ? a : b); } in imax() argument 89 static __inline int imin(int a, int b) { return (a < b in imax() argument 90 lmax(long a,long b) lmax() argument 91 lmin(long a,long b) lmin() argument 92 max(u_int a,u_int b) max() argument 93 min(u_int a,u_int b) min() argument 94 qmax(quad_t a,quad_t b) qmax() argument 95 qmin(quad_t a,quad_t b) qmin() argument 96 uqmax(u_quad_t a,u_quad_t b) uqmax() argument 97 uqmin(u_quad_t a,u_quad_t b) uqmin() argument 98 ulmax(u_long a,u_long b) ulmax() argument 99 ulmin(u_long a,u_long b) ulmin() argument 100 ummax(__uintmax_t a,__uintmax_t b) ummax() argument 105 ummin(__uintmax_t a,__uintmax_t b) ummin() argument 110 omax(off_t a,off_t b) omax() argument 111 omin(off_t a,off_t b) omin() argument 112 abs(int a) abs() argument 113 labs(long a) labs() argument 114 abs64(int64_t a) abs64() argument 115 qabs(quad_t a) qabs() argument [all...] |
/freebsd-src/contrib/wpa/src/tls/ |
H A D | bignum.c | 115 int bignum_cmp(const struct bignum *a, const struct bignum *b) in bignum_cmp() 127 int bignum_cmp_d(const struct bignum *a, unsigned long b) in bignum_cmp_d() 140 int bignum_add(const struct bignum *a, const struct bignum *b, in bignum_add() 158 int bignum_sub(const struct bignum *a, const struct bignum *b, in bignum_sub() 176 int bignum_mul(const struct bignum *a, const struct bignum *b, in bignum_mul() 195 int bignum_mulmod(const struct bignum *a, const struct bignum *b, in bignum_mulmod() 215 int bignum_exptmod(const struct bignum *a, const struct bignum *b, in bignum_exptmod()
|
/freebsd-src/sys/compat/linuxkpi/common/include/linux/ |
H A D | jiffies.h | 45 #define time_after(a, b) ((int)((b) - (a)) < 0) argument 46 #define time_after32(a, b) ((int32_t)((uint32_t)(b) - (uint32_t)(a)) < 0) argument 47 #define time_before(a, b) time_afte argument 48 time_before32(a,b) global() argument 49 time_after_eq(a,b) global() argument 50 time_before_eq(a,b) global() argument 51 time_in_range(a,b,c) global() argument 53 time_is_after_eq_jiffies(a) global() argument 54 time_is_after_jiffies(a) global() argument [all...] |