/freebsd-11-stable/libexec/bootpd/tools/bootpef/ |
H A D | bootpef.c | 100 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-11-stable/sys/arm/nvidia/drm2/ |
H A D | hdmi.h | 161 ssize_t hdmi_avi_infoframe_pack(struct hdmi_avi_infoframe *frame, void *buffer, 192 ssize_t hdmi_spd_infoframe_pack(struct hdmi_spd_infoframe *frame, void *buffer, 271 void *buffer, size_t size); 298 void *buffer, size_t size); 331 hdmi_infoframe_pack(union hdmi_infoframe *frame, void *buffer, size_t size); 332 int hdmi_infoframe_unpack(union hdmi_infoframe *frame, void *buffer);
|
/freebsd-11-stable/lib/libc/tests/nss/ |
H A D | getusershell_test.c | 110 sdump_usershell(struct usershell *us, char *buffer, size_t buflen) argument 112 snprintf(buffer, buflen, "%s", us->path); 119 char buffer[2048]; local 120 sdump_usershell(us, buffer, sizeof(buffer)); 121 printf("%s\n", buffer);
|
/freebsd-11-stable/usr.bin/colldef/ |
H A D | scan.l | 116 errx(EX_UNAVAILABLE, "name buffer overflow near line %u, character '/'", 122 errx(EX_UNAVAILABLE, "name buffer overflow near line %u, character '>'", 128 errx(EX_UNAVAILABLE, "string buffer overflow near line %u, character '\"'", 166 errx(EX_UNAVAILABLE, "map/name buffer overflow near line %u of %s, character '%c'", 172 errx(EX_UNAVAILABLE, "string buffer overflow near line %u, character '\\t'", 178 errx(EX_UNAVAILABLE, "string buffer overflow near line %u, character '\\b'", 184 errx(EX_UNAVAILABLE, "string buffer overflow near line %u, character '\\f'", 190 errx(EX_UNAVAILABLE, "string buffer overflow near line %u, character '\\v'", 196 errx(EX_UNAVAILABLE, "string buffer overflow near line %u, character '\\n'", 202 errx(EX_UNAVAILABLE, "string buffer overflo [all...] |
/freebsd-11-stable/usr.sbin/mfiutil/ |
H A D | mfi_evt.c | 245 static char buffer[32]; local 251 snprintf(buffer, sizeof(buffer), "boot + %us", timestamp & 253 return (buffer); 264 snprintf(buffer, sizeof(buffer), "%us", timestamp); 265 return (buffer); 268 strftime(buffer, sizeof(buffer), "%+", localtime(&t)); 269 return (buffer); 275 static char buffer[8]; local 305 static char buffer[6]; local 346 static char buffer[16]; local [all...] |
/freebsd-11-stable/usr.sbin/inetd/ |
H A D | builtins.c | 201 char buffer[256]; local 209 if (recvfrom(s, buffer, sizeof(buffer), 0, 216 (void) sprintf(buffer, "%.24s\r\n", ctime(&now)); 217 (void) sendto(s, buffer, strlen(buffer), 0, 226 char buffer[256]; local 231 (void) sprintf(buffer, "%.24s\r\n", ctime(&now)); 232 (void) send(s, buffer, strlen(buffer), MSG_EO 245 char buffer[BUFSIZE]; local 256 char buffer[BUFSIZE]; local 278 char buffer[65536]; /* Should be sizeof(max datagram). */ local 299 char buffer[BUFSIZE]; local [all...] |
/freebsd-11-stable/contrib/llvm-project/lldb/source/API/ |
H A D | SBTrace.cpp | 34 llvm::MutableArrayRef<uint8_t> buffer(static_cast<uint8_t *>(buf), size); 41 process_sp->GetData(GetTraceUID(), thread_id, buffer, offset)); 43 return buffer.size(); 53 llvm::MutableArrayRef<uint8_t> buffer(static_cast<uint8_t *>(buf), size); 60 process_sp->GetMetaData(GetTraceUID(), thread_id, buffer, offset)); 62 return buffer.size();
|
/freebsd-11-stable/usr.sbin/bluetooth/hccontrol/ |
H A D | info.c | 81 char buffer[16384]; local 102 buffer, sizeof(buffer))); 113 char buffer[2048]; local 131 buffer, sizeof(buffer)));
|
/freebsd-11-stable/contrib/unbound/daemon/ |
H A D | worker.c | 254 if(!LDNS_QR_WIRE(sldns_buffer_begin(c->buffer)) 255 || LDNS_OPCODE_WIRE(sldns_buffer_begin(c->buffer)) != 257 || LDNS_QDCOUNT(sldns_buffer_begin(c->buffer)) > 1) { 285 if(!LDNS_QR_WIRE(sldns_buffer_begin(c->buffer)) 286 || LDNS_OPCODE_WIRE(sldns_buffer_begin(c->buffer)) != 288 || LDNS_QDCOUNT(sldns_buffer_begin(c->buffer)) > 1) { 519 error_encode(repinfo->c->buffer, LDNS_RCODE_SERVFAIL, 555 repinfo->c->buffer, 0, 1, worker->scratchpad, 561 error_encode(repinfo->c->buffer, LDNS_RCODE_SERVFAIL, 566 server_stats_insrcode(&worker->stats, repinfo->c->buffer); [all...] |
/freebsd-11-stable/contrib/subversion/subversion/libsvn_subr/utf8proc/ |
H A D | utf8proc.c | 486 utf8proc_int32_t *buffer, utf8proc_ssize_t bufsize, utf8proc_option_t options 488 return utf8proc_decompose_custom(str, strlen, buffer, bufsize, options, NULL, NULL); 493 utf8proc_int32_t *buffer, utf8proc_ssize_t bufsize, utf8proc_option_t options, 525 uc, buffer + wpos, (bufsize > wpos) ? (bufsize - wpos) : 0, options, 541 uc1 = buffer[pos]; 542 uc2 = buffer[pos+1]; 547 buffer[pos] = uc2; 548 buffer[pos+1] = uc1; 558 UTF8PROC_DLLEXPORT utf8proc_ssize_t utf8proc_normalize_utf32(utf8proc_int32_t *buffer, utf8proc_ssize_t length, utf8proc_option_t options) { argument 565 uc = buffer[rpo 484 utf8proc_decompose( const utf8proc_uint8_t *str, utf8proc_ssize_t strlen, utf8proc_int32_t *buffer, utf8proc_ssize_t bufsize, utf8proc_option_t options ) argument 491 utf8proc_decompose_custom( const utf8proc_uint8_t *str, utf8proc_ssize_t strlen, utf8proc_int32_t *buffer, utf8proc_ssize_t bufsize, utf8proc_option_t options, utf8proc_custom_func custom_func, void *custom_data ) argument 670 utf8proc_reencode(utf8proc_int32_t *buffer, utf8proc_ssize_t length, utf8proc_option_t options) argument 704 utf8proc_int32_t *buffer; local [all...] |
/freebsd-11-stable/contrib/groff/src/utils/lkbib/ |
H A D | lkbib.cpp | 116 char *buffer = new char[total_len]; local 117 char *ptr = buffer; 124 search_list_iterator iter(&list, buffer);
|
/freebsd-11-stable/sys/teken/demo/ |
H A D | teken_demo.c | 75 static struct pixel buffer[NCOLS][NROWS]; variable in typeref:struct:pixel 89 px = &buffer[p->tp_col][p->tp_row]; 146 buffer[p->tp_col][p->tp_row].c = c; 147 buffer[p->tp_col][p->tp_row].a = *a; 185 buffer[d.tp_col][d.tp_row] = 186 buffer[r->tr_begin.tp_col + x][r->tr_begin.tp_row + y]; 196 buffer[d.tp_col][d.tp_row] = 197 buffer[r->tr_begin.tp_col + x][r->tr_begin.tp_row + y]; 210 buffer[d.tp_col][d.tp_row] = 211 buffer[ [all...] |
/freebsd-11-stable/contrib/netbsd-tests/kernel/kqueue/write/ |
H A D | t_ttypty.c | 56 char buffer[128]; local 72 n = read(check_master ? aslave : amaster, buffer, 128); 73 (void)printf("tty: child read '%.*s'\n", n, buffer);
|
/freebsd-11-stable/sys/security/mac/ |
H A D | mac_net.c | 401 char *elements, *buffer; local 424 buffer = malloc(mac.m_buflen, M_MACTEMP, M_WAITOK | M_ZERO); 429 error = mac_ifnet_externalize_label(intlabel, elements, buffer, 433 error = copyout(buffer, mac.m_string, strlen(buffer)+1); 435 free(buffer, M_MACTEMP); 446 char *buffer; local 460 buffer = malloc(mac.m_buflen, M_MACTEMP, M_WAITOK); 461 error = copyinstr(mac.m_string, buffer, mac.m_buflen, NULL); 463 free(buffer, M_MACTEM [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | ConstantInitBuilder.cpp | 53 assert(Buffer.empty() && "buffer not current empty"); 247 auto &buffer = getBuffer(); local 248 assert((Begin < buffer.size() || 249 (Begin == buffer.size() && eltTy)) 251 auto elts = llvm::makeArrayRef(buffer).slice(Begin); 255 buffer.erase(buffer.begin() + Begin, buffer.end()); 263 auto &buffer = getBuffer(); local 264 auto elts = llvm::makeArrayRef(buffer) [all...] |
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_symbolizer_internal.h | 24 // InternalAlloc) and null-terminataed buffer is returned. They return a pointer 88 virtual bool ReadFromSymbolizer(char *buffer, uptr max_length); 91 virtual bool ReachedEndOfOutput(const char *buffer, uptr length) const { argument 103 bool WriteToSymbolizer(const char *buffer, uptr length);
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libexecinfo/ |
H A D | t_backtrace.c | 70 void *buffer[ncalls + 10]; local 80 nptrs = backtrace(buffer, __arraycount(buffer)); 82 strings = backtrace_symbols_fmt(buffer, nptrs, "%n");
|
/freebsd-11-stable/contrib/ntp/lib/isc/include/isc/ |
H A D | sha1.h | 48 unsigned char buffer[ISC_SHA1_BLOCK_LENGTH]; member in struct:__anon4837
|
/freebsd-11-stable/contrib/ntp/sntp/libevent/ |
H A D | buffer_iocp.c | 36 #include "event2/buffer.h" 54 struct evbuffer buffer; member in struct:evbuffer_overlapped 62 /** The first pinned chain in the buffer. */ 78 return EVUTIL_UPCAST(buf, struct evbuffer_overlapped, buffer); 160 LIST_INIT(&evo->buffer.callbacks); 161 evo->buffer.refcnt = 1; 162 evo->buffer.last_with_datap = &evo->buffer.first; 164 evo->buffer.is_overlapped = 1; 167 return &evo->buffer; [all...] |
/freebsd-11-stable/contrib/apr-util/include/ |
H A D | apr_md4.h | 72 /** input buffer */ 73 unsigned char buffer[64]; member in struct:apr_md4_ctx_t
|
/freebsd-11-stable/contrib/gcc/config/ |
H A D | host-linux.c | 33 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-11-stable/sys/arm/lpc/ |
H A D | ssd1289.c | 161 uint8_t buffer[8]; local 164 cmd.rx_cmd = buffer; 180 uint8_t buffer[2]; local 183 buffer[0] = 0x00; 184 buffer[1] = addr & 0xff; 185 ssd1289_spi_send(sc, buffer, 2); 188 buffer[0] = (value >> 8) & 0xff; 189 buffer[1] = value & 0xff; 190 ssd1289_spi_send(sc, buffer, 2);
|
/freebsd-11-stable/lib/libmemstat/ |
H A D | memstat_uma.c | 82 char *buffer, *p; local 89 * guess an initial buffer size. We loop until we succeed or really 124 buffer = malloc(size); 125 if (buffer == NULL) { 130 if (sysctlbyname("vm.zone_stats", buffer, &size, NULL, 0) < 0) { 136 free(buffer); 143 free(buffer); 148 free(buffer); 154 free(buffer); 157 p = buffer; 258 kread_string(kvm_t *kvm, const void *kvm_pointer, char *buffer, int buflen) argument [all...] |
/freebsd-11-stable/contrib/unbound/compat/ |
H A D | sha512.c | 56 uint8_t buffer[SHA512_BLOCK_LENGTH]; member in struct:_SHA512_CTX 267 MEMSET_BZERO(context->buffer, SHA512_BLOCK_LENGTH); 274 sha2_word64 T1, T2, *W512 = (sha2_word64*)context->buffer; 362 /* Calculate how much free space is available in the buffer */ 366 /* Fill the buffer completely and process it */ 367 MEMCPY_BCOPY(&context->buffer[usedspace], data, freespace); 371 SHA512_Transform(context, (sha2_word64*)context->buffer); 373 /* The buffer is not yet full */ 374 MEMCPY_BCOPY(&context->buffer[usedspace], data, len); 390 MEMCPY_BCOPY(context->buffer, dat [all...] |
/freebsd-11-stable/crypto/openssl/crypto/buffer/ |
H A D | buf_err.c | 1 /* crypto/buffer/buf_err.c */ 64 #include <openssl/buffer.h>
|