Home
last modified time | relevance | path

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

12345678910>>...141

/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/gallium/auxiliary/util/
Du_dynarray.h47 util_dynarray_init(struct util_dynarray *buf) in util_dynarray_init()
53 util_dynarray_fini(struct util_dynarray *buf) in util_dynarray_fini()
64 util_dynarray_resize(struct util_dynarray *buf, unsigned newsize) in util_dynarray_resize()
82 util_dynarray_grow(struct util_dynarray *buf, int diff) in util_dynarray_grow()
88 util_dynarray_trim(struct util_dynarray *buf) in util_dynarray_trim()
103 #define util_dynarray_append(buf, type, v) do {type __v = (v); memcpy(util_dynarray_grow((buf), siz… argument
104 #define util_dynarray_top_ptr(buf, type) (type*)((char*)(buf)->data + (buf)->size - sizeof(type)) argument
105 #define util_dynarray_top(buf, type) *util_dynarray_top_ptr(buf, type) argument
106 #define util_dynarray_pop_ptr(buf, type) (type*)((char*)(buf)->data + ((buf)->size -= sizeof(type))) argument
107 #define util_dynarray_pop(buf, type) *util_dynarray_pop_ptr(buf, type) argument
[all …]
Du_debug_describe.c33 debug_describe_reference(char* buf, const struct pipe_reference*ptr) in debug_describe_reference()
39 debug_describe_resource(char* buf, const struct pipe_resource *ptr) in debug_describe_resource()
68 debug_describe_surface(char* buf, const struct pipe_surface *ptr) in debug_describe_surface()
76 debug_describe_sampler_view(char* buf, const struct pipe_sampler_view *ptr) in debug_describe_sampler_view()
84 debug_describe_so_target(char* buf, in debug_describe_so_target()
/external/wpa_supplicant_8/src/utils/
Dwpabuf.h23 u8 *buf; /* pointer to the head of the buffer */ member
47 static inline size_t wpabuf_size(const struct wpabuf *buf) in wpabuf_size()
57 static inline size_t wpabuf_len(const struct wpabuf *buf) in wpabuf_len()
67 static inline size_t wpabuf_tailroom(const struct wpabuf *buf) in wpabuf_tailroom()
77 static inline const void * wpabuf_head(const struct wpabuf *buf) in wpabuf_head()
82 static inline const u8 * wpabuf_head_u8(const struct wpabuf *buf) in wpabuf_head_u8()
92 static inline void * wpabuf_mhead(struct wpabuf *buf) in wpabuf_mhead()
97 static inline u8 * wpabuf_mhead_u8(struct wpabuf *buf) in wpabuf_mhead_u8()
102 static inline void wpabuf_put_u8(struct wpabuf *buf, u8 data) in wpabuf_put_u8()
108 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 …]
Dundef-buffers.c7 char buf[2]; in stackBased1() local
13 char buf[2]; in stackBased2() local
20 char buf[2]; in stackBased3() local
30 char *buf = malloc(2); in heapBased1() local
38 char *buf = malloc(2); in heapBased2() local
/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/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/curl/lib/
Dcurl_endian.c40 unsigned short Curl_read16_le(unsigned char *buf) in Curl_read16_le()
59 unsigned int Curl_read32_le(unsigned char *buf) in Curl_read32_le()
80 unsigned long long Curl_read64_le(unsigned char *buf) in Curl_read64_le()
92 unsigned __int64 Curl_read64_le(unsigned char *buf) in Curl_read64_le()
116 unsigned short Curl_read16_be(unsigned char *buf) in Curl_read16_be()
135 unsigned int Curl_read32_be(unsigned char *buf) in Curl_read32_be()
156 unsigned long long Curl_read64_be(unsigned char *buf) in Curl_read64_be()
168 unsigned __int64 Curl_read64_be(unsigned char *buf) in Curl_read64_be()
/external/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.assign/
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
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
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
/external/libcxx/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/
Dcp_size_cp.pass.cpp22 char buf[] = "abcd"; in main() local
32 char buf[] = "abcd"; in main() local
41 char buf[] = "abcd"; in main() local
58 char buf[] = "abcd"; in main() local
73 char buf[10] = "abcd"; in main() local
Dscp_size_scp.pass.cpp22 signed char buf[] = "abcd"; in main() local
32 signed char buf[] = "abcd"; in main() local
41 signed char buf[] = "abcd"; in main() local
58 signed char buf[] = "abcd"; in main() local
73 signed char buf[10] = "abcd"; in main() local
Ducp_size_ucp.pass.cpp22 unsigned char buf[] = "abcd"; in main() local
32 unsigned char buf[] = "abcd"; in main() local
41 unsigned char buf[] = "abcd"; in main() local
58 unsigned char buf[] = "abcd"; in main() local
73 unsigned char buf[10] = "abcd"; in main() local
/external/mesa3d/src/gallium/auxiliary/pipebuffer/
Dpb_buffer_malloc.c53 malloc_buffer(struct pb_buffer *buf) in malloc_buffer()
64 malloc_buffer_destroy(struct pb_buffer *buf) in malloc_buffer_destroy()
72 malloc_buffer_map(struct pb_buffer *buf, in malloc_buffer_map()
81 malloc_buffer_unmap(struct pb_buffer *buf) in malloc_buffer_unmap()
88 malloc_buffer_validate(struct pb_buffer *buf, in malloc_buffer_validate()
98 malloc_buffer_fence(struct pb_buffer *buf, in malloc_buffer_fence()
106 malloc_buffer_get_base_buffer(struct pb_buffer *buf, in malloc_buffer_get_base_buffer()
130 struct malloc_buffer *buf; in pb_malloc_buffer_create() local
179 struct pb_buffer *buf ) in pb_malloc_bufmgr_is_buffer_busy()
/external/dhcpcd-6.8.2/compat/
Dendian.h34 be32enc(uint8_t *buf, uint32_t u) in be32enc()
44 be64enc(uint8_t *buf, uint64_t u) in be64enc()
52 be16dec(const uint8_t *buf) in be16dec()
59 be32dec(const uint8_t *buf) in be32dec()
66 be64dec(const uint8_t *buf) in be64dec()
/external/f2fs-tools/lib/
Dlibf2fs_io.c31 int dev_read_version(void *buf, __u64 offset, size_t len) in dev_read_version()
40 int dev_read(void *buf, __u64 offset, size_t len) in dev_read()
58 int dev_write(void *buf, __u64 offset, size_t len) in dev_write()
67 int dev_write_block(void *buf, __u64 blk_addr) in dev_write_block()
72 int dev_write_dump(void *buf, __u64 offset, size_t len) in dev_write_dump()
81 int dev_fill(void *buf, __u64 offset, size_t len) in dev_fill()
93 int dev_read_block(void *buf, __u64 blk_addr) in dev_read_block()
98 int dev_read_blocks(void *buf, __u64 addr, __u32 nr_blks) in dev_read_blocks()
/external/boringssl/src/ssl/
Dssl_buffer.c38 static int setup_buffer(SSL3_BUFFER *buf, size_t header_len, size_t cap) { in setup_buffer()
59 static void consume_buffer(SSL3_BUFFER *buf, size_t len) { in consume_buffer()
68 static void clear_buffer(SSL3_BUFFER *buf) { in clear_buffer()
80 SSL3_BUFFER *buf = &ssl->s3->read_buffer; in setup_read_buffer() local
106 SSL3_BUFFER *buf = &ssl->s3->read_buffer; in dtls_read_buffer_next_packet() local
128 SSL3_BUFFER *buf = &ssl->s3->read_buffer; in tls_read_buffer_extend_to() local
186 SSL3_BUFFER *buf = &ssl->s3->read_buffer; in ssl_read_buffer_consume() local
225 SSL3_BUFFER *buf = &ssl->s3->write_buffer; in ssl_write_buffer_init() local
259 SSL3_BUFFER *buf = &ssl->s3->write_buffer; in ssl_write_buffer_set_len() local
268 SSL3_BUFFER *buf = &ssl->s3->write_buffer; in tls_write_buffer_flush() local
[all …]
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/dexbacked/
DBaseDexReaderTest.java69 private void performSizedIntTest(int expectedValue, byte[] buf) { in performSizedIntTest()
84 private void performSizedIntFailureTest(byte[] buf) { in performSizedIntFailureTest()
124 private void performSizedSmallUintTest(int expectedValue, byte[] buf) { in performSizedSmallUintTest()
143 private void performSizedSmallUintFailureTest(byte[] buf) { in performSizedSmallUintFailureTest()
194 private void performSizedRightExtendedIntTest(int expectedValue, byte[] buf) { in performSizedRightExtendedIntTest()
209 private void performSizedRightExtendedIntFailureTest(byte[] buf) { in performSizedRightExtendedIntFailureTest()
303 private void performSizedRightExtendedLongTest(long expectedValue, byte[] buf) { in performSizedRightExtendedLongTest()
318 private void performSizedRightExtendedLongFailureTest(byte[] buf) { in performSizedRightExtendedLongFailureTest()
412 private void performSizedLongTest(long expectedValue, byte[] buf) { in performSizedLongTest()
427 private void performSizedLongFailureTest(byte[] buf) { in performSizedLongFailureTest()
/external/freetype/src/gzip/
Dadler32.c14 #define DO1(buf,i) {s1 += buf[i]; s2 += s1;} argument
15 #define DO2(buf,i) DO1(buf,i); DO1(buf,i+1); argument
16 #define DO4(buf,i) DO2(buf,i); DO2(buf,i+2); argument
17 #define DO8(buf,i) DO4(buf,i); DO4(buf,i+4); argument
18 #define DO16(buf) DO8(buf,0); DO8(buf,8); argument
23 const Bytef *buf, in adler32()
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/gzip/
Dadler32.c14 #define DO1(buf,i) {s1 += buf[i]; s2 += s1;} argument
15 #define DO2(buf,i) DO1(buf,i); DO1(buf,i+1); argument
16 #define DO4(buf,i) DO2(buf,i); DO2(buf,i+2); argument
17 #define DO8(buf,i) DO4(buf,i); DO4(buf,i+4); argument
18 #define DO16(buf) DO8(buf,0); DO8(buf,8); argument
23 const Bytef *buf, in adler32()

12345678910>>...141