Searched refs:buffer (Results 226 - 250 of 1321) sorted by relevance

1234567891011>>

/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/AST/
H A DASTTypeTraits.h60 return BaseConverter<T>::get(Tag, Storage.buffer);
107 new (Result.Storage.buffer) const Decl*(&Node);
121 new (Result.Storage.buffer) const Stmt*(&Node);
135 new (Result.Storage.buffer) const Type*(&Node);
148 new (Result.Storage.buffer) const NestedNameSpecifier*(&Node);
162 new (Result.Storage.buffer) NestedNameSpecifierLoc(Node);
175 new (Result.Storage.buffer) QualType(Node);
188 new (Result.Storage.buffer) TypeLoc(Node);
202 case NT_Decl: return BaseConverter<Decl>::get(Tag, Storage.buffer);
203 case NT_Stmt: return BaseConverter<Stmt>::get(Tag, Storage.buffer);
[all...]
/freebsd-10.0-release/usr.bin/nl/
H A Dnl.c95 * Dynamically allocated buffer suitable for string representation of ints.
258 /* Allocate a buffer suitable for preformatting line number. */
261 err(EXIT_FAILURE, "cannot allocate preformatting buffer");
273 char *buffer; local
286 buffer = NULL;
288 while ((linelen = getline(&buffer, &buffersize, stdin)) > 0) {
293 if (memcmp(buffer + delimlen * idx, delim,
297 if (buffer[delimlen * (idx + 1)] == '\n') {
313 if (buffer[0] == '\n' && ++adjblank < nblank)
319 donumber = (buffer[
[all...]
/freebsd-10.0-release/contrib/llvm/lib/Support/
H A DHost.cpp410 // memory buffer because the 'file' has 0 size (it can be read from only
421 // buffer is too small then something has changed (or is wrong).
422 char buffer[1024];
423 size_t CPUInfoSize = DS->GetBytes((unsigned char*) buffer, sizeof(buffer));
426 const char *CPUInfoStart = buffer;
427 const char *CPUInfoEnd = buffer + CPUInfoSize;
497 // memory buffer because the 'file' has 0 size (it can be read from only
509 char buffer[1024];
510 size_t CPUInfoSize = DS->GetBytes((unsigned char*) buffer, sizeo
564 char buffer[1024]; local
[all...]
/freebsd-10.0-release/crypto/openssl/crypto/ec/
H A Deck_prn.c149 unsigned char *buffer=NULL; local
266 if ((buffer = OPENSSL_malloc(buf_len)) == NULL)
295 if ((p != NULL) && !ASN1_bn_print(bp, "Polynomial:", p, buffer,
301 if ((p != NULL) && !ASN1_bn_print(bp, "Prime:", p, buffer,off))
304 if ((a != NULL) && !ASN1_bn_print(bp, "A: ", a, buffer, off))
306 if ((b != NULL) && !ASN1_bn_print(bp, "B: ", b, buffer, off))
311 buffer, off))
317 buffer, off))
323 buffer, off))
327 buffer, of
[all...]
/freebsd-10.0-release/sys/crypto/sha2/
H A Dsha2.c331 bzero(context->buffer, SHA256_BLOCK_LENGTH);
377 W256 = (sha2_word32*)context->buffer;
435 W256 = (sha2_word32*)context->buffer;
523 /* Calculate how much free space is available in the buffer */
527 /* Fill the buffer completely and process it */
528 bcopy(data, &context->buffer[usedspace], freespace);
532 SHA256_Transform(context, (sha2_word32*)context->buffer);
534 /* The buffer is not yet full */
535 bcopy(data, &context->buffer[usedspace], len);
551 bcopy(data, context->buffer, le
621 SHA256_End(SHA256_CTX* context, char buffer[]) argument
950 SHA512_End(SHA512_CTX* context, char buffer[]) argument
1025 SHA384_End(SHA384_CTX* context, char buffer[]) argument
[all...]
/freebsd-10.0-release/sys/netgraph/bluetooth/hci/
H A Dng_hci_misc.c107 NG_HCI_BUFF_ACL_SIZE(unit->buffer, ep->pkt_size);
108 NG_HCI_BUFF_ACL_TOTAL(unit->buffer, ep->num_pkts);
110 NG_HCI_BUFF_SCO_SIZE(unit->buffer, ep->pkt_size);
111 NG_HCI_BUFF_SCO_TOTAL(unit->buffer, ep->num_pkts);
141 NG_HCI_BUFF_CMD_SET(unit->buffer, 1);
160 NG_HCI_BUFF_ACL_TOTAL(unit->buffer, size);
161 NG_HCI_BUFF_ACL_FREE(unit->buffer, size);
163 NG_HCI_BUFF_SCO_TOTAL(unit->buffer, size);
164 NG_HCI_BUFF_SCO_FREE(unit->buffer, size);
288 NG_HCI_BUFF_ACL_TOTAL(unit->buffer, num_pkt
[all...]
/freebsd-10.0-release/crypto/heimdal/lib/gssapi/krb5/
H A Dcfx.c217 _gk_allocate_buffer(OM_uint32 *minor_status, gss_iov_buffer_desc *buffer, size_t size) argument
219 if (buffer->type & GSS_IOV_BUFFER_FLAG_ALLOCATED) {
220 if (buffer->buffer.length == size)
222 free(buffer->buffer.value);
225 buffer->buffer.value = malloc(size);
226 buffer->buffer
[all...]
/freebsd-10.0-release/contrib/unbound/daemon/
H A Dworker.c246 if(!LDNS_QR_WIRE(ldns_buffer_begin(c->buffer))
247 || LDNS_OPCODE_WIRE(ldns_buffer_begin(c->buffer)) !=
249 || LDNS_QDCOUNT(ldns_buffer_begin(c->buffer)) > 1) {
277 if(!LDNS_QR_WIRE(ldns_buffer_begin(c->buffer))
278 || LDNS_OPCODE_WIRE(ldns_buffer_begin(c->buffer)) !=
280 || LDNS_QDCOUNT(ldns_buffer_begin(c->buffer)) > 1) {
480 error_encode(repinfo->c->buffer, LDNS_RCODE_SERVFAIL,
510 repinfo->c->buffer, 0, 1, worker->scratchpad,
512 error_encode(repinfo->c->buffer, LDNS_RCODE_SERVFAIL,
518 server_stats_insrcode(&worker->stats, repinfo->c->buffer);
[all...]
/freebsd-10.0-release/contrib/gcclibs/libcpp/
H A Dtraditional.c47 /* Memory buffer holding the trad_arg array. */
52 buffer. The argument continues until the character before the
59 /* The offset of the macro name in the output buffer. */
96 /* Ensures we have N bytes' space in the output buffer, and
121 const uchar *cur = pfile->buffer->cur;
132 pfile->buffer->cur = cur;
139 The asterisk and following comment is copied to the buffer pointed
146 input buffer. */
152 cpp_buffer *buffer = pfile->buffer; local
268 cpp_buffer *buffer = pfile->buffer; local
285 cpp_buffer *buffer = pfile->overlaid_buffer; local
[all...]
/freebsd-10.0-release/contrib/unbound/util/data/
H A Dmsgencode.c441 /** store rrset in buffer in wireformat, return RETVAL_* */
528 /** store msg section in wireformat buffer, return RETVAL_* */
579 /** store query section in wireformat buffer, return RETVAL */
582 ldns_buffer* buffer, struct regional* region)
584 if(ldns_buffer_remaining(buffer) <
586 return RETVAL_TRUNC; /* buffer too small */
590 ldns_buffer_position(buffer), region, NULL, tree))
592 if(ldns_buffer_current(buffer) == qinfo->qname)
593 ldns_buffer_skip(buffer, (ssize_t)qinfo->qname_len);
594 else ldns_buffer_write(buffer, qinf
581 insert_query(struct query_info* qinfo, struct compress_tree_node** tree, ldns_buffer* buffer, struct regional* region) argument
626 reply_info_encode(struct query_info* qinfo, struct reply_info* rep, uint16_t id, uint16_t flags, ldns_buffer* buffer, uint32_t timenow, struct regional* region, uint16_t udpsize, int dnssec) argument
[all...]
/freebsd-10.0-release/crypto/heimdal/lib/gssapi/
H A Dtest_context.c322 iov[1].buffer.length = header.length;
323 iov[1].buffer.value = header.data;
326 iov[1].buffer.length = 0;
327 iov[1].buffer.value = NULL;
330 iov[2].buffer.length = token.length;
331 iov[2].buffer.value = token.data;
334 iov[3].buffer.length = trailer.length;
335 iov[3].buffer.value = trailer.data;
338 iov[3].buffer.length = 0;
339 iov[3].buffer
[all...]
/freebsd-10.0-release/contrib/binutils/libiberty/
H A Dargv.c150 In order to provide a working buffer for extracting arguments into,
152 sequences, we allocate a working buffer at least as long as the input
390 /* A dynamically allocated buffer used to hold options read from a
392 char *buffer; local
413 buffer = (char *) xmalloc (pos * sizeof (char) + 1);
414 len = fread (buffer, sizeof (char), pos, f);
422 buffer[len] = '\0';
424 file_argv = buildargv (buffer);
454 free (buffer);
/freebsd-10.0-release/contrib/libarchive/libarchive/
H A Darchive_read_open_file.c56 void *buffer; member in struct:read_FILE_data
82 mine->buffer = b;
113 *buff = mine->buffer;
114 bytes_read = fread(mine->buffer, 1, mine->block_size, mine->f);
173 if (mine->buffer != NULL)
174 free(mine->buffer);
/freebsd-10.0-release/libexec/bootpd/tools/bootpef/
H A Dbootpef.c100 byte *buffer;
143 buffer = (byte *) malloc(BUFFERSIZE);
144 if (!buffer) {
287 vp = buffer;
309 /* Write the buffer to the extension file. */
316 len = vp - buffer;
317 if (len != fwrite(buffer, 1, len, fp)) {
98 byte *buffer; variable
/freebsd-10.0-release/tools/regression/lib/libc/nss/
H A Dtest-getusershell.c113 sdump_usershell(struct usershell *us, char *buffer, size_t buflen) argument
115 snprintf(buffer, buflen, "%s", us->path);
122 char buffer[2048]; local
123 sdump_usershell(us, buffer, sizeof(buffer));
124 printf("%s\n", buffer);
/freebsd-10.0-release/usr.bin/colldef/
H A Dscan.l114 errx(EX_UNAVAILABLE, "name buffer overflow near line %u, character '/'",
120 errx(EX_UNAVAILABLE, "name buffer overflow near line %u, character '>'",
126 errx(EX_UNAVAILABLE, "string buffer overflow near line %u, character '\"'",
164 errx(EX_UNAVAILABLE, "map/name buffer overflow near line %u of %s, character '%c'",
170 errx(EX_UNAVAILABLE, "string buffer overflow near line %u, character '\\t'",
176 errx(EX_UNAVAILABLE, "string buffer overflow near line %u, character '\\b'",
182 errx(EX_UNAVAILABLE, "string buffer overflow near line %u, character '\\f'",
188 errx(EX_UNAVAILABLE, "string buffer overflow near line %u, character '\\v'",
194 errx(EX_UNAVAILABLE, "string buffer overflow near line %u, character '\\n'",
200 errx(EX_UNAVAILABLE, "string buffer overflo
[all...]
/freebsd-10.0-release/usr.sbin/inetd/
H A Dbuiltins.c202 char buffer[256]; local
210 if (recvfrom(s, buffer, sizeof(buffer), 0,
217 (void) sprintf(buffer, "%.24s\r\n", ctime(&now));
218 (void) sendto(s, buffer, strlen(buffer), 0,
227 char buffer[256]; local
232 (void) sprintf(buffer, "%.24s\r\n", ctime(&now));
233 (void) send(s, buffer, strlen(buffer), MSG_EO
246 char buffer[BUFSIZE]; local
257 char buffer[BUFSIZE]; local
279 char buffer[65536]; /* Should be sizeof(max datagram). */ local
300 char buffer[BUFSIZE]; local
[all...]
/freebsd-10.0-release/usr.sbin/mfiutil/
H A Dmfi_evt.c242 static char buffer[32]; local
248 snprintf(buffer, sizeof(buffer), "boot + %us", timestamp &
250 return (buffer);
261 snprintf(buffer, sizeof(buffer), "%us", timestamp);
262 return (buffer);
265 strftime(buffer, sizeof(buffer), "%+", localtime(&t));
266 return (buffer);
272 static char buffer[8]; local
302 static char buffer[6]; local
343 static char buffer[16]; local
[all...]
/freebsd-10.0-release/contrib/groff/src/utils/lkbib/
H A Dlkbib.cpp116 char *buffer = new char[total_len]; local
117 char *ptr = buffer;
124 search_list_iterator iter(&list, buffer);
/freebsd-10.0-release/sys/security/mac/
H A Dmac_net.c402 char *elements, *buffer; local
425 buffer = malloc(mac.m_buflen, M_MACTEMP, M_WAITOK | M_ZERO);
430 error = mac_ifnet_externalize_label(intlabel, elements, buffer,
434 error = copyout(buffer, mac.m_string, strlen(buffer)+1);
436 free(buffer, M_MACTEMP);
447 char *buffer; local
461 buffer = malloc(mac.m_buflen, M_MACTEMP, M_WAITOK);
462 error = copyinstr(mac.m_string, buffer, mac.m_buflen, NULL);
464 free(buffer, M_MACTEM
[all...]
/freebsd-10.0-release/sys/teken/demo/
H A Dteken_demo.c75 struct pixel buffer[NCOLS][NROWS]; variable in typeref:struct:pixel
91 px = &buffer[p->tp_col][p->tp_row];
145 buffer[p->tp_col][p->tp_row].c = c;
146 buffer[p->tp_col][p->tp_row].a = *a;
184 buffer[d.tp_col][d.tp_row] =
185 buffer[r->tr_begin.tp_col + x][r->tr_begin.tp_row + y];
195 buffer[d.tp_col][d.tp_row] =
196 buffer[r->tr_begin.tp_col + x][r->tr_begin.tp_row + y];
209 buffer[d.tp_col][d.tp_row] =
210 buffer[
[all...]
/freebsd-10.0-release/contrib/apr-util/include/
H A Dapr_md4.h72 /** input buffer */
73 unsigned char buffer[64]; member in struct:apr_md4_ctx_t
/freebsd-10.0-release/contrib/atf/atf-run/
H A Dio.cpp259 safe_read(const int fd, void* buffer, const size_t nbytes, argument
263 while ((ret = ::read(fd, buffer, nbytes)) == -1 && errno == EINTR) {}
293 atf::utils::auto_array< char > buffer(new char[m_bufsize]);
294 const size_t nbytes = safe_read(fd, buffer.get(), m_bufsize - 1,
297 buffer[nbytes] = '\0';
303 if (buffer[i] == '\n') {
308 } else if (buffer[i] == '\r') {
311 line.append(1, buffer[i]);
314 accum.append(&buffer[line_start]);
/freebsd-10.0-release/contrib/gcc/config/
H A Dhost-linux.c33 buffer overflow attacks, since every invocation of a program will
55 32M of memory as a buffer, then allocate PCH memory, then
56 free the buffer. The theory here is that the perturbation is
57 no more than 16M, and so by allocating our buffer larger than
100 void *addr, *buffer; local
143 /* Otherwise, we need to try again with buffer space. */
144 buffer = mmap (0, buffer_size, PROT_NONE, MAP_PRIVATE | MAP_ANON, -1, 0);
146 if (buffer != (void *) MAP_FAILED)
147 munmap (buffer, buffer_size);
/freebsd-10.0-release/contrib/llvm/lib/Support/Windows/
H A DWindows.h37 char *buffer = NULL; local
39 NULL, GetLastError(), 0, (LPSTR)&buffer, 1, NULL);
40 *ErrMsg = prefix + buffer;
41 LocalFree(buffer);

Completed in 596 milliseconds

1234567891011>>