Home
last modified time | relevance | path

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

12345678910>>...119

/dflybsd-src/contrib/xz/src/common/
H A 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 …]
/dflybsd-src/contrib/wpa_supplicant/src/p2p/
H A 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 …]
/dflybsd-src/contrib/wpa_supplicant/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()
78 static inline const void * wpabuf_head(const struct wpabuf *buf) in wpabuf_head()
83 static inline const u8 * wpabuf_head_u8(const struct wpabuf *buf) in wpabuf_head_u8()
93 static inline void * wpabuf_mhead(struct wpabuf *buf) in wpabuf_mhead()
98 static inline u8 * wpabuf_mhead_u8(struct wpabuf *buf) in wpabuf_mhead_u8()
103 static inline void wpabuf_put_u8(struct wpabuf *buf, u8 data) in wpabuf_put_u8()
109 static inline void wpabuf_put_le16(struct wpabuf *buf, u16 data) in wpabuf_put_le16()
[all …]
H A 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 …]
/dflybsd-src/sys/sys/
H A Dbuf.h152 struct buf { struct
156 struct buf *b_cluster_next; /* Next buffer (cluster code) */ argument
160 unsigned int b_qindex; /* buffer queue index */ argument
161 unsigned int b_qcpu; /* buffer queue cpu */ argument
166 buf_cmd_t b_cmd; /* I/O command */ argument
167 int b_bufsize; /* Allocated buffer size. */ argument
168 int b_runningbufspace; /* when I/O is running, pipelining */ argument
169 int b_bcount; /* Valid bytes in buffer. */ argument
173 caddr_t b_kvabase; /* base kva for buffer */ argument
174 int b_kvasize; /* size of kva for buffer */ argument
[all …]
/dflybsd-src/crypto/openssh/
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()
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 …]
H A Dsshbuf.c55 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 …]
/dflybsd-src/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_AddBytesBetween(Buffer *buf, const char *start, const char *end) in Buf_AddBytesBetween()
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 …]
/dflybsd-src/crypto/libressl/ssl/
H A Dtls_buffer.c39 struct tls_buffer *buf = NULL; in tls_buffer_new() local
58 tls_buffer_clear(struct tls_buffer *buf) in tls_buffer_clear()
69 tls_buffer_free(struct tls_buffer *buf) in tls_buffer_free()
80 tls_buffer_grow(struct tls_buffer *buf, size_t capacity) in tls_buffer_grow()
89 tls_buffer_resize(struct tls_buffer *buf, size_t capacity) in tls_buffer_resize()
119 tls_buffer_set_capacity_limit(struct tls_buffer *buf, size_t limit) in tls_buffer_set_capacity_limit()
129 tls_buffer_extend(struct tls_buffer *buf, size_t len, in tls_buffer_extend()
159 tls_buffer_read(struct tls_buffer *buf, uint8_t *rbuf, size_t n) in tls_buffer_read()
178 tls_buffer_write(struct tls_buffer *buf, const uint8_t *wbuf, size_t n) in tls_buffer_write()
213 tls_buffer_append(struct tls_buffer *buf, const uint8_t *wbuf, size_t n) in tls_buffer_append()
[all …]
/dflybsd-src/contrib/gcc-8.0/libiberty/
H A Dsimple-object-common.h189 simple_object_fetch_big_16 (const unsigned char *buf) in simple_object_fetch_big_16()
197 simple_object_fetch_little_16 (const unsigned char *buf) in simple_object_fetch_little_16()
205 simple_object_fetch_big_32 (const unsigned char *buf) in simple_object_fetch_big_32()
216 simple_object_fetch_little_32 (const unsigned char *buf) in simple_object_fetch_little_32()
227 simple_object_fetch_big_32_ulong (const unsigned char *buf) in simple_object_fetch_big_32_ulong()
235 simple_object_fetch_little_32_ulong (const unsigned char *buf) in simple_object_fetch_little_32_ulong()
245 simple_object_fetch_big_64 (const unsigned char *buf) in simple_object_fetch_big_64()
260 simple_object_fetch_little_64 (const unsigned char *buf) in simple_object_fetch_little_64()
277 simple_object_set_big_16 (unsigned char *buf, unsigned short val) in simple_object_set_big_16()
286 simple_object_set_little_16 (unsigned char *buf, unsigned short val) in simple_object_set_little_16()
[all …]
/dflybsd-src/contrib/gcc-4.7/libiberty/
H A Dsimple-object-common.h182 simple_object_fetch_big_16 (const unsigned char *buf) in simple_object_fetch_big_16()
190 simple_object_fetch_little_16 (const unsigned char *buf) in simple_object_fetch_little_16()
198 simple_object_fetch_big_32 (const unsigned char *buf) in simple_object_fetch_big_32()
209 simple_object_fetch_little_32 (const unsigned char *buf) in simple_object_fetch_little_32()
220 simple_object_fetch_big_32_ulong (const unsigned char *buf) in simple_object_fetch_big_32_ulong()
228 simple_object_fetch_little_32_ulong (const unsigned char *buf) in simple_object_fetch_little_32_ulong()
238 simple_object_fetch_big_64 (const unsigned char *buf) in simple_object_fetch_big_64()
253 simple_object_fetch_little_64 (const unsigned char *buf) in simple_object_fetch_little_64()
270 simple_object_set_big_16 (unsigned char *buf, unsigned short val) in simple_object_set_big_16()
279 simple_object_set_little_16 (unsigned char *buf, unsigned short val) in simple_object_set_little_16()
[all …]
/dflybsd-src/contrib/gdb-7/libiberty/
H A Dsimple-object-common.h183 simple_object_fetch_big_16 (const unsigned char *buf) in simple_object_fetch_big_16()
191 simple_object_fetch_little_16 (const unsigned char *buf) in simple_object_fetch_little_16()
199 simple_object_fetch_big_32 (const unsigned char *buf) in simple_object_fetch_big_32()
210 simple_object_fetch_little_32 (const unsigned char *buf) in simple_object_fetch_little_32()
221 simple_object_fetch_big_32_ulong (const unsigned char *buf) in simple_object_fetch_big_32_ulong()
229 simple_object_fetch_little_32_ulong (const unsigned char *buf) in simple_object_fetch_little_32_ulong()
239 simple_object_fetch_big_64 (const unsigned char *buf) in simple_object_fetch_big_64()
254 simple_object_fetch_little_64 (const unsigned char *buf) in simple_object_fetch_little_64()
271 simple_object_set_big_16 (unsigned char *buf, unsigned short val) in simple_object_set_big_16()
280 simple_object_set_little_16 (unsigned char *buf, unsigned short val) in simple_object_set_little_16()
[all …]
/dflybsd-src/contrib/binutils-2.27/libiberty/
H A Dsimple-object-common.h183 simple_object_fetch_big_16 (const unsigned char *buf) in simple_object_fetch_big_16()
191 simple_object_fetch_little_16 (const unsigned char *buf) in simple_object_fetch_little_16()
199 simple_object_fetch_big_32 (const unsigned char *buf) in simple_object_fetch_big_32()
210 simple_object_fetch_little_32 (const unsigned char *buf) in simple_object_fetch_little_32()
221 simple_object_fetch_big_32_ulong (const unsigned char *buf) in simple_object_fetch_big_32_ulong()
229 simple_object_fetch_little_32_ulong (const unsigned char *buf) in simple_object_fetch_little_32_ulong()
239 simple_object_fetch_big_64 (const unsigned char *buf) in simple_object_fetch_big_64()
254 simple_object_fetch_little_64 (const unsigned char *buf) in simple_object_fetch_little_64()
271 simple_object_set_big_16 (unsigned char *buf, unsigned short val) in simple_object_set_big_16()
280 simple_object_set_little_16 (unsigned char *buf, unsigned short val) in simple_object_set_little_16()
[all …]
/dflybsd-src/contrib/binutils-2.34/libiberty/
H A Dsimple-object-common.h189 simple_object_fetch_big_16 (const unsigned char *buf) in simple_object_fetch_big_16()
197 simple_object_fetch_little_16 (const unsigned char *buf) in simple_object_fetch_little_16()
205 simple_object_fetch_big_32 (const unsigned char *buf) in simple_object_fetch_big_32()
216 simple_object_fetch_little_32 (const unsigned char *buf) in simple_object_fetch_little_32()
227 simple_object_fetch_big_32_ulong (const unsigned char *buf) in simple_object_fetch_big_32_ulong()
235 simple_object_fetch_little_32_ulong (const unsigned char *buf) in simple_object_fetch_little_32_ulong()
245 simple_object_fetch_big_64 (const unsigned char *buf) in simple_object_fetch_big_64()
260 simple_object_fetch_little_64 (const unsigned char *buf) in simple_object_fetch_little_64()
277 simple_object_set_big_16 (unsigned char *buf, unsigned short val) in simple_object_set_big_16()
286 simple_object_set_little_16 (unsigned char *buf, unsigned short val) in simple_object_set_little_16()
[all …]
/dflybsd-src/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 …]
/dflybsd-src/contrib/smbfs/include/netsmb/
H A Dsmb_lib.h63 #define getb(buf,ofs) (((const u_int8_t *)(buf))[ofs]) argument
64 #define setb(buf,ofs,val) (((u_int8_t*)(buf))[ofs])=val argument
65 #define getbw(buf,ofs) ((u_int16_t)(getb(buf,ofs))) argument
66 #define getw(buf,ofs) (*((u_int16_t*)(&((u_int8_t*)(buf))[ofs]))) argument
67 #define getdw(buf,ofs) (*((u_int32_t*)(&((u_int8_t*)(buf))[ofs]))) argument
71 #define getwle(buf,ofs) (*((u_int16_t*)(&((u_int8_t*)(buf))[ofs]))) argument
72 #define getdle(buf,ofs) (*((u_int32_t*)(&((u_int8_t*)(buf))[ofs]))) argument
73 #define getwbe(buf,ofs) (ntohs(getwle(buf,ofs))) argument
74 #define getdbe(buf,ofs) (ntohl(getdle(buf,ofs))) argument
76 #define setwle(buf,ofs,val) getwle(buf,ofs)=val argument
[all …]
/dflybsd-src/contrib/wpa_supplicant/src/ap/
H A Dgas_serv.c25 static void gas_serv_write_dpp_adv_proto(struct wpabuf *buf) in gas_serv_write_dpp_adv_proto()
162 struct wpabuf *buf) in anqp_add_hs_capab_list()
210 static void anqp_add_elem(struct hostapd_data *hapd, struct wpabuf *buf, in anqp_add_elem()
230 static int anqp_add_override(struct hostapd_data *hapd, struct wpabuf *buf, in anqp_add_override()
243 struct wpabuf *buf) in anqp_add_capab_list()
312 static void anqp_add_venue_name(struct hostapd_data *hapd, struct wpabuf *buf) in anqp_add_venue_name()
335 static void anqp_add_venue_url(struct hostapd_data *hapd, struct wpabuf *buf) in anqp_add_venue_url()
359 struct wpabuf *buf) in anqp_add_network_auth_type()
374 struct wpabuf *buf) in anqp_add_roaming_consortium()
394 struct wpabuf *buf) in anqp_add_ip_addr_type_availability()
[all …]
/dflybsd-src/contrib/wpa_supplicant/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 …]
/dflybsd-src/sbin/dhclient/
H A Dprivsep.h22 struct buf { struct
23 u_char *buf; argument
42 struct buf *buf_open(size_t); argument
/dflybsd-src/contrib/ncurses/ncurses/trace/
H A Dvisbuf.c108 _nc_visbuf2n(int bufnum, const char *buf, int len) in _nc_visbuf2n()
157 _nc_visbuf2(int bufnum, const char *buf) in _nc_visbuf2()
163 _nc_visbuf(const char *buf) in _nc_visbuf()
169 _nc_visbufn(const char *buf, int len) in _nc_visbufn()
191 _nc_viswbuf2n(int bufnum, const wchar_t *buf, int len) in _nc_viswbuf2n()
238 _nc_viswbuf2(int bufnum, const wchar_t *buf) in _nc_viswbuf2()
244 _nc_viswbuf(const wchar_t *buf) in _nc_viswbuf()
250 _nc_viswbufn(const wchar_t *buf, int len) in _nc_viswbufn()
257 _nc_viswibuf(const wint_t *buf) in _nc_viswibuf()
286 _nc_viscbuf2(int bufnum, const NCURSES_CH_T * buf, int len) in _nc_viscbuf2()
[all …]
/dflybsd-src/contrib/gcc-8.0/gcc/
H A Dwide-int-print.cc33 print_dec (const wide_int_ref &wi, char *buf, signop sgn) in print_dec()
55 print_decs (const wide_int_ref &wi, char *buf) in print_decs()
76 char buf[WIDE_INT_PRINT_BUFFER_SIZE]; in print_decs() local
85 print_decu (const wide_int_ref &wi, char *buf) in print_decu()
100 char buf[WIDE_INT_PRINT_BUFFER_SIZE]; in print_decu() local
106 print_hex (const wide_int_ref &val, char *buf) in print_hex()
136 char buf[WIDE_INT_PRINT_BUFFER_SIZE]; in print_hex() local
/dflybsd-src/contrib/cvs-1.12/src/
H A Dbuffer.c48 struct buffer *buf; in buf_initialize() local
69 buf_free (struct buffer *buf) in buf_free()
93 buf_default_memory_error (struct buffer *buf) in buf_default_memory_error()
117 buf_empty (buf) in buf_empty() argument
131 buf_empty_p (struct buffer *buf) in buf_empty_p()
149 buf_count_mem (struct buffer *buf) in buf_count_mem()
165 buf_output (struct buffer *buf, const char *data, size_t len) in buf_output()
218 buf_output0 (struct buffer *buf, const char *string) in buf_output0()
227 buf_append_char (struct buffer *buf, int ch) in buf_append_char()
273 buf_send_output (struct buffer *buf) in buf_send_output()
[all …]
/dflybsd-src/usr.sbin/sdpd/
H A Dprofile.c103 uint8_t *buf, uint8_t const * const eob, in common_profile_create_service_record_handle()
123 uint8_t *buf, uint8_t const * const eob, in common_profile_create_service_class_id_list()
155 uint8_t *buf, uint8_t const * const eob, in common_profile_create_bluetooth_profile_descriptor_list()
189 uint8_t *buf, uint8_t const * const eob, in common_profile_create_language_base_attribute_id_list()
229 uint8_t *buf, uint8_t const * const eob, in common_profile_create_service_provider_name()
250 uint8_t *buf, uint8_t const * const eob, in common_profile_create_string8()
274 uint8_t *buf, uint8_t const * const eob, in rfcomm_profile_create_protocol_descriptor_list()
311 uint8_t *buf, uint8_t const * const eob, in obex_profile_create_protocol_descriptor_list()
348 uint8_t *buf, uint8_t const * const eob, in obex_profile_create_supported_formats_list()
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_service_id()
79 uint8_t *buf, uint8_t const * const eob, in sd_profile_create_service_name()
91 uint8_t *buf, uint8_t const * const eob, in sd_profile_create_protocol_descriptor_list()
117 uint8_t *buf, uint8_t const * const eob, in sd_profile_create_browse_group_list()
141 uint8_t *buf, uint8_t const * const eob, in sd_profile_create_version_number_list()
168 uint8_t *buf, uint8_t const * const eob, in sd_profile_create_service_database_state()
/dflybsd-src/include/rpc/
H A Dxdr.h258 #define IXDR_GET_INT32(buf) ((int32_t)__ntohl((uint32_t)*(buf)++)) argument
259 #define IXDR_PUT_INT32(buf, v) (*(buf)++ =(int32_t)__htonl((uint32_t)v)) argument
260 #define IXDR_GET_U_INT32(buf) ((uint32_t)IXDR_GET_INT32(buf)) argument
261 #define IXDR_PUT_U_INT32(buf, v) IXDR_PUT_INT32((buf), ((int32_t)(v))) argument
263 #define IXDR_GET_LONG(buf) ((long)__ntohl((uint32_t)*(buf)++)) argument
264 #define IXDR_PUT_LONG(buf, v) (*(buf)++ =(int32_t)__htonl((uint32_t)v)) argument
266 #define IXDR_GET_BOOL(buf) ((bool_t)IXDR_GET_LONG(buf)) argument
267 #define IXDR_GET_ENUM(buf, t) ((t)IXDR_GET_LONG(buf)) argument
268 #define IXDR_GET_U_LONG(buf) ((u_long)IXDR_GET_LONG(buf)) argument
269 #define IXDR_GET_SHORT(buf) ((short)IXDR_GET_LONG(buf)) argument
[all …]

12345678910>>...119