/freebsd/tests/sys/posixshm/ |
H A D | memfd_test.c | 92 #define BUF_SIZE 1024 macro 98 char *addr, buf[BUF_SIZE]; in ATF_TC_BODY() 101 ATF_REQUIRE(ftruncate(fd, BUF_SIZE) == 0); in ATF_TC_BODY() 104 ATF_REQUIRE(write(fd, buf, BUF_SIZE) == BUF_SIZE); in ATF_TC_BODY() 109 ATF_REQUIRE(munmap(addr, BUF_SIZE) == 0); in ATF_TC_BODY() 130 ATF_REQUIRE(ftruncate(fd, BUF_SIZE) == 0); in ATF_TC_BODY() 144 ATF_REQUIRE(munmap(addr, BUF_SIZE) == 0); in ATF_TC_BODY() 153 ATF_REQUIRE(munmap(raddr, BUF_SIZE) == 0); in ATF_TC_BODY() 157 ATF_REQUIRE(munmap(paddr, BUF_SIZE) == 0); in ATF_TC_BODY() 167 ATF_REQUIRE(munmap(raddr, BUF_SIZE) == 0); in ATF_TC_BODY() [all …]
|
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_helper.c | 931 char buf[BUF_SIZE]; in osm_dump_port_info() 959 char buf[BUF_SIZE]; in osm_dump_port_info_v2() 1010 char buf[BUF_SIZE]; in osm_dump_mlnx_ext_port_info() 1127 char buf[BUF_SIZE]; in osm_dump_portinfo_record() 1155 char buf[BUF_SIZE]; in osm_dump_portinfo_record_v2() 1213 char buf[BUF_SIZE]; in osm_dump_guid_info() 1229 char buf[BUF_SIZE]; in osm_dump_guid_info_v2() 1275 char buf[BUF_SIZE]; in osm_dump_guidinfo_record() 1289 char buf[BUF_SIZE]; in osm_dump_guidinfo_record_v2() 1332 char buf[BUF_SIZE]; in osm_dump_node_info() [all …]
|
H A D | osm_sm_mad_ctrl.c | 559 char buf[BUF_SIZE]; in log_rcv_cb_error() 563 char ipath[BUF_SIZE], rpath[BUF_SIZE]; in log_rcv_cb_error()
|
/freebsd/crypto/openssl/fuzz/ |
H A D | driver.c | 33 #define BUF_SIZE 65536 macro 40 uint8_t *buf = malloc(BUF_SIZE); in main() 41 size_t size = read(0, buf, BUF_SIZE); in main()
|
/freebsd/contrib/elftoolchain/size/ |
H A D | size.c | 47 #define BUF_SIZE 1024 macro 302 char buf[BUF_SIZE], *data, *name; in handle_core_note() 367 (void) snprintf(buf, BUF_SIZE, "%s/%d", in handle_core_note() 387 (void) snprintf(buf, BUF_SIZE, in handle_core_note() 417 (void) snprintf(buf, BUF_SIZE, "%s/%d", in handle_core_note() 485 char buf[BUF_SIZE]; in handle_phdr() 494 (void) snprintf(buf, BUF_SIZE, in handle_phdr() 504 (void) snprintf(buf, BUF_SIZE, "%s%d%s", name, in handle_phdr() 796 char buf[BUF_SIZE]; in berkeley_footer() 820 (void) snprintf(buf, BUF_SIZE, "%s", name); in berkeley_footer() [all …]
|
/freebsd/contrib/dialog/ |
H A D | textbox.c | 294 read_high(obj, BUF_SIZE); in get_line() 354 if (fpos < BUF_SIZE / 2 + obj->fd_bytes_read) { in back_lines() 360 val_to_tabize = BUF_SIZE / 2; in back_lines() 362 read_high(obj, BUF_SIZE); in back_lines() 394 val_to_tabize = BUF_SIZE / 2; in back_lines() 396 read_high(obj, BUF_SIZE); in back_lines() 651 read_high(obj, BUF_SIZE); in perform_search() 756 read_high(&obj, BUF_SIZE); in dialog_textbox() 897 read_high(&obj, BUF_SIZE); in dialog_textbox() 910 lseek_end(&obj, -BUF_SIZE); in dialog_textbox() [all …]
|
H A D | dialog.h | 184 #define BUF_SIZE (10L*1024) macro
|
/freebsd/contrib/dma/ |
H A D | crypto.c | 297 unsigned char digest[BUF_SIZE]; in smtp_auth_md5() 298 char buffer[BUF_SIZE], ascii_digest[33]; in smtp_auth_md5() 303 temp = calloc(BUF_SIZE, 1); in smtp_auth_md5() 331 snprintf(buffer, BUF_SIZE, "%s %s", login, ascii_digest); in smtp_auth_md5()
|
H A D | dma.h | 51 #define BUF_SIZE 2048 macro 54 #define EHLO_RESPONSE_SIZE BUF_SIZE
|
H A D | net.c | 131 char buff[BUF_SIZE]; in read_remote()
|
/freebsd/crypto/openssl/test/ |
H A D | bio_enc_test.c | 22 #define BUF_SIZE (DATA_SIZE + MAX_IV) macro 42 static unsigned char inp[BUF_SIZE] = { 0 }; in do_bio_cipher() 43 unsigned char out[BUF_SIZE], ref[BUF_SIZE]; in do_bio_cipher()
|
/freebsd/contrib/jemalloc/include/jemalloc/internal/ |
H A D | emitter.h | 120 #define BUF_SIZE 256 in emitter_print_value() macro 129 char buf[BUF_SIZE]; in emitter_print_value() 155 str_written = malloc_snprintf(buf, BUF_SIZE, "\"%s\"", in emitter_print_value() 161 assert(str_written < BUF_SIZE); in emitter_print_value() 177 #undef BUF_SIZE in emitter_print_value()
|
/freebsd/usr.sbin/ngctl/ |
H A D | write.c | 46 #define BUF_SIZE 8192 macro 64 u_char buf[BUF_SIZE]; in WriteCmd()
|
/freebsd/sbin/pfctl/ |
H A D | pfctl_radix.c | 52 #define BUF_SIZE 256 macro 56 static int pfr_next_token(char buf[BUF_SIZE], FILE *); 505 char buf[BUF_SIZE]; in pfr_buf_load() 528 pfr_next_token(char buf[BUF_SIZE], FILE *fp) in pfr_next_token() argument 552 if (i < BUF_SIZE) in pfr_next_token() 556 if (i >= BUF_SIZE) { in pfr_next_token()
|
/freebsd/usr.sbin/nghook/ |
H A D | main.c | 59 #define BUF_SIZE (64 * 1024) macro 200 char buf[BUF_SIZE]; in main() 231 char buf[BUF_SIZE]; in main()
|
/freebsd/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_mcg.c | 905 #define BUF_SIZE 256 in mlx4_err_rule() macro 907 char buf[BUF_SIZE]; in mlx4_err_rule() 911 len += snprintf(buf + len, BUF_SIZE - len, in mlx4_err_rule() 918 len += snprintf(buf + len, BUF_SIZE - len, in mlx4_err_rule() 924 len += snprintf(buf + len, BUF_SIZE - len, in mlx4_err_rule() 928 len += snprintf(buf + len, BUF_SIZE - len, in mlx4_err_rule() 935 len += snprintf(buf + len, BUF_SIZE - len, in mlx4_err_rule() 957 len += snprintf(buf + len, BUF_SIZE - len, in mlx4_err_rule() 960 len += snprintf(buf + len, BUF_SIZE - len, in mlx4_err_rule() 966 len += snprintf(buf + len, BUF_SIZE - len, in mlx4_err_rule() [all …]
|
/freebsd/contrib/ofed/opensm/libvendor/ |
H A D | osm_pkt_randomizer.c | 126 char buf[BUF_SIZE]; in __osm_pkt_randomizer_process_path() 127 char line[BUF_SIZE]; in __osm_pkt_randomizer_process_path()
|
/freebsd/crypto/openssl/crypto/http/ |
H A D | http_client.c | 1300 #undef BUF_SIZE in OSSL_HTTP_proxy_connect() 1301 #define BUF_SIZE (8 * 1024) in OSSL_HTTP_proxy_connect() macro 1302 char *mbuf = OPENSSL_malloc(BUF_SIZE); in OSSL_HTTP_proxy_connect() 1381 read_len = BIO_gets(fbio, mbuf, BUF_SIZE); in OSSL_HTTP_proxy_connect() 1426 read_len = BIO_gets(fbio, mbuf, BUF_SIZE); in OSSL_HTTP_proxy_connect() 1437 #undef BUF_SIZE in OSSL_HTTP_proxy_connect()
|
/freebsd/contrib/ofed/opensm/include/opensm/ |
H A D | osm_log.h | 72 #define BUF_SIZE LOG_ENTRY_SIZE_MAX macro
|
/freebsd/sys/contrib/zstd/programs/ |
H A D | util.c | 1257 #define BUF_SIZE 80 in UTIL_countCores() macro 1258 char buff[BUF_SIZE]; in UTIL_countCores() 1272 if (fgets(buff, BUF_SIZE, cpuinfo) != NULL) { in UTIL_countCores()
|