Home
last modified time | relevance | path

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

12345678910>>...197

/external/python/cpython3/Modules/_blake2/impl/
Dblake2s-load-sse41.h19 #define LOAD_MSG_0_1(buf) \ argument
22 #define LOAD_MSG_0_2(buf) \ argument
25 #define LOAD_MSG_0_3(buf) \ argument
28 #define LOAD_MSG_0_4(buf) \ argument
31 #define LOAD_MSG_1_1(buf) \ argument
37 #define LOAD_MSG_1_2(buf) \ argument
43 #define LOAD_MSG_1_3(buf) \ argument
49 #define LOAD_MSG_1_4(buf) \ argument
55 #define LOAD_MSG_2_1(buf) \ argument
61 #define LOAD_MSG_2_2(buf) \ argument
[all …]
Dblake2s-load-sse2.h19 #define LOAD_MSG_0_1(buf) buf = _mm_set_epi32(m6,m4,m2,m0) argument
20 #define LOAD_MSG_0_2(buf) buf = _mm_set_epi32(m7,m5,m3,m1) argument
21 #define LOAD_MSG_0_3(buf) buf = _mm_set_epi32(m14,m12,m10,m8) argument
22 #define LOAD_MSG_0_4(buf) buf = _mm_set_epi32(m15,m13,m11,m9) argument
23 #define LOAD_MSG_1_1(buf) buf = _mm_set_epi32(m13,m9,m4,m14) argument
24 #define LOAD_MSG_1_2(buf) buf = _mm_set_epi32(m6,m15,m8,m10) argument
25 #define LOAD_MSG_1_3(buf) buf = _mm_set_epi32(m5,m11,m0,m1) argument
26 #define LOAD_MSG_1_4(buf) buf = _mm_set_epi32(m3,m7,m2,m12) argument
27 #define LOAD_MSG_2_1(buf) buf = _mm_set_epi32(m15,m5,m12,m11) argument
28 #define LOAD_MSG_2_2(buf) buf = _mm_set_epi32(m13,m2,m0,m8) argument
[all …]
Dblake2s-load-xop.h34 #define LOAD_MSG_0_1(buf) \ argument
37 #define LOAD_MSG_0_2(buf) \ argument
40 #define LOAD_MSG_0_3(buf) \ argument
43 #define LOAD_MSG_0_4(buf) \ argument
46 #define LOAD_MSG_1_1(buf) \ argument
50 #define LOAD_MSG_1_2(buf) \ argument
54 #define LOAD_MSG_1_3(buf) \ argument
58 #define LOAD_MSG_1_4(buf) \ argument
62 #define LOAD_MSG_2_1(buf) \ argument
66 #define LOAD_MSG_2_2(buf) \ argument
[all …]
/external/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 …]
/external/libxml2/
Dbuf.c60 #define UPDATE_COMPAT(buf) \ argument
71 #define CHECK_COMPAT(buf) \ argument
80 #define UPDATE_COMPAT(buf) argument
81 #define CHECK_COMPAT(buf) argument
92 xmlBufMemoryError(xmlBufPtr buf, const char *extra) in xmlBufMemoryError()
107 xmlBufOverflowError(xmlBufPtr buf, const char *extra) in xmlBufOverflowError()
196 xmlBufDetach(xmlBufPtr buf) { in xmlBufDetach()
267 xmlBufGetAllocationScheme(xmlBufPtr buf) { in xmlBufGetAllocationScheme()
288 xmlBufSetAllocationScheme(xmlBufPtr buf, in xmlBufSetAllocationScheme()
329 xmlBufFree(xmlBufPtr buf) { in xmlBufFree()
[all …]
/external/mesa3d/src/util/
Du_dynarray.h53 util_dynarray_init(struct util_dynarray *buf, void *mem_ctx) in util_dynarray_init()
60 util_dynarray_fini(struct util_dynarray *buf) in util_dynarray_fini()
73 util_dynarray_clear(struct util_dynarray *buf) in util_dynarray_clear()
82 util_dynarray_resize(struct util_dynarray *buf, unsigned newsize) in util_dynarray_resize()
106 util_dynarray_grow(struct util_dynarray *buf, int diff) in util_dynarray_grow()
112 util_dynarray_trim(struct util_dynarray *buf) in util_dynarray_trim()
134 #define util_dynarray_append(buf, type, v) do {type __v = (v); memcpy(util_dynarray_grow((buf), siz… argument
135 #define util_dynarray_top_ptr(buf, type) (type*)((char*)(buf)->data + (buf)->size - sizeof(type)) argument
136 #define util_dynarray_top(buf, type) *util_dynarray_top_ptr(buf, type) argument
137 #define util_dynarray_pop_ptr(buf, type) (type*)((char*)(buf)->data + ((buf)->size -= sizeof(type))) argument
[all …]
/external/openssh/
Dsshbuf.c32 sshbuf_check_sanity(const struct sshbuf *buf) in sshbuf_check_sanity()
54 sshbuf_maybe_pack(struct sshbuf *buf, int force) in sshbuf_maybe_pack()
119 sshbuf_fromb(struct sshbuf *buf) in sshbuf_fromb()
148 sshbuf_free(struct sshbuf *buf) in sshbuf_free()
187 sshbuf_reset(struct sshbuf *buf) in sshbuf_reset()
208 sshbuf_max_size(const struct sshbuf *buf) in sshbuf_max_size()
214 sshbuf_alloc(const struct sshbuf *buf) in sshbuf_alloc()
220 sshbuf_parent(const struct sshbuf *buf) in sshbuf_parent()
226 sshbuf_refcount(const struct sshbuf *buf) in sshbuf_refcount()
232 sshbuf_set_max_size(struct sshbuf *buf, size_t max_size) in sshbuf_set_max_size()
[all …]
Dsshbuf-getput-basic.c32 sshbuf_get(struct sshbuf *buf, void *v, size_t len) in sshbuf_get()
45 sshbuf_get_u64(struct sshbuf *buf, u_int64_t *valp) in sshbuf_get_u64()
58 sshbuf_get_u32(struct sshbuf *buf, u_int32_t *valp) in sshbuf_get_u32()
71 sshbuf_get_u16(struct sshbuf *buf, u_int16_t *valp) in sshbuf_get_u16()
84 sshbuf_get_u8(struct sshbuf *buf, u_char *valp) in sshbuf_get_u8()
97 sshbuf_get_string(struct sshbuf *buf, u_char **valp, size_t *lenp) in sshbuf_get_string()
124 sshbuf_get_string_direct(struct sshbuf *buf, const u_char **valp, size_t *lenp) in sshbuf_get_string_direct()
150 sshbuf_peek_string_direct(const struct sshbuf *buf, const u_char **valp, in sshbuf_peek_string_direct()
181 sshbuf_get_cstring(struct sshbuf *buf, char **valp, size_t *lenp) in sshbuf_get_cstring()
216 sshbuf_get_stringb(struct sshbuf *buf, struct sshbuf *v) in sshbuf_get_stringb()
[all …]
/external/adhd/cras/src/common/
Dbyte_buffer.h25 struct byte_buffer *buf; in byte_buffer_create() local
35 static inline void byte_buffer_set_used_size(struct byte_buffer *buf, in byte_buffer_set_used_size()
42 static inline void byte_buffer_destroy(struct byte_buffer **buf) in byte_buffer_destroy()
48 static inline unsigned int buf_writable(struct byte_buffer *buf) in buf_writable()
58 static inline unsigned int buf_readable(struct byte_buffer *buf) in buf_readable()
69 static inline unsigned int buf_queued(struct byte_buffer *buf) in buf_queued()
74 static inline unsigned int buf_available(const struct byte_buffer *buf) in buf_available()
79 static inline uint8_t *buf_read_pointer(struct byte_buffer *buf) in buf_read_pointer()
84 static inline uint8_t *buf_read_pointer_size(struct byte_buffer *buf, in buf_read_pointer_size()
91 static inline void buf_increment_read(struct byte_buffer *buf, size_t inc) in buf_increment_read()
[all …]
/external/wpa_supplicant_8/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 …]
/external/clang/test/Analysis/
Dout-of-bounds.c7 int buf[100]; in test1() local
12 int buf[100]; in test1_ok() local
36 int buf[100]; in test1_ptr() local
42 int buf[100]; in test1_ptr_ok() local
52 int buf[100]; in test1_ptr_arith() local
59 int buf[100]; in test1_ptr_arith_ok() local
66 int buf[100]; in test1_ptr_arith_bad() local
73 int buf[100]; in test1_ptr_arith_ok2() local
83 int buf[100]; in test2() local
92 int buf[100]; in test2_ptr() local
[all …]
Dmpichecker.cpp7 double buf = 0; in matchedWait1() local
21 double buf = 0; in matchedWait2() local
34 double buf = 0; in matchedWait3() local
52 double buf = 0; in missingWait1() local
59 double buf = 0; in missingWait2() local
73 double buf = 0; in doubleNonblocking() local
87 double buf = 0; in doubleNonblocking2() local
101 double buf = 0; in doubleNonblocking3() local
111 double buf = 0; in doubleNonblocking4() local
122 double buf = 0; in tripleNonblocking() local
[all …]
/external/kmod/shared/
Dstrbuf.c31 static bool buf_grow(struct strbuf *buf, size_t newsize) in buf_grow()
52 void strbuf_init(struct strbuf *buf) in strbuf_init()
59 void strbuf_release(struct strbuf *buf) in strbuf_release()
64 char *strbuf_steal(struct strbuf *buf) in strbuf_steal()
77 const char *strbuf_str(struct strbuf *buf) in strbuf_str()
85 bool strbuf_pushchar(struct strbuf *buf, char ch) in strbuf_pushchar()
94 unsigned strbuf_pushchars(struct strbuf *buf, const char *str) in strbuf_pushchars()
112 void strbuf_popchar(struct strbuf *buf) in strbuf_popchar()
118 void strbuf_popchars(struct strbuf *buf, unsigned n) in strbuf_popchars()
124 void strbuf_clear(struct strbuf *buf) in strbuf_clear()
/external/wpa_supplicant_8/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 …]
/external/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.cons/
Dstring.pass.cpp24 std::stringbuf buf("testing"); in main() local
28 std::stringbuf buf("testing", std::ios_base::in); in main() local
32 std::stringbuf buf("testing", std::ios_base::out); in main() local
36 std::wstringbuf buf(L"testing"); in main() local
40 std::wstringbuf buf(L"testing", std::ios_base::in); in main() local
44 std::wstringbuf buf(L"testing", std::ios_base::out); in main() local
Dmove.pass.cpp24 std::stringbuf buf(move(buf1)); in main() local
29 std::stringbuf buf(move(buf1)); in main() local
34 std::stringbuf buf(move(buf1)); in main() local
39 std::wstringbuf buf(move(buf1)); in main() local
44 std::wstringbuf buf(move(buf1)); in main() local
49 std::wstringbuf buf(move(buf1)); in main() local
/external/libxkbcommon/xkbcommon/src/xkbcomp/
Dkeymap-dump.c57 struct buf { struct
58 char *buf; argument
64 do_realloc(struct buf *buf, size_t at_least) in do_realloc()
81 check_write_buf(struct buf *buf, const char *fmt, ...) in check_write_buf()
118 #define write_buf(buf, ...) do { \ argument
124 write_vmods(struct xkb_keymap *keymap, struct buf *buf) in write_vmods()
148 write_keycodes(struct xkb_keymap *keymap, struct buf *buf) in write_keycodes()
191 write_types(struct xkb_keymap *keymap, struct buf *buf) in write_types()
244 write_led_map(struct xkb_keymap *keymap, struct buf *buf, in write_led_map()
292 write_action(struct xkb_keymap *keymap, struct buf *buf, in write_action()
[all …]
/external/libnetfilter_conntrack/src/conntrack/
Dsnprintf_default.c12 static int __snprintf_l3protocol(char *buf, in __snprintf_l3protocol()
22 int __snprintf_protocol(char *buf, in __snprintf_protocol()
32 static int __snprintf_timeout(char *buf, in __snprintf_timeout()
39 static int __snprintf_protoinfo(char *buf, in __snprintf_protoinfo()
49 static int __snprintf_protoinfo_sctp(char *buf, in __snprintf_protoinfo_sctp()
59 static int __snprintf_protoinfo_dccp(char *buf, in __snprintf_protoinfo_dccp()
69 static int __snprintf_address_ipv4(char *buf, in __snprintf_address_ipv4()
88 static int __snprintf_address_ipv6(char *buf, in __snprintf_address_ipv6()
117 int __snprintf_address(char *buf, in __snprintf_address()
139 int __snprintf_proto(char *buf, in __snprintf_proto()
[all …]
/external/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.assign/
Dmember_swap.pass.cpp24 std::stringbuf buf; in main() local
31 std::stringbuf buf; in main() local
38 std::stringbuf buf; in main() local
45 std::wstringbuf buf; in main() local
52 std::wstringbuf buf; in main() local
59 std::wstringbuf buf; in main() local
Dnonmember_swap.pass.cpp26 std::stringbuf buf; in main() local
33 std::stringbuf buf; in main() local
40 std::stringbuf buf; in main() local
47 std::wstringbuf buf; in main() local
54 std::wstringbuf buf; in main() local
61 std::wstringbuf buf; in main() local
Dmove.pass.cpp24 std::stringbuf buf; in main() local
30 std::stringbuf buf; in main() local
36 std::stringbuf buf; in main() local
42 std::wstringbuf buf; in main() local
48 std::wstringbuf buf; in main() local
54 std::wstringbuf buf; in main() local
/external/libxcam/xcore/
Dsmart_buffer_priv.cpp56 SmartBufferPriv::SmartBufferPriv (const SmartPtr<VideoBuffer> &buf) in SmartBufferPriv()
90 SmartBufferPriv *buf = (SmartBufferPriv*) data; in buf_ref() local
99 SmartBufferPriv *buf = (SmartBufferPriv*) data; in buf_unref() local
111 SmartBufferPriv *buf = (SmartBufferPriv*) data; in buf_map() local
119 SmartBufferPriv *buf = (SmartBufferPriv*) data; in buf_unmap() local
127 SmartBufferPriv *buf = (SmartBufferPriv*) data; in buf_get_fd() local
136 SmartBufferPriv *buf = (SmartBufferPriv*) data; in buf_get_bo() local
156 convert_to_external_buffer (const SmartPtr<VideoBuffer> &buf) in convert_to_external_buffer()
/external/libchrome/base/strings/
Dsafe_sprintf_unittest.cc31 char buf[2] = { 'X', 'X' }; in TEST() local
67 char ref[20], buf[20]; in TEST() local
131 char ref[20], buf[20]; in TEST() local
193 char buf[20]; in TEST() local
208 std::unique_ptr<char[]> buf(new char[sizeof(kTestString)]); in TEST() local
223 char buf[12]; in TEST() local
281 char buf[40]; in TEST() local
365 void PrintLongString(char* buf, size_t sz) { in PrintLongString()
490 char buf[sizeof(ref)]; in TEST() local
504 char buf[sizeof(ref)]; in TEST() local
[all …]
/external/perfetto/src/base/
Dstring_splitter_unittest.cc148 char buf[] = "\0x\0"; in TEST() local
154 char buf[] = "foo\nbar\n\nbaz\n"; in TEST() local
172 char buf[] = ""; in TEST() local
179 char buf[] = "\0"; in TEST() local
186 char buf[] = ",,foo,bar\0,baz"; in TEST() local
203 char buf[] = ",,a\0,b,"; in TEST() local
215 char buf[] = ",a,\0b"; in TEST() local
227 char buf[] = ",a\0\0,x\0\0b"; in TEST() local
272 char buf[] = "foo\0bar\0baz\0"; in TEST() local
293 char buf[] = "\0\0foo\0\0\0\0bar\0baz\0\0"; in TEST() local
[all …]

12345678910>>...197