Searched refs:BUF_SIZE (Results 1 - 20 of 20) sorted by relevance

/freebsd-current/crypto/openssl/fuzz/
H A Ddriver.c33 #define BUF_SIZE 65536 macro
40 uint8_t *buf = malloc(BUF_SIZE);
41 size_t size = read(0, buf, BUF_SIZE);
/freebsd-current/tests/sys/posixshm/
H A Dmemfd_test.c92 #define BUF_SIZE 1024 macro
98 char *addr, buf[BUF_SIZE];
101 ATF_REQUIRE(ftruncate(fd, BUF_SIZE) == 0);
104 ATF_REQUIRE(write(fd, buf, BUF_SIZE) == BUF_SIZE);
107 addr = mmap(0, BUF_SIZE, (PROT_READ | PROT_WRITE), MAP_PRIVATE, fd, 0);
109 ATF_REQUIRE(munmap(addr, BUF_SIZE) == 0);
113 ATF_REQUIRE(write(fd, buf, BUF_SIZE) == -1);
116 ATF_REQUIRE(mmap(0, BUF_SIZE, (PROT_READ | PROT_WRITE), MAP_SHARED,
130 ATF_REQUIRE(ftruncate(fd, BUF_SIZE)
[all...]
/freebsd-current/usr.sbin/ngctl/
H A Dwrite.c46 #define BUF_SIZE 8192 macro
64 u_char buf[BUF_SIZE];
/freebsd-current/contrib/ofed/opensm/opensm/
H A Dosm_helper.c931 char buf[BUF_SIZE];
940 dbg_get_capabilities_str(buf, BUF_SIZE, "\t\t\t\t",
946 dbg_get_capabilities2_str(buf, BUF_SIZE, "\t\t\t\t",
959 char buf[BUF_SIZE];
968 dbg_get_capabilities_str(buf, BUF_SIZE, "\t\t\t\t",
974 dbg_get_capabilities2_str(buf, BUF_SIZE, "\t\t\t\t",
1010 char buf[BUF_SIZE];
1025 char buf[BUF_SIZE];
1127 char buf[BUF_SIZE];
1136 dbg_get_capabilities_str(buf, BUF_SIZE, "\
[all...]
H A Dosm_sm_mad_ctrl.c559 char buf[BUF_SIZE];
563 char ipath[BUF_SIZE], rpath[BUF_SIZE];
/freebsd-current/contrib/dma/
H A Dcrypto.c297 unsigned char digest[BUF_SIZE];
298 char buffer[BUF_SIZE], ascii_digest[33];
303 temp = calloc(BUF_SIZE, 1);
331 snprintf(buffer, BUF_SIZE, "%s %s", login, ascii_digest);
H A Ddma.h51 #define BUF_SIZE 2048 macro
54 #define EHLO_RESPONSE_SIZE BUF_SIZE
H A Dnet.c131 char buff[BUF_SIZE];
/freebsd-current/crypto/openssl/test/
H A Dbio_enc_test.c22 #define BUF_SIZE (DATA_SIZE + MAX_IV) macro
42 static unsigned char inp[BUF_SIZE] = { 0 };
43 unsigned char out[BUF_SIZE], ref[BUF_SIZE];
/freebsd-current/contrib/jemalloc/include/jemalloc/internal/
H A Demitter.h120 #define BUF_SIZE 256 macro
129 char buf[BUF_SIZE];
155 str_written = malloc_snprintf(buf, BUF_SIZE, "\"%s\"",
161 assert(str_written < BUF_SIZE);
177 #undef BUF_SIZE macro
/freebsd-current/contrib/dialog/
H A Dtextbox.c294 read_high(obj, BUF_SIZE);
350 * we only move backward for BUF_SIZE/2 bytes, but not BUF_SIZE
353 /* Really possible to move backward BUF_SIZE/2 bytes? */
354 if (fpos < BUF_SIZE / 2 + obj->fd_bytes_read) {
358 } else { /* Move backward BUF_SIZE/2 bytes */
359 lseek_cur(obj, -(BUF_SIZE / 2 + obj->fd_bytes_read));
360 val_to_tabize = BUF_SIZE / 2;
362 read_high(obj, BUF_SIZE);
387 /* Really possible to move backward BUF_SIZE/
[all...]
H A Ddialog.h184 #define BUF_SIZE (10L*1024) macro
/freebsd-current/contrib/elftoolchain/size/
H A Dsize.c47 #define BUF_SIZE 1024 macro
302 char buf[BUF_SIZE], *data, *name;
367 (void) snprintf(buf, BUF_SIZE, "%s/%d",
387 (void) snprintf(buf, BUF_SIZE,
417 (void) snprintf(buf, BUF_SIZE, "%s/%d",
485 char buf[BUF_SIZE];
494 (void) snprintf(buf, BUF_SIZE,
504 (void) snprintf(buf, BUF_SIZE, "%s%d%s", name,
796 char buf[BUF_SIZE];
815 (void) snprintf(buf, BUF_SIZE, "
[all...]
/freebsd-current/sbin/pfctl/
H A Dpfctl_radix.c52 #define BUF_SIZE 256 macro
56 static int pfr_next_token(char buf[BUF_SIZE], FILE *);
505 char buf[BUF_SIZE];
528 pfr_next_token(char buf[BUF_SIZE], FILE *fp)
552 if (i < BUF_SIZE)
556 if (i >= BUF_SIZE) {
/freebsd-current/usr.sbin/nghook/
H A Dmain.c59 #define BUF_SIZE (64 * 1024) macro
200 char buf[BUF_SIZE];
231 char buf[BUF_SIZE];
/freebsd-current/sys/dev/mlx4/mlx4_core/
H A Dmlx4_mcg.c905 #define BUF_SIZE 256 macro
907 char buf[BUF_SIZE];
911 len += snprintf(buf + len, BUF_SIZE - len,
918 len += snprintf(buf + len, BUF_SIZE - len,
924 len += snprintf(buf + len, BUF_SIZE - len,
928 len += snprintf(buf + len, BUF_SIZE - len,
935 len += snprintf(buf + len, BUF_SIZE - len,
939 len += snprintf(buf + len, BUF_SIZE - len,
947 len += snprintf(buf + len, BUF_SIZE - len,
951 len += snprintf(buf + len, BUF_SIZE
[all...]
/freebsd-current/contrib/ofed/opensm/libvendor/
H A Dosm_pkt_randomizer.c126 char buf[BUF_SIZE];
127 char line[BUF_SIZE];
/freebsd-current/crypto/openssl/crypto/http/
H A Dhttp_client.c1300 #undef BUF_SIZE macro
1301 #define BUF_SIZE (8 * 1024) macro
1302 char *mbuf = OPENSSL_malloc(BUF_SIZE);
1381 read_len = BIO_gets(fbio, mbuf, BUF_SIZE);
1426 read_len = BIO_gets(fbio, mbuf, BUF_SIZE);
1437 #undef BUF_SIZE macro
/freebsd-current/contrib/ofed/opensm/include/opensm/
H A Dosm_log.h72 #define BUF_SIZE LOG_ENTRY_SIZE_MAX macro
/freebsd-current/sys/contrib/zstd/programs/
H A Dutil.c1257 #define BUF_SIZE 80 macro
1258 char buff[BUF_SIZE];
1272 if (fgets(buff, BUF_SIZE, cpuinfo) != NULL) {

Completed in 184 milliseconds