Home
last modified time | relevance | path

Searched refs:BUFFER_SIZE (Results 1 – 25 of 27) sorted by relevance

12

/netbsd-src/crypto/external/bsd/openssl/dist/test/
H A Dafalgtest.c23 #define BUFFER_SIZE 17 macro
32 unsigned char ebuf[BUFFER_SIZE + 32]; in test_afalg_aes_cbc()
33 unsigned char dbuf[BUFFER_SIZE + 32]; in test_afalg_aes_cbc()
43 static const unsigned char in[BUFFER_SIZE] = in test_afalg_aes_cbc()
46 static const unsigned char encresult_128[BUFFER_SIZE] = in test_afalg_aes_cbc()
49 static const unsigned char encresult_192[BUFFER_SIZE] = in test_afalg_aes_cbc()
52 static const unsigned char encresult_256[BUFFER_SIZE] = in test_afalg_aes_cbc()
86 || !TEST_true(EVP_CipherUpdate(ctx, ebuf, &encl, in, BUFFER_SIZE)) in test_afalg_aes_cbc()
91 if (!TEST_mem_eq(enc_result, BUFFER_SIZE, ebuf, BUFFER_SIZE)) in test_afalg_aes_cbc()
101 if (!TEST_int_eq(decl, BUFFER_SIZE) in test_afalg_aes_cbc()
[all …]
/netbsd-src/external/ibm-public/postfix/dist/src/master/
H A Dmail_flow.c68 #define BUFFER_SIZE 1024 macro
75 char buf[BUFFER_SIZE]; in mail_flow_get()
97 if ((n = read(MASTER_FLOW_READ, buf, count > BUFFER_SIZE ? in mail_flow_get()
98 BUFFER_SIZE : count)) <= 0) in mail_flow_get()
110 char buf[BUFFER_SIZE]; in mail_flow_put()
123 memset(buf, 0, len > BUFFER_SIZE ? BUFFER_SIZE : len); in mail_flow_put()
126 if ((n = write(MASTER_FLOW_WRITE, buf, count > BUFFER_SIZE ? in mail_flow_put()
127 BUFFER_SIZE : count)) < 0) in mail_flow_put()
/netbsd-src/crypto/external/bsd/openssl.old/dist/test/
H A Dafalgtest.c20 #define BUFFER_SIZE 17 macro
36 unsigned char in[BUFFER_SIZE] = "\x53\x69\x6e\x67\x6c\x65\x20\x62" in test_afalg_aes_cbc()
38 unsigned char ebuf[BUFFER_SIZE + 32]; in test_afalg_aes_cbc()
39 unsigned char dbuf[BUFFER_SIZE + 32]; in test_afalg_aes_cbc()
71 || !TEST_true(EVP_CipherUpdate(ctx, ebuf, &encl, in, BUFFER_SIZE)) in test_afalg_aes_cbc()
76 if (!TEST_mem_eq(enc_result, BUFFER_SIZE, ebuf, BUFFER_SIZE)) in test_afalg_aes_cbc()
86 if (!TEST_int_eq(decl, BUFFER_SIZE) in test_afalg_aes_cbc()
87 || !TEST_mem_eq(dbuf, BUFFER_SIZE, in, BUFFER_SIZE)) in test_afalg_aes_cbc()
/netbsd-src/external/gpl3/gcc.old/dist/contrib/
H A Dbench-stringop39 $type t[BUFFER_SIZE];
45 …__builtin_memset (t+(i*1024*1024+i*1)%(BUFFER_SIZE - AVG_SIZE*2), i, (AVG_SIZE + i) % (AVG_SIZE * …
47 …__builtin_memcpy (t+(i*1024*1024+i*1)%(BUFFER_SIZE - AVG_SIZE*2), t+((i+1)*1024*1024*4+i*1)%(BUFFE…
63 $type t[BUFFER_SIZE];
69 …__builtin_memset (t+(i*1024*1024+i*1)%(BUFFER_SIZE - AVG_SIZE*2), i, (AVG_SIZE + i) % (AVG_SIZE * …
71 …__builtin_memcpy (t+(i*1024*1024+i*1)%(BUFFER_SIZE - AVG_SIZE*2), t+((i+1)*1024*1024*4+i*1)%(BUFFE…
/netbsd-src/external/gpl3/gcc/dist/contrib/
H A Dbench-stringop39 $type t[BUFFER_SIZE];
45 …__builtin_memset (t+(i*1024*1024+i*1)%(BUFFER_SIZE - AVG_SIZE*2), i, (AVG_SIZE + i) % (AVG_SIZE * …
47 …__builtin_memcpy (t+(i*1024*1024+i*1)%(BUFFER_SIZE - AVG_SIZE*2), t+((i+1)*1024*1024*4+i*1)%(BUFFE…
63 $type t[BUFFER_SIZE];
69 …__builtin_memset (t+(i*1024*1024+i*1)%(BUFFER_SIZE - AVG_SIZE*2), i, (AVG_SIZE + i) % (AVG_SIZE * …
71 …__builtin_memcpy (t+(i*1024*1024+i*1)%(BUFFER_SIZE - AVG_SIZE*2), t+((i+1)*1024*1024*4+i*1)%(BUFFE…
/netbsd-src/external/mit/libuv/dist/test/
H A Dtest-ipc-heavy-traffic-deadlock-bug.c34 #define BUFFER_SIZE 0x2000 /* 8 kb. */ macro
37 #define XFER_SIZE (NUM_WRITES * BUFFERS_PER_WRITE * BUFFER_SIZE)
41 char buffers[BUFFER_SIZE][BUFFERS_PER_WRITE];
53 bytes_written += BUFFERS_PER_WRITE * BUFFER_SIZE; in write_cb()
72 memset(&write_info->buffers[i], BUFFER_CONTENT, BUFFER_SIZE); in do_write()
73 bufs[i] = uv_buf_init(write_info->buffers[i], BUFFER_SIZE); in do_write()
/netbsd-src/external/gpl3/binutils.old/dist/gas/
H A Dinput-file.c40 #define BUFFER_SIZE (32 * 1024) macro
73 return (BUFFER_SIZE); in input_file_buffer_size()
243 size = do_scrub_chars (input_file_get, where, BUFFER_SIZE); in input_file_give_next_buffer()
245 size = input_file_get (where, BUFFER_SIZE); in input_file_give_next_buffer()
/netbsd-src/external/gpl3/binutils/dist/gas/
H A Dinput-file.c40 #define BUFFER_SIZE (32 * 1024) macro
73 return (BUFFER_SIZE); in input_file_buffer_size()
243 size = do_scrub_chars (input_file_get, where, BUFFER_SIZE); in input_file_give_next_buffer()
245 size = input_file_get (where, BUFFER_SIZE); in input_file_give_next_buffer()
/netbsd-src/lib/libwrap/
H A Dfix_options.c38 #define BUFFER_SIZE 512 /* Was: BUFSIZ */ macro
46 unsigned char optbuf[BUFFER_SIZE / 3], *cp; in fix_options()
47 char lbuf[BUFFER_SIZE], *lp; in fix_options()
/netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/daa/big_integer/
H A Dbi.c32 #define BUFFER_SIZE 10000 macro
33 static char buffer[BUFFER_SIZE]; // used for loading bi
177 fgets( buffer, BUFFER_SIZE, file); in bi_load()
191 fgets( buffer, BUFFER_SIZE, file); in bi_load_array()
/netbsd-src/sys/arch/xen/xenbus/
H A Dxenbus_dev.c125 #define BUFFER_SIZE (PAGE_SIZE) macro
126 #define MASK_READ_IDX(idx) ((idx)&(BUFFER_SIZE-1))
127 char read_buffer[BUFFER_SIZE];
133 char buffer[BUFFER_SIZE];
/netbsd-src/external/lgpl3/mpfr/dist/src/
H A Dfpif.c218 #define BUFFER_SIZE 8 macro
229 unsigned char buffer[BUFFER_SIZE]; in mpfr_fpif_read_precision_from_file()
242 MPFR_ASSERTD (precision_size <= BUFFER_SIZE); in mpfr_fpif_read_precision_from_file()
/netbsd-src/external/lgpl3/mpfr/dist/tests/
H A Dtstckintc.c72 #define BUFFER_SIZE 250 macro
75 long Buffer[BUFFER_SIZE];
103 if (MPFR_UNLIKELY (s > (char *) &Buffer[BUFFER_SIZE] - stack)) in new_st()
/netbsd-src/sys/arch/x68k/stand/libsa/
H A Dsdcd.c98 #define BUFFER_SIZE 8192 in check_unit() macro
100 void *buffer = alloca(BUFFER_SIZE); in check_unit()
/netbsd-src/sys/external/bsd/acpica/dist/tools/acpibin/
H A Dabcompare.c50 #define BUFFER_SIZE 256 macro
51 char Buffer[BUFFER_SIZE];
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/powerplay/smumgr/
H A Damdgpu_smu10_smumgr.c42 #define BUFFER_SIZE 80000 macro
/netbsd-src/external/gpl2/groff/dist/src/devices/grops/
H A Dps.cpp794 const int BUFFER_SIZE = 512; in define_encoding() local
795 char buf[BUFFER_SIZE]; in define_encoding()
796 while (fgets(buf, BUFFER_SIZE, fp) != 0) { in define_encoding()
/netbsd-src/external/gpl3/gcc/dist/libgfortran/
H A DChangeLog-2019172 * io/unix.c (BUFFER_SIZE): Delete.
176 (buf_read): Use s->buffer_size instead of BUFFER_SIZE.
H A DChangeLog-20071295 BUFFER_SIZE, allocate a new buffer large enough. Free the old buffer
H A DChangeLog-20092373 (BUFFER_SIZE): Make static const variable rather than macro.
H A DChangeLog-2005361 (BUFFER_SIZE, unix_stream): Moved to unix.h.
/netbsd-src/external/gpl3/gcc.old/dist/gcc/doc/
H A Dcpp.texi1187 #define BUFFER_SIZE 1024
1191 defines a macro named @code{BUFFER_SIZE} as an abbreviation for the
1196 foo = (char *) malloc (BUFFER_SIZE);
1201 @code{BUFFER_SIZE}. The C compiler will see the same tokens as it would
H A Dcpp.info1078 #define BUFFER_SIZE 1024
1080 defines a macro named 'BUFFER_SIZE' as an abbreviation for the token
1084 foo = (char *) malloc (BUFFER_SIZE);
1087 'BUFFER_SIZE'. The C compiler will see the same tokens as it would if
/netbsd-src/external/gpl3/gcc/dist/gcc/doc/
H A Dcpp.texi1187 #define BUFFER_SIZE 1024
1191 defines a macro named @code{BUFFER_SIZE} as an abbreviation for the
1196 foo = (char *) malloc (BUFFER_SIZE);
1201 @code{BUFFER_SIZE}. The C compiler will see the same tokens as it would
H A Dcpp.info1078 #define BUFFER_SIZE 1024
1080 defines a macro named 'BUFFER_SIZE' as an abbreviation for the token
1084 foo = (char *) malloc (BUFFER_SIZE);
1087 'BUFFER_SIZE'. The C compiler will see the same tokens as it would if

12