Searched refs:buffer (Results 426 - 450 of 1573) sorted by relevance

<<11121314151617181920>>

/freebsd-current/tools/test/stress2/misc/
H A Dsctp3.sh79 char buffer[1024];
93 in = sctp_recvmsg(conn_fd, buffer, sizeof(buffer), NULL, 0,
96 printf("Received data: %s\n", buffer);
H A Ddatamove2.sh92 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 Dsanitizer_stoptheworld_win.cpp38 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 Dsanitizer_stoptheworld_mac.cpp41 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(), &regs, sizeof(regs));
147 GetRegistersAndSP( uptr index, InternalMmapVector<uptr> *buffer, uptr *sp) const argument
/freebsd-current/contrib/opencsd/decoder/include/opencsd/c_api/
H A Dopencsd_c_api.h125 * @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 Drfc931.c91 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 Devent.h71 #include <event2/buffer.h>
/freebsd-current/crypto/openssl/crypto/asn1/
H A Dtasn_scn.c15 #include <openssl/buffer.h>
/freebsd-current/contrib/llvm-project/lld/include/lld/Common/
H A DStrings.h24 // 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 Dpem_oth.c12 #include <openssl/buffer.h>
/freebsd-current/lib/libmd/
H A Dmd4.h34 unsigned char buffer[64]; /* input buffer */ member in struct:MD4Context
/freebsd-current/sys/dev/cardbus/
H A Dcardbusvar.h34 * 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 Dlio_droq.c164 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 Dqla_ioctl.h56 void *buffer; member in struct:qla_wr_flash
/freebsd-current/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_ioptr.c143 /* 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 Dpkt_hash.h73 pkt_hdr_hash(const unsigned char *buffer,
/freebsd-current/usr.bin/dtc/
H A Dinput_buffer.cc73 * 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 Drfcomm_sdp.c66 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 Dgsb_crc32.h35 uint32_t calculate_crc32c(uint32_t crc32c, const unsigned char *buffer,
/freebsd-current/sys/dev/iicbus/rtc/
H A Dds1672.c84 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 Dpfctl_test.c93 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 Dadb_kbd.c79 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 Dkboot.h55 bool file2str(const char *fn, char *buffer, size_t buflen);
/freebsd-current/contrib/expat/tests/
H A Dcommon.c181 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 DBuildSystem.h71 * 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.

Completed in 325 milliseconds

<<11121314151617181920>>