/freebsd-10.0-release/contrib/binutils/bfd/ |
H A D | bfdio.c | 141 memcpy (ptr, bim->buffer + abfd->where, (size_t) get); 176 bim->buffer = bfd_realloc (bim->buffer, newsize); 177 if (bim->buffer == 0) 184 memcpy (bim->buffer + abfd->where, ptr, (size_t) size); 300 bim->buffer = bfd_realloc (bim->buffer, newsize); 301 if (bim->buffer == 0)
|
/freebsd-10.0-release/contrib/expat/tests/ |
H A D | runtests.c | 56 char buffer[1024]; local 58 sprintf(buffer, 66 _fail_unless(0, file, line, buffer); 419 char buffer[100]; local 420 sprintf(buffer, 422 fail(buffer); 437 char buffer[100]; local 438 sprintf(buffer, 440 fail(buffer); 450 char buffer[10 local 464 char buffer[100]; local 523 char buffer[100]; local 543 char buffer[100]; local 694 char buffer[256]; local 1093 char buffer[1024]; local 1113 char buffer[1024]; local [all...] |
/freebsd-10.0-release/contrib/gdb/include/ |
H A D | xregex2.h | 169 stored in the pattern buffer, so changing this does not affect 322 the pattern compiler, the fields `buffer', `allocated', `fastmap', 337 unsigned char *buffer; 339 /* Number of bytes to which `buffer' points. */ 342 /* Number of bytes actually used in `buffer'. */ 416 /* If `regs_allocated' is REGS_UNALLOCATED in the pattern buffer, 457 and syntax given by the global `re_syntax_options', into the buffer 461 struct re_pattern_buffer *buffer)); 467 extern int re_compile_fastmap _RE_ARGS ((struct re_pattern_buffer *buffer)); 476 _RE_ARGS ((struct re_pattern_buffer *buffer, cons 334 unsigned char *buffer; member in struct:re_pattern_buffer [all...] |
/freebsd-10.0-release/contrib/ldns/ldns/ |
H A D | host2wire.h | 25 #include <ldns/buffer.h> 35 * Copies the dname data to the buffer in wire format 36 * \param[out] *buffer buffer to append the result to 40 ldns_status ldns_dname2buffer_wire(ldns_buffer *buffer, const ldns_rdf *name); 43 * Copies the rdata data to the buffer in wire format 44 * \param[out] *output buffer to append the result to 51 * Copies the rdata data to the buffer in wire format 54 * \param[out] *output buffer to append the result to 62 * Copies the rr data to the buffer i [all...] |
H A D | sha2.h | 85 uint8_t buffer[LDNS_SHA256_BLOCK_LENGTH]; member in struct:_ldns_sha256_CTX 90 uint8_t buffer[LDNS_SHA512_BLOCK_LENGTH]; member in struct:_ldns_sha512_CTX
|
/freebsd-10.0-release/contrib/ldns/ |
H A D | parse.c | 345 ldns_bskipcs(ldns_buffer *buffer, const char *s) argument 351 while(ldns_buffer_available_at(buffer, buffer->_position, sizeof(char))) { 352 c = (char) ldns_buffer_read_u8_at(buffer, buffer->_position); 359 if (found && buffer->_limit > buffer->_position) { 360 buffer->_position += sizeof(char);
|
/freebsd-10.0-release/contrib/libarchive/libarchive/ |
H A D | archive_read_support_filter_bzip2.c | 121 * also tries to Do The Right Thing if a very short buffer prevents us 127 const unsigned char *buffer; local 134 buffer = __archive_read_filter_ahead(filter, 14, &avail); 135 if (buffer == NULL) 140 if (memcmp(buffer, "BZh", 3) != 0) 145 if (buffer[3] < '1' || buffer[3] > '9') 152 if (memcmp(buffer + 4, "\x31\x41\x59\x26\x53\x59", 6) == 0) 154 else if (memcmp(buffer + 4, "\x17\x72\x45\x38\x50\x90", 6) == 0) 237 /* Empty our output buffer [all...] |
/freebsd-10.0-release/contrib/subversion/subversion/include/private/ |
H A D | svn_string_private.h | 51 /** A self-contained memory buffer of known size. 53 * Intended to be used where a single variable-sized buffer is needed 59 /** The a pool from which this buffer was originally allocated, and is not 60 * necessarily specific to this buffer. This is used only for allocating 61 * more memory from when the buffer needs to grow. 68 /** total size of buffer allocated */ 73 /* Initialize a memory buffer of the given size */ 77 /* Ensure that the given memory buffer has at least the given size */ 81 /* Resize the given memory buffer, preserving its contents. */ 89 /* Zero-fill the given memory buffer u [all...] |
/freebsd-10.0-release/contrib/subversion/subversion/libsvn_ra_svn/ |
H A D | streams.c | 73 file_read_cb(void *baton, char *buffer, apr_size_t *len) 76 apr_status_t status = apr_file_read(b->in_file, buffer, len); 87 file_write_cb(void *baton, const char *buffer, apr_size_t *len) 90 apr_status_t status = apr_file_write(b->out_file, buffer, len); 137 sock_read_cb(void *baton, char *buffer, apr_size_t *len) 154 status = apr_socket_recv(b->sock, buffer, len); 166 sock_write_cb(void *baton, const char *buffer, apr_size_t *len) 169 apr_status_t status = apr_socket_send(b->sock, buffer, len); 72 file_read_cb(void *baton, char *buffer, apr_size_t *len) argument 86 file_write_cb(void *baton, const char *buffer, apr_size_t *len) argument 136 sock_read_cb(void *baton, char *buffer, apr_size_t *len) argument 165 sock_write_cb(void *baton, const char *buffer, apr_size_t *len) argument
|
/freebsd-10.0-release/contrib/xz/src/liblzma/check/ |
H A D | check.c | 153 check->buffer.u32[0] = conv32le(check->state.crc32); 159 check->buffer.u64[0] = conv64le(check->state.crc64);
|
/freebsd-10.0-release/crypto/heimdal/appl/telnet/telnet/ |
H A D | ring.c | 39 * This defines a structure for a ring buffer. 41 * The circular buffer has two parts: 66 * clock, that when the times are EQUAL, then the buffer is FULL. 83 ring_init(Ring *ring, unsigned char *buffer, int count) argument 89 ring->supply = ring->consume = ring->bottom = buffer; 137 * Add characters from current segment to ring buffer. 253 * Move data into the "supply" portion of of the ring buffer. 256 ring_supply_data(Ring *ring, unsigned char *buffer, int count) argument 262 memmove(ring->supply, buffer, i); 265 buffer 275 ring_consume_data(Ring *ring, unsigned char *buffer, int count) argument [all...] |
/freebsd-10.0-release/crypto/openssl/engines/ccgost/ |
H A D | gost89.c | 315 * buffer - 8-byte mac state buffer 318 void mac_block(gost_ctx *c,byte *buffer,const byte *block) argument 324 buffer[i]^=block[i]; 326 n1 = buffer[0]|(buffer[1]<<8)|(buffer[2]<<16)|(buffer[3]<<24); 327 n2 = buffer[4]|(buffer[ 347 get_mac(byte *buffer,int nbits,byte *out) argument 362 byte buffer[8]={0,0,0,0,0,0,0,0}; local 387 byte buffer[8]; local [all...] |
/freebsd-10.0-release/lib/libc/net/ |
H A D | getnetbyht.c | 151 getnetent_r(struct netent *nptr, char *buffer, size_t buflen, argument 166 if (__copy_netent(&ne, nptr, buffer, buflen) != 0) { 194 char *buffer; local 205 buffer = va_arg(ap, char *); 232 if (__copy_netent(&ne, nptr, buffer, buflen) != 0) { 247 char *buffer; local 258 buffer = va_arg(ap, char *); 280 if (__copy_netent(&ne, nptr, buffer, buflen) != 0) {
|
/freebsd-10.0-release/sbin/md5/ |
H A D | md5.c | 356 char buffer[HEX_DIGEST_LENGTH]; local 360 (*alg->Data)(MDTestInput[i], strlen(MDTestInput[i]), buffer); 361 printf("%s (\"%s\") = %s", alg->name, MDTestInput[i], buffer); 362 if (strcmp(buffer, (*alg->TestOutput)[i]) == 0) 377 unsigned char buffer[BUFSIZ]; local 381 while ((len = fread(buffer, 1, BUFSIZ, stdin))) { 382 if (tee && len != fwrite(buffer, 1, len, stdout)) 384 alg->Update(&context, buffer, len);
|
/freebsd-10.0-release/sys/contrib/octeon-sdk/ |
H A D | cvmx-usbd.h | 240 * @param buffer Buffer to receive the data 242 * Length of the buffer in bytes 248 int max_packet_size, uint64_t buffer, int buffer_length); 273 * @param buffer Buffer to send 275 * Length of the buffer in bytes 281 int max_packet_size, uint64_t buffer, int buffer_length);
|
/freebsd-10.0-release/sys/dev/ata/chipsets/ |
H A D | ata-highpoint.c | 86 char buffer[64]; local 94 strcpy(buffer, "HighPoint "); 95 strcat(buffer, idx->text); 98 strcat(buffer, " (channel 0+1)"); 100 strcat(buffer, " (channel 2+3)"); 102 sprintf(buffer, "%s %s controller", buffer, ata_mode2str(idx->max_dma)); 103 device_set_desc_copy(dev, buffer);
|
/freebsd-10.0-release/sys/dev/ppbus/ |
H A D | vpoio.h | 85 int clen, char *buffer, int blen, int *result, int *count, 94 int clen, char *buffer, int blen, int *result, int *count,
|
H A D | ppi.c | 365 char *buffer; local 367 buffer = malloc(BUFSIZE, M_DEVBUF, M_WAITOK); 390 free(buffer, M_DEVBUF); 410 buffer, min(BUFSIZE, uio->uio_resid), &len); 421 if ((error = uiomove(buffer, len, uio))) 428 free(buffer, M_DEVBUF); 457 char *buffer; local 470 buffer = malloc(BUFSIZE, M_DEVBUF, M_WAITOK); 480 uiomove(buffer, len, uio); 482 ppb_MS_init_msq(msq, 2, ADDRESS, buffer, LENGT [all...] |
/freebsd-10.0-release/usr.bin/make/ |
H A D | str.c | 56 * buffer is set to NULL, since no common buffer is allocated yet. 67 aa->buffer = NULL; 77 if (aa->buffer == NULL) { 88 free(aa->buffer); 89 aa->buffer = NULL; 153 aa->buffer = estrdup(str); 155 arg = aa->buffer; 323 aa->buffer = strdup(str); 325 arg = aa->buffer; [all...] |
/freebsd-10.0-release/usr.sbin/vidcontrol/ |
H A D | decode.c | 38 int decode(FILE *fd, char *buffer, int len) argument 52 bp = buffer;
|
/freebsd-10.0-release/contrib/less/ |
H A D | lesskey.c | 185 char buffer[MAX_USERCMD]; member in struct:table 344 cmdtable.pbuffer = cmdtable.buffer; 347 edittable.pbuffer = edittable.buffer; 350 vartable.pbuffer = vartable.buffer; 518 if (currtable->pbuffer >= currtable->buffer + MAX_USERCMD) 857 fputint(out, cmdtable.pbuffer - cmdtable.buffer); 858 fputbytes(out, (char *)cmdtable.buffer, cmdtable.pbuffer-cmdtable.buffer); 861 fputint(out, edittable.pbuffer - edittable.buffer); 862 fputbytes(out, (char *)edittable.buffer, edittabl [all...] |
/freebsd-10.0-release/contrib/xz/src/liblzma/lz/ |
H A D | lz_encoder.c | 28 /// History buffer and match finder 38 /// mf->buffer is a sliding input window, which keeps mf->keep_size_before 40 /// "slide" the buffer to make space for the new data to the end of the 41 /// buffer. At the same time, data older than keep_size_before is dropped. 59 memmove(mf->buffer, mf->buffer + move_offset, move_size); 70 /// \brief Tries to fill the input window (mf->buffer) 74 /// write its output to mf->buffer. 95 lzma_bufcpy(in, in_pos, in_size, coder->mf.buffer, 104 coder->mf.buffer, [all...] |
/freebsd-10.0-release/usr.bin/ipcs/ |
H A D | ipcs.c | 70 static char buffer[100]; local 72 buffer[0] = '-'; 73 buffer[1] = '-'; 74 buffer[2] = ((mode & 0400) ? 'r' : '-'); 75 buffer[3] = ((mode & 0200) ? 'w' : '-'); 76 buffer[4] = ((mode & 0100) ? 'a' : '-'); 77 buffer[5] = ((mode & 0040) ? 'r' : '-'); 78 buffer[6] = ((mode & 0020) ? 'w' : '-'); 79 buffer[7] = ((mode & 0010) ? 'a' : '-'); 80 buffer[ [all...] |
/freebsd-10.0-release/contrib/bmake/ |
H A D | str.c | 136 * Memory containing the actual words in *buffer. 141 brk_string(const char *str, int *store_argc, Boolean expand, char **buffer) argument 156 *buffer = bmake_malloc(curlen = len); 164 for (p = str, start = t = *buffer;; ++p) { 221 free(*buffer); 222 *buffer = NULL;
|
/freebsd-10.0-release/contrib/groff/src/preproc/html/ |
H A D | pushback.cpp | 310 char buffer[MAXPUSHBACKSTACK]; local 319 buffer[i] = ch; 324 buffer[i] = (char)0; 325 str = (char *)malloc(strlen(buffer)+1); 326 strcpy(str, buffer);
|