Home
last modified time | relevance | path

Searched defs:buffer (Results 1 – 25 of 1011) sorted by relevance

12345678910>>...41

/freebsd/contrib/ldns/ldns/
H A Dbuffer.h77 ldns_buffer_invariant(const ldns_buffer *ATTR_UNUSED(buffer)) in ldns_buffer_invariant()
82 ldns_buffer_invariant(const ldns_buffer *buffer) in ldns_buffer_invariant()
115 INLINE void ldns_buffer_clear(ldns_buffer *buffer) in ldns_buffer_clear()
133 INLINE void ldns_buffer_flip(ldns_buffer *buffer) in ldns_buffer_flip()
146 INLINE void ldns_buffer_rewind(ldns_buffer *buffer) in ldns_buffer_rewind()
159 ldns_buffer_position(const ldns_buffer *buffer) in ldns_buffer_position()
171 ldns_buffer_set_position(ldns_buffer *buffer, size_t mark) in ldns_buffer_set_position()
185 ldns_buffer_skip(ldns_buffer *buffer, ssize_t count) in ldns_buffer_skip()
197 ldns_buffer_limit(const ldns_buffer *buffer) in ldns_buffer_limit()
209 ldns_buffer_set_limit(ldns_buffer *buffer, size_t limit) in ldns_buffer_set_limit()
[all …]
/freebsd/contrib/unbound/sldns/
H A Dsbuffer.h142 sldns_buffer_invariant(sldns_buffer *ATTR_UNUSED(buffer)) in sldns_buffer_invariant()
147 sldns_buffer_invariant(sldns_buffer *buffer) in sldns_buffer_invariant()
189 INLINE void sldns_buffer_clear(sldns_buffer *buffer) in sldns_buffer_clear()
206 INLINE void sldns_buffer_flip(sldns_buffer *buffer) in sldns_buffer_flip()
219 INLINE void sldns_buffer_rewind(sldns_buffer *buffer) in sldns_buffer_rewind()
232 sldns_buffer_position(sldns_buffer *buffer) in sldns_buffer_position()
244 sldns_buffer_set_position(sldns_buffer *buffer, size_t mark) in sldns_buffer_set_position()
258 sldns_buffer_skip(sldns_buffer *buffer, ssize_t count) in sldns_buffer_skip()
270 sldns_buffer_limit(sldns_buffer *buffer) in sldns_buffer_limit()
282 sldns_buffer_set_limit(sldns_buffer *buffer, size_t limit) in sldns_buffer_set_limit()
[all …]
H A Dsbuffer.c21 sldns_buffer *buffer = (sldns_buffer*)malloc(sizeof(sldns_buffer)); in sldns_buffer_new() local
44 sldns_buffer_new_frm_data(sldns_buffer *buffer, void *data, size_t size) in sldns_buffer_new_frm_data()
65 sldns_buffer_init_frm_data(sldns_buffer *buffer, void *data, size_t size) in sldns_buffer_init_frm_data()
74 sldns_buffer_set_capacity(sldns_buffer *buffer, size_t capacity) in sldns_buffer_set_capacity()
93 sldns_buffer_reserve(sldns_buffer *buffer, size_t amount) in sldns_buffer_reserve()
113 sldns_buffer_printf(sldns_buffer *buffer, const char *format, ...) in sldns_buffer_printf()
138 sldns_buffer_free(sldns_buffer *buffer) in sldns_buffer_free()
/freebsd/contrib/libcbor/src/cbor/
H A Dencoding.c11 size_t cbor_encode_uint8(uint8_t value, unsigned char *buffer, in cbor_encode_uint8()
16 size_t cbor_encode_uint16(uint16_t value, unsigned char *buffer, in cbor_encode_uint16()
21 size_t cbor_encode_uint32(uint32_t value, unsigned char *buffer, in cbor_encode_uint32()
26 size_t cbor_encode_uint64(uint64_t value, unsigned char *buffer, in cbor_encode_uint64()
31 size_t cbor_encode_uint(uint64_t value, unsigned char *buffer, in cbor_encode_uint()
36 size_t cbor_encode_negint8(uint8_t value, unsigned char *buffer, in cbor_encode_negint8()
41 size_t cbor_encode_negint16(uint16_t value, unsigned char *buffer, in cbor_encode_negint16()
46 size_t cbor_encode_negint32(uint32_t value, unsigned char *buffer, in cbor_encode_negint32()
51 size_t cbor_encode_negint64(uint64_t value, unsigned char *buffer, in cbor_encode_negint64()
56 size_t cbor_encode_negint(uint64_t value, unsigned char *buffer, in cbor_encode_negint()
[all …]
H A Dserialization.c20 size_t cbor_serialize(const cbor_item_t *item, unsigned char *buffer, in cbor_serialize()
154 size_t cbor_serialize_alloc(const cbor_item_t *item, unsigned char **buffer, in cbor_serialize_alloc()
174 size_t cbor_serialize_uint(const cbor_item_t *item, unsigned char *buffer, in cbor_serialize_uint()
190 size_t cbor_serialize_negint(const cbor_item_t *item, unsigned char *buffer, in cbor_serialize_negint()
206 size_t cbor_serialize_bytestring(const cbor_item_t *item, unsigned char *buffer, in cbor_serialize_bytestring()
238 size_t cbor_serialize_string(const cbor_item_t *item, unsigned char *buffer, in cbor_serialize_string()
270 size_t cbor_serialize_array(const cbor_item_t *item, unsigned char *buffer, in cbor_serialize_array()
301 size_t cbor_serialize_map(const cbor_item_t *item, unsigned char *buffer, in cbor_serialize_map()
339 size_t cbor_serialize_tag(const cbor_item_t *item, unsigned char *buffer, in cbor_serialize_tag()
351 size_t cbor_serialize_float_ctrl(const cbor_item_t *item, unsigned char *buffer, in cbor_serialize_float_ctrl()
/freebsd/contrib/ldns/
H A Dhost2wire.c20 ldns_dname2buffer_wire(ldns_buffer *buffer, const ldns_rdf *name) in ldns_dname2buffer_wire()
26 ldns_dname2buffer_wire_compress(ldns_buffer *buffer, const ldns_rdf *name, ldns_rbtree_t *compressi… in ldns_dname2buffer_wire_compress()
109 ldns_rdf2buffer_wire(ldns_buffer *buffer, const ldns_rdf *rdf) in ldns_rdf2buffer_wire()
115 ldns_rdf2buffer_wire_compress(ldns_buffer *buffer, const ldns_rdf *rdf, ldns_rbtree_t *compression_… in ldns_rdf2buffer_wire_compress()
130 ldns_rdf2buffer_wire_canonical(ldns_buffer *buffer, const ldns_rdf *rdf) in ldns_rdf2buffer_wire_canonical()
156 ldns_rr_list2buffer_wire(ldns_buffer *buffer,const ldns_rr_list *rr_list) in ldns_rr_list2buffer_wire()
171 ldns_rr2buffer_wire_canonical(ldns_buffer *buffer, in ldns_rr2buffer_wire_canonical()
244 ldns_rr2buffer_wire(ldns_buffer *buffer, const ldns_rr *rr, int section) in ldns_rr2buffer_wire()
250 ldns_rr2buffer_wire_compress(ldns_buffer *buffer, const ldns_rr *rr, int section, ldns_rbtree_t *co… in ldns_rr2buffer_wire_compress()
294 ldns_rrsig2buffer_wire(ldns_buffer *buffer, const ldns_rr *rr) in ldns_rrsig2buffer_wire()
[all …]
H A Dbuffer.c18 ldns_buffer *buffer = LDNS_MALLOC(ldns_buffer); in ldns_buffer_new() local
41 ldns_buffer_new_frm_data(ldns_buffer *buffer, const void *data, size_t size) in ldns_buffer_new_frm_data()
60 ldns_buffer_set_capacity(ldns_buffer *buffer, size_t capacity) in ldns_buffer_set_capacity()
80 ldns_buffer_reserve(ldns_buffer *buffer, size_t amount) in ldns_buffer_reserve()
99 ldns_buffer_printf(ldns_buffer *buffer, const char *format, ...) in ldns_buffer_printf()
137 ldns_buffer_free(ldns_buffer *buffer) in ldns_buffer_free()
150 ldns_buffer_export(ldns_buffer *buffer) in ldns_buffer_export()
157 ldns_bgetc(ldns_buffer *buffer) in ldns_bgetc()
/freebsd/contrib/llvm-project/llvm/include/llvm/Bitcode/
H A DBitcodeConvenience.h189 static void emit(llvm::BitstreamWriter &Stream, BufferTy &buffer, in emit()
200 static void read(ArrayRef<T> buffer, ElementDataTy &element, in read()
209 static void read(ArrayRef<T> buffer, std::nullopt_t, DataTy &&...data) { in read()
226 static void emit(llvm::BitstreamWriter &Stream, BufferTy &buffer, in emit()
236 static void read(ArrayRef<T> buffer, DataTy &data) { in read()
241 template <typename T> static void read(ArrayRef<T> buffer, std::nullopt_t) { in read()
255 static void emit(llvm::BitstreamWriter &Stream, BufferTy &buffer, in emit()
262 static void emit(llvm::BitstreamWriter &Stream, BufferTy &buffer, in emit()
274 static void emit(llvm::BitstreamWriter &Stream, BufferTy &buffer, in emit()
292 static void read(ArrayRef<T> buffer, ArrayTy &array) { in read()
[all …]
/freebsd/sys/dev/xen/netback/
H A Dnetback_unit_tests.c49 #define SNCATF(buffer, buflen, ...) do { \ argument
209 xnb_unit_test_runner(test_fixture_t const tests[], int ntests, char *buffer, in xnb_unit_test_runner()
391 xnb_ring2pkt_emptyring(char *buffer, size_t buflen) in xnb_ring2pkt_emptyring()
405 xnb_ring2pkt_1req(char *buffer, size_t buflen) in xnb_ring2pkt_1req()
436 xnb_ring2pkt_2req(char *buffer, size_t buflen) in xnb_ring2pkt_2req()
473 xnb_ring2pkt_3req(char *buffer, size_t buflen) in xnb_ring2pkt_3req()
517 xnb_ring2pkt_extra(char *buffer, size_t buflen) in xnb_ring2pkt_extra()
570 xnb_ring2pkt_partial(char *buffer, size_t buflen) in xnb_ring2pkt_partial()
595 xnb_ring2pkt_wraps(char *buffer, size_t buflen) in xnb_ring2pkt_wraps()
648 xnb_txpkt2rsp_emptypkt(char *buffer, size_t buflen) in xnb_txpkt2rsp_emptypkt()
[all …]
/freebsd/contrib/processor-trace/libipt/test/src/
H A Dptunit-image.c300 static int ifix_read(const struct pt_section *section, uint8_t *buffer, in ifix_read()
380 int pt_section_read(const struct pt_section *section, uint8_t *buffer, in pt_section_read()
393 static int image_readmem_callback(uint8_t *buffer, size_t size, in image_readmem_callback()
536 uint8_t buffer[] = { 0xcc, 0xcc }; in read_empty() local
554 uint8_t buffer[] = { 0xcc, 0xcc }; in overlap_front() local
588 uint8_t buffer[] = { 0xcc, 0xcc }; in overlap_back() local
628 uint8_t buffer[] = { 0xcc, 0xcc }; in overlap_multiple() local
679 uint8_t buffer[] = { 0xcc, 0xcc }; in overlap_mid() local
729 uint8_t buffer[] = { 0xcc, 0xcc }; in contained() local
755 uint8_t buffer[] = { 0xcc, 0xcc }; in contained_multiple() local
[all …]
/freebsd/contrib/libcbor/src/cbor/internal/
H A Dencoders.c11 size_t _cbor_encode_uint8(uint8_t value, unsigned char *buffer, in _cbor_encode_uint8()
28 size_t _cbor_encode_uint16(uint16_t value, unsigned char *buffer, in _cbor_encode_uint16()
45 size_t _cbor_encode_uint32(uint32_t value, unsigned char *buffer, in _cbor_encode_uint32()
64 size_t _cbor_encode_uint64(uint64_t value, unsigned char *buffer, in _cbor_encode_uint64()
87 size_t _cbor_encode_uint(uint64_t value, unsigned char *buffer, in _cbor_encode_uint()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_symbolizer_markup.cpp27 void MarkupStackTracePrinter::RenderData(InternalScopedString *buffer, in RenderData()
39 void MarkupStackTracePrinter::RenderFrame(InternalScopedString *buffer, in RenderFrame()
50 char buffer[kFormatFunctionMax]; in SymbolizePC() local
64 static char buffer[kFormatDemangleMax]; in Demangle() local
94 static void RenderModule(InternalScopedString *buffer, in RenderModule()
105 static void RenderMmaps(InternalScopedString *buffer, in RenderMmaps()
131 void MarkupStackTracePrinter::RenderContext(InternalScopedString *buffer) { in RenderContext()
H A Dsanitizer_flag_parser.h28 virtual bool Format(char *buffer, uptr size) { in Format() argument
37 inline bool FormatString(char *buffer, uptr size, const char *str_to_use) { in FormatString() argument
78 inline bool FlagHandler<bool>::Format(char *buffer, uptr size) { in Format() argument
99 inline bool FlagHandler<HandleSignalMode>::Format(char *buffer, uptr size) { in Format() argument
111 Format(char * buffer,uptr size) Format() argument
125 Format(char * buffer,uptr size) Format() argument
140 Format(char * buffer,uptr size) Format() argument
155 Format(char * buffer,uptr size) Format() argument
[all...]
H A Dsanitizer_stacktrace_printer.cpp152 InternalScopedString *buffer) { in MaybeBuildIdToBuffer()
166 void FormattedStackTracePrinter::RenderFrame(InternalScopedString *buffer, in RenderFrame()
301 void FormattedStackTracePrinter::RenderData(InternalScopedString *buffer, in RenderData()
334 void StackTracePrinter::RenderSourceLocation(InternalScopedString *buffer, in RenderSourceLocation()
354 void StackTracePrinter::RenderModuleLocation(InternalScopedString *buffer, in RenderModuleLocation()
/freebsd/sys/contrib/ck/include/
H A Dck_ring.h141 void *CK_CC_RESTRICT buffer, in _ck_ring_enqueue_reserve_sp()
175 void *CK_CC_RESTRICT buffer, in _ck_ring_enqueue_sp()
206 void *CK_CC_RESTRICT buffer, in _ck_ring_enqueue_sp_size()
221 const void *CK_CC_RESTRICT buffer, in _ck_ring_dequeue_sc()
254 void *buffer, in _ck_ring_enqueue_reserve_mp()
313 void *buffer, in _ck_ring_enqueue_mp()
399 void *buffer, in _ck_ring_enqueue_mp_size()
414 const void *buffer, in _ck_ring_trydequeue_mc()
439 const void *buffer, in _ck_ring_dequeue_mc()
483 struct ck_ring_buffer *buffer, in ck_ring_enqueue_spsc_size()
[all …]
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_hdmi.c49 static void hdmi_infoframe_set_checksum(void *buffer, size_t size) in hdmi_infoframe_set_checksum()
113 void *buffer, size_t size) in hdmi_avi_infoframe_pack_only()
204 void *buffer, size_t size) in hdmi_avi_infoframe_pack()
284 void *buffer, size_t size) in hdmi_spd_infoframe_pack_only()
338 void *buffer, size_t size) in hdmi_spd_infoframe_pack()
395 u8 *buffer) in hdmi_audio_infoframe_pack_payload()
430 void *buffer, size_t size) in hdmi_audio_infoframe_pack_only()
479 void *buffer, size_t size) in hdmi_audio_infoframe_pack()
616 void *buffer, size_t size) in hdmi_vendor_infoframe_pack_only()
679 void *buffer, size_t size) in hdmi_vendor_infoframe_pack()
[all …]
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_settings.cpp374 char buffer[256]; in __kmp_stg_parse_file() local
521 static void __kmp_stg_print_bool(kmp_str_buf_t *buffer, char const *name, in __kmp_stg_print_bool()
530 static void __kmp_stg_print_int(kmp_str_buf_t *buffer, char const *name, in __kmp_stg_print_int()
539 static void __kmp_stg_print_uint64(kmp_str_buf_t *buffer, char const *name, in __kmp_stg_print_uint64()
548 static void __kmp_stg_print_str(kmp_str_buf_t *buffer, char const *name, in __kmp_stg_print_str()
557 static void __kmp_stg_print_size(kmp_str_buf_t *buffer, char const *name, in __kmp_stg_print_size()
599 static void __kmp_stg_print_device_thread_limit(kmp_str_buf_t *buffer, in __kmp_stg_print_device_thread_limit()
613 static void __kmp_stg_print_thread_limit(kmp_str_buf_t *buffer, in __kmp_stg_print_thread_limit()
626 static void __kmp_stg_print_nteams(kmp_str_buf_t *buffer, char const *name, in __kmp_stg_print_nteams()
640 static void __kmp_stg_print_teams_th_limit(kmp_str_buf_t *buffer, in __kmp_stg_print_teams_th_limit()
[all …]
/freebsd/sys/arm/nvidia/drm2/
H A Dhdmi.c47 static void hdmi_infoframe_set_checksum(void *buffer, size_t size) in hdmi_infoframe_set_checksum()
86 ssize_t hdmi_avi_infoframe_pack(struct hdmi_avi_infoframe *frame, void *buffer, in hdmi_avi_infoframe_pack()
193 ssize_t hdmi_spd_infoframe_pack(struct hdmi_spd_infoframe *frame, void *buffer, in hdmi_spd_infoframe_pack()
258 void *buffer, size_t size) in hdmi_audio_infoframe_pack()
340 void *buffer, size_t size) in hdmi_vendor_infoframe_pack()
397 void *buffer, size_t size) in hdmi_vendor_any_infoframe_pack()
421 hdmi_infoframe_pack(union hdmi_infoframe *frame, void *buffer, size_t size) in hdmi_infoframe_pack()
989 void *buffer) in hdmi_avi_infoframe_unpack()
1052 void *buffer) in hdmi_spd_infoframe_unpack()
1090 void *buffer) in hdmi_audio_infoframe_unpack()
[all …]
/freebsd/share/examples/tests/tests/plain/
H A Dprintf_test.c52 char buffer[128]; in snprintf__two_formatters() local
65 char buffer[10]; in snprintf__overflow() local
79 char buffer[128]; in fprintf__simple_string() local
/freebsd/usr.sbin/bluetooth/hccontrol/
H A Dadv_data.c63 char buffer[2048]; in print_adv_data() local
186 static char* const adv_data2str(int datalen, uint8_t* data, char* buffer, in adv_data2str()
207 static char* const adv_name2str(int datalen, uint8_t* data, char* buffer, in adv_name2str()
219 static char* const adv_uuid2str(int datalen, uint8_t* data, char* buffer, in adv_uuid2str()
/freebsd/sys/dev/e1000/
H A De1000_manage.c46 u8 e1000_calculate_checksum(u8 *buffer, u32 length) in e1000_calculate_checksum()
134 u32 *buffer = (u32 *)&hw->mng_cookie; in e1000_enable_tx_pkt_filtering_generic() local
225 s32 e1000_mng_host_if_write_generic(struct e1000_hw *hw, u8 *buffer, in e1000_mng_host_if_write_generic()
297 s32 e1000_mng_write_dhcp_info_generic(struct e1000_hw *hw, u8 *buffer, in e1000_mng_write_dhcp_info_generic()
396 s32 e1000_host_interface_command(struct e1000_hw *hw, u8 *buffer, u32 length) in e1000_host_interface_command()
470 s32 e1000_load_firmware(struct e1000_hw *hw, u8 *buffer, u32 length) in e1000_load_firmware()
/freebsd/contrib/pf/libevent/
H A Dbuffer.c63 struct evbuffer *buffer; in evbuffer_new() local
71 evbuffer_free(struct evbuffer *buffer) in evbuffer_free()
131 char *buffer; in evbuffer_add_vprintf() local
204 evbuffer_readline(struct evbuffer *buffer) in evbuffer_readline()
405 evbuffer_write(struct evbuffer *buffer, int fd) in evbuffer_write()
432 evbuffer_find(struct evbuffer *buffer, const u_char *what, size_t len) in evbuffer_find()
450 void evbuffer_setcb(struct evbuffer *buffer, in evbuffer_setcb()
/freebsd/contrib/atf/atf-c/
H A Dutils_test.c56 read_file(const char *path, void *const buffer, const size_t buflen) in read_file()
76 char buffer[1024]; in ATF_TC_BODY() local
90 char buffer[1024]; in ATF_TC_BODY() local
104 char buffer[1024]; in ATF_TC_BODY() local
118 char buffer[1024]; in ATF_TC_BODY() local
213 char buffer[128]; in ATF_TC_BODY() local
251 char buffer[1024]; in ATF_TC_BODY() local
357 char buffer[1024]; in ATF_TC_BODY() local
370 char buffer[1024]; in ATF_TC_BODY() local
383 char buffer[1024]; in ATF_TC_BODY() local
/freebsd/tools/regression/netinet/tcpstream/
H A Dtcpstream.c61 fill_buffer(long *buffer, int len) in fill_buffer()
70 check_buffer(long *buffer, int len) in check_buffer()
84 long buffer[MAX_LONGS]; in tcpstream_client() local
120 long buffer[MAX_LONGS]; in tcpstream_server() local
/freebsd/sys/dev/ppbus/
H A Dppb_1284.c333 byte_peripheral_outbyte(device_t bus, char *buffer, int last) in byte_peripheral_outbyte()
395 byte_peripheral_write(device_t bus, char *buffer, int len, int *sent) in byte_peripheral_write()
442 byte_1284_inbyte(device_t bus, char *buffer) in byte_1284_inbyte()
482 nibble_1284_inbyte(device_t bus, char *buffer) in nibble_1284_inbyte()
525 spp_1284_read(device_t bus, int mode, char *buffer, int max, int *read) in spp_1284_read()
593 ppb_1284_read_id(device_t bus, int mode, char *buffer, in ppb_1284_read_id()
627 ppb_1284_read(device_t bus, int mode, char *buffer, in ppb_1284_read()

12345678910>>...41