Home
last modified time | relevance | path

Searched refs:buffers (Results 1 – 25 of 500) sorted by relevance

12345678910>>...20

/netbsd-src/lib/libform/
H A Dfield.c135 if (fp->buffers[i].length > fp->cols) in set_field_opts()
136 fp->buffers[i].string[fp->cols] = '\0'; in set_field_opts()
170 if (fp->buffers[i].length > fp->cols) in field_opts_on()
171 fp->buffers[i].string[fp->cols] = '\0'; in field_opts_on()
335 strlcpy(field->alines->string, field->buffers[buffer].string, in field_buffer_init()
389 if (field->buffers[buffer].allocated != 0) in set_field_printf()
390 free(field->buffers[buffer].string); in set_field_printf()
392 len = vasprintf(&field->buffers[buffer].string, fmt, args); in set_field_printf()
397 field->buffers[buffer].length = len; in set_field_printf()
398 field->buffers[buffer].allocated = len + 1; in set_field_printf()
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/doc/man3/
H A DSSL_alloc_buffers.pod5 SSL_free_buffers, SSL_alloc_buffers - manage SSL structure buffers
16 SSL_free_buffers() frees the read and write buffers of the given B<ssl>.
17 SSL_alloc_buffers() allocates the read and write buffers of the given B<ssl>.
19 The B<SSL_MODE_RELEASE_BUFFERS> mode releases read or write buffers whenever
20 the buffers have been drained. These functions allow applications to manually
21 control when buffers are freed and allocated.
23 After freeing the buffers, the buffers are automatically reallocated upon a
25 can be used to make sure the buffers are preallocated. This can be used to
27 to control where and how buffers are allocated.
43 The SSL_free_buffers() function returns 1 if the buffers have been freed. This
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/doc/man3/
H A DSSL_alloc_buffers.pod5 SSL_free_buffers, SSL_alloc_buffers - manage SSL structure buffers
16 SSL_free_buffers() frees the read and write buffers of the given B<ssl>.
17 SSL_alloc_buffers() allocates the read and write buffers of the given B<ssl>.
19 The B<SSL_MODE_RELEASE_BUFFERS> mode releases read or write buffers whenever
20 the buffers have been drained. These functions allow applications to manually
21 control when buffers are freed and allocated.
23 After freeing the buffers, the buffers are automatically reallocated upon a
25 can be used to make sure the buffers are preallocated. This can be used to
27 to control where and how buffers are allocated.
43 The SSL_free_buffers() function returns 1 if the buffers have been freed. This
[all …]
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/krb5/
H A Dpac.c49 struct PAC_INFO_BUFFER buffers[1]; member
228 CHECK(ret, krb5_ret_uint32(sp, &p->pac->buffers[i].type), out); in krb5_pac_parse()
229 CHECK(ret, krb5_ret_uint32(sp, &p->pac->buffers[i].buffersize), out); in krb5_pac_parse()
230 CHECK(ret, krb5_ret_uint32(sp, &p->pac->buffers[i].offset_lo), out); in krb5_pac_parse()
231 CHECK(ret, krb5_ret_uint32(sp, &p->pac->buffers[i].offset_hi), out); in krb5_pac_parse()
234 if (p->pac->buffers[i].offset_lo & (PAC_ALIGNMENT - 1)) { in krb5_pac_parse()
240 if (p->pac->buffers[i].offset_hi) { in krb5_pac_parse()
246 if (p->pac->buffers[i].offset_lo > len) { in krb5_pac_parse()
252 if (p->pac->buffers[i].offset_lo < header_end) { in krb5_pac_parse()
256 (unsigned long)p->pac->buffers[i].offset_lo, in krb5_pac_parse()
[all …]
/netbsd-src/external/bsd/nvi/docs/internals/
H A Dinput7 as if it were input from the user. So, maps and executable buffers are
26 displays the executed buffers as it executes them. This means that if
48 the historic maps and @ buffers work. The summary is as follows:
50 1: For buffers that are cut in "line mode", or buffers that are not cut
53 buffer when it is executed. For buffers not cut in line mode and which
56 2: Executable buffers that execute other buffers don't load their
58 3: Maps and executable buffers are copied when they are executed --
61 4: Historically, executable buffers are discarded if the editor
63 5: Executable buffers inside of map commands are expanded normally.
64 Maps inside of executable buffers are expanded normally.
[all …]
/netbsd-src/external/bsd/libevent/dist/
H A Dbuffer_iocp.c72 WSABUF buffers[MAX_WSABUFS]; member
120 len = buf->buffers[i].len; in evbuffer_commit_read_()
204 memset(buf_o->buffers, 0, sizeof(buf_o->buffers)); in evbuffer_launch_write_()
209 WSABUF *b = &buf_o->buffers[i]; in evbuffer_launch_write_()
229 if (WSASend(buf_o->fd, buf_o->buffers, i, &bytesSent, 0, in evbuffer_launch_write_()
270 memset(buf_o->buffers, 0, sizeof(buf_o->buffers)); in evbuffer_launch_read_()
280 &buf_o->buffers[i], in evbuffer_launch_read_()
295 if (WSARecv(buf_o->fd, buf_o->buffers, nvecs, &bytesRead, &flags, in evbuffer_launch_read_()
/netbsd-src/sys/gdbscripts/
H A Dbdump3 # Count the number of buffers in the buffer cache for which
26 printf "Number of buffers with flags & %x in hash table: %d\n", $bufcount_match, $num
46 printf "Number of buffers in hash table: %d\n", $num
49 # Dump the buffers in a particular hashbucket.
60 printf "Number of buffers in bucket %d: %d\n", $arg0, $num
63 # Dump the buffers on the empty and age queues
81 printf "Number of buffers in free lists: %d\n", $num
104 printf "Number of buffers on queue %d: %d\n", $arg0, $num
/netbsd-src/usr.bin/systat/
H A Dbufcache.c254 struct buf_sysctl *bp, *buffers; in fetchbufcache() local
270 buffers = NULL; in fetchbufcache()
286 buffers = malloc(size); in fetchbufcache()
287 if (buffers == NULL) { in fetchbufcache()
291 if (sysctl(mib, 6, buffers, &size, NULL, 0) < 0) { in fetchbufcache()
292 free(buffers); in fetchbufcache()
302 for (bp = buffers; bp < buffers + nbuf; bp++) { in fetchbufcache()
350 free(buffers); in fetchbufcache()
/netbsd-src/sys/dev/raidframe/
H A Drf_paritylogging.c308 raidPtr->regionBufferPool.buffers = RF_Malloc( in rf_ConfigureParityLogging()
310 sizeof(*raidPtr->regionBufferPool.buffers)); in rf_ConfigureParityLogging()
311 if (raidPtr->regionBufferPool.buffers == NULL) { in rf_ConfigureParityLogging()
318 raidPtr->regionBufferPool.buffers[i] = in rf_ConfigureParityLogging()
320 if (raidPtr->regionBufferPool.buffers[i] == NULL) { in rf_ConfigureParityLogging()
322 RF_Free(raidPtr->regionBufferPool.buffers[i], in rf_ConfigureParityLogging()
326 RF_Free(raidPtr->regionBufferPool.buffers, in rf_ConfigureParityLogging()
332 (long) raidPtr->regionBufferPool.buffers[i]); in rf_ConfigureParityLogging()
357 raidPtr->parityBufferPool.buffers = RF_Malloc( in rf_ConfigureParityLogging()
359 sizeof(*raidPtr->parityBufferPool.buffers)); in rf_ConfigureParityLogging()
[all …]
/netbsd-src/external/mit/libuv/dist/test/
H A Dtest-stdio-over-pipes.c208 char* buffers[] = { in stdio_over_pipes_helper() local
218 uv_write_t write_req[ARRAY_SIZE(buffers)]; in stdio_over_pipes_helper()
219 uv_buf_t buf[ARRAY_SIZE(buffers)]; in stdio_over_pipes_helper()
249 for (i = 0; i < ARRAY_SIZE(buffers); i++) { in stdio_over_pipes_helper()
250 buf[i] = uv_buf_init((char*) buffers[i], strlen(buffers[i])); in stdio_over_pipes_helper()
253 for (i = 0; i < ARRAY_SIZE(buffers); i++) { in stdio_over_pipes_helper()
H A Dtest-ipc-heavy-traffic-deadlock-bug.c41 char buffers[BUFFER_SIZE][BUFFERS_PER_WRITE]; member
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/dist/gprofng/libcollector/
H A Diolib.c88 Buffer *buffers; /* array of text buffers */ member
278 … hndl->buffers = (Buffer*) __collector_allocCSize (__collector_heap, NBUFS * sizeof (Buffer), 1); in __collector_create_handle()
279 if (hndl->buffers == NULL) in __collector_create_handle()
287 Buffer *buf = &hndl->buffers[i]; in __collector_create_handle()
406 Buffer *buf = &hndl->buffers[indx]; in deleteHandle()
416 Buffer *buf = &hndl->buffers[i]; in deleteHandle()
429 __collector_freeCSize (__collector_heap, hndl->buffers, NBUFS * sizeof (Buffer)); in deleteHandle()
972 if (__collector_cas_32 (&hndl->buffers[ibuf].state, ST_FREE, ST_BUSY) == ST_FREE) in newBuffer()
979 Buffer *nbuf = hndl->buffers + ibuf; in newBuffer()
1066 indx, hndl->buffers[indx].vaddr, len, (long long) foff, src); in __collector_write_string()
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/gprofng/libcollector/
H A Diolib.c88 Buffer *buffers; /* array of text buffers */ member
280 … hndl->buffers = (Buffer*) __collector_allocCSize (__collector_heap, NBUFS * sizeof (Buffer), 1); in __collector_create_handle()
281 if (hndl->buffers == NULL) in __collector_create_handle()
289 Buffer *buf = &hndl->buffers[i]; in __collector_create_handle()
408 Buffer *buf = &hndl->buffers[indx]; in deleteHandle()
418 Buffer *buf = &hndl->buffers[i]; in deleteHandle()
431 __collector_freeCSize (__collector_heap, hndl->buffers, NBUFS * sizeof (Buffer)); in deleteHandle()
972 if (__collector_cas_32 (&hndl->buffers[ibuf].state, ST_FREE, ST_BUSY) == ST_FREE) in newBuffer()
979 Buffer *nbuf = hndl->buffers + ibuf; in newBuffer()
1066 indx, hndl->buffers[indx].vaddr, len, (long long) foff, src); in __collector_write_string()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/std/
H A Diosfwd134 /// Base class for @c char buffers.
146 /// Class for @c char memory buffers.
158 /// Class for @c char file buffers.
174 /// Base class for @c wchar_t buffers.
186 /// Class for @c wchar_t memory buffers.
198 /// Class for @c wchar_t file buffers.
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/std/
H A Diosfwd134 /// Base class for @c char buffers.
146 /// Class for @c char memory buffers.
158 /// Class for @c char file buffers.
174 /// Base class for @c wchar_t buffers.
186 /// Class for @c wchar_t memory buffers.
198 /// Class for @c wchar_t file buffers.
/netbsd-src/usr.bin/xlint/lint2/
H A Dmsg.c110 } buffers[2]; in mkpos() local
113 struct buffer *buf = buffers + buf_index; in mkpos()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/xray/
H A Dxray_fdr_flags.inc26 "Size of buffers in the circular buffer queue.")
27 XRAY_FLAG(int, buffer_max, 100, "Maximum number of buffers in the queue.")
/netbsd-src/external/mit/libuv/dist/src/win/
H A Dwinsock.c270 int WSAAPI uv__wsarecv_workaround(SOCKET socket, WSABUF* buffers, in uv__wsarecv_workaround() argument
284 info.BufferArray = buffers; in uv__wsarecv_workaround()
364 int WSAAPI uv__wsarecvfrom_workaround(SOCKET socket, WSABUF* buffers, in uv__wsarecvfrom_workaround() argument
380 info.BufferArray = buffers; in uv__wsarecvfrom_workaround()
/netbsd-src/crypto/external/bsd/openssl/dist/demos/
H A DREADME.txt18 EVP_MD_demo.c Compute a digest from multiple buffers
48 EVP_Signature_demo.c Compute and verify a signature from multiple buffers
/netbsd-src/external/gpl3/gcc.old/dist/libiberty/
H A Dsimple-object.c469 ret->buffers = NULL; in simple_object_write_create_section()
515 section->buffers = wsb; in simple_object_write_add_data()
551 buffer = section->buffers; in simple_object_release_write()
/netbsd-src/sys/ufs/lfs/
H A DCHANGES27 - Because of the way that lfs_writeseg works, buffers are freed before
29 buffers which are written async. Because the buffer cache does not
75 been expanded to include *bytes* used in LFS buffers as well.
119 buffers will be written, and IN_MODIFIED will not be cleared, saving
122 buffers engaged in active dirops might be written ahead of schedule,
/netbsd-src/external/gpl3/binutils.old/dist/libiberty/
H A Dsimple-object.c475 ret->buffers = NULL; in simple_object_write_create_section()
521 section->buffers = wsb; in simple_object_write_add_data()
557 buffer = section->buffers; in simple_object_release_write()
/netbsd-src/external/gpl3/gcc/dist/libiberty/
H A Dsimple-object.c475 ret->buffers = NULL; in simple_object_write_create_section()
521 section->buffers = wsb; in simple_object_write_add_data()
557 buffer = section->buffers; in simple_object_release_write()
/netbsd-src/external/gpl3/binutils/dist/libiberty/
H A Dsimple-object.c475 ret->buffers = NULL; in simple_object_write_create_section()
521 section->buffers = wsb; in simple_object_write_add_data()
557 buffer = section->buffers; in simple_object_release_write()
/netbsd-src/external/mit/libuv/dist/docs/src/guide/
H A Dfilesystem.rst224 buffers are required to hold incoming data. ``read_stdin`` will be called with
225 these buffers.
227 .. rubric:: uvtee/main.c - reading buffers
235 buffers with V8 objects.
261 unwrap it in the callbacks. We make a copy so we can free the two buffers from
264 like reference counted buffers or a pool of buffers in any major application.

12345678910>>...20