/freebsd-current/tools/test/stress2/misc/ |
H A D | sctp3.sh | 79 char buffer[1024]; 93 in = sctp_recvmsg(conn_fd, buffer, sizeof(buffer), NULL, 0, 96 printf("Received data: %s\n", buffer);
|
H A D | datamove2.sh | 92 int startIO (int fd, char *buffer); 142 /* mmap a 2 page buffer - first page is from fd1, second page from fd2 */ 147 char *buffer; 154 buffer = addr; 155 addr = mmap(buffer + pagesize, pagesize, PROT_READ | PROT_WRITE, MAP_FIXED | 162 *bufferp = buffer; 170 err(1, "unmap 1. buffer"); 179 err(1, "unmap 2. buffer"); 184 startIO(int fd, char *buffer) 188 len = write(fd, buffer, [all...] |
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_stoptheworld_win.cpp | 38 InternalMmapVector<uptr> *buffer, 57 uptr index, InternalMmapVector<uptr> *buffer, uptr *sp) const { 60 buffer->resize(RoundUpTo(sizeof(CONTEXT), sizeof(uptr)) / sizeof(uptr)); 61 CONTEXT *thread_context = reinterpret_cast<CONTEXT *>(buffer->data()); 56 GetRegistersAndSP( uptr index, InternalMmapVector<uptr> *buffer, uptr *sp) const argument
|
H A D | sanitizer_stoptheworld_mac.cpp | 41 InternalMmapVector<uptr> *buffer, 148 uptr index, InternalMmapVector<uptr> *buffer, uptr *sp) const { 163 buffer->resize(RoundUpTo(sizeof(regs), sizeof(uptr)) / sizeof(uptr)); 164 internal_memcpy(buffer->data(), ®s, sizeof(regs)); 147 GetRegistersAndSP( uptr index, InternalMmapVector<uptr> *buffer, uptr *sp) const argument
|
/freebsd-current/contrib/opencsd/decoder/include/opencsd/c_api/ |
H A D | opencsd_c_api.h | 125 * @param index : Trace buffer byte index for the start of the supplied data block. 287 * Add a memory buffer based memory range accessor to the decode tree. 292 * @param *p_mem_buffer : pointer to memory buffer. 293 * @param mem_length : Size of memory buffer. 406 * @param buffer : buffer for return string 407 * @param buffer_size : length of buffer. 409 OCSD_C_API void ocsd_err_str(const ocsd_err_t err, char *buffer, const int buffer_size); 420 * @param message : buffer to copy the last error message. 421 * @param message_len: length of message buffer [all...] |
/freebsd-current/contrib/tcp_wrappers/ |
H A D | rfc931.c | 91 char buffer[512]; /* XXX */ local 199 if (fgets(buffer, sizeof(buffer), fp) != 0 201 && sscanf(buffer, "%u , %u : USERID :%*[^:]:%255s",
|
/freebsd-current/contrib/ntp/sntp/libevent/include/ |
H A D | event.h | 71 #include <event2/buffer.h>
|
/freebsd-current/crypto/openssl/crypto/asn1/ |
H A D | tasn_scn.c | 15 #include <openssl/buffer.h>
|
/freebsd-current/contrib/llvm-project/lld/include/lld/Common/ |
H A D | Strings.h | 24 // Write the contents of the a buffer to a file 25 void saveBuffer(llvm::StringRef buffer, const llvm::Twine &path);
|
/freebsd-current/crypto/openssl/crypto/pem/ |
H A D | pem_oth.c | 12 #include <openssl/buffer.h>
|
/freebsd-current/lib/libmd/ |
H A D | md4.h | 34 unsigned char buffer[64]; /* input buffer */ member in struct:MD4Context
|
/freebsd-current/sys/dev/cardbus/ |
H A D | cardbusvar.h | 34 * Static copy of the CIS buffer. Technically, you aren't supposed 40 uint8_t buffer[2040]; /* small enough to be 2k */ member in struct:cis_buffer
|
/freebsd-current/sys/dev/liquidio/base/ |
H A D | lio_droq.c | 164 if (droq->recv_buf_list[i].buffer != NULL) { 165 lio_recv_buffer_free(droq->recv_buf_list[i].buffer); 166 droq->recv_buf_list[i].buffer = NULL; 185 lio_dev_err(oct, "%s buffer alloc failed\n", 191 droq->recv_buf_list[i].buffer = buf; 195 lio_map_ring(oct->device, droq->recv_buf_list[i].buffer, 354 * idx - index in the descriptor for the first buffer in the packet. 356 * Allocates a recv_info_t and copies the buffer addresses for packet data 396 recv_pkt->buffer_ptr[i] = droq->recv_buf_list[idx].buffer; 397 droq->recv_buf_list[idx].buffer 651 struct mbuf *buffer; local [all...] |
/freebsd-current/sys/dev/qlxgb/ |
H A D | qla_ioctl.h | 56 void *buffer; member in struct:qla_wr_flash
|
/freebsd-current/sys/dev/bhnd/nvram/ |
H A D | bhnd_nvram_ioptr.c | 143 /* Verify offset+nbytes fall within the buffer range */ 151 /* Valid I/O range, provide a pointer to the buffer and the 170 /* Return a pointer into our backing buffer */ 192 /* Return a pointer into our backing buffer */ 197 bhnd_nvram_ioptr_read(struct bhnd_nvram_io *io, size_t offset, void *buffer, argument 208 memcpy(buffer, ptr, nbytes); 214 void *buffer, size_t nbytes) 224 memcpy(ptr, buffer, nbytes); 213 bhnd_nvram_ioptr_write(struct bhnd_nvram_io *io, size_t offset, void *buffer, size_t nbytes) argument
|
/freebsd-current/tools/tools/netmap/ |
H A D | pkt_hash.h | 73 pkt_hdr_hash(const unsigned char *buffer,
|
/freebsd-current/usr.bin/dtc/ |
H A D | input_buffer.cc | 73 * Constructs a new buffer from the file passed in as a file 78 * Unmaps the buffer, if one exists. 83 * Input buffer read from standard input. This is used for reading device tree 96 * The buffer that will store the data read from the standard input. 100 * Constructs a new buffer from the standard input. 114 buffer = (const char*)mmap(0, size, PROT_READ, MAP_PRIVATE | 116 if (buffer == MAP_FAILED) 125 if (buffer != 0) 127 munmap(const_cast<char*>(buffer), size); 138 buffer [all...] |
/freebsd-current/usr.bin/bluetooth/rfcomm_sppd/ |
H A D | rfcomm_sdp.c | 66 uint8_t buffer[PROTOCOL_DESCRIPTOR_LIST_BUFFER_SIZE]; local 72 sdp_attr_t proto = { SDP_ATTR_INVALID,0,sizeof(buffer),buffer }; 155 buffer + proto.vlen, channel, error));
|
/freebsd-current/sys/sys/ |
H A D | gsb_crc32.h | 35 uint32_t calculate_crc32c(uint32_t crc32c, const unsigned char *buffer,
|
/freebsd-current/sys/dev/iicbus/rtc/ |
H A D | ds1672.c | 84 uint8_t buffer[MAX_IIC_DATA_SIZE + 1]; local 86 { DS1672_ADDR, IIC_M_WR, size + 1, buffer }, 92 buffer[0] = addr; 93 memcpy(buffer + 1, data, size);
|
/freebsd-current/sbin/pfctl/tests/ |
H A D | pfctl_test.c | 93 char buffer[MAXBSIZE]; local 97 while ((count = read(fd, buffer, sizeof(buffer) - 1)) > 0) { 98 sbuf_bcat(sb, buffer, count);
|
/freebsd-current/sys/dev/adb/ |
H A D | adb_kbd.c | 79 uint8_t buffer[8]; member in struct:adb_kbd_softc 434 sc->buffer[sc->buffers++] = data[0] & 0x7f; 435 sc->buffer[sc->buffers++] = (data[0] & 0x7f) | (1 << 7); 437 sc->buffer[sc->buffers++] = data[0]; 439 if (sc->buffer[sc->buffers-1] < 0xff) 440 sc->last_press = sc->buffer[sc->buffers-1]; 444 sc->buffer[sc->buffers++] = data[1] & 0x7f; 445 sc->buffer[sc->buffers++] = (data[1] & 0x7f) | (1 << 7); 447 sc->buffer[sc->buffers++] = data[1]; 450 if (sc->buffer[s [all...] |
/freebsd-current/stand/kboot/kboot/ |
H A D | kboot.h | 55 bool file2str(const char *fn, char *buffer, size_t buflen);
|
/freebsd-current/contrib/expat/tests/ |
H A D | common.c | 181 char buffer[1024]; local 183 snprintf(buffer, sizeof(buffer), 188 _fail(file, line, buffer);
|
/freebsd-current/contrib/llvm-project/clang/include/clang-c/ |
H A D | BuildSystem.h | 71 * Write out the \c CXVirtualFileOverlay object to a char buffer. 74 * \param out_buffer_ptr pointer to receive the buffer pointer, which should be 76 * \param out_buffer_size pointer to receive the buffer size. 85 * free memory allocated by libclang, such as the buffer returned by 88 * \param buffer memory pointer to free. 90 CINDEX_LINKAGE void clang_free(void *buffer); 128 * Write out the \c CXModuleMapDescriptor object to a char buffer. 131 * \param out_buffer_ptr pointer to receive the buffer pointer, which should be 133 * \param out_buffer_size pointer to receive the buffer size.
|