| /freebsd/crypto/openssl/test/ |
| H A D | testutil.h | 288 #define PRINTF_FORMAT(a, b) argument 298 #define PRINTF_FORMAT(a, b) __attribute__((format(printf, a, b))) argument 430 #define TEST_int_eq(a, b) test_int_eq(__FILE__, __LINE__, #a, #b, a, b) argument 431 #define TEST_int_ne(a, b) test_int_ne(__FILE__, __LINE__, #a, #b, a, b) argument 432 #define TEST_int_lt(a, b) test_int_lt(__FILE__, __LINE__, #a, #b, a, b) argument 433 #define TEST_int_le(a, b) test_int_le(__FILE__, __LINE__, #a, #b, a, b) argument 434 #define TEST_int_gt(a, b) test_int_gt(__FILE__, __LINE__, #a, #b, a, b) argument 435 #define TEST_int_ge(a, b) test_int_ge(__FILE__, __LINE__, #a, #b, a, b) argument 437 #define TEST_uint_eq(a, b) test_uint_eq(__FILE__, __LINE__, #a, #b, a, b) argument 438 #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 char (*op)(unsigned int a, unsigned int b), in test_binary_op_8() 83 static int test_binary_op_s(size_t (*op)(size_t a, size_t b), in test_binary_op_s() 94 static int test_binary_op_64(uint64_t (*op)(uint64_t a, uint64_t b), in test_binary_op_64() 156 static int test_select(unsigned int a, unsigned int b) in test_select() 165 static int test_select_8(unsigned char a, unsigned char b) in test_select_8() 174 static int test_select_32(uint32_t a, uint32_t b) in test_select_32() 183 static int test_select_s(size_t a, size_t b) in test_select_s() 192 static int test_select_64(uint64_t a, uint64_t b) in test_select_64() 209 static int test_select_int(int a, int b) in test_select_int() [all …]
|
| /freebsd/contrib/ntp/libntp/lib/isc/ |
| H A D | buffer.c | 31 isc__buffer_init(isc_buffer_t *b, const void *base, unsigned int length) { in isc__buffer_init() 43 isc__buffer_initnull(isc_buffer_t *b) { in isc__buffer_initnull() 53 isc_buffer_reinit(isc_buffer_t *b, void *base, unsigned int length) { in isc_buffer_reinit() 72 isc__buffer_invalidate(isc_buffer_t *b) { in isc__buffer_invalidate() 85 isc__buffer_region(isc_buffer_t *b, isc_region_t *r) { in isc__buffer_region() 97 isc__buffer_usedregion(isc_buffer_t *b, isc_region_t *r) { in isc__buffer_usedregion() 109 isc__buffer_availableregion(isc_buffer_t *b, isc_region_t *r) { in isc__buffer_availableregion() 121 isc__buffer_add(isc_buffer_t *b, unsigned int n) { in isc__buffer_add() 133 isc__buffer_subtract(isc_buffer_t *b, unsigned int n) { in isc__buffer_subtract() 145 isc__buffer_clear(isc_buffer_t *b) { in isc__buffer_clear() [all …]
|
| /freebsd/sys/dev/sound/pcm/ |
| H A D | buffer.c | 50 struct snd_dbuf *b; in sndbuf_create() local 60 sndbuf_destroy(struct snd_dbuf *b) in sndbuf_destroy() 69 struct snd_dbuf *b = (struct snd_dbuf *)arg; in sndbuf_setmap() local 88 sndbuf_alloc(struct snd_dbuf *b, bus_dma_tag_t dmatag, int dmaflags, in sndbuf_alloc() 118 sndbuf_setup(struct snd_dbuf *b, void *buf, unsigned int size) in sndbuf_setup() 130 sndbuf_free(struct snd_dbuf *b) in sndbuf_free() 157 sndbuf_resize(struct snd_dbuf *b, unsigned int blkcnt, unsigned int blksz) in sndbuf_resize() 206 sndbuf_remalloc(struct snd_dbuf *b, unsigned int blkcnt, unsigned int blksz) in sndbuf_remalloc() 259 sndbuf_clear(struct snd_dbuf *b, unsigned int length) in sndbuf_clear() 282 sndbuf_fillsilence(struct snd_dbuf *b) in sndbuf_fillsilence() [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/crypto/openssl/include/openssl/ |
| H A D | bio.h.in | 208 #define BIO_get_ktls_send(b) \ argument 210 #define BIO_get_ktls_recv(b) \ argument 254 #define BIO_get_flags(b) BIO_test_flags(b, ~(0x0)) argument 255 #define BIO_set_retry_special(b) \ argument 257 #define BIO_set_retry_read(b) \ argument 259 #define BIO_set_retry_write(b) \ argument 263 #define BIO_clear_retry_flags(b) \ argument 265 #define BIO_get_retry_flags(b) \ argument 482 #define BIO_set_nbio(b, n) BIO_ctrl(b, BIO_C_SET_NBIO, (n), NULL) argument 483 #define BIO_set_tfo(b, n) BIO_ctrl(b, BIO_C_SET_TFO, (n), NULL) argument [all …]
|
| H A D | bio.h | 207 #define BIO_get_ktls_send(b) \ argument 209 #define BIO_get_ktls_recv(b) \ argument 253 #define BIO_get_flags(b) BIO_test_flags(b, ~(0x0)) argument 254 #define BIO_set_retry_special(b) \ argument 256 #define BIO_set_retry_read(b) \ argument 258 #define BIO_set_retry_write(b) \ argument 262 #define BIO_clear_retry_flags(b) \ argument 264 #define BIO_get_retry_flags(b) \ argument 505 #define BIO_set_nbio(b, n) BIO_ctrl(b, BIO_C_SET_NBIO, (n), NULL) argument 506 #define BIO_set_tfo(b, n) BIO_ctrl(b, BIO_C_SET_TFO, (n), NULL) argument [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/contrib/ntp/sntp/libevent/ |
| H A D | openssl-compat.h | 21 #define BIO_meth_set_write(b, f) (b)->bwrite = (f) argument 22 #define BIO_meth_set_read(b, f) (b)->bread = (f) argument 23 #define BIO_meth_set_puts(b, f) (b)->bputs = (f) argument 24 #define BIO_meth_set_ctrl(b, f) (b)->ctrl = (f) argument 25 #define BIO_meth_set_create(b, f) (b)->create = (f) argument 26 #define BIO_meth_set_destroy(b, f) (b)->destroy = (f) argument 28 #define BIO_set_init(b, val) (b)->init = (val) argument 29 #define BIO_set_data(b, val) (b)->ptr = (val) argument 30 #define BIO_set_shutdown(b, val) (b)->shutdown = (val) argument 31 #define BIO_get_init(b) (b)->init argument [all …]
|
| /freebsd/contrib/libevent/ |
| H A D | openssl-compat.h | 21 #define BIO_meth_set_write(b, f) (b)->bwrite = (f) argument 22 #define BIO_meth_set_read(b, f) (b)->bread = (f) argument 23 #define BIO_meth_set_puts(b, f) (b)->bputs = (f) argument 24 #define BIO_meth_set_ctrl(b, f) (b)->ctrl = (f) argument 25 #define BIO_meth_set_create(b, f) (b)->create = (f) argument 26 #define BIO_meth_set_destroy(b, f) (b)->destroy = (f) argument 28 #define BIO_set_init(b, val) (b)->init = (val) argument 29 #define BIO_set_data(b, val) (b)->ptr = (val) argument 30 #define BIO_set_shutdown(b, val) (b)->shutdown = (val) argument 31 #define BIO_get_init(b) (b)->init 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/llvm-project/clang/lib/Headers/ |
| H A D | riscv_corev_alu.h | 27 static __inline__ long __DEFAULT_FN_ATTRS __riscv_cv_alu_sle(long a, long b) { in __riscv_cv_alu_sle() 32 __riscv_cv_alu_sleu(unsigned long a, unsigned long b) { in __riscv_cv_alu_sleu() 36 static __inline__ long __DEFAULT_FN_ATTRS __riscv_cv_alu_min(long a, long b) { in __riscv_cv_alu_min() 41 __riscv_cv_alu_minu(unsigned long a, unsigned long b) { in __riscv_cv_alu_minu() 45 static __inline__ long __DEFAULT_FN_ATTRS __riscv_cv_alu_max(long a, long b) { in __riscv_cv_alu_max() 50 __riscv_cv_alu_maxu(unsigned long a, unsigned long b) { in __riscv_cv_alu_maxu() 73 unsigned long b) { in __riscv_cv_alu_clip() 78 __riscv_cv_alu_clipu(unsigned long a, unsigned long b) { in __riscv_cv_alu_clipu() 82 static __inline__ long __DEFAULT_FN_ATTRS __riscv_cv_alu_addN(long a, long b, in __riscv_cv_alu_addN() 88 __riscv_cv_alu_adduN(unsigned long a, unsigned long b, uint8_t shft) { in __riscv_cv_alu_adduN() [all …]
|
| /freebsd/crypto/openssl/include/internal/ |
| H A D | constant_time.h | 123 unsigned int b) in constant_time_lt() 128 static ossl_inline size_t constant_time_lt_s(size_t a, size_t b) in constant_time_lt_s() 134 unsigned int b) in constant_time_lt_8() 139 static ossl_inline uint32_t constant_time_lt_32(uint32_t a, uint32_t b) in constant_time_lt_32() 144 static ossl_inline uint64_t constant_time_lt_64(uint64_t a, uint64_t b) in constant_time_lt_64() 166 static ossl_inline BN_ULONG constant_time_lt_bn(BN_ULONG a, BN_ULONG b) in constant_time_lt_bn() 177 BN_ULONG b) in constant_time_eq_bn() 184 BN_ULONG b) in constant_time_select_bn() 191 unsigned int b) in constant_time_ge() 196 static ossl_inline size_t constant_time_ge_s(size_t a, size_t b) in constant_time_ge_s() [all …]
|
| H A D | sockets.h | 177 #define readsocket(s, b, n) recv((s), (b), (n), 0) argument 178 #define writesocket(s, b, n) send((s), (b), (n), 0) argument 181 #define readsocket(s, b, n) read_s(s, b, n) argument 182 #define writesocket(s, b, n) send(s, b, n, 0) argument 184 #define ioctlsocket(a, b, c) ioctl(a, b, c) argument 186 #define readsocket(s, b, n) recv((s), (b), (n), 0) argument 187 #define writesocket(s, b, n) send((s), (b), (n), 0) argument 189 #define ioctlsocket(a, b, c) ioctl((a), (b), (int)(c)) argument 191 #define readsocket(s, b, n) read((s), (b), (n)) argument 192 #define writesocket(s, b, n) write((s), (char *)(b), (n)) argument [all …]
|
| /freebsd/contrib/bsnmp/lib/ |
| H A D | asn1.c | 59 asn_get_header(struct asn_buf *b, u_char *type, asn_len_t *len) in asn_get_header() 162 asn_put_header(struct asn_buf *b, u_char type, asn_len_t len) in asn_put_header() 200 asn_put_temp_header(struct asn_buf *b, u_char type, u_char **ptr) in asn_put_temp_header() 212 asn_commit_header(struct asn_buf *b, u_char *ptr, size_t *moved) in asn_commit_header() 246 asn_get_real_integer(struct asn_buf *b, asn_len_t len, int64_t *vp) in asn_get_real_integer() 293 asn_put_real_integer(struct asn_buf *b, u_char type, int64_t ival) in asn_put_real_integer() 341 asn_get_real_unsigned(struct asn_buf *b, asn_len_t len, uint64_t *vp) in asn_get_real_unsigned() 386 asn_put_real_unsigned(struct asn_buf *b, u_char type, uint64_t val) in asn_put_real_unsigned() 419 asn_get_integer_raw(struct asn_buf *b, asn_len_t len, int32_t *vp) in asn_get_integer_raw() 439 asn_get_integer(struct asn_buf *b, int32_t *vp) in asn_get_integer() [all …]
|
| /freebsd/contrib/libfido2/src/ |
| H A D | blob.c | 17 fido_blob_reset(fido_blob_t *b) in fido_blob_reset() 24 fido_blob_set(fido_blob_t *b, const u_char *ptr, size_t len) in fido_blob_set() 46 fido_blob_append(fido_blob_t *b, const u_char *ptr, size_t len) in fido_blob_append() 73 fido_blob_t *b; in fido_blob_free() local 90 fido_blob_t *b = &array->ptr[i]; in fido_free_blob_array() local 101 fido_blob_encode(const fido_blob_t *b) in fido_blob_encode() 110 fido_blob_decode(const cbor_item_t *item, fido_blob_t *b) in fido_blob_decode() 116 fido_blob_is_empty(const fido_blob_t *b) in fido_blob_is_empty() 122 fido_blob_serialise(fido_blob_t *b, const cbor_item_t *item) in fido_blob_serialise()
|
| /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 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 240 # define _GL_MULTIPLY_OVERFLOW(a, b, min, max) \ argument [all …]
|
| /freebsd/crypto/openssl/crypto/bio/ |
| H A D | bio_lib.c | 26 #define HAS_CALLBACK(b) ((b)->callback != NULL || (b)->callback_ex != NULL) argument 28 #define HAS_CALLBACK(b) ((b)->callback_ex != NULL) argument 37 static long bio_call_callback(BIO *b, int oper, const char *argp, size_t len, in bio_call_callback() 199 void BIO_clear_flags(BIO *b, int flags) in BIO_clear_flags() 204 int BIO_test_flags(const BIO *b, int flags) in BIO_test_flags() 209 void BIO_set_flags(BIO *b, int flags) in BIO_set_flags() 215 BIO_callback_fn BIO_get_callback(const BIO *b) in BIO_get_callback() 220 void BIO_set_callback(BIO *b, BIO_callback_fn cb) in BIO_set_callback() 226 BIO_callback_fn_ex BIO_get_callback_ex(const BIO *b) in BIO_get_callback_ex() 231 void BIO_set_callback_ex(BIO *b, BIO_callback_fn_ex cb) in BIO_set_callback_ex() [all …]
|
| /freebsd/lib/libc/tests/string/ |
| H A D | memset_s_test.c | 54 char b; in ATF_TC_BODY() local 63 char b; in ATF_TC_BODY() local 72 char b; in ATF_TC_BODY() local 83 char b; in ATF_TC_BODY() local 92 char b; in ATF_TC_BODY() local 101 char b[3] = {1, 2, 3}; in ATF_TC_BODY() local 113 char b[3] = {1, 2, 3}; in ATF_TC_BODY() local 130 char b; in ATF_TC_BODY() local 144 char b; in ATF_TC_BODY() local 158 char b; in ATF_TC_BODY() local [all …]
|
| /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/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/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/crypto/openssh/ |
| H A D | bitmap.c | 54 bitmap_free(struct bitmap *b) in bitmap_free() 65 bitmap_zero(struct bitmap *b) in bitmap_zero() 72 bitmap_test_bit(struct bitmap *b, u_int n) in bitmap_test_bit() 82 reserve(struct bitmap *b, u_int n) in reserve() 101 bitmap_set_bit(struct bitmap *b, u_int n) in bitmap_set_bit() 117 retop(struct bitmap *b) in retop() 126 bitmap_clear_bit(struct bitmap *b, u_int n) in bitmap_clear_bit() 141 bitmap_nbits(struct bitmap *b) in bitmap_nbits() 162 bitmap_nbytes(struct bitmap *b) in bitmap_nbytes() 168 bitmap_to_string(struct bitmap *b, void *p, size_t l) in bitmap_to_string() [all …]
|
| /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 …]
|