Home
last modified time | relevance | path

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

12345678910>>...114

/dragonfly/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()
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()
446 aligned_read16ne(const uint8_t *buf) in aligned_read16ne()
460 aligned_read32ne(const uint8_t *buf) in aligned_read32ne()
[all …]
/dragonfly/crypto/openssh/
H A Dsshbuf.c32 sshbuf_check_sanity(const struct sshbuf *buf) in sshbuf_check_sanity()
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()
258 sshbuf_len(const struct sshbuf *buf) in sshbuf_len()
266 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 …]
/dragonfly/contrib/wpa_supplicant/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 …]
/dragonfly/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()
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()
115 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 …]
/dragonfly/sys/sys/
H A Dbuf.h152 struct buf { struct
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
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
175 int b_dirtyoff; /* Offset in buffer of dirty region. */ argument
178 struct xio b_xio; /* data buffer page list management */ argument
[all …]
/dragonfly/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 …]
/dragonfly/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 …]
/dragonfly/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()
289 simple_object_set_big_32 (unsigned char *buf, unsigned int val) in simple_object_set_big_32()
329 simple_object_set_big_64 (unsigned char *buf, ulong_type val) in simple_object_set_big_64()
[all …]
/dragonfly/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()
289 simple_object_set_big_32 (unsigned char *buf, unsigned int val) in simple_object_set_big_32()
329 simple_object_set_big_64 (unsigned char *buf, ulong_type val) in simple_object_set_big_64()
[all …]
/dragonfly/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()
295 simple_object_set_big_32 (unsigned char *buf, unsigned int val) in simple_object_set_big_32()
335 simple_object_set_big_64 (unsigned char *buf, ulong_type val) in simple_object_set_big_64()
[all …]
/dragonfly/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()
288 simple_object_set_big_32 (unsigned char *buf, unsigned int val) in simple_object_set_big_32()
328 simple_object_set_big_64 (unsigned char *buf, ulong_type val) in simple_object_set_big_64()
[all …]
/dragonfly/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()
295 simple_object_set_big_32 (unsigned char *buf, unsigned int val) in simple_object_set_big_32()
335 simple_object_set_big_64 (unsigned char *buf, ulong_type val) in simple_object_set_big_64()
[all …]
/dragonfly/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 …]
/dragonfly/contrib/smbfs/include/netsmb/
H A Dsmb_lib.h64 #define setb(buf,ofs,val) (((u_int8_t*)(buf))[ofs])=val argument
65 #define getbw(buf,ofs) ((u_int16_t)(getb(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
77 #define setwbe(buf,ofs,val) getwle(buf,ofs)=htons(val) argument
78 #define setdle(buf,ofs,val) getdle(buf,ofs)=val argument
79 #define setdbe(buf,ofs,val) getdle(buf,ofs)=htonl(val) argument
84 #define getdle(buf,ofs) ((u_int32_t)(getb(buf, ofs) | \ argument
94 #define setwbe(buf,ofs,val) getwle(buf,ofs)=val argument
[all …]
/dragonfly/contrib/wpa_supplicant/src/ap/
H A Dgas_serv.c162 struct wpabuf *buf) in anqp_add_hs_capab_list()
243 struct wpabuf *buf) in anqp_add_capab_list()
374 struct wpabuf *buf) in anqp_add_roaming_consortium()
446 struct wpabuf *buf, in hs20_add_nai_home_realm_matches()
578 struct wpabuf *buf) in anqp_add_3gpp_cellular_network()
609 struct wpabuf *buf) in anqp_add_fils_realm_info()
664 struct wpabuf *buf) in anqp_add_wan_metrics()
679 struct wpabuf *buf) in anqp_add_connection_capability()
793 struct wpabuf *buf) in anqp_add_osu_providers_list()
980 struct wpabuf *buf; in gas_serv_build_gas_resp_payload() local
[all …]
/dragonfly/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 …]
/dragonfly/sbin/dhclient/
H A Dprivsep.h22 struct buf { struct
23 u_char *buf; argument
42 struct buf *buf_open(size_t); argument
/dragonfly/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 …]
/dragonfly/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
/dragonfly/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()
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()
368 set_nonblock (struct buffer *buf) in set_nonblock()
389 set_block (struct buffer *buf) in set_block()
715 buf_length (struct buffer *buf) in buf_length()
1246 buf_get_fd (struct buffer *buf) in buf_get_fd()
1257 buf_shutdown (struct buffer *buf) in buf_shutdown()
[all …]
/dragonfly/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()
/dragonfly/include/rpc/
H A Dxdr.h260 #define IXDR_GET_U_INT32(buf) ((uint32_t)IXDR_GET_INT32(buf)) 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
270 #define IXDR_GET_U_SHORT(buf) ((u_short)IXDR_GET_LONG(buf)) argument
272 #define IXDR_PUT_BOOL(buf, v) IXDR_PUT_LONG((buf), (v)) argument
273 #define IXDR_PUT_ENUM(buf, v) IXDR_PUT_LONG((buf), (v)) argument
274 #define IXDR_PUT_U_LONG(buf, v) IXDR_PUT_LONG((buf), (v)) argument
275 #define IXDR_PUT_SHORT(buf, v) IXDR_PUT_LONG((buf), (v)) argument
[all …]

12345678910>>...114