/freebsd/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/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/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/crypto/openssl/include/internal/ |
H A D | constant_time.h | 100 constant_time_msb(unsigned int a) constant_time_msb() argument 106 constant_time_msb_32(uint32_t a) constant_time_msb_32() argument 111 constant_time_msb_64(uint64_t a) constant_time_msb_64() argument 116 constant_time_msb_s(size_t a) constant_time_msb_s() argument 121 constant_time_lt(unsigned int a,unsigned int b) constant_time_lt() argument 122 constant_time_lt(unsigned int a,unsigned int b) constant_time_lt() argument 127 constant_time_lt_s(size_t a,size_t b) constant_time_lt_s() argument 132 constant_time_lt_8(unsigned int a,unsigned int b) constant_time_lt_8() argument 133 constant_time_lt_8(unsigned int a,unsigned int b) constant_time_lt_8() argument 138 constant_time_lt_64(uint64_t a,uint64_t b) constant_time_lt_64() argument 143 constant_time_ge(unsigned int a,unsigned int b) constant_time_ge() argument 144 constant_time_ge(unsigned int a,unsigned int b) constant_time_ge() argument 149 constant_time_ge_s(size_t a,size_t b) constant_time_ge_s() argument 154 constant_time_ge_8(unsigned int a,unsigned int b) constant_time_ge_8() argument 155 constant_time_ge_8(unsigned int a,unsigned int b) constant_time_ge_8() argument 160 constant_time_ge_8_s(size_t a,size_t b) constant_time_ge_8_s() argument 165 constant_time_is_zero(unsigned int a) constant_time_is_zero() argument 170 constant_time_is_zero_s(size_t a) constant_time_is_zero_s() argument 175 constant_time_is_zero_8(unsigned int a) constant_time_is_zero_8() argument 180 constant_time_is_zero_32(uint32_t a) constant_time_is_zero_32() argument 185 constant_time_is_zero_64(uint64_t a) constant_time_is_zero_64() argument 190 constant_time_eq(unsigned int a,unsigned int b) constant_time_eq() argument 191 constant_time_eq(unsigned int a,unsigned int b) constant_time_eq() argument 196 constant_time_eq_s(size_t a,size_t b) constant_time_eq_s() argument 201 constant_time_eq_8(unsigned int a,unsigned int b) constant_time_eq_8() argument 202 constant_time_eq_8(unsigned int a,unsigned int b) constant_time_eq_8() argument 207 constant_time_eq_8_s(size_t a,size_t b) constant_time_eq_8_s() argument 212 constant_time_eq_int(int a,int b) constant_time_eq_int() argument 217 constant_time_eq_int_8(int a,int b) constant_time_eq_int_8() argument 229 value_barrier(unsigned int a) value_barrier() argument 241 value_barrier_32(uint32_t a) value_barrier_32() argument 253 value_barrier_64(uint64_t a) value_barrier_64() argument 265 value_barrier_s(size_t a) value_barrier_s() argument 277 constant_time_select(unsigned int mask,unsigned int a,unsigned int b) constant_time_select() argument 278 constant_time_select(unsigned int mask,unsigned int a,unsigned int b) constant_time_select() argument 284 constant_time_select_s(size_t mask,size_t a,size_t b) constant_time_select_s() argument 285 constant_time_select_s(size_t mask,size_t a,size_t b) constant_time_select_s() argument 291 constant_time_select_8(unsigned char mask,unsigned char a,unsigned char b) constant_time_select_8() argument 292 constant_time_select_8(unsigned char mask,unsigned char a,unsigned char b) constant_time_select_8() argument 297 constant_time_select_int(unsigned int mask,int a,int b) constant_time_select_int() argument 298 constant_time_select_int(unsigned int mask,int a,int b) constant_time_select_int() argument 303 constant_time_select_int_s(size_t mask,int a,int b) constant_time_select_int_s() argument 309 constant_time_select_32(uint32_t mask,uint32_t a,uint32_t b) constant_time_select_32() argument 310 constant_time_select_32(uint32_t mask,uint32_t a,uint32_t b) constant_time_select_32() argument 315 constant_time_select_64(uint64_t mask,uint64_t a,uint64_t b) constant_time_select_64() argument 316 constant_time_select_64(uint64_t mask,uint64_t a,uint64_t b) constant_time_select_64() argument 331 constant_time_cond_swap_32(uint32_t mask,uint32_t * a,uint32_t * b) constant_time_cond_swap_32() argument 332 constant_time_cond_swap_32(uint32_t mask,uint32_t * a,uint32_t * b) constant_time_cond_swap_32() argument 351 constant_time_cond_swap_64(uint64_t mask,uint64_t * a,uint64_t * b) constant_time_cond_swap_64() argument 352 constant_time_cond_swap_64(uint64_t mask,uint64_t * a,uint64_t * b) constant_time_cond_swap_64() argument 374 constant_time_cond_swap_buff(unsigned char mask,unsigned char * a,unsigned char * b,size_t len) constant_time_cond_swap_buff() argument 375 constant_time_cond_swap_buff(unsigned char mask,unsigned char * a,unsigned char * b,size_t len) constant_time_cond_swap_buff() argument [all...] |
/freebsd/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/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/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/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/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/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/contrib/arm-optimized-routines/pl/math/test/ |
H A D | mathbench_funcs.h | 9 #define _ZSF1(fun, a, b) F(fun##f, a, b) argument 10 #define _ZSD1(f, a, b) D(f, a, b) argument 14 #define _ZVF1(fun, a, b) VNF(_ZGVnN4v_##fun##f, a, b) argument 15 #define _ZVD1(f, a, b) VND(_ZGVnN2v_##f, a, b) argument 19 #define _ZVF1(f, a, b) argument 20 #define _ZVD1(f, a, b) argument 26 #define _ZSVF1(fun, a, b) SVF(_ZGVsMxv_##fun##f, a, b) argument 27 #define _ZSVD1(f, a, b) SVD(_ZGVsMxv_##f, a, b) argument 31 #define _ZSVF1(f, a, b) argument 32 #define _ZSVD1(f, a, b) argument
|
/freebsd/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/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/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, a) argument 43 #define ddi_time_before_eq(a, b) (!ddi_time_after(a, b)) argument 44 #define ddi_time_after_eq(a, b) ddi_time_before_eq(b, a) argument 46 #define ddi_time_before64(a, b) (typecheck(int64_t, a) && \ argument 49 #define ddi_time_after64(a, b) ddi_time_before64(b, a) argument 50 #define ddi_time_before_eq64(a, b) (!ddi_time_after64(a, b)) argument 51 #define ddi_time_after_eq64(a, b) ddi_time_before_eq64(b, a) argument
|
/freebsd/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/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/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/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/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/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/sys/sys/ |
H A D | libkern.h | 88 static __inline int imax(int a, int b) { return (a > b ? a : b); } in imax() 89 static __inline int imin(int a, int b) { return (a < b ? a : b); } in imin() 90 static __inline long lmax(long a, long b) { return (a > b ? a : b); } in lmax() 91 static __inline long lmin(long a, long b) { return (a < b ? a : b); } in lmin() 92 static __inline u_int max(u_int a, u_int b) { return (a > b ? a : b); } in max() 93 static __inline u_int min(u_int a, u_int b) { return (a < b ? a : b); } in min() 94 static __inline quad_t qmax(quad_t a, quad_t b) { return (a > b ? a : b); } in qmax() 95 static __inline quad_t qmin(quad_t a, quad_t b) { return (a < b ? a : b); } in qmin() 96 static __inline u_quad_t uqmax(u_quad_t a, u_quad_t b) { return (a > b ? a : b); } in uqmax() 97 static __inline u_quad_t uqmin(u_quad_t a, u_quad_t b) { return (a < b ? a : b); } in uqmin() [all …]
|
/freebsd/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_after(b,a) argument 48 #define time_before32(a, b) time_after32(b, a) argument 49 #define time_after_eq(a, b) ((int)((a) - (b)) >= 0) argument 50 #define time_before_eq(a, b) time_after_eq(b, a) argument 51 #define time_in_range(a,b,c) \ argument 53 #define time_is_after_eq_jiffies(a) time_after_eq(a, jiffies) argument 54 #define time_is_after_jiffies(a) time_after(a, jiffies) argument 55 #define time_is_before_jiffies(a) time_before(a, jiffies) argument
|
/freebsd/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()
|