| /src/lib/libform/ |
| field.c | 53 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[buffer].string, fmt, args) [all...] |
| /src/external/bsd/zstd/dist/tests/regression/ |
| data.h | 96 * Calls memcmp() on the contents [0, size) of both buffers. 107 data_buffer_t const* buffers; member in struct:__anon8922 112 * @returns a list of buffers for every file in data. It is zero sized on error. 117 * Frees the data buffers. 119 void data_buffers_free(data_buffers_t buffers);
|
| data.c | 201 * data buffers helpers. 205 data_buffers_t buffers = {.size = 0}; local 207 if (filenames == NULL) return buffers; 210 return buffers; 217 return buffers; 219 buffers.buffers = (data_buffer_t const*)buffersPtr; 220 buffers.size = filenames->tableSize; 226 data_buffers_free(buffers); 233 return buffers; [all...] |
| method.c | 37 /** State to reuse the same buffers between compression calls. */ 46 static size_t buffers_max_size(data_buffers_t buffers) { 48 for (size_t i = 0; i < buffers.size; ++i) { 49 if (buffers.buffers[i].size > max) 50 max = buffers.buffers[i].size; 117 data_buffer_t const input = state->inputs.buffers[0]; 173 data_buffer_t const input = state->inputs.buffers[i]; 352 data_buffer_t const input = state->inputs.buffers[i] [all...] |
| /src/external/bsd/libevent/dist/ |
| buffer_iocp.c | 69 /** 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[i] [all...] |
| /src/external/bsd/ntp/dist/sntp/libevent/ |
| buffer_iocp.c | 68 /** How many chains are pinned; how many of the fields in buffers 71 WSABUF buffers[MAX_WSABUFS]; member in struct:evbuffer_overlapped 119 len = buf->buffers[i].len; 203 memset(buf_o->buffers, 0, sizeof(buf_o->buffers)); 208 WSABUF *b = &buf_o->buffers[i]; 228 if (WSASend(buf_o->fd, buf_o->buffers, i, &bytesSent, 0, 269 memset(buf_o->buffers, 0, sizeof(buf_o->buffers)); 279 &buf_o->buffers[i] [all...] |
| /src/crypto/external/bsd/heimdal/dist/lib/krb5/ |
| pac.c | 49 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[i].offset_hi) [all...] |
| /src/usr.bin/xlint/lint2/ |
| msg.c | 110 } buffers[2]; local 113 struct buffer *buf = buffers + buf_index;
|
| /src/external/mit/libuv/dist/test/ |
| test-stdio-over-pipes.c | 207 /* 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++) {
|
| test-ipc-heavy-traffic-deadlock-bug.c | 41 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);
|
| /src/external/bsd/nsd/dist/simdzone/src/ |
| zone.c | 347 zone_buffers_t *buffers, 377 parser->buffers.size = buffers->size; 378 parser->buffers.owner.active = 0; 379 parser->buffers.owner.blocks = buffers->owner; 380 parser->buffers.rdata.active = 0; 381 parser->buffers.rdata.blocks = buffers->rdata; 382 parser->owner = &parser->buffers.owner.blocks[0] [all...] |
| /src/sys/arch/acorn32/doc/ |
| bootoptions | 57 nbuf= Specify the number of buffers 61 nbuf= Specify the number of buffers to use.
|
| /src/usr.bin/systat/ |
| bufcache.c | 145 " %*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...] |
| /src/sys/dev/raidframe/ |
| rf_paritylogging.c | 290 /* 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[i]) [all...] |
| /src/sys/arch/mac68k/dev/ |
| if_mcvar.h | 51 #error Must have at least two buffers for DMA!
|
| /src/sys/arch/macppc/dev/ |
| if_mcvar.h | 51 #error Must have at least two buffers for DMA!
|
| /src/external/gpl3/gdb/dist/sim/testsuite/bfin/ |
| d2.s | 1 # Blackfin testcase for circular buffers and BREV
|
| /src/external/gpl3/gdb.old/dist/sim/testsuite/bfin/ |
| d2.s | 1 # Blackfin testcase for circular buffers and BREV
|
| /src/external/gpl3/binutils/dist/gprofng/libcollector/ |
| iolib.c | 51 #define NBUFS 64 /* Number of text buffers */ 82 Buffer *buffers; /* array of text buffers */ member in struct:DataHandle 238 /* allocate our buffers in virtual memory */ 239 /* later, we will remap buffers individually to the file */ 269 /* set up an array of buffers, pointing them to the virtual addresses */ 272 hndl->buffers = (Buffer*) __collector_allocCSize (__collector_heap, NBUFS * sizeof (Buffer), 1); 273 if (hndl->buffers == NULL) 275 TprintfT (0, "create_handle allocCSize for hndl->buffers failed\n"); 281 Buffer *buf = &hndl->buffers[i] [all...] |
| /src/external/gpl3/binutils.old/dist/gprofng/libcollector/ |
| iolib.c | 51 #define NBUFS 64 /* Number of text buffers */ 82 Buffer *buffers; /* array of text buffers */ member in struct:DataHandle 238 /* allocate our buffers in virtual memory */ 239 /* later, we will remap buffers individually to the file */ 269 /* set up an array of buffers, pointing them to the virtual addresses */ 272 hndl->buffers = (Buffer*) __collector_allocCSize (__collector_heap, NBUFS * sizeof (Buffer), 1); 273 if (hndl->buffers == NULL) 275 TprintfT (0, "create_handle allocCSize for hndl->buffers failed\n"); 281 Buffer *buf = &hndl->buffers[i] [all...] |
| /src/usr.bin/make/unit-tests/ |
| cmdline-redirect-stdin.mk | 22 # probably buffers its input. Most shells use unbuffered stdin, and this
|
| /src/common/dist/zlib/contrib/pascal/ |
| example.pas | 181 * 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...] |
| /src/external/gpl3/binutils/dist/zlib/contrib/pascal/ |
| example.pas | 181 * 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...] |
| /src/external/gpl3/binutils.old/dist/zlib/contrib/pascal/ |
| example.pas | 181 * 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...] |
| /src/external/gpl3/gdb/dist/zlib/contrib/pascal/ |
| example.pas | 181 * 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...] |