Home
last modified time | relevance | path

Searched defs:buf (Results 1 – 25 of 2645) sorted by relevance

12345678910>>...106

/freebsd/sys/contrib/libb2/
H A Dblake2s-load-sse2.h17 #define LOAD_MSG_0_1(buf) buf = _mm_set_epi32(m6,m4,m2,m0) argument
18 #define LOAD_MSG_0_2(buf) buf = _mm_set_epi32(m7,m5,m3,m1) argument
19 #define LOAD_MSG_0_3(buf) buf = _mm_set_epi32(m14,m12,m10,m8) argument
21 #define LOAD_MSG_1_1(buf) buf = _mm_set_epi32(m13,m9,m4,m14) argument
22 #define LOAD_MSG_1_2(buf) buf = _mm_set_epi32(m6,m15,m8,m10) argument
23 #define LOAD_MSG_1_3(buf) buf = _mm_set_epi32(m5,m11,m0,m1) argument
24 #define LOAD_MSG_1_4(buf) buf = _mm_set_epi32(m3,m7,m2,m12) argument
26 #define LOAD_MSG_2_2(buf) buf = _mm_set_epi32(m13,m2,m0,m8) argument
27 #define LOAD_MSG_2_3(buf) buf = _mm_set_epi32(m9,m7,m3,m10) argument
28 #define LOAD_MSG_2_4(buf) buf = _mm_set_epi32(m4,m1,m6,m14) argument
[all …]
H A Dblake2s-load-sse41.h17 #define LOAD_MSG_0_1(buf) \ argument
20 #define LOAD_MSG_0_2(buf) \ argument
23 #define LOAD_MSG_0_3(buf) \ argument
26 #define LOAD_MSG_0_4(buf) \ argument
29 #define LOAD_MSG_1_1(buf) \ argument
35 #define LOAD_MSG_1_2(buf) \ argument
41 #define LOAD_MSG_1_3(buf) \ argument
47 #define LOAD_MSG_1_4(buf) \ argument
53 #define LOAD_MSG_2_1(buf) \ argument
59 #define LOAD_MSG_2_2(buf) \ argument
[all …]
H A Dblake2s-load-xop.h30 #define LOAD_MSG_0_1(buf) \ argument
33 #define LOAD_MSG_0_2(buf) \ argument
36 #define LOAD_MSG_0_3(buf) \ argument
39 #define LOAD_MSG_0_4(buf) \ argument
42 #define LOAD_MSG_1_1(buf) \ argument
46 #define LOAD_MSG_1_2(buf) \ argument
50 #define LOAD_MSG_1_3(buf) \ argument
54 #define LOAD_MSG_1_4(buf) \ argument
58 #define LOAD_MSG_2_1(buf) \ argument
62 #define LOAD_MSG_2_2(buf) \ argument
[all …]
/freebsd/contrib/xz/src/common/
H A Dtuklib_integer.h321 read16ne(const uint8_t *buf) in read16ne()
334 read32ne(const uint8_t *buf) in read32ne()
347 read64ne(const uint8_t *buf) in read64ne()
396 read16be(const uint8_t *buf) in read16be()
404 read16le(const uint8_t *buf) in read16le()
412 read32be(const uint8_t *buf) in read32be()
420 read32le(const uint8_t *buf) in read32le()
428 read64be(const uint8_t *buf) in read64be()
436 read64le(const uint8_t *buf) in read64le()
474 read16be(const uint8_t *buf) in read16be()
[all …]
/freebsd/lib/libopenbsd/
H A Dimsg-buffer.c39 struct ibuf *buf; in ibuf_open() local
56 struct ibuf *buf; in ibuf_dynamic() local
71 ibuf_realloc(struct ibuf *buf, size_t len) in ibuf_realloc()
127 ibuf_size(struct ibuf *buf) in ibuf_size()
133 ibuf_left(struct ibuf *buf) in ibuf_left()
148 struct ibuf *buf; in ibuf_write() local
181 ibuf_free(struct ibuf *buf) in ibuf_free()
198 struct ibuf *buf, *next; in msgbuf_drain() local
216 struct ibuf *buf; in msgbuf_clear() local
226 struct ibuf *buf; in msgbuf_write() local
[all …]
/freebsd/contrib/wpa/src/utils/
H A Dwpabuf.h23 u8 *buf; /* pointer to the head of the buffer */ member
48 static inline size_t wpabuf_size(const struct wpabuf *buf) in wpabuf_size()
58 static inline size_t wpabuf_len(const struct wpabuf *buf) in wpabuf_len()
68 static inline size_t wpabuf_tailroom(const struct wpabuf *buf) in wpabuf_tailroom()
93 static inline const void * wpabuf_head(const struct wpabuf *buf) in wpabuf_head()
108 static inline void * wpabuf_mhead(struct wpabuf *buf) in wpabuf_mhead()
113 static inline u8 * wpabuf_mhead_u8(struct wpabuf *buf) in wpabuf_mhead_u8()
118 static inline void wpabuf_put_u8(struct wpabuf *buf, u8 data) in wpabuf_put_u8()
124 static inline void wpabuf_put_le16(struct wpabuf *buf, u16 data) in wpabuf_put_le16()
130 static inline void wpabuf_put_le32(struct wpabuf *buf, u32 data) in wpabuf_put_le32()
[all …]
H A Dwpabuf.c30 static void wpabuf_overflow(const struct wpabuf *buf, size_t len) in wpabuf_overflow()
49 struct wpabuf *buf = *_buf; in wpabuf_resize() local
118 struct wpabuf *buf; in wpabuf_alloc() local
140 struct wpabuf *buf; in wpabuf_alloc_ext_data() local
162 struct wpabuf *buf = wpabuf_alloc(len); in wpabuf_alloc_copy() local
171 struct wpabuf *buf = wpabuf_alloc(wpabuf_len(src)); in wpabuf_dup() local
182 void wpabuf_free(struct wpabuf *buf) in wpabuf_free()
208 void wpabuf_clear_free(struct wpabuf *buf) in wpabuf_clear_free()
217 void * wpabuf_put(struct wpabuf *buf, size_t len) in wpabuf_put()
298 void wpabuf_printf(struct wpabuf *buf, char *fmt, ...) in wpabuf_printf()
[all …]
/freebsd/contrib/wpa/src/p2p/
H A Dp2p_build.c29 void p2p_buf_add_public_action_hdr(struct wpabuf *buf, u8 subtype, in p2p_buf_add_public_action_hdr()
42 u8 * p2p_buf_add_ie_hdr(struct wpabuf *buf) in p2p_buf_add_ie_hdr()
55 void p2p_buf_update_ie_hdr(struct wpabuf *buf, u8 *len) in p2p_buf_update_ie_hdr()
74 void p2p_buf_add_go_intent(struct wpabuf *buf, u8 go_intent) in p2p_buf_add_go_intent()
113 void p2p_buf_add_pref_channel_list(struct wpabuf *buf, in p2p_buf_add_pref_channel_list()
176 void p2p_buf_add_status(struct wpabuf *buf, u8 status) in p2p_buf_add_status()
245 void p2p_buf_add_device_id(struct wpabuf *buf, const u8 *dev_addr) in p2p_buf_add_device_id()
255 void p2p_buf_add_config_timeout(struct wpabuf *buf, u8 go_timeout, in p2p_buf_add_config_timeout()
279 void p2p_buf_add_group_bssid(struct wpabuf *buf, const u8 *bssid) in p2p_buf_add_group_bssid()
290 void p2p_buf_add_group_id(struct wpabuf *buf, const u8 *dev_addr, in p2p_buf_add_group_id()
[all …]
/freebsd/crypto/openssh/
H A Dsshbuf.c55 sshbuf_check_sanity(const struct sshbuf *buf) in sshbuf_check_sanity()
143 sshbuf_fromb(struct sshbuf *buf) in sshbuf_fromb()
159 sshbuf_free(struct sshbuf *buf) in sshbuf_free()
196 sshbuf_reset(struct sshbuf *buf) in sshbuf_reset()
219 sshbuf_max_size(const struct sshbuf *buf) in sshbuf_max_size()
225 sshbuf_alloc(const struct sshbuf *buf) in sshbuf_alloc()
231 sshbuf_parent(const struct sshbuf *buf) in sshbuf_parent()
237 sshbuf_refcount(const struct sshbuf *buf) in sshbuf_refcount()
281 sshbuf_len(const struct sshbuf *buf) in sshbuf_len()
289 sshbuf_avail(const struct sshbuf *buf) in sshbuf_avail()
[all …]
H A Dsshbuf-getput-basic.c35 sshbuf_get(struct sshbuf *buf, void *v, size_t len) in sshbuf_get()
48 sshbuf_get_u64(struct sshbuf *buf, u_int64_t *valp) in sshbuf_get_u64()
61 sshbuf_get_u32(struct sshbuf *buf, u_int32_t *valp) in sshbuf_get_u32()
74 sshbuf_get_u16(struct sshbuf *buf, u_int16_t *valp) in sshbuf_get_u16()
87 sshbuf_get_u8(struct sshbuf *buf, u_char *valp) in sshbuf_get_u8()
347 sshbuf_putf(struct sshbuf *buf, const char *fmt, ...) in sshbuf_putf()
392 sshbuf_put_u64(struct sshbuf *buf, u_int64_t val) in sshbuf_put_u64()
404 sshbuf_put_u32(struct sshbuf *buf, u_int32_t val) in sshbuf_put_u32()
416 sshbuf_put_u16(struct sshbuf *buf, u_int16_t val) in sshbuf_put_u16()
428 sshbuf_put_u8(struct sshbuf *buf, u_char val) in sshbuf_put_u8()
[all …]
/freebsd/contrib/bmake/
H A Dbuf.c82 Buf_Expand(Buffer *buf) in Buf_Expand()
90 Buf_AddBytes(Buffer *buf, const char *bytes, size_t bytes_len) in Buf_AddBytes()
109 Buf_AddRange(Buffer *buf, const char *start, const char *end) in Buf_AddRange()
116 Buf_AddStr(Buffer *buf, const char *str) in Buf_AddStr()
123 Buf_AddInt(Buffer *buf, int n) in Buf_AddInt()
132 Buf_AddFlag(Buffer *buf, bool flag, const char *name) in Buf_AddFlag()
143 Buf_InitSize(Buffer *buf, size_t cap) in Buf_InitSize()
152 Buf_Init(Buffer *buf) in Buf_Init()
162 Buf_Done(Buffer *buf) in Buf_Done()
178 Buf_DoneData(Buffer *buf) in Buf_DoneData()
[all …]
/freebsd/contrib/ofed/libibmad/
H A Ddump.c47 void mad_dump_int(char *buf, int bufsz, void *val, int valsz) in mad_dump_int()
72 void mad_dump_uint(char *buf, int bufsz, void *val, int valsz) in mad_dump_uint()
97 void mad_dump_hex(char *buf, int bufsz, void *val, int valsz) in mad_dump_hex()
133 void mad_dump_rhex(char *buf, int bufsz, void *val, int valsz) in mad_dump_rhex()
196 static void dump_linkwidth(char *buf, int bufsz, int width) in dump_linkwidth()
276 static void dump_linkspeed(char *buf, int bufsz, int speed) in dump_linkspeed()
345 static void dump_linkspeedext(char *buf, int bufsz, int speed) in dump_linkspeedext()
468 void mad_dump_mtu(char *buf, int bufsz, void *val, int valsz) in mad_dump_mtu()
493 void mad_dump_vlcap(char *buf, int bufsz, void *val, int valsz) in mad_dump_vlcap()
645 void mad_dump_array(char *buf, int bufsz, void *val, int valsz) in mad_dump_array()
[all …]
H A Dfields.c1130 static void _set_field64(void *buf, int base_offs, const ib_field_t * f, in _set_field64()
1148 static void _set_field(void *buf, int base_offs, const ib_field_t * f, in _set_field()
1209 static void _set_array(void *buf, int base_offs, const ib_field_t * f, in _set_array()
1220 static void _get_array(void *buf, int base_offs, const ib_field_t * f, in _get_array()
1231 uint32_t mad_get_field(void *buf, int base_offs, enum MAD_FIELDS field) in mad_get_field()
1236 void mad_set_field(void *buf, int base_offs, enum MAD_FIELDS field, in mad_set_field()
1247 void mad_set_field64(void *buf, int base_offs, enum MAD_FIELDS field, in mad_set_field64()
1263 void mad_decode_field(uint8_t * buf, enum MAD_FIELDS field, void *val) in mad_decode_field()
1282 void mad_encode_field(uint8_t * buf, enum MAD_FIELDS field, void *val) in mad_encode_field()
1303 static char *_mad_dump_val(const ib_field_t * f, char *buf, int bufsz, in _mad_dump_val()
[all …]
/freebsd/contrib/sendmail/include/sm/
H A Dsetjmp.h31 # define sm_setjmp_sig(buf) sigsetjmp(buf, 1) argument
32 # define sm_setjmp_nosig(buf) sigsetjmp(buf, 0) argument
33 # define sm_longjmp_sig(buf, val) siglongjmp(buf, val) argument
34 # define sm_longjmp_nosig(buf, val) siglongjmp(buf, val) argument
39 # define sm_setjmp_sig(buf) setjmp(buf) argument
40 # define sm_longjmp_sig(buf, val) longjmp(buf, val) argument
41 # define sm_setjmp_nosig(buf) _setjmp(buf) argument
42 # define sm_longjmp_nosig(buf, val) _longjmp(buf, val) argument
/freebsd/sys/sys/
H A Dbuf.h96 struct buf { struct
97 struct bufobj *b_bufobj; argument
106 void (*b_iodone)(struct buf *); argument
107 void (*b_ckhashcalc)(struct buf *); argument
111 TAILQ_ENTRY(buf) b_bobufs; /* (V) Buffer's associated vnode. */ argument
114 uint8_t b_domain; /* (Q) buf domain this resides in */ argument
119 long b_bufsize; /* Allocated buffer size. */ argument
121 int b_kvasize; /* size of kva for buffer */ argument
124 caddr_t b_kvabase; /* base kva for buffer */ argument
130 TAILQ_ENTRY(buf) b_freelist; /* (Q) */ argument
[all …]
/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_helper.c931 char buf[BUF_SIZE]; in osm_dump_port_info() local
959 char buf[BUF_SIZE]; in osm_dump_port_info_v2() local
1010 char buf[BUF_SIZE]; in osm_dump_mlnx_ext_port_info() local
1127 char buf[BUF_SIZE]; in osm_dump_portinfo_record() local
1155 char buf[BUF_SIZE]; in osm_dump_portinfo_record_v2() local
1213 char buf[BUF_SIZE]; in osm_dump_guid_info() local
1353 OUT char * buf) in osm_dump_node_record_to_buf()
1424 OUT char * buf) in osm_dump_path_record_to_buf()
1792 OUT char * buf) in osm_dump_inform_info_to_buf()
1991 OUT char * buf) in osm_dump_link_record_to_buf()
[all …]
/freebsd/contrib/flex/src/
H A Dbuf.c55 struct Buf *buf_print_strings(struct Buf * buf, FILE* out) in buf_print_strings()
71 struct Buf *buf_prints (struct Buf *buf, const char *fmt, const char *s) in buf_prints()
92 struct Buf *buf_linedir (struct Buf *buf, const char* filename, int lineno) in buf_linedir()
133 struct Buf *buf_strnappend (struct Buf *buf, const char *str, int n) in buf_strnappend()
144 struct Buf *buf_strappend (struct Buf *buf, const char *str) in buf_strappend()
150 struct Buf *buf_strdefine (struct Buf *buf, const char *str, const char *def) in buf_strdefine()
167 struct Buf *buf_m4_define (struct Buf *buf, const char* def, const char* val) in buf_m4_define()
189 struct Buf *buf_m4_undefine (struct Buf *buf, const char* def) in buf_m4_undefine()
206 void buf_init (struct Buf *buf, size_t elem_size) in buf_init()
215 void buf_destroy (struct Buf *buf) in buf_destroy()
[all …]
/freebsd/sys/dev/ice/
H A Dice_strings.c69 struct ice_str_buf buf = { .str = "" }; in _ice_aq_str() local
184 struct ice_str_buf buf = { .str = "" }; in _ice_status_str() local
300 struct ice_str_buf buf = { .str = "" }; in _ice_err_str() local
678 struct ice_str_buf buf = { .str = "" }; in _ice_fltr_flag_str() local
713 struct ice_str_buf buf = { .str = "" }; in _ice_log_sev_str() local
788 struct ice_str_buf buf = { .str = "" }; in _ice_mdd_tx_tclan_str() local
877 struct ice_str_buf buf = { .str = "" }; in _ice_mdd_tx_pqm_str() local
979 struct ice_str_buf buf = { .str = "" }; in _ice_mdd_rx_str() local
1156 struct ice_str_buf buf = { .str = "" }; in _ice_fw_lldp_status() local
/freebsd/contrib/smbfs/include/netsmb/
H A Dsmb_lib.h66 #define getbw(buf,ofs) ((u_int16_t)(getb(buf,ofs))) argument
74 #define getwbe(buf,ofs) (ntohs(getwle(buf,ofs))) argument
75 #define getdbe(buf,ofs) (ntohl(getdle(buf,ofs))) argument
77 #define setwle(buf,ofs,val) getwle(buf,ofs)=val argument
78 #define setwbe(buf,ofs,val) getwle(buf,ofs)=htons(val) argument
79 #define setdle(buf,ofs,val) getdle(buf,ofs)=val argument
80 #define setdbe(buf,ofs,val) getdle(buf,ofs)=htonl(val) argument
86 #define getwle(buf,ofs) (bswap16(getwbe(buf,ofs))) argument
87 #define getdle(buf,ofs) (bswap32(getdbe(buf,ofs))) argument
89 #define setwbe(buf,ofs,val) getwbe(buf,ofs)=val argument
[all …]
/freebsd/sbin/dhclient/
H A Dprivsep.h24 struct buf { struct
25 u_char *buf; member
26 size_t size;
27 size_t wpos;
28 size_t rpos;
/freebsd/sys/contrib/dev/athk/ath11k/
H A Ddebugfs_htt_stats.c43 u8 *buf = stats_req->buf; in htt_print_stats_string_tlv() local
74 u8 *buf = stats_req->buf; in htt_print_tx_pdev_stats_cmn_tlv() local
194 u8 *buf = stats_req->buf; in htt_print_tx_pdev_stats_urrn_tlv_v() local
218 u8 *buf = stats_req->buf; in htt_print_tx_pdev_stats_flush_tlv_v() local
242 u8 *buf = stats_req->buf; in htt_print_tx_pdev_stats_sifs_tlv_v() local
266 u8 *buf = stats_req->buf; in htt_print_tx_pdev_stats_phy_err_tlv_v() local
290 u8 *buf = stats_req->buf; in htt_print_tx_pdev_stats_sifs_hist_tlv_v() local
314 u8 *buf = stats_req->buf; in htt_print_tx_pdev_stats_tx_ppdu_stats_tlv_v() local
4609 char buf[32]; in ath11k_read_htt_stats_type() local
4820 char *buf; in ath11k_read_htt_stats() local
[all …]
/freebsd/contrib/wpa/src/tls/
H A Dasn1.c171 int asn1_get_next(const u8 *buf, size_t len, struct asn1_hdr *hdr) in asn1_get_next()
290 int asn1_parse_oid(const u8 *buf, size_t len, struct asn1_oid *oid) in asn1_parse_oid()
334 int asn1_get_oid(const u8 *buf, size_t len, struct asn1_oid *oid, in asn1_get_oid()
391 unsigned long asn1_bit_string_to_long(const u8 *buf, size_t len) in asn1_bit_string_to_long()
504 void asn1_put_integer(struct wpabuf *buf, int val) in asn1_put_integer()
519 static void asn1_put_len(struct wpabuf *buf, size_t len) in asn1_put_len()
547 void asn1_put_oid(struct wpabuf *buf, const struct asn1_oid *oid) in asn1_put_oid()
596 void asn1_put_set(struct wpabuf *buf, const struct wpabuf *payload) in asn1_put_set()
604 void asn1_put_utf8string(struct wpabuf *buf, const char *val) in asn1_put_utf8string()
615 struct wpabuf *buf; in asn1_build_alg_id() local
[all …]
/freebsd/contrib/libarchive/libarchive/test/
H A Dtest_read_format_rar5.c95 uint8_t* buf; in extract_one() local
386 char buf[6]; in DEFINE_TEST() local
407 char buf[405]; in DEFINE_TEST() local
426 char buf[4]; in DEFINE_TEST() local
1220 char buf[4096]; in DEFINE_TEST() local
1243 char buf[4096]; in DEFINE_TEST() local
1258 char buf[4096]; in DEFINE_TEST() local
1273 char buf[4096]; in DEFINE_TEST() local
1294 char buf[4096]; in DEFINE_TEST() local
1309 char buf[4096]; in DEFINE_TEST() local
[all …]
/freebsd/usr.sbin/bluetooth/sdpd/
H A Dsd.c43 uint8_t *buf, uint8_t const * const eob, in sd_profile_create_service_class_id_list()
58 uint8_t *buf, uint8_t const * const eob, in sd_profile_create_bluetooth_profile_descriptor_list()
74 uint8_t *buf, uint8_t const * const eob, in sd_profile_create_service_id()
95 uint8_t *buf, uint8_t const * const eob, in sd_profile_create_service_name()
107 uint8_t *buf, uint8_t const * const eob, in sd_profile_create_protocol_descriptor_list()
131 uint8_t *buf, uint8_t const * const eob, in sd_profile_create_browse_group_list()
155 uint8_t *buf, uint8_t const * const eob, in sd_profile_create_version_number_list()
182 uint8_t *buf, uint8_t const * const eob, in sd_profile_create_service_database_state()
/freebsd/contrib/wpa/src/common/
H A Dgas.c20 struct wpabuf *buf; in gas_build_req() local
51 struct wpabuf *buf; in gas_build_resp() local
99 static void gas_add_adv_proto_anqp(struct wpabuf *buf, u8 query_resp_len_limit, in gas_add_adv_proto_anqp()
114 struct wpabuf *buf; in gas_anqp_build_initial_req() local
131 struct wpabuf *buf; in gas_anqp_build_initial_resp() local
151 struct wpabuf *buf; in gas_anqp_build_initial_resp_buf() local
172 struct wpabuf *buf; in gas_anqp_build_comeback_resp() local
193 struct wpabuf *buf; in gas_anqp_build_comeback_resp_buf() local
217 void gas_anqp_set_len(struct wpabuf *buf) in gas_anqp_set_len()
255 u8 * gas_anqp_add_element(struct wpabuf *buf, u16 info_id) in gas_anqp_add_element()
[all …]

12345678910>>...106