Home
last modified time | relevance | path

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

12345678910>>...120

/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.c59 #define UPDATE_COMPAT(buf) \ argument
70 #define CHECK_COMPAT(buf) \ argument
79 #define UPDATE_COMPAT(buf) argument
80 #define CHECK_COMPAT(buf) argument
91 xmlBufMemoryError(xmlBufPtr buf, const char *extra) in xmlBufMemoryError()
106 xmlBufOverflowError(xmlBufPtr buf, const char *extra) in xmlBufOverflowError()
195 xmlBufDetach(xmlBufPtr buf) { in xmlBufDetach()
266 xmlBufGetAllocationScheme(xmlBufPtr buf) { in xmlBufGetAllocationScheme()
287 xmlBufSetAllocationScheme(xmlBufPtr buf, in xmlBufSetAllocationScheme()
327 xmlBufFree(xmlBufPtr buf) { in xmlBufFree()
[all …]
/external/libcxx/test/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/chromium_org/third_party/mesa/src/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 …]
/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 …]
/external/wpa_supplicant_8/src/utils/
Dwpabuf.h23 u8 *buf; /* pointer to the head of the buffer */ member
46 static inline size_t wpabuf_size(const struct wpabuf *buf) in wpabuf_size()
56 static inline size_t wpabuf_len(const struct wpabuf *buf) in wpabuf_len()
66 static inline size_t wpabuf_tailroom(const struct wpabuf *buf) in wpabuf_tailroom()
76 static inline const void * wpabuf_head(const struct wpabuf *buf) in wpabuf_head()
81 static inline const u8 * wpabuf_head_u8(const struct wpabuf *buf) in wpabuf_head_u8()
91 static inline void * wpabuf_mhead(struct wpabuf *buf) in wpabuf_mhead()
96 static inline u8 * wpabuf_mhead_u8(struct wpabuf *buf) in wpabuf_mhead_u8()
101 static inline void wpabuf_put_u8(struct wpabuf *buf, u8 data) in wpabuf_put_u8()
107 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_put(struct wpabuf *buf, size_t len) in wpabuf_put()
268 struct wpabuf * wpabuf_zeropad(struct wpabuf *buf, size_t len) in wpabuf_zeropad()
[all …]
/external/wpa_supplicant_8/src/p2p/
Dp2p_build.c17 void p2p_buf_add_action_hdr(struct wpabuf *buf, u8 subtype, u8 dialog_token) in p2p_buf_add_action_hdr()
28 void p2p_buf_add_public_action_hdr(struct wpabuf *buf, u8 subtype, in p2p_buf_add_public_action_hdr()
41 u8 * p2p_buf_add_ie_hdr(struct wpabuf *buf) in p2p_buf_add_ie_hdr()
54 void p2p_buf_update_ie_hdr(struct wpabuf *buf, u8 *len) in p2p_buf_update_ie_hdr()
61 void p2p_buf_add_capability(struct wpabuf *buf, u8 dev_capab, u8 group_capab) in p2p_buf_add_capability()
73 void p2p_buf_add_go_intent(struct wpabuf *buf, u8 go_intent) in p2p_buf_add_go_intent()
84 void p2p_buf_add_listen_channel(struct wpabuf *buf, const char *country, in p2p_buf_add_listen_channel()
98 void p2p_buf_add_operating_channel(struct wpabuf *buf, const char *country, in p2p_buf_add_operating_channel()
112 void p2p_buf_add_channel_list(struct wpabuf *buf, const char *country, in p2p_buf_add_channel_list()
137 void p2p_buf_add_status(struct wpabuf *buf, u8 status) in p2p_buf_add_status()
[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/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/libcxx/test/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/
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
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
/external/chromium_org/base/strings/
Dsafe_sprintf_unittest.cc27 char buf[2] = { 'X', 'X' }; in TEST() local
63 char ref[20], buf[20]; in TEST() local
127 char ref[20], buf[20]; in TEST() local
189 char buf[20]; in TEST() local
204 scoped_ptr<char[]> buf(new char[sizeof(kTestString)]); in TEST() local
219 char buf[12]; in TEST() local
270 char buf[40]; in TEST() local
354 void PrintLongString(char* buf, size_t sz) { in PrintLongString()
477 char buf[sizeof(ref)]; in TEST() local
491 char buf[sizeof(ref)]; in TEST() local
[all …]
/external/chromium_org/third_party/mesa/src/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/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/chromium_org/third_party/webrtc/base/
Dbuffer_unittest.cc21 Buffer buf; in TEST() local
28 Buffer buf(NULL, 0, 256U); in TEST() local
35 Buffer buf(kTestData, sizeof(kTestData)); in TEST() local
43 Buffer buf(kTestData, sizeof(kTestData), 256U); in TEST() local
69 Buffer buf; in TEST() local
77 Buffer buf(kTestData, sizeof(kTestData)); in TEST() local
87 Buffer buf; in TEST() local
96 Buffer buf; in TEST() local
105 Buffer buf; in TEST() local
114 Buffer buf(kTestData, sizeof(kTestData)); in TEST() local
[all …]
/external/f2fs-tools/lib/
Dlibf2fs_io.c31 int dev_read(void *buf, __u64 offset, size_t len) in dev_read()
40 int dev_write(void *buf, __u64 offset, size_t len) in dev_write()
49 int dev_write_block(void *buf, __u64 blk_addr) in dev_write_block()
54 int dev_write_dump(void *buf, __u64 offset, size_t len) in dev_write_dump()
63 int dev_fill(void *buf, __u64 offset, size_t len) in dev_fill()
75 int dev_read_block(void *buf, __u64 blk_addr) in dev_read_block()
80 int dev_read_blocks(void *buf, __u64 addr, __u32 nr_blks) in dev_read_blocks()
/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/chromium_org/third_party/smhasher/src/
Dcrc.cpp74 #define DO1(buf) crc = crc_table[((int)crc ^ (*buf++)) & 0xff] ^ (crc >> 8); argument
75 #define DO2(buf) DO1(buf); DO1(buf); argument
76 #define DO4(buf) DO2(buf); DO2(buf); argument
77 #define DO8(buf) DO4(buf); DO4(buf); argument
83 uint8_t * buf = (uint8_t*)key; in crc32() local
/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()

12345678910>>...120