Home
last modified time | relevance | path

Searched refs:BUF_SIZE (Results 1 – 25 of 26) sorted by relevance

12

/netbsd-src/external/mit/libuv/dist/test/
H A Dtest-env-vars.c26 #define BUF_SIZE 10 macro
31 char buf[BUF_SIZE]; in TEST_IMPL()
45 size = BUF_SIZE; in TEST_IMPL()
65 size = BUF_SIZE; in TEST_IMPL()
70 ASSERT(size == BUF_SIZE - 1); in TEST_IMPL()
73 size = BUF_SIZE - 1; in TEST_IMPL()
77 ASSERT(size == BUF_SIZE); in TEST_IMPL()
94 size = BUF_SIZE; in TEST_IMPL()
/netbsd-src/usr.bin/fmt/
H A Dbuffer.h38 #define BUF_SIZE BUFSIZ macro
48 buf->ptr = buf->bptr = calloc(BUF_SIZE, sizeof(*buf->ptr)); in buf_init()
51 buf->eptr = buf->ptr + BUF_SIZE; in buf_init()
65 (minsize > BUF_SIZE ? minsize : BUF_SIZE); in buf_grow()
/netbsd-src/crypto/external/bsd/openssl/dist/fuzz/
H A Ddriver.c33 #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()
/netbsd-src/crypto/external/bsd/openssl.old/dist/fuzz/
H A Ddriver.c33 #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()
/netbsd-src/crypto/external/bsd/openssl.old/dist/test/
H A Dbio_enc_test.c22 #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()
/netbsd-src/crypto/external/bsd/openssl/dist/test/
H A Dbio_enc_test.c22 #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()
/netbsd-src/sbin/iscsictl/
H A Discsic_main.c187 uint8_t buf[BUF_SIZE]; /* buffer for daemon comm and driver I/O */
227 char lbuf[BUF_SIZE]; in arg_error()
270 char lbuf[BUF_SIZE]; in io_error()
295 char lbuf[BUF_SIZE]; in gen_error()
H A Discsic_globals.h61 #define BUF_SIZE 8192 macro
76 extern uint8_t buf[BUF_SIZE]; /* buffer for daemon comm and driver I/O */
/netbsd-src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.python/
H A Dpy-inferior.c8 #define BUF_SIZE (2 * CHUNK_SIZE) /* at least two chunks */ macro
41 search_buf_size = BUF_SIZE; in init_bufs()
/netbsd-src/dist/pf/sbin/pfctl/
H A Dpfctl_radix.c51 #define BUF_SIZE 256 macro
55 static int pfr_next_token(char buf[BUF_SIZE], FILE *);
562 char buf[BUF_SIZE]; in pfr_buf_load()
585 pfr_next_token(char buf[BUF_SIZE], FILE *fp) in pfr_next_token() argument
609 if (i < BUF_SIZE) in pfr_next_token()
613 if (i >= BUF_SIZE) { in pfr_next_token()
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/http/
H A Dhttp_client.c1300 #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()
/netbsd-src/external/lgpl3/mpfr/dist/tests/
H A Dtsprintf.c58 #define BUF_SIZE 65536 macro
69 char buffer[BUF_SIZE]; in check_sprintf()
110 char part_expected[BUF_SIZE]; in check_sprintf()
127 char buffer[BUF_SIZE]; in check_vsprintf()
173 char part_expected[BUF_SIZE]; in check_vsprintf()
/netbsd-src/sys/external/bsd/sljit/dist/sljit_src/
H A DsljitLir.c107 #define BUF_SIZE 4096 macro
383 compiler->buf = (struct sljit_memory_fragment*)SLJIT_MALLOC(BUF_SIZE, allocator_data); in sljit_create_compiler()
534 …if (compiler->buf->used_size + size <= (BUF_SIZE - (sljit_uw)SLJIT_OFFSETOF(struct sljit_memory_fr… in ensure_buf()
539 new_frag = (struct sljit_memory_fragment*)SLJIT_MALLOC(BUF_SIZE, compiler->allocator_data); in ensure_buf()
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/
H A Dfile.d3378 enum BUF_SIZE = 10; // trigger reallocation code in version() local
3380 enum BUF_SIZE = 4096; // enough for most common case in version() local
3381 wchar[BUF_SIZE] buffW = void; in version()
3402 enum BUF_SIZE = 4096; in version() local
3404 auto p = cenforce(core.sys.posix.unistd.getcwd(null, BUF_SIZE), in version()
/netbsd-src/bin/ksh/
H A Dshf.c807 #define BUF_SIZE 128 macro
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Dfile.d2675 enum BUF_SIZE = 4096; in version() local
2677 auto p = cenforce(core.sys.posix.unistd.getcwd(null, BUF_SIZE), in version()
/netbsd-src/external/gpl2/groff/dist/src/roff/troff/
H A Dinput.cpp275 enum { BUF_SIZE = 512 }; enumerator
276 unsigned char buf[BUF_SIZE];
344 unsigned char *e = p + BUF_SIZE; in fill()
/netbsd-src/external/gpl3/gdb.old/dist/gdb/
H A DChangeLog-20062956 * remote.c (struct remote_state): Add BUF and BUF_SIZE.
2958 (get_memory_packet_size): Update BUF and BUF_SIZE if necessary.
H A DChangeLog-20185929 * remote.c (remote_target::download_tracepoint): Remove BUF_SIZE.
5932 BUF_SIZE to buf.data () and buf.size (). Replace strcpy, strcat
H A DChangeLog-201210440 (remote_add_target_side_condition): Add one parameter BUF_SIZE.
/netbsd-src/external/gpl3/gdb/dist/gdb/
H A DChangeLog-20062956 * remote.c (struct remote_state): Add BUF and BUF_SIZE.
2958 (get_memory_packet_size): Update BUF and BUF_SIZE if necessary.
H A DChangeLog-20185929 * remote.c (remote_target::download_tracepoint): Remove BUF_SIZE.
5932 BUF_SIZE to buf.data () and buf.size (). Replace strcpy, strcat
H A DChangeLog-201210440 (remote_add_target_side_condition): Add one parameter BUF_SIZE.
/netbsd-src/external/gpl3/gcc.old/dist/
H A DNEWS1472 | BUF_SIZE
/netbsd-src/external/gpl3/gcc/dist/
H A DNEWS3354 | BUF_SIZE

12