/freebsd-src/sys/contrib/libb2/ |
H A D | blake2s-load-sse2.h | 17 #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 …]
|
H A D | blake2s-load-xop.h | 30 #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 …]
|
H A D | blake2s-load-sse41.h | 17 #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 …]
|
/freebsd-src/contrib/xz/src/common/ |
H A D | tuklib_integer.h | 323 read16ne(const uint8_t * buf) read16ne() argument 336 read32ne(const uint8_t * buf) read32ne() argument 349 read64ne(const uint8_t * buf) read64ne() argument 362 write16ne(uint8_t * buf,uint16_t num) write16ne() argument 374 write32ne(uint8_t * buf,uint32_t num) write32ne() argument 386 write64ne(uint8_t * buf,uint64_t num) write64ne() argument 398 read16be(const uint8_t * buf) read16be() argument 406 read16le(const uint8_t * buf) read16le() argument 414 read32be(const uint8_t * buf) read32be() argument 422 read32le(const uint8_t * buf) read32le() argument 430 read64be(const uint8_t * buf) read64be() argument 438 read64le(const uint8_t * buf) read64le() argument 449 write16be(buf,num) global() argument 450 write32be(buf,num) global() argument 451 write64be(buf,num) global() argument 452 write16le(buf,num) global() argument 453 write32le(buf,num) global() argument 454 write64le(buf,num) global() argument 476 read16be(const uint8_t * buf) read16be() argument 484 read16le(const uint8_t * buf) read16le() argument 492 read32be(const uint8_t * buf) read32be() argument 503 read32le(const uint8_t * buf) read32le() argument 514 read64be(const uint8_t * buf) read64be() argument 529 read64le(const uint8_t * buf) read64le() argument 544 write16be(uint8_t * buf,uint16_t num) write16be() argument 553 write16le(uint8_t * buf,uint16_t num) write16le() argument 562 write32be(uint8_t * buf,uint32_t num) write32be() argument 573 write32le(uint8_t * buf,uint32_t num) write32le() argument 584 write64be(uint8_t * buf,uint64_t num) write64be() argument 599 write64le(uint8_t * buf,uint64_t num) write64le() argument 652 aligned_read16ne(const uint8_t * buf) aligned_read16ne() argument 666 aligned_read32ne(const uint8_t * buf) aligned_read32ne() argument 680 aligned_read64ne(const uint8_t * buf) aligned_read64ne() argument 694 aligned_write16ne(uint8_t * buf,uint16_t num) aligned_write16ne() argument 706 aligned_write32ne(uint8_t * buf,uint32_t num) aligned_write32ne() argument 718 aligned_write64ne(uint8_t * buf,uint64_t num) aligned_write64ne() argument 730 aligned_read16be(const uint8_t * buf) aligned_read16be() argument 738 aligned_read16le(const uint8_t * buf) aligned_read16le() argument 746 aligned_read32be(const uint8_t * buf) aligned_read32be() argument 754 aligned_read32le(const uint8_t * buf) aligned_read32le() argument 762 aligned_read64be(const uint8_t * buf) aligned_read64be() argument 770 aligned_read64le(const uint8_t * buf) aligned_read64le() argument 778 aligned_write16be(buf,num) global() argument 779 aligned_write16le(buf,num) global() argument 780 aligned_write32be(buf,num) global() argument 781 aligned_write32le(buf,num) global() argument 782 aligned_write64be(buf,num) global() argument 783 aligned_write64le(buf,num) global() argument [all...] |
/freebsd-src/lib/libopenbsd/ |
H A D | imsg-buffer.c | 39 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() 91 ibuf_add(struct ibuf *buf, const void *data, size_t len) in ibuf_add() 103 ibuf_reserve(struct ibuf *buf, size_t len) in ibuf_reserve() 117 ibuf_seek(struct ibuf *buf, size_t pos, size_t len) in ibuf_seek() 127 ibuf_size(struct ibuf *buf) in ibuf_size() 133 ibuf_left(struct ibuf *buf) in ibuf_left() 139 ibuf_close(struct msgbuf *msgbuf, struct ibuf *buf) in ibuf_close() 148 struct ibuf *buf; in ibuf_write() local [all …]
|
/freebsd-src/contrib/wpa/src/utils/ |
H A D | wpabuf.h | 23 u8 *buf; /* pointer to the head of the buffer */ member 48 wpabuf_size(const struct wpabuf * buf) wpabuf_size() argument 58 wpabuf_len(const struct wpabuf * buf) wpabuf_len() argument 68 wpabuf_tailroom(const struct wpabuf * buf) wpabuf_tailroom() argument 93 wpabuf_head(const struct wpabuf * buf) wpabuf_head() argument 98 wpabuf_head_u8(const struct wpabuf * buf) wpabuf_head_u8() argument 108 wpabuf_mhead(struct wpabuf * buf) wpabuf_mhead() argument 113 wpabuf_mhead_u8(struct wpabuf * buf) wpabuf_mhead_u8() argument 118 wpabuf_put_u8(struct wpabuf * buf,u8 data) wpabuf_put_u8() argument 124 wpabuf_put_le16(struct wpabuf * buf,u16 data) wpabuf_put_le16() argument 130 wpabuf_put_le32(struct wpabuf * buf,u32 data) wpabuf_put_le32() argument 136 wpabuf_put_le64(struct wpabuf * buf,u64 data) wpabuf_put_le64() argument 142 wpabuf_put_be16(struct wpabuf * buf,u16 data) wpabuf_put_be16() argument 148 wpabuf_put_be24(struct wpabuf * buf,u32 data) wpabuf_put_be24() argument 154 wpabuf_put_be32(struct wpabuf * buf,u32 data) wpabuf_put_be32() argument 160 wpabuf_put_be64(struct wpabuf * buf,u64 data) wpabuf_put_be64() argument 166 wpabuf_put_data(struct wpabuf * buf,const void * data,size_t len) wpabuf_put_data() argument 179 wpabuf_set(struct wpabuf * buf,const void * data,size_t len) wpabuf_set() argument [all...] |
H A D | wpabuf.c | 22 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-src/contrib/wpa/src/p2p/ |
H A D | p2p_build.c | 18 p2p_buf_add_action_hdr(struct wpabuf * buf,u8 subtype,u8 dialog_token) p2p_buf_add_action_hdr() argument 29 p2p_buf_add_public_action_hdr(struct wpabuf * buf,u8 subtype,u8 dialog_token) p2p_buf_add_public_action_hdr() argument 42 p2p_buf_add_ie_hdr(struct wpabuf * buf) p2p_buf_add_ie_hdr() argument 55 p2p_buf_update_ie_hdr(struct wpabuf * buf,u8 * len) p2p_buf_update_ie_hdr() argument 62 p2p_buf_add_capability(struct wpabuf * buf,u8 dev_capab,u8 group_capab) p2p_buf_add_capability() argument 74 p2p_buf_add_go_intent(struct wpabuf * buf,u8 go_intent) p2p_buf_add_go_intent() argument 85 p2p_buf_add_listen_channel(struct wpabuf * buf,const char * country,u8 reg_class,u8 channel) p2p_buf_add_listen_channel() argument 99 p2p_buf_add_operating_channel(struct wpabuf * buf,const char * country,u8 reg_class,u8 channel) p2p_buf_add_operating_channel() argument 113 p2p_buf_add_pref_channel_list(struct wpabuf * buf,const unsigned int * preferred_freq_list,unsigned int size) p2p_buf_add_pref_channel_list() argument 151 p2p_buf_add_channel_list(struct wpabuf * buf,const char * country,struct p2p_channels * chan) p2p_buf_add_channel_list() argument 176 p2p_buf_add_status(struct wpabuf * buf,u8 status) p2p_buf_add_status() argument 186 p2p_buf_add_device_info(struct wpabuf * buf,struct p2p_data * p2p,struct p2p_device * peer) p2p_buf_add_device_info() argument 245 p2p_buf_add_device_id(struct wpabuf * buf,const u8 * dev_addr) p2p_buf_add_device_id() argument 255 p2p_buf_add_config_timeout(struct wpabuf * buf,u8 go_timeout,u8 client_timeout) p2p_buf_add_config_timeout() argument 268 p2p_buf_add_intended_addr(struct wpabuf * buf,const u8 * interface_addr) p2p_buf_add_intended_addr() argument 279 p2p_buf_add_group_bssid(struct wpabuf * buf,const u8 * bssid) p2p_buf_add_group_bssid() argument 290 p2p_buf_add_group_id(struct wpabuf * buf,const u8 * dev_addr,const u8 * ssid,size_t ssid_len) p2p_buf_add_group_id() argument 304 p2p_buf_add_invitation_flags(struct wpabuf * buf,u8 flags) p2p_buf_add_invitation_flags() argument 314 p2p_buf_add_noa_desc(struct wpabuf * buf,struct p2p_noa_desc * desc) p2p_buf_add_noa_desc() argument 326 p2p_buf_add_noa(struct wpabuf * buf,u8 noa_index,u8 opp_ps,u8 ctwindow,struct p2p_noa_desc * desc1,struct p2p_noa_desc * desc2) p2p_buf_add_noa() argument 340 p2p_buf_add_ext_listen_timing(struct wpabuf * buf,u16 period,u16 interval) p2p_buf_add_ext_listen_timing() argument 353 p2p_buf_add_p2p_interface(struct wpabuf * buf,struct p2p_data * p2p) p2p_buf_add_p2p_interface() argument 370 p2p_buf_add_oob_go_neg_channel(struct wpabuf * buf,const char * country,u8 oper_class,u8 channel,enum p2p_role_indication role) p2p_buf_add_oob_go_neg_channel() argument 387 p2p_buf_add_service_hash(struct wpabuf * buf,struct p2p_data * p2p) p2p_buf_add_service_hash() argument 402 p2p_buf_add_session_info(struct wpabuf * buf,const char * info) p2p_buf_add_session_info() argument 420 p2p_buf_add_connection_capability(struct wpabuf * buf,u8 connection_cap) p2p_buf_add_connection_capability() argument 431 p2p_buf_add_advertisement_id(struct wpabuf * buf,u32 id,const u8 * mac) p2p_buf_add_advertisement_id() argument 476 p2p_buf_add_service_info(struct wpabuf * buf,struct p2p_data * p2p,u32 adv_id,u16 config_methods,const char * svc_name,u8 ** ie_len,u8 ** pos,size_t * total_len,u8 * attr_len) p2p_buf_add_service_info() argument 594 p2p_buf_add_service_instance(struct wpabuf * buf,struct p2p_data * p2p,u8 hash_count,const u8 * hash,struct p2ps_advertisement * adv_list) p2p_buf_add_service_instance() argument 665 p2p_buf_add_session_id(struct wpabuf * buf,u32 id,const u8 * mac) p2p_buf_add_session_id() argument 680 p2p_buf_add_feature_capability(struct wpabuf * buf,u16 len,const u8 * mask) p2p_buf_add_feature_capability() argument 693 p2p_buf_add_persistent_group_info(struct wpabuf * buf,const u8 * dev_addr,const u8 * ssid,size_t ssid_len) p2p_buf_add_persistent_group_info() argument 706 p2p_add_wps_string(struct wpabuf * buf,enum wps_attribute attr,const char * val) p2p_add_wps_string() argument 736 p2p_build_wps_ie(struct p2p_data * p2p,struct wpabuf * buf,int pw_id,int all_attr) p2p_build_wps_ie() argument [all...] |
/freebsd-src/crypto/openssh/ |
H A D | sshbuf.c | 55 sshbuf_check_sanity(const struct sshbuf *buf) in sshbuf_check_sanity() 76 sshbuf_maybe_pack(struct sshbuf *buf, int force) in sshbuf_maybe_pack() 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() 243 sshbuf_set_max_size(struct sshbuf *buf, size_t max_size) in sshbuf_set_max_size() [all …]
|
H A D | sshbuf-getput-basic.c | 35 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-src/contrib/ofed/libibmad/ |
H A D | dump.c | 47 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 …]
|
H A D | fields.c | 1130 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-src/contrib/bmake/ |
H A D | buf.c | 82 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()
|
/freebsd-src/contrib/sendmail/include/sm/ |
H A D | setjmp.h | 31 # 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-src/sys/sys/ |
H A D | buf.h | 96 struct buf { struct 106 void (*b_iodone)(struct buf *); argument 107 void (*b_ckhashcalc)(struct buf *); argument 111 TAILQ_ENTRY(buf) b_bobuf argument 97 b_bufobjbuf global() argument 113 b_qindexbuf global() argument 114 b_domainbuf global() argument 119 b_bufsizebuf global() argument 120 b_runningbufspacebuf global() argument 121 b_kvasizebuf global() argument 122 b_dirtyoffbuf global() argument 124 b_kvabasebuf global() argument 130 __anon71bf8122010abuf global() argument 139 cluster_infobuf global() argument 159 b_pagesbuf global() argument [all...] |
/freebsd-src/contrib/ofed/opensm/opensm/ |
H A D | osm_helper.c | 468 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-src/contrib/flex/src/ |
H A D | buf.c | 55 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-src/sys/dev/ice/ |
H A D | ice_strings.c | 69 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 = "" }; _ice_fltr_flag_str() local 713 struct ice_str_buf buf = { .str = "" }; _ice_log_sev_str() local 788 struct ice_str_buf buf = { .str = "" }; _ice_mdd_tx_tclan_str() local 877 struct ice_str_buf buf = { .str = "" }; _ice_mdd_tx_pqm_str() local 979 struct ice_str_buf buf = { .str = "" }; _ice_mdd_rx_str() local 1156 struct ice_str_buf buf = { .str = "" }; _ice_fw_lldp_status() local [all...] |
/freebsd-src/contrib/smbfs/include/netsmb/ |
H A D | smb_lib.h | 64 #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-src/sbin/dhclient/ |
H A D | privsep.h | 24 struct buf { struct 25 u_char *buf; argument 26 size_t size; 27 size_t wpos; 28 size_t rpos;
|
/freebsd-src/sys/contrib/dev/athk/ath11k/ |
H A D | debugfs_htt_stats.c | 43 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 350 u8 *buf = stats_req->buf; in htt_print_tx_pdev_stats_tried_mpdu_cnt_hist_tlv_v() local 375 u8 *buf = stats_req->buf; in htt_print_hw_stats_intr_misc_tlv() local [all …]
|
/freebsd-src/contrib/wpa/src/tls/ |
H A D | asn1.c | 171 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-src/contrib/libarchive/libarchive/test/ |
H A D | test_read_format_rar5.c | 95 uint8_t* buf; in extract_one() local 327 uint8_t buf[814]; in DEFINE_TEST() local 352 uint8_t buf[9080 in DEFINE_TEST() local 386 char buf[6]; DEFINE_TEST() local 407 char buf[405]; DEFINE_TEST() local 426 char buf[4]; DEFINE_TEST() local 845 uint8_t buf[173]; DEFINE_TEST() local 998 uint8_t buf[16]; DEFINE_TEST() local 1014 uint8_t buf[16]; DEFINE_TEST() local 1030 uint8_t buf[16]; DEFINE_TEST() local 1046 uint8_t buf[16]; DEFINE_TEST() local 1062 uint8_t buf[16]; DEFINE_TEST() local 1081 uint8_t buf[16]; DEFINE_TEST() local 1097 uint8_t buf[16]; DEFINE_TEST() local 1220 char buf[4096]; DEFINE_TEST() local 1243 char buf[4096]; DEFINE_TEST() local 1258 char buf[4096]; DEFINE_TEST() local 1273 char buf[4096]; DEFINE_TEST() local 1294 char buf[4096]; DEFINE_TEST() local 1309 char buf[4096]; DEFINE_TEST() local 1351 char buf[4096]; DEFINE_TEST() local 1368 char buf[4096]; DEFINE_TEST() local 1385 const void *buf; DEFINE_TEST() local [all...] |
/freebsd-src/usr.sbin/bluetooth/sdpd/ |
H A D | sd.c | 43 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-src/contrib/wpa/src/common/ |
H A D | gas.c | 20 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 …]
|