Searched refs:buffers (Results 1 - 25 of 97) sorted by relevance

1234

/netbsd-current/lib/libform/
H A Dfield.c53 0, /* number of buffers associated with this field */
82 NULL, /* array of buffers for the field */
135 if (fp->buffers[i].length > fp->cols)
136 fp->buffers[i].string[fp->cols] = '\0';
170 if (fp->buffers[i].length > fp->cols)
171 fp->buffers[i].string[fp->cols] = '\0';
335 strlcpy(field->alines->string, field->buffers[buffer].string,
389 if (field->buffers[buffer].allocated != 0)
390 free(field->buffers[buffer].string);
392 len = vasprintf(&field->buffers[buffe
[all...]
/netbsd-current/external/bsd/ntp/dist/sntp/libevent/
H A Dbuffer_iocp.c67 /** How many chains are pinned; how many of the fields in buffers
70 WSABUF buffers[MAX_WSABUFS]; member in struct:evbuffer_overlapped
118 len = buf->buffers[i].len;
202 memset(buf_o->buffers, 0, sizeof(buf_o->buffers));
207 WSABUF *b = &buf_o->buffers[i];
227 if (WSASend(buf_o->fd, buf_o->buffers, i, &bytesSent, 0,
268 memset(buf_o->buffers, 0, sizeof(buf_o->buffers));
278 &buf_o->buffers[
[all...]
/netbsd-current/external/bsd/libevent/dist/
H A Dbuffer_iocp.c69 /** How many chains are pinned; how many of the fields in buffers
72 WSABUF buffers[MAX_WSABUFS]; member in struct:evbuffer_overlapped
120 len = buf->buffers[i].len;
204 memset(buf_o->buffers, 0, sizeof(buf_o->buffers));
209 WSABUF *b = &buf_o->buffers[i];
229 if (WSASend(buf_o->fd, buf_o->buffers, i, &bytesSent, 0,
270 memset(buf_o->buffers, 0, sizeof(buf_o->buffers));
280 &buf_o->buffers[
[all...]
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/krb5/
H A Dpac.c49 struct PAC_INFO_BUFFER buffers[1]; member in struct:PACTYPE
127 krb5_set_error_message(context, ret, "PAC has too many buffers");
135 krb5_set_error_message(context, ret, "PAC has too many buffers");
196 ret = EINVAL; /* Too few buffers */
228 CHECK(ret, krb5_ret_uint32(sp, &p->pac->buffers[i].type), out);
229 CHECK(ret, krb5_ret_uint32(sp, &p->pac->buffers[i].buffersize), out);
230 CHECK(ret, krb5_ret_uint32(sp, &p->pac->buffers[i].offset_lo), out);
231 CHECK(ret, krb5_ret_uint32(sp, &p->pac->buffers[i].offset_hi), out);
234 if (p->pac->buffers[i].offset_lo & (PAC_ALIGNMENT - 1)) {
240 if (p->pac->buffers[
[all...]
/netbsd-current/usr.bin/xlint/lint2/
H A Dmsg.c110 } buffers[2]; local
113 struct buffer *buf = buffers + buf_index;
/netbsd-current/external/mit/libuv/dist/test/
H A Dtest-stdio-over-pipes.c207 /* Write several buffers to test that the write order is preserved. */
208 char* buffers[] = { local
218 uv_write_t write_req[ARRAY_SIZE(buffers)];
219 uv_buf_t buf[ARRAY_SIZE(buffers)];
249 for (i = 0; i < ARRAY_SIZE(buffers); i++) {
250 buf[i] = uv_buf_init((char*) buffers[i], strlen(buffers[i]));
253 for (i = 0; i < ARRAY_SIZE(buffers); i++) {
H A Dtest-ipc-heavy-traffic-deadlock-bug.c41 char buffers[BUFFER_SIZE][BUFFERS_PER_WRITE]; member in struct:write_info
72 memset(&write_info->buffers[i], BUFFER_CONTENT, BUFFER_SIZE);
73 bufs[i] = uv_buf_init(write_info->buffers[i], BUFFER_SIZE);
/netbsd-current/usr.bin/systat/
H A Dbufcache.c145 " %*d metadata buffers using %*"PRIu64" kBytes of "
254 struct buf_sysctl *bp, *buffers; local
268 /* Get metadata buffers */
270 buffers = NULL;
279 error("can't get buffers size: %s\n", strerror(errno));
286 buffers = malloc(size);
287 if (buffers == NULL) {
288 error("can't allocate buffers: %s\n", strerror(errno));
291 if (sysctl(mib, 6, buffers, &size, NULL, 0) < 0) {
292 free(buffers);
[all...]
/netbsd-current/sys/dev/raidframe/
H A Drf_paritylogging.c290 /* build pool of region buffers */
308 raidPtr->regionBufferPool.buffers = RF_Malloc(
310 sizeof(*raidPtr->regionBufferPool.buffers));
311 if (raidPtr->regionBufferPool.buffers == NULL) {
318 raidPtr->regionBufferPool.buffers[i] =
320 if (raidPtr->regionBufferPool.buffers[i] == NULL) {
322 RF_Free(raidPtr->regionBufferPool.buffers[i],
326 RF_Free(raidPtr->regionBufferPool.buffers,
331 printf("raidPtr->regionBufferPool.buffers[%d] = %lx\n", i,
332 (long) raidPtr->regionBufferPool.buffers[
[all...]
H A Drf_paritylog.h99 int totalBuffers; /* size of array 'buffers' */
100 int availableBuffers; /* num available 'buffers' */
103 void **buffers; /* array buffers used to hold parity */ member in struct:RF_RegionBufferQueue_s
/netbsd-current/external/gpl3/gdb.old/dist/sim/testsuite/sim/bfin/
H A Dd2.s1 # Blackfin testcase for circular buffers and BREV
H A Dcir1.s1 # Blackfin testcase for circular buffers
/netbsd-current/sys/arch/mac68k/dev/
H A Dif_mcvar.h51 #error Must have at least two buffers for DMA!
/netbsd-current/sys/arch/macppc/dev/
H A Dif_mcvar.h51 #error Must have at least two buffers for DMA!
/netbsd-current/external/gpl3/gdb/dist/sim/testsuite/bfin/
H A Dd2.s1 # Blackfin testcase for circular buffers and BREV
H A Dcir1.s1 # Blackfin testcase for circular buffers
/netbsd-current/external/gpl3/binutils/dist/gprofng/libcollector/
H A Diolib.c57 #define NBUFS 64 /* Number of text buffers */
88 Buffer *buffers; /* array of text buffers */ member in struct:DataHandle
244 /* allocate our buffers in virtual memory */
245 /* later, we will remap buffers individually to the file */
277 /* set up an array of buffers, pointing them to the virtual addresses */
280 hndl->buffers = (Buffer*) __collector_allocCSize (__collector_heap, NBUFS * sizeof (Buffer), 1);
281 if (hndl->buffers == NULL)
283 TprintfT (0, "create_handle allocCSize for hndl->buffers failed\n");
289 Buffer *buf = &hndl->buffers[
[all...]
/netbsd-current/external/gpl3/binutils.old/dist/gprofng/libcollector/
H A Diolib.c57 #define NBUFS 64 /* Number of text buffers */
88 Buffer *buffers; /* array of text buffers */ member in struct:DataHandle
244 /* allocate our buffers in virtual memory */
245 /* later, we will remap buffers individually to the file */
277 /* set up an array of buffers, pointing them to the virtual addresses */
280 hndl->buffers = (Buffer*) __collector_allocCSize (__collector_heap, NBUFS * sizeof (Buffer), 1);
281 if (hndl->buffers == NULL)
283 TprintfT (0, "create_handle allocCSize for hndl->buffers failed\n");
289 Buffer *buf = &hndl->buffers[
[all...]
/netbsd-current/usr.bin/make/unit-tests/
H A Dcmdline-redirect-stdin.mk22 # probably buffers its input. Most shells use unbuffered stdin, and this
/netbsd-current/common/dist/zlib/contrib/pascal/
H A Dexample.pas181 * Test deflate with small buffers
204 c_stream.avail_out := 1; { force small buffers }
210 (* Finish the stream, still forcing small buffers: *)
226 * Test inflate with small buffers
250 d_stream.avail_out := 1; (* force small buffers *)
269 * Test deflate with large buffers and dynamic change of compression level
321 * Test inflate with large buffers
564 WriteLn('** Testing deflate with small buffers');
568 WriteLn('** Testing inflate with small buffers');
573 WriteLn('** Testing deflate with large buffers');
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/zlib/contrib/pascal/
H A Dexample.pas181 * Test deflate with small buffers
204 c_stream.avail_out := 1; { force small buffers }
210 (* Finish the stream, still forcing small buffers: *)
226 * Test inflate with small buffers
250 d_stream.avail_out := 1; (* force small buffers *)
269 * Test deflate with large buffers and dynamic change of compression level
321 * Test inflate with large buffers
564 WriteLn('** Testing deflate with small buffers');
568 WriteLn('** Testing inflate with small buffers');
573 WriteLn('** Testing deflate with large buffers');
[all...]
/netbsd-current/external/gpl3/binutils/dist/zlib/contrib/pascal/
H A Dexample.pas181 * Test deflate with small buffers
204 c_stream.avail_out := 1; { force small buffers }
210 (* Finish the stream, still forcing small buffers: *)
226 * Test inflate with small buffers
250 d_stream.avail_out := 1; (* force small buffers *)
269 * Test deflate with large buffers and dynamic change of compression level
321 * Test inflate with large buffers
564 WriteLn('** Testing deflate with small buffers');
568 WriteLn('** Testing inflate with small buffers');
573 WriteLn('** Testing deflate with large buffers');
[all...]
/netbsd-current/external/gpl3/gdb/dist/zlib/contrib/pascal/
H A Dexample.pas181 * Test deflate with small buffers
204 c_stream.avail_out := 1; { force small buffers }
210 (* Finish the stream, still forcing small buffers: *)
226 * Test inflate with small buffers
250 d_stream.avail_out := 1; (* force small buffers *)
269 * Test deflate with large buffers and dynamic change of compression level
321 * Test inflate with large buffers
564 WriteLn('** Testing deflate with small buffers');
568 WriteLn('** Testing inflate with small buffers');
573 WriteLn('** Testing deflate with large buffers');
[all...]
/netbsd-current/external/gpl3/binutils.old/dist/zlib/contrib/pascal/
H A Dexample.pas181 * Test deflate with small buffers
204 c_stream.avail_out := 1; { force small buffers }
210 (* Finish the stream, still forcing small buffers: *)
226 * Test inflate with small buffers
250 d_stream.avail_out := 1; (* force small buffers *)
269 * Test deflate with large buffers and dynamic change of compression level
321 * Test inflate with large buffers
564 WriteLn('** Testing deflate with small buffers');
568 WriteLn('** Testing inflate with small buffers');
573 WriteLn('** Testing deflate with large buffers');
[all...]
/netbsd-current/external/mit/libuv/dist/src/win/
H A Dwinsock.c270 int WSAAPI uv__wsarecv_workaround(SOCKET socket, WSABUF* buffers, argument
284 info.BufferArray = buffers;
364 int WSAAPI uv__wsarecvfrom_workaround(SOCKET socket, WSABUF* buffers, argument
380 info.BufferArray = buffers;

Completed in 484 milliseconds

1234