Home
last modified time | relevance | path

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

12345678910>>...190

/netbsd-src/external/bsd/tmux/dist/compat/
H A Dimsg-buffer.c56 struct ibuf *buf; in ibuf_open() local
77 struct ibuf *buf; in ibuf_dynamic() local
100 ibuf_realloc(struct ibuf *buf, size_t len) in ibuf_realloc()
120 ibuf_reserve(struct ibuf *buf, size_t len) in ibuf_reserve()
139 ibuf_add(struct ibuf *buf, const void *data, size_t len) in ibuf_add()
151 ibuf_add_ibuf(struct ibuf *buf, const struct ibuf *from) in ibuf_add_ibuf()
158 ibuf_add_buf(struct ibuf *buf, const struct ibuf *from) in ibuf_add_buf()
164 ibuf_add_n8(struct ibuf *buf, uint64_t value) in ibuf_add_n8()
177 ibuf_add_n16(struct ibuf *buf, uint64_t value) in ibuf_add_n16()
190 ibuf_add_n32(struct ibuf *buf, uint64_t value) in ibuf_add_n32()
[all …]
/netbsd-src/sys/arch/ia64/unwind/
H A Ddecode.c19 unwind_decode_ule128(char *buf, unsigned long *val) in unwind_decode_ule128()
40 unwind_decode_R1(char *buf, union unwind_desc *uwd) in unwind_decode_R1()
51 unwind_decode_R2(char *buf, union unwind_desc *uwd) in unwind_decode_R2()
65 unwind_decode_R3(char *buf, union unwind_desc *uwd) in unwind_decode_R3()
78 unwind_decode_P1(char *buf, union unwind_desc *uwd) in unwind_decode_P1()
90 unwind_decode_P2(char *buf, union unwind_desc *uwd) in unwind_decode_P2()
102 unwind_decode_P3(char *buf, union unwind_desc *uwd) in unwind_decode_P3()
114 unwind_decode_P4(char *buf, union unwind_desc *uwd, vsize_t len) in unwind_decode_P4()
129 unwind_decode_P5(char *buf, union unwind_desc *uwd) in unwind_decode_P5()
141 unwind_decode_P6(char *buf, union unwind_desc *uwd) in unwind_decode_P6()
[all …]
/netbsd-src/sys/sys/
H A Dbuf.h114 struct buf { struct
116 TAILQ_ENTRY(buf) u_actq; argument
125 void (*b_iodone)(struct buf *);/* b: call when done */ argument
130 int b_bufsize; /* b: allocated size */ argument
131 int b_bcount; /* b: valid bytes in buffer */ argument
151 kcondvar_t b_busy; /* c: threads waiting on buf */ argument
153 LIST_ENTRY(buf) b_hash; /* c: hash chain */ argument
174 * These flags are kept in b_cflags (owned by buffer cache). argument
/netbsd-src/sys/arch/alpha/stand/standtest/
H A Dtest.c129 advance_past_space(const char *buf) in advance_past_space()
142 cvt_number(const char *buf, u_int64_t *nump) in cvt_number()
174 dispatch_cmd(const char *buf, const struct cmdtab *cmds) in dispatch_cmd()
253 warn_ignored_args(const char *buf, const char *cmd) in warn_ignored_args()
267 toplevel_dpb(const char *buf) in toplevel_dpb()
301 toplevel_dpl(const char *buf) in toplevel_dpl()
308 toplevel_dpq(const char *buf) in toplevel_dpq()
315 toplevel_dpw(const char *buf) in toplevel_dpw()
322 toplevel_dvb(const char *buf) in toplevel_dvb()
329 toplevel_dvl(const char *buf) in toplevel_dvl()
[all …]
/netbsd-src/crypto/external/bsd/openssh/dist/
H A Dsshbuf-getput-basic.c33 sshbuf_get(struct sshbuf *buf, void *v, size_t len) in sshbuf_get()
46 sshbuf_get_u64(struct sshbuf *buf, u_int64_t *valp) in sshbuf_get_u64()
59 sshbuf_get_u32(struct sshbuf *buf, u_int32_t *valp) in sshbuf_get_u32()
72 sshbuf_get_u16(struct sshbuf *buf, u_int16_t *valp) in sshbuf_get_u16()
85 sshbuf_get_u8(struct sshbuf *buf, u_char *valp) in sshbuf_get_u8()
98 check_offset(const struct sshbuf *buf, int wr, size_t offset, size_t len) in check_offset()
112 check_roffset(const struct sshbuf *buf, size_t offset, size_t len, in check_roffset()
125 sshbuf_peek_u64(const struct sshbuf *buf, size_t offset, u_int64_t *valp) in sshbuf_peek_u64()
140 sshbuf_peek_u32(const struct sshbuf *buf, size_t offset, u_int32_t *valp) in sshbuf_peek_u32()
155 sshbuf_peek_u16(const struct sshbuf *buf, size_t offset, u_int16_t *valp) in sshbuf_peek_u16()
[all …]
/netbsd-src/usr.bin/make/
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()
/netbsd-src/external/bsd/wpa/dist/src/utils/
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 …]
/netbsd-src/external/gpl3/binutils/dist/opcodes/
H A Dz80-dis.c80 mach_inst (struct buffer *buf, const struct tab_elt *p) in mach_inst()
86 fetch_data (struct buffer *buf, disassemble_info * info, int n) in fetch_data()
104 prt (struct buffer *buf, disassemble_info * info, const char *txt) in prt()
112 prt_e (struct buffer *buf, disassemble_info * info, const char *txt) in prt_e()
131 jr_cc (struct buffer *buf, disassemble_info * info, const char *txt) in jr_cc()
140 prt_nn (struct buffer *buf, disassemble_info * info, const char *txt) in prt_nn()
162 prt_rr_nn (struct buffer *buf, disassemble_info * info, const char *txt) in prt_rr_nn()
173 prt_rr (struct buffer *buf, disassemble_info * info, const char *txt) in prt_rr()
182 prt_n (struct buffer *buf, disassemble_info * info, const char *txt) in prt_n()
202 prt_n_n (struct buffer *buf, disassemble_info * info, const char *txt) in prt_n_n()
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/opcodes/
H A Dz80-dis.c80 mach_inst (struct buffer *buf, const struct tab_elt *p) in mach_inst()
86 fetch_data (struct buffer *buf, disassemble_info * info, int n) in fetch_data()
104 prt (struct buffer *buf, disassemble_info * info, const char *txt) in prt()
112 prt_e (struct buffer *buf, disassemble_info * info, const char *txt) in prt_e()
131 jr_cc (struct buffer *buf, disassemble_info * info, const char *txt) in jr_cc()
140 prt_nn (struct buffer *buf, disassemble_info * info, const char *txt) in prt_nn()
162 prt_rr_nn (struct buffer *buf, disassemble_info * info, const char *txt) in prt_rr_nn()
173 prt_rr (struct buffer *buf, disassemble_info * info, const char *txt) in prt_rr()
182 prt_n (struct buffer *buf, disassemble_info * info, const char *txt) in prt_n()
202 prt_n_n (struct buffer *buf, disassemble_info * info, const char *txt) in prt_n_n()
[all …]
/netbsd-src/external/public-domain/xz/dist/src/common/
H A Dtuklib_integer.h188 read16be(const uint8_t *buf) in read16be()
196 read16le(const uint8_t *buf) in read16le()
204 read32be(const uint8_t *buf) in read32be()
212 read32le(const uint8_t *buf) in read32le()
220 read64be(const uint8_t *buf) in read64be()
228 read64le(const uint8_t *buf) in read64le()
241 #define write16be(buf, num) write16ne((buf), conv16be(num)) argument
242 #define write16le(buf, num) write16ne((buf), conv16le(num)) argument
243 #define write32be(buf, num) write32ne((buf), conv32be(num)) argument
244 #define write32le(buf, num) write32ne((buf), conv32le(num)) argument
[all …]
/netbsd-src/usr.bin/xlint/common/
H A Dtyname.c102 buf_init(buffer * buf) buf_init() argument
111 buf_done(buffer * buf) buf_done() argument
117 buf_add_mem(buffer * buf,const char * s,size_t n) buf_add_mem() argument
131 buf_add_char(buffer * buf,char c) buf_add_char() argument
138 buf_add(buffer * buf,const char * s) buf_add() argument
144 buf_add_int(buffer * buf,int n) buf_add_int() argument
161 type_name_of_function(buffer * buf,const type_t * tp) type_name_of_function() argument
196 type_name_of_struct_or_union(buffer * buf,const type_t * tp) type_name_of_struct_or_union() argument
213 type_name_of_enum(buffer * buf,const type_t * tp) type_name_of_enum() argument
230 type_name_of_array(buffer * buf,const type_t * tp) type_name_of_array() argument
250 buffer buf; type_name() local
[all...]
/netbsd-src/sys/arch/sh3/sh3/
H A Ddb_disasm.c176 get_opcode(const uint16_t *pc, char *buf, size_t len) in get_opcode()
192 f_02(const uint16_t *pc, char *buf, size_t len) in f_02()
242 f_03(const uint16_t *pc, char *buf, size_t len) in f_03()
276 f_04(const uint16_t *pc, char *buf, size_t len) in f_04()
305 f_08(const uint16_t *pc, char *buf, size_t len) in f_08()
353 f_09(const uint16_t *pc, char *buf, size_t len) in f_09()
381 f_0a(const uint16_t *pc, char *buf, size_t len) in f_0a()
422 f_0b(const uint16_t *pc, char *buf, size_t len) in f_0b()
448 f_0c(const uint16_t *pc, char *buf, size_t len) in f_0c()
477 f_10(const uint16_t *pc, char *buf, size_t len) in f_10()
[all …]
/netbsd-src/external/bsd/flex/dist/src/
H A Dbuf.c58 struct Buf *buf_print_strings(struct Buf * buf, FILE* out) in buf_print_strings()
74 struct Buf *buf_prints (struct Buf *buf, const char *fmt, const char *s) in buf_prints()
95 struct Buf *buf_linedir (struct Buf *buf, const char* filename, int lineno) in buf_linedir()
136 struct Buf *buf_strnappend (struct Buf *buf, const char *str, int n) in buf_strnappend()
147 struct Buf *buf_strappend (struct Buf *buf, const char *str) in buf_strappend()
153 struct Buf *buf_strdefine (struct Buf *buf, const char *str, const char *def) in buf_strdefine()
170 struct Buf *buf_m4_define (struct Buf *buf, const char* def, const char* val) in buf_m4_define()
192 struct Buf *buf_m4_undefine (struct Buf *buf, const char* def) in buf_m4_undefine()
209 void buf_init (struct Buf *buf, size_t elem_size) in buf_init()
218 void buf_destroy (struct Buf *buf) in buf_destroy()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/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 …]
/netbsd-src/external/gpl3/binutils/dist/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 …]
/netbsd-src/external/gpl3/gcc/dist/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 …]
/netbsd-src/external/gpl3/binutils.old/dist/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 …]
/netbsd-src/external/bsd/pam-u2f/dist/fuzz/
H A Dpack.c9 static int do_unpack(const uint8_t **buf, size_t *rem, uint8_t *dst, in do_unpack()
19 static int do_pack(uint8_t **buf, size_t *rem, const uint8_t *src, in do_pack()
29 int pack_u32(uint8_t **buf, size_t *rem, uint32_t val) { in pack_u32()
34 int unpack_u32(const uint8_t **buf, size_t *rem, uint32_t *val) { in unpack_u32()
41 int pack_blob(uint8_t **buf, size_t *rem, const struct blob *b) { in pack_blob()
49 int unpack_blob(const uint8_t **buf, size_t *rem, struct blob *b) { in unpack_blob()
60 int pack_string(uint8_t **buf, size_t *rem, const char *s) { in pack_string()
70 int unpack_string(const uint8_t **buf, size_t *rem, char *s) { in unpack_string()
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
H A Damdgpu_pm.c164 char *buf) in amdgpu_get_dpm_state()
199 const char *buf, in amdgpu_set_dpm_state()
304 char *buf) in amdgpu_get_dpm_forced_performance_level()
342 const char *buf, in amdgpu_set_dpm_forced_performance_level()
437 char *buf) in amdgpu_get_pp_num_states()
471 char *buf) in amdgpu_get_pp_cur_state()
514 char *buf) in amdgpu_get_pp_force_state()
530 const char *buf, in amdgpu_set_pp_force_state()
590 char *buf) in amdgpu_get_pp_table()
632 const char *buf, in amdgpu_set_pp_table()
[all …]
/netbsd-src/usr.bin/fmt/
H A Dbuffer.h46 buf_init(struct buffer *buf) in buf_init()
55 buf_end(struct buffer *buf) in buf_end()
61 buf_grow(struct buffer *buf, size_t minsize) in buf_grow()
83 buf_putc(struct buffer *buf, wchar_t c) in buf_putc()
91 buf_reset(struct buffer *buf) in buf_reset()
97 buf_unputc(struct buffer *buf) in buf_unputc()
/netbsd-src/sys/net/agr/
H A Dieee8023ad_lacp_debug.c50 lacp_format_mac(const uint8_t *mac, char *buf, size_t buflen) in lacp_format_mac()
66 char *buf, size_t buflen) in lacp_format_systemid()
78 lacp_format_portid(const struct lacp_portid *portid, char *buf, size_t buflen) in lacp_format_portid()
89 lacp_format_partner(const struct lacp_peerinfo *peer, char *buf, size_t buflen) in lacp_format_partner()
104 const struct lacp_peerinfo *b, char *buf, size_t buflen) in lacp_format_lagid()
133 char *buf, size_t buflen) in lacp_format_lagid_aggregator()
144 lacp_format_state(uint8_t state, char *buf, size_t buflen) in lacp_format_state()
156 char buf[LACP_PARTNERSTR_MAX+1]; in lacp_dump_lacpdu() local
/netbsd-src/external/gpl3/gcc.old/dist/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
/netbsd-src/external/gpl3/gcc/dist/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
/netbsd-src/external/bsd/wpa/dist/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 …]
/netbsd-src/tests/lib/libbluetooth/
H A Dt_sdp_put.c48 uint8_t buf[256]; in ATF_TC_BODY() local
81 uint8_t buf[256]; in ATF_TC_BODY() local
114 uint8_t buf[256]; in ATF_TC_BODY() local
172 uint8_t buf[256]; in ATF_TC_BODY() local
197 uint8_t buf[256]; in ATF_TC_BODY() local
223 uint8_t buf[256]; in ATF_TC_BODY() local
260 uint8_t buf[256]; in ATF_TC_BODY() local
287 uint8_t buf[256]; in ATF_TC_BODY() local
332 uint8_t buf[256]; in ATF_TC_BODY() local
359 uint8_t buf[256]; in ATF_TC_BODY() local
[all …]

12345678910>>...190