/freebsd-current/sys/dev/ocs_fc/ |
H A D | ocs_vpd.h | 41 * @brief VPD buffer structure 45 uint8_t *buffer; member in struct:__anon4050 56 * @param vpd pointer to vpd buffer 67 rc = vpd->buffer[vpd->offset++]; 74 * @brief return true if no more vpd buffer data 76 * return true if the vpd buffer data has been completely consumed 78 * @param vpd pointer to vpd buffer 93 * @param vpd pointer to vpd buffer 101 return &vpd->buffer[vpd->offset]; 114 * @param vpddata pointer to raw vpd data buffer [all...] |
/freebsd-current/sys/dev/qat/include/common/ |
H A D | adf_pfvf_vf_proto.h | 26 u8 *buffer,
|
/freebsd-current/sys/sys/ |
H A D | md5.h | 40 unsigned char buffer[64]; /* input buffer */ member in struct:MD5Context
|
/freebsd-current/crypto/openssl/demos/digest/ |
H A D | EVP_MD_stdin.c | 43 unsigned char buffer[512]; local 96 while ((ii = BIO_read(input, buffer, sizeof(buffer))) > 0) { 97 if (EVP_DigestUpdate(digest_context, buffer, ii) != 1) {
|
/freebsd-current/contrib/llvm-project/libcxx/src/ |
H A D | charconv.cpp | 20 _LIBCPP_EXPORTED_FROM_ABI char* __u32toa(uint32_t value, char* buffer) noexcept { return __base_10_u32(buffer, value); } 22 _LIBCPP_EXPORTED_FROM_ABI char* __u64toa(uint64_t value, char* buffer) noexcept { return __base_10_u64(buffer, value); }
|
/freebsd-current/contrib/ntp/libparse/ |
H A D | clk_rcc8000.c | 70 31, /* string buffer */ 77 unsigned char *buffer, 84 if (!Strok(buffer, format->fixed_string)) return CVT_NONE; 86 #define STOI(x, y) Stoi(&buffer[OFFS(x)], y, format->field_offsets[(x)].length) 99 #define RCCP buffer[28] 101 * buffer[28] is the ASCII representation of a hex character ( 0 through F ) 76 cvt_rcc8000( unsigned char *buffer, int size, struct format *format, clocktime_t *clock_time, void *local ) argument
|
/freebsd-current/contrib/xz/src/liblzma/simple/ |
H A D | ia64.c | 19 uint8_t *buffer, size_t size) 30 const uint32_t instr_template = buffer[i] & 0x1F; 44 buffer[i + j + byte_pos]) 76 buffer[i + j + byte_pos] = (uint8_t)( 17 ia64_code(void *simple lzma_attribute((__unused__)), uint32_t now_pos, bool is_encoder, uint8_t *buffer, size_t size) argument
|
H A D | arm64.c | 29 uint8_t *buffer, size_t size) 42 uint32_t instr = read32le(buffer + i); 63 write32le(buffer + i, instr); 100 write32le(buffer + i, instr); 27 arm64_code(void *simple lzma_attribute((__unused__)), uint32_t now_pos, bool is_encoder, uint8_t *buffer, size_t size) argument
|
/freebsd-current/contrib/libedit/ |
H A D | common.c | 85 /* end of buffer space, try to allocate more */ 123 if (el->el_line.cursor == el->el_line.buffer) 126 cp = c__prev_word(el->el_line.cursor, el->el_line.buffer, 135 if (el->el_line.cursor < el->el_line.buffer) 136 el->el_line.cursor = el->el_line.buffer; /* bounds check */ 153 EL.buffer, EL.buffer, EL.cursor, EL.cursor, EL.lastchar, 159 if (el->el_line.cursor == el->el_line.buffer) { 181 el->el_line.cursor > el->el_line.buffer) 241 el->el_line.cursor = el->el_line.buffer; [all...] |
H A D | chared.c | 55 /* value to leave unused in line buffer */ 69 size = (size_t)(el->el_line.lastchar - el->el_line.buffer); 71 vu->cursor = (int)(el->el_line.cursor - el->el_line.buffer); 72 (void)memcpy(vu->buf, el->el_line.buffer, size * sizeof(*vu->buf)); 105 return; /* can't go past end of buffer */ 165 if (el->el_line.cursor - num < el->el_line.buffer) 166 num = (int)(el->el_line.cursor - el->el_line.buffer); 399 el->el_line.buffer = el_calloc(EL_BUFSIZ, 400 sizeof(*el->el_line.buffer)); 401 if (el->el_line.buffer [all...] |
/freebsd-current/usr.sbin/bhyve/ |
H A D | snapshot.c | 814 .buffer.buf_start = data, 815 .buffer.buf_size = size, 817 .buffer.buf = data, 818 .buffer.buf_rem = size, 855 .buffer.buf_start = dev_ptr, 856 .buffer.buf_size = dev_size, 858 .buffer.buf = dev_ptr, 859 .buffer.buf_rem = dev_size, 946 write_cnt = write(data_fd, meta->buffer.buf_start, data_size); 972 char *buffer; local 1091 void *buffer; local 1487 struct vm_snapshot_buffer *buffer; local 1515 struct vm_snapshot_buffer *buffer; local 1569 struct vm_snapshot_buffer *buffer; local [all...] |
/freebsd-current/contrib/ntp/include/ |
H A D | ntpsim.h | 72 } buffer; /* Other data associated with the event */ member in struct:__anon5303 73 #define ntp_pkt buffer.evnt_pkt 74 #define rcv_buf buffer.evnt_buf
|
/freebsd-current/contrib/netbsd-tests/kernel/kqueue/write/ |
H A D | t_fifo.c | 60 char buffer[128]; local 72 int sz = read(fd, buffer, 128); 74 (void)printf("fifo: child read '%.*s'\n", sz, buffer);
|
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_file.cpp | 26 void CatastrophicErrorWrite(const char *buffer, uptr length) { argument 27 WriteToFile(kStderrFd, buffer, length); 33 void RawWrite(const char *buffer) { argument 34 report_file.Write(buffer, internal_strlen(buffer)); 137 // The files we usually open are not seekable, so try different buffer sizes. 213 InternalMmapVector<char> buffer(kMaxPathLength); 219 internal_memcpy(buffer.data(), beg, prefix_len); 220 buffer[prefix_len] = '/'; 221 internal_memcpy(&buffer[prefix_le [all...] |
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/ |
H A D | LibiptDecoder.h | 54 /// Decode a raw Intel PT trace for a single thread given in \p buffer and 62 llvm::ArrayRef<uint8_t> buffer); 98 /// \param[in] buffer 99 /// The intel pt buffer that belongs to a single thread or to a single cpu 110 llvm::ArrayRef<uint8_t> buffer, bool expect_tscs); 120 llvm::ArrayRef<uint8_t> buffer);
|
/freebsd-current/sys/dev/bhnd/nvram/ |
H A D | bhnd_nvram_io.h | 48 struct bhnd_nvram_io *bhnd_nvram_iobuf_new(const void *buffer, size_t size); 68 size_t offset, void *buffer, size_t nbytes); 74 size_t offset, void *buffer, size_t nbytes);
|
/freebsd-current/tools/tools/netrate/tcpreceive/ |
H A D | tcpreceive.c | 49 * buffer size. It makes no attempt to time out old connections. 57 u_char buffer[BUFFERSIZE]; local 68 recvlen = recv(s, buffer, BUFFERSIZE, 0); 75 len = send(s, buffer + sofar, recvlen - sofar, 0);
|
/freebsd-current/lib/libc/locale/ |
H A D | lnumeric.c | 55 if (l->buffer) 56 free(l->buffer); 70 &loc->buffer, "LC_NUMERIC",
|
/freebsd-current/contrib/libcbor/test/ |
H A D | test_allocator.c | 34 void *buffer[128]; local 35 int frames = backtrace(buffer, 128); 36 char **symbols = backtrace_symbols(buffer, frames);
|
/freebsd-current/contrib/ldns/ldns/ |
H A D | parse.h | 14 #include <ldns/buffer.h> 77 * \param[out] **token this should be a reference to a string buffer in which 78 * the token is put. A new buffer will be allocated when 79 * *token is NULL and fixed is false. If the buffer is too 80 * small to hold the token, the buffer is reallocated with 82 * If fixed is true, the string buffer may not be NULL 83 * and limit must be set to the buffer size. In that case 85 * \param[in,out] *limit reference to the size of the token buffer. Will be 86 * reset to the new limit of the token buffer if the 87 * buffer i [all...] |
/freebsd-current/sys/dev/pms/RefTisa/tisa/sassata/common/ |
H A D | tdinit.c | 739 char *buffer; local 851 buffer = tmpBuffer; 857 osti_memset(buffer, 0, buffLen); 869 buffer, 874 if (osti_strncmp(buffer, "0x", 2) == 0) 876 SwConfig.numDevHandles = osti_strtoul (buffer, &pLastUsedChar, 0); 880 SwConfig.numDevHandles = osti_strtoul (buffer, &pLastUsedChar, 10); 889 osti_memset(buffer, 0, buffLen); 903 buffer, 908 if (osti_strncmp(buffer, " 3370 char *buffer; local 3438 char *buffer; local [all...] |
/freebsd-current/lib/libpmcstat/ |
H A D | libpmcstat_image.c | 256 char buffer[PATH_MAX]; local 265 (void) snprintf(buffer, sizeof(buffer), "%s%s", 268 if ((fd = open(buffer, O_RDONLY, 0)) < 0 || 314 char buffer[PATH_MAX]; local 331 (void) snprintf(buffer, sizeof(buffer), "%s%s", 335 fd = open(buffer, O_RDONLY, 0); 338 buffer); 349 buffer); [all...] |
/freebsd-current/kerberos5/lib/libgssapi_krb5/ |
H A D | gss_krb5.c | 103 gss_buffer_desc buffer; local 176 buffer.value = data.data; 177 buffer.length = data.length; 182 &buffer); 194 gss_buffer_desc buffer; local 197 buffer.value = rk_UNCONST(identity); 198 buffer.length = strlen(identity); 201 GSS_KRB5_REGISTER_ACCEPTOR_IDENTITY_X, &buffer); 209 gss_buffer_desc buffer; local 213 buffer 423 gss_buffer_desc buffer; local 472 gss_buffer_desc buffer; local 498 gss_buffer_desc buffer; local 782 gss_buffer_desc buffer; local [all...] |
/freebsd-current/contrib/ntp/ntpd/ |
H A D | refclock_parse.c | 1633 char *buffer, 1641 char *b = buffer; 1647 endb = buffer + blen - sizeof(ellipsis); 1658 *buffer++ = *src++; 1667 *buffer++ = '.'; 1669 *buffer = '\0'; 1676 memcpy(buffer, "\\\\", 2); 1677 buffer += 2; 1683 snprintf(buffer, blen, "\\x%02x", *src++); 1685 buffer 1632 mkreadable( char *buffer, size_t blen, const char *src, size_t srclen, int hex ) argument 1703 mkascii( char *buffer, long blen, const char *src, u_long srclen ) argument 2481 ap(char *buffer, size_t len, char *pos, const char *fmt, ...) argument 2509 parsestate( u_long lstate, char *buffer, int size ) argument 2602 parsestatus( u_long lstate, char *buffer, int size ) argument 2652 static char buffer[20]; local 2695 static char buffer[40]; local 3780 char buffer[400]; local 4351 char buffer[64]; local 4381 char buffer[512]; local 4421 char buffer[256]; local 4436 char buffer[256]; local 4461 char buffer[512]; local 4519 char buffer[512]; local 4613 char buffer[512]; local 4641 char buffer[128]; local 4727 char buffer[128]; local 5109 char buffer[256]; local 5162 u_char buffer[256]; local 5225 u_char buffer[256]; local 5450 unsigned char *buffer = parsetime->parse_msg; local [all...] |
/freebsd-current/crypto/openssh/ |
H A D | auth-pam.c | 344 fatal("%s: buffer error: %s", __func__, ssh_err(r)); 349 fatal("%s: buffer error: %s", __func__, ssh_err(r)); 354 fatal("%s: buffer error: %s", __func__, ssh_err(r)); 363 fatal("%s: buffer error: %s", __func__, ssh_err(r)); 369 fatal("%s: buffer error: %s", __func__, ssh_err(r)); 377 fatal("%s: buffer error: %s", __func__, ssh_err(r)); 399 struct sshbuf *buffer; local 418 if ((buffer = sshbuf_new()) == NULL) { 427 if ((r = sshbuf_put_cstring(buffer, 429 fatal("%s: buffer erro 482 struct sshbuf *buffer = NULL; local 847 struct sshbuf *buffer; local 987 struct sshbuf *buffer; local [all...] |