Home
last modified time | relevance | path

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

12345678910>>...240

/third_party/python/Modules/_blake2/impl/
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 …]
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 …]
/third_party/libunwind/libunwind/tests/
DLrs-race.c49 void *buf[20]; in foo_0() local
59 void *buf[20]; in foo_1() local
69 void *buf[20]; in foo_2() local
79 void *buf[20]; in foo_3() local
89 void *buf[20]; in foo_4() local
99 void *buf[20]; in foo_5() local
109 void *buf[20]; in foo_6() local
119 void *buf[20]; in foo_7() local
129 void *buf[20]; in foo_8() local
139 void *buf[20]; in foo_9() local
[all …]
/third_party/mesa3d/src/util/
Du_dynarray.h54 util_dynarray_init(struct util_dynarray *buf, void *mem_ctx) in util_dynarray_init()
61 util_dynarray_fini(struct util_dynarray *buf) in util_dynarray_fini()
74 util_dynarray_clear(struct util_dynarray *buf) in util_dynarray_clear()
82 util_dynarray_ensure_cap(struct util_dynarray *buf, unsigned newcap) in util_dynarray_ensure_cap()
105 util_dynarray_resize_bytes(struct util_dynarray *buf, unsigned nelts, size_t eltsize) in util_dynarray_resize_bytes()
121 util_dynarray_clone(struct util_dynarray *buf, void *mem_ctx, in util_dynarray_clone()
130 util_dynarray_grow_bytes(struct util_dynarray *buf, unsigned ngrow, size_t eltsize) in util_dynarray_grow_bytes()
149 util_dynarray_trim(struct util_dynarray *buf) in util_dynarray_trim()
171 #define util_dynarray_append(buf, type, v) do {type __v = (v); memcpy(util_dynarray_grow_bytes((buf… argument
173 #define util_dynarray_resize(buf, type, nelts) util_dynarray_resize_bytes(buf, (nelts), sizeof(type… argument
[all …]
Du_idalloc.c40 util_idalloc_resize(struct util_idalloc *buf, unsigned new_num_elements) in util_idalloc_resize()
51 util_idalloc_init(struct util_idalloc *buf, unsigned initial_num_ids) in util_idalloc_init()
59 util_idalloc_fini(struct util_idalloc *buf) in util_idalloc_fini()
66 util_idalloc_alloc(struct util_idalloc *buf) in util_idalloc_alloc()
89 find_free_block(struct util_idalloc *buf, unsigned start) in find_free_block()
100 util_idalloc_alloc_range(struct util_idalloc *buf, unsigned num) in util_idalloc_alloc_range()
145 util_idalloc_free(struct util_idalloc *buf, unsigned id) in util_idalloc_free()
154 util_idalloc_reserve(struct util_idalloc *buf, unsigned id) in util_idalloc_reserve()
162 util_idalloc_mt_init(struct util_idalloc_mt *buf, in util_idalloc_mt_init()
177 util_idalloc_mt_init_tc(struct util_idalloc_mt *buf) in util_idalloc_mt_init_tc()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/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()
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 …]
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 …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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 …]
/third_party/node/deps/cares/src/lib/
Dares__buf.c91 ares__buf_t *buf = ares_malloc_zero(sizeof(*buf)); in ares__buf_create() local
102 ares__buf_t *buf; in ares__buf_create_const() local
119 void ares__buf_destroy(ares__buf_t *buf) in ares__buf_destroy()
128 static ares_bool_t ares__buf_is_const(const ares__buf_t *buf) in ares__buf_is_const()
141 void ares__buf_reclaim(ares__buf_t *buf) in ares__buf_reclaim()
183 static ares_status_t ares__buf_ensure_space(ares__buf_t *buf, in ares__buf_ensure_space()
242 ares_status_t ares__buf_set_length(ares__buf_t *buf, size_t len) in ares__buf_set_length()
256 ares_status_t ares__buf_append(ares__buf_t *buf, const unsigned char *data, in ares__buf_append()
275 ares_status_t ares__buf_append_byte(ares__buf_t *buf, unsigned char byte) in ares__buf_append_byte()
280 ares_status_t ares__buf_append_be16(ares__buf_t *buf, unsigned short u16) in ares__buf_append_be16()
[all …]
Dares_dns_write.c36 ares__buf_t *buf) in ares_dns_write_header()
138 ares__buf_t *buf) in ares_dns_write_questions()
175 static ares_status_t ares_dns_write_rr_name(ares__buf_t *buf, in ares_dns_write_rr_name()
191 static ares_status_t ares_dns_write_rr_str(ares__buf_t *buf, in ares_dns_write_rr_str()
223 static ares_status_t ares_dns_write_rr_binstrs(ares__buf_t *buf, in ares_dns_write_rr_binstrs()
267 static ares_status_t ares_dns_write_rr_be32(ares__buf_t *buf, in ares_dns_write_rr_be32()
277 static ares_status_t ares_dns_write_rr_be16(ares__buf_t *buf, in ares_dns_write_rr_be16()
287 static ares_status_t ares_dns_write_rr_u8(ares__buf_t *buf, in ares_dns_write_rr_u8()
297 static ares_status_t ares_dns_write_rr_a(ares__buf_t *buf, in ares_dns_write_rr_a()
312 static ares_status_t ares_dns_write_rr_ns(ares__buf_t *buf, in ares_dns_write_rr_ns()
[all …]
Dares_dns_parse.c34 static size_t ares_dns_rr_remaining_len(const ares__buf_t *buf, size_t orig_len, in ares_dns_rr_remaining_len()
44 static ares_status_t ares_dns_parse_and_set_dns_name(ares__buf_t *buf, in ares_dns_parse_and_set_dns_name()
66 ares__buf_t *buf, size_t max_len, ares_bool_t allow_multiple, in ares_dns_parse_and_set_dns_str()
91 ares_dns_parse_and_set_dns_binstr(ares__buf_t *buf, size_t max_len, in ares_dns_parse_and_set_dns_binstr()
113 static ares_status_t ares_dns_parse_and_set_be32(ares__buf_t *buf, in ares_dns_parse_and_set_be32()
128 static ares_status_t ares_dns_parse_and_set_be16(ares__buf_t *buf, in ares_dns_parse_and_set_be16()
143 static ares_status_t ares_dns_parse_and_set_u8(ares__buf_t *buf, in ares_dns_parse_and_set_u8()
158 static ares_status_t ares_dns_parse_rr_a(ares__buf_t *buf, ares_dns_rr_t *rr, in ares_dns_parse_rr_a()
174 static ares_status_t ares_dns_parse_rr_ns(ares__buf_t *buf, ares_dns_rr_t *rr, in ares_dns_parse_rr_ns()
183 static ares_status_t ares_dns_parse_rr_cname(ares__buf_t *buf, in ares_dns_parse_rr_cname()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/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 …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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 …]
/third_party/musl/libc-test/src/functionalext/unittest/
Dunit_test_hilog_vsnprint_f_p.c43 char buf[MAX_LOG_LEN] = {0}; in vsnprintfp_s_0010() local
57 char *buf = NULL; in vsnprintfp_s_0020() local
70 char buf[MAX_LOG_LEN] = {0}; in vsnprintfp_s_0030() local
84 char buf[MAX_LOG_LEN] = {0}; in vsnprintfp_s_0040() local
98 char buf[MAX_LOG_LEN] = {0}; in vsnprintfp_s_0050() local
112 char buf[MAX_LOG_LEN] = {0}; in vsnprintfp_s_0060() local
126 char buf[MAX_LOG_LEN] = {0}; in vsnprintfp_s_0070() local
140 char buf[MAX_LOG_LEN] = {0}; in vsnprintfp_s_0080() local
153 char buf[2] = {0}; in vsnprintfp_s_0090() local
166 char buf[MAX_LOG_LEN] = {0}; in vsnprintfp_s_0100() local
[all …]
/third_party/node/test/parallel/
Dtest-buffer-swap.js8 const buf = Buffer.from([0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, constant
31 const buf = Buffer.from([0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7]); constant
52 const buf = Buffer.from([0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, constant
70 const buf = Buffer.from(bufData.buffer, bufData.byteOffset); constant
79 const buf = Buffer.from(bufData.buffer); constant
93 const buf = Buffer.from(bufData.buffer, bufData.byteOffset); constant
109 const buf = Buffer.from(bufData.buffer, bufData.byteOffset); constant
127 const buf = Buffer.from(bufData.buffer, bufData.byteOffset); constant
145 const buf = Buffer.from(bufData.buffer, bufData.byteOffset); constant
/third_party/lwip/src/include/lwip/
Dnetbuf.h88 #define netbuf_copy_partial(buf, dataptr, len, offset) \ argument
90 #define netbuf_copy(buf,dataptr,len) netbuf_copy_partial(buf, dataptr, len, 0) argument
91 #define netbuf_take(buf, dataptr, len) pbuf_take((buf)->p, dataptr, len) argument
92 #define netbuf_len(buf) ((buf)->p->tot_len) argument
93 #define netbuf_fromaddr(buf) (&((buf)->addr)) argument
94 #define netbuf_set_fromaddr(buf, fromaddr) ip_addr_set(&((buf)->addr), fromaddr) argument
95 #define netbuf_fromport(buf) ((buf)->port) argument
97 #define netbuf_destaddr(buf) (&((buf)->toaddr)) argument
98 #define netbuf_set_destaddr(buf, destaddr) ip_addr_set(&((buf)->toaddr), destaddr) argument
100 #define netbuf_destport(buf) (((buf)->flags & NETBUF_FLAG_DESTADDR) ? (buf)->toport_chksum … argument
[all …]
/third_party/lwip/src/api/
Dnetbuf.c65 struct netbuf *buf; in netbuf_new() local
81 netbuf_delete(struct netbuf *buf) in netbuf_delete()
102 netbuf_alloc(struct netbuf *buf, u16_t size) in netbuf_alloc()
127 netbuf_free(struct netbuf *buf) in netbuf_free()
151 netbuf_ref(struct netbuf *buf, const void *dataptr, u16_t size) in netbuf_ref()
196 netbuf_data(struct netbuf *buf, void **dataptr, u16_t *len) in netbuf_data()
222 netbuf_next(struct netbuf *buf) in netbuf_next()
244 netbuf_first(struct netbuf *buf) in netbuf_first()
/third_party/node/deps/ngtcp2/nghttp3/lib/
Dnghttp3_buf.c28 void nghttp3_buf_init(nghttp3_buf *buf) { in nghttp3_buf_init()
32 void nghttp3_buf_wrap_init(nghttp3_buf *buf, uint8_t *src, size_t len) { in nghttp3_buf_wrap_init()
37 void nghttp3_buf_free(nghttp3_buf *buf, const nghttp3_mem *mem) { in nghttp3_buf_free()
41 size_t nghttp3_buf_left(const nghttp3_buf *buf) { in nghttp3_buf_left()
45 size_t nghttp3_buf_len(const nghttp3_buf *buf) { in nghttp3_buf_len()
49 size_t nghttp3_buf_cap(const nghttp3_buf *buf) { in nghttp3_buf_cap()
53 void nghttp3_buf_reset(nghttp3_buf *buf) { buf->pos = buf->last = buf->begin; } in nghttp3_buf_reset()
55 int nghttp3_buf_reserve(nghttp3_buf *buf, size_t size, const nghttp3_mem *mem) { in nghttp3_buf_reserve()
86 void nghttp3_typed_buf_init(nghttp3_typed_buf *tbuf, const nghttp3_buf *buf, in nghttp3_typed_buf_init()
/third_party/bounds_checking_function/src/
Dsecurecutil.h330 unsigned char buf[2]; /* Performance optimization code structure assignment length 2 bytes */ member
333 unsigned char buf[3]; /* Performance optimization code structure assignment length 3 bytes */ member
336 unsigned char buf[4]; /* Performance optimization code structure assignment length 4 bytes */ member
339 unsigned char buf[5]; /* Performance optimization code structure assignment length 5 bytes */ member
342 unsigned char buf[6]; /* Performance optimization code structure assignment length 6 bytes */ member
345 unsigned char buf[7]; /* Performance optimization code structure assignment length 7 bytes */ member
348 unsigned char buf[8]; /* Performance optimization code structure assignment length 8 bytes */ member
351 unsigned char buf[9]; /* Performance optimization code structure assignment length 9 bytes */ member
354 unsigned char buf[10]; /* Performance optimization code structure assignment length 10 bytes */ member
357 unsigned char buf[11]; /* Performance optimization code structure assignment length 11 bytes */ member
[all …]
/third_party/node/deps/npm/node_modules/sigstore/dist/util/asn1/
Dparse.js23 function parseInteger(buf) { argument
49 function parseStringASCII(buf) { argument
55 function parseTime(buf, shortYear) { argument
76 function parseOID(buf) { argument
101 function parseBoolean(buf) { argument
107 function parseBitString(buf) { argument
/third_party/node/deps/npm/node_modules/@sigstore/core/dist/asn1/
Dparse.js23 function parseInteger(buf) { argument
49 function parseStringASCII(buf) { argument
55 function parseTime(buf, shortYear) { argument
76 function parseOID(buf) { argument
101 function parseBoolean(buf) { argument
107 function parseBitString(buf) { argument
/third_party/cups-filters/fontembed/
Dsfnt_int.h4 static inline unsigned short get_USHORT(const char *buf) // {{{ in get_USHORT()
9 static inline short get_SHORT(const char *buf) // {{{ in get_SHORT()
14 static inline unsigned int get_UINT24(const char *buf) // {{{ in get_UINT24()
21 static inline unsigned int get_ULONG(const char *buf) // {{{ in get_ULONG()
29 static inline int get_LONG(const char *buf) // {{{ in get_LONG()
38 static inline void set_USHORT(char *buf,unsigned short val) // {{{ in set_USHORT()
44 static inline void set_ULONG(char *buf,unsigned int val) // {{{ in set_ULONG()
53 static inline unsigned int otf_checksum(const char *buf, unsigned int len) // {{{ in otf_checksum()
/third_party/ffmpeg/libavutil/
Dbprint.c33 #define av_bprint_room(buf) ((buf)->size - FFMIN((buf)->len, (buf)->size)) argument
34 #define av_bprint_is_allocated(buf) ((buf)->str != (buf)->reserved_internal_buffer) argument
36 static int av_bprint_alloc(AVBPrint *buf, unsigned room) in av_bprint_alloc()
60 static void av_bprint_grow(AVBPrint *buf, unsigned extra_len) in av_bprint_grow()
69 void av_bprint_init(AVBPrint *buf, unsigned size_init, unsigned size_max) in av_bprint_init()
85 void av_bprint_init_for_buffer(AVBPrint *buf, char *buffer, unsigned size) in av_bprint_init_for_buffer()
94 void av_bprintf(AVBPrint *buf, const char *fmt, ...) in av_bprintf()
117 void av_vbprintf(AVBPrint *buf, const char *fmt, va_list vl_arg) in av_vbprintf()
140 void av_bprint_chars(AVBPrint *buf, char c, unsigned n) in av_bprint_chars()
158 void av_bprint_append_data(AVBPrint *buf, const char *data, unsigned size) in av_bprint_append_data()
[all …]

12345678910>>...240