Home
last modified time | relevance | path

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

12345678910>>...148

/freebsd-12-stable/sys/contrib/libb2/
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
20 #define LOAD_MSG_0_4(buf) buf = _mm_set_epi32(m15,m13,m11,m9) 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
25 #define LOAD_MSG_2_1(buf) buf = _mm_set_epi32(m15,m5,m12,m11) argument
26 #define LOAD_MSG_2_2(buf) buf = _mm_set_epi32(m13,m2,m0,m8) argument
[all …]
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 …]
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-12-stable/crypto/openssh/
Dsshbuf.c32 sshbuf_check_sanity(const struct sshbuf *buf) in sshbuf_check_sanity()
53 sshbuf_maybe_pack(struct sshbuf *buf, int force) in sshbuf_maybe_pack()
120 sshbuf_fromb(struct sshbuf *buf) in sshbuf_fromb()
136 sshbuf_free(struct sshbuf *buf) in sshbuf_free()
173 sshbuf_reset(struct sshbuf *buf) in sshbuf_reset()
196 sshbuf_max_size(const struct sshbuf *buf) in sshbuf_max_size()
202 sshbuf_alloc(const struct sshbuf *buf) in sshbuf_alloc()
208 sshbuf_parent(const struct sshbuf *buf) in sshbuf_parent()
214 sshbuf_refcount(const struct sshbuf *buf) in sshbuf_refcount()
220 sshbuf_set_max_size(struct sshbuf *buf, size_t max_size) in sshbuf_set_max_size()
[all …]
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()
100 check_offset(const struct sshbuf *buf, int wr, size_t offset, size_t len) in check_offset()
114 check_roffset(const struct sshbuf *buf, size_t offset, size_t len, in check_roffset()
127 sshbuf_peek_u64(const struct sshbuf *buf, size_t offset, u_int64_t *valp) in sshbuf_peek_u64()
142 sshbuf_peek_u32(const struct sshbuf *buf, size_t offset, u_int32_t *valp) in sshbuf_peek_u32()
157 sshbuf_peek_u16(const struct sshbuf *buf, size_t offset, u_int16_t *valp) in sshbuf_peek_u16()
[all …]
/freebsd-12-stable/contrib/xz/src/common/
Dtuklib_integer.h208 read16ne(const uint8_t *buf) in read16ne()
222 read32ne(const uint8_t *buf) in read32ne()
236 read64ne(const uint8_t *buf) in read64ne()
250 write16ne(uint8_t *buf, uint16_t num) in write16ne()
263 write32ne(uint8_t *buf, uint32_t num) in write32ne()
276 write64ne(uint8_t *buf, uint64_t num) in write64ne()
289 read16be(const uint8_t *buf) in read16be()
302 read16le(const uint8_t *buf) in read16le()
315 read32be(const uint8_t *buf) in read32be()
331 read32le(const uint8_t *buf) in read32le()
[all …]
/freebsd-12-stable/lib/libopenbsd/
Dimsg-buffer.c41 struct ibuf *buf; in ibuf_open() local
58 struct ibuf *buf; in ibuf_dynamic() local
73 ibuf_realloc(struct ibuf *buf, size_t len) in ibuf_realloc()
93 ibuf_add(struct ibuf *buf, const void *data, size_t len) in ibuf_add()
105 ibuf_reserve(struct ibuf *buf, size_t len) in ibuf_reserve()
119 ibuf_seek(struct ibuf *buf, size_t pos, size_t len) in ibuf_seek()
129 ibuf_size(struct ibuf *buf) in ibuf_size()
135 ibuf_left(struct ibuf *buf) in ibuf_left()
141 ibuf_close(struct msgbuf *msgbuf, struct ibuf *buf) in ibuf_close()
150 struct ibuf *buf; in ibuf_write() local
[all …]
/freebsd-12-stable/contrib/wpa/src/utils/
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()
98 static inline const u8 * wpabuf_head_u8(const struct wpabuf *buf) in wpabuf_head_u8()
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()
[all …]
Dwpabuf.c22 static struct wpabuf_trace * wpabuf_get_trace(const struct wpabuf *buf) in wpabuf_get_trace()
30 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()
[all …]
/freebsd-12-stable/contrib/wpa/src/p2p/
Dp2p_build.c18 void p2p_buf_add_action_hdr(struct wpabuf *buf, u8 subtype, u8 dialog_token) in p2p_buf_add_action_hdr()
29 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()
62 void p2p_buf_add_capability(struct wpabuf *buf, u8 dev_capab, u8 group_capab) in p2p_buf_add_capability()
74 void p2p_buf_add_go_intent(struct wpabuf *buf, u8 go_intent) in p2p_buf_add_go_intent()
85 void p2p_buf_add_listen_channel(struct wpabuf *buf, const char *country, in p2p_buf_add_listen_channel()
99 void p2p_buf_add_operating_channel(struct wpabuf *buf, const char *country, in p2p_buf_add_operating_channel()
113 void p2p_buf_add_pref_channel_list(struct wpabuf *buf, in p2p_buf_add_pref_channel_list()
151 void p2p_buf_add_channel_list(struct wpabuf *buf, const char *country, in p2p_buf_add_channel_list()
[all …]
/freebsd-12-stable/contrib/ofed/libibmad/
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()
169 void mad_dump_linkwidth(char *buf, int bufsz, void *val, int valsz) in mad_dump_linkwidth()
196 static void dump_linkwidth(char *buf, int bufsz, int width) in dump_linkwidth()
219 void mad_dump_linkwidthsup(char *buf, int bufsz, void *val, int valsz) in mad_dump_linkwidthsup()
246 void mad_dump_linkwidthen(char *buf, int bufsz, void *val, int valsz) in mad_dump_linkwidthen()
253 void mad_dump_linkspeed(char *buf, int bufsz, void *val, int valsz) in mad_dump_linkspeed()
276 static void dump_linkspeed(char *buf, int bufsz, int speed) in dump_linkspeed()
[all …]
Dfields.c1130 static void _set_field64(void *buf, int base_offs, const ib_field_t * f, in _set_field64()
1140 static uint64_t _get_field64(void *buf, int base_offs, const ib_field_t * f) in _get_field64()
1148 static void _set_field(void *buf, int base_offs, const ib_field_t * f, in _set_field()
1180 static uint32_t _get_field(void *buf, int base_offs, const ib_field_t * f) in _get_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()
1242 uint64_t mad_get_field64(void *buf, int base_offs, enum MAD_FIELDS field) in mad_get_field64()
1247 void mad_set_field64(void *buf, int base_offs, enum MAD_FIELDS field, in mad_set_field64()
[all …]
/freebsd-12-stable/sys/sys/
Dbuf.h98 struct buf { struct
99 struct bufobj *b_bufobj; argument
108 void (*b_iodone)(struct buf *); argument
109 void (*b_ckhashcalc)(struct buf *); argument
113 TAILQ_ENTRY(buf) b_bobufs; /* (V) Buffer's associated vnode. */ argument
115 uint8_t b_qindex; /* (Q) buffer queue index */ argument
116 uint8_t b_domain; /* (Q) buf domain this resides in */ argument
121 long b_bufsize; /* Allocated buffer size. */ argument
122 int b_runningbufspace; /* when I/O is running, pipelining */ argument
123 int b_kvasize; /* size of kva for buffer */ argument
[all …]
/freebsd-12-stable/contrib/sendmail/include/sm/
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-12-stable/sbin/ifconfig/
Dsfp.c325 convert_sff_identifier(char *buf, size_t size, uint8_t value) in convert_sff_identifier()
343 convert_sff_connector(char *buf, size_t size, uint8_t value) in convert_sff_connector()
360 convert_sff_rev_compliance(char *buf, size_t size, uint8_t value) in convert_sff_rev_compliance()
373 get_sfp_identifier(struct i2c_info *ii, char *buf, size_t size) in get_sfp_identifier()
382 get_sfp_connector(struct i2c_info *ii, char *buf, size_t size) in get_sfp_connector()
391 get_qsfp_identifier(struct i2c_info *ii, char *buf, size_t size) in get_qsfp_identifier()
400 get_qsfp_connector(struct i2c_info *ii, char *buf, size_t size) in get_qsfp_connector()
409 printf_sfp_transceiver_descr(struct i2c_info *ii, char *buf, size_t size) in printf_sfp_transceiver_descr()
443 get_sfp_transceiver_class(struct i2c_info *ii, char *buf, size_t size) in get_sfp_transceiver_class()
471 get_qsfp_transceiver_class(struct i2c_info *ii, char *buf, size_t size) in get_qsfp_transceiver_class()
[all …]
/freebsd-12-stable/contrib/ofed/opensm/opensm/
Dosm_helper.c468 int sprint_uint8_arr(char *buf, size_t size, in sprint_uint8_arr()
842 OUT char * buf) in osm_dump_port_info_to_buf()
931 char buf[BUF_SIZE]; in osm_dump_port_info() local
959 char buf[BUF_SIZE]; in osm_dump_port_info_v2() local
984 OUT char * buf) in osm_dump_mlnx_ext_port_info_to_buf()
1010 char buf[BUF_SIZE]; in osm_dump_mlnx_ext_port_info() local
1025 char buf[BUF_SIZE]; in osm_dump_mlnx_ext_port_info_v2() local
1035 OUT char * buf) in osm_dump_portinfo_record_to_buf()
1127 char buf[BUF_SIZE]; in osm_dump_portinfo_record() local
1155 char buf[BUF_SIZE]; in osm_dump_portinfo_record_v2() local
[all …]
/freebsd-12-stable/usr.sbin/makefs/ffs/
Dbuf.h56 struct buf { struct
58 long b_bufsize; argument
64 TAILQ_ENTRY(buf) b_tailq; argument
/freebsd-12-stable/contrib/flex/
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()
91 struct Buf *buf_linedir (struct Buf *buf, const char* filename, int lineno) in buf_linedir()
127 struct Buf *buf_strnappend (buf, str, n) in buf_strnappend() argument
141 struct Buf *buf_strappend (buf, str) in buf_strappend() argument
149 struct Buf *buf_strdefine (buf, str, def) in buf_strdefine() argument
169 struct Buf *buf_m4_define (struct Buf *buf, const char* def, const char* val) in buf_m4_define()
190 struct Buf *buf_m4_undefine (struct Buf *buf, const char* def) in buf_m4_undefine()
206 void buf_init (buf, elem_size) in buf_init() argument
217 void buf_destroy (buf) in buf_destroy() argument
[all …]
/freebsd-12-stable/sys/dev/ice/
Dice_strings.c70 struct ice_str_buf buf = { .str = "" }; in _ice_aq_str() local
185 struct ice_str_buf buf = { .str = "" }; in _ice_status_str() local
301 struct ice_str_buf buf = { .str = "" }; in _ice_err_str() local
677 struct ice_str_buf buf = { .str = "" }; in _ice_fltr_flag_str() local
712 struct ice_str_buf buf = { .str = "" }; in _ice_log_sev_str() local
785 struct ice_str_buf buf = { .str = "" }; in _ice_mdd_tx_tclan_str() local
874 struct ice_str_buf buf = { .str = "" }; in _ice_mdd_tx_pqm_str() local
976 struct ice_str_buf buf = { .str = "" }; in _ice_mdd_rx_str() local
1141 struct ice_str_buf buf = { .str = "" }; in _ice_fw_lldp_status() local
/freebsd-12-stable/contrib/smbfs/include/netsmb/
Dsmb_lib.h64 #define getb(buf,ofs) (((const u_int8_t *)(buf))[ofs]) argument
65 #define setb(buf,ofs,val) (((u_int8_t*)(buf))[ofs])=val argument
66 #define getbw(buf,ofs) ((u_int16_t)(getb(buf,ofs))) argument
67 #define getw(buf,ofs) (*((u_int16_t*)(&((u_int8_t*)(buf))[ofs]))) argument
68 #define getdw(buf,ofs) (*((u_int32_t*)(&((u_int8_t*)(buf))[ofs]))) argument
72 #define getwle(buf,ofs) (*((u_int16_t*)(&((u_int8_t*)(buf))[ofs]))) argument
73 #define getdle(buf,ofs) (*((u_int32_t*)(&((u_int8_t*)(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
[all …]
/freebsd-12-stable/sbin/dhclient/
Dprivsep.h26 struct buf { struct
27 u_char *buf; argument
28 size_t size;
29 size_t wpos;
30 size_t rpos;
/freebsd-12-stable/contrib/wpa/src/tls/
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()
351 void asn1_oid_to_str(const struct asn1_oid *oid, char *buf, size_t len) in asn1_oid_to_str()
391 unsigned long asn1_bit_string_to_long(const u8 *buf, size_t len) in asn1_bit_string_to_long()
433 int asn1_get_integer(const u8 *buf, size_t len, int *integer, const u8 **next) in asn1_get_integer()
466 int asn1_get_sequence(const u8 *buf, size_t len, struct asn1_hdr *hdr, in asn1_get_sequence()
480 int asn1_get_alg_id(const u8 *buf, size_t len, struct asn1_oid *oid, in asn1_get_alg_id()
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()
[all …]
/freebsd-12-stable/contrib/libarchive/libarchive/test/
Dtest_read_format_rar5.c95 uint8_t* buf; in extract_one() local
327 uint8_t buf[814]; in DEFINE_TEST() local
352 uint8_t buf[90808]; in DEFINE_TEST() 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
815 uint8_t buf[173]; in DEFINE_TEST() local
968 uint8_t buf[16]; in DEFINE_TEST() local
984 uint8_t buf[16]; in DEFINE_TEST() local
1000 uint8_t buf[16]; in DEFINE_TEST() local
[all …]
/freebsd-12-stable/usr.sbin/bluetooth/sdpd/
Dsd.c44 uint8_t *buf, uint8_t const * const eob, in sd_profile_create_service_class_id_list()
59 uint8_t *buf, uint8_t const * const eob, in sd_profile_create_bluetooth_profile_descriptor_list()
75 uint8_t *buf, uint8_t const * const eob, in sd_profile_create_service_id()
96 uint8_t *buf, uint8_t const * const eob, in sd_profile_create_service_name()
108 uint8_t *buf, uint8_t const * const eob, in sd_profile_create_protocol_descriptor_list()
132 uint8_t *buf, uint8_t const * const eob, in sd_profile_create_browse_group_list()
156 uint8_t *buf, uint8_t const * const eob, in sd_profile_create_version_number_list()
183 uint8_t *buf, uint8_t const * const eob, in sd_profile_create_service_database_state()
/freebsd-12-stable/contrib/wpa/src/common/
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>>...148