Home
last modified time | relevance | path

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

12345678910>>...110

/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/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()
189 sshbuf_reset(struct sshbuf *buf) in sshbuf_reset()
210 sshbuf_max_size(const struct sshbuf *buf) in sshbuf_max_size()
216 sshbuf_alloc(const struct sshbuf *buf) in sshbuf_alloc()
222 sshbuf_parent(const struct sshbuf *buf) in sshbuf_parent()
228 sshbuf_refcount(const struct sshbuf *buf) in sshbuf_refcount()
234 sshbuf_set_max_size(struct sshbuf *buf, size_t max_size) in sshbuf_set_max_size()
[all …]
Dsshbuf-getput-basic.c30 sshbuf_get(struct sshbuf *buf, void *v, size_t len) in sshbuf_get()
43 sshbuf_get_u64(struct sshbuf *buf, u_int64_t *valp) in sshbuf_get_u64()
56 sshbuf_get_u32(struct sshbuf *buf, u_int32_t *valp) in sshbuf_get_u32()
69 sshbuf_get_u16(struct sshbuf *buf, u_int16_t *valp) in sshbuf_get_u16()
82 sshbuf_get_u8(struct sshbuf *buf, u_char *valp) in sshbuf_get_u8()
95 sshbuf_get_string(struct sshbuf *buf, u_char **valp, size_t *lenp) in sshbuf_get_string()
122 sshbuf_get_string_direct(struct sshbuf *buf, const u_char **valp, size_t *lenp) in sshbuf_get_string_direct()
148 sshbuf_peek_string_direct(const struct sshbuf *buf, const u_char **valp, in sshbuf_peek_string_direct()
179 sshbuf_get_cstring(struct sshbuf *buf, char **valp, size_t *lenp) in sshbuf_get_cstring()
214 sshbuf_get_stringb(struct sshbuf *buf, struct sshbuf *v) in sshbuf_get_stringb()
[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.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/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.assign/
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
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/jmonkeyengine/engine/src/core/com/jme3/util/
DBufferUtils.java88 public static Buffer clone(Buffer buf) { in clone()
241 public static FloatBuffer createVector3Buffer(FloatBuffer buf, int vertices) { in createVector3Buffer()
261 public static void setInBuffer(ColorRGBA color, FloatBuffer buf, in setInBuffer()
281 public static void setInBuffer(Quaternion quat, FloatBuffer buf, in setInBuffer()
301 public static void setInBuffer(Vector3f vector, FloatBuffer buf, int index) { in setInBuffer()
328 public static void populateFromBuffer(Vector3f vector, FloatBuffer buf, int index) { in populateFromBuffer()
363 public static void copyInternalVector3(FloatBuffer buf, int fromPos, int toPos) { in copyInternalVector3()
376 public static void normalizeVector3(FloatBuffer buf, int index) { in normalizeVector3()
396 public static void addInBuffer(Vector3f toAdd, FloatBuffer buf, int index) { in addInBuffer()
416 public static void multInBuffer(Vector3f toMult, FloatBuffer buf, int index) { in multInBuffer()
[all …]
/external/libcxx/test/std/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/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/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/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/wpa_supplicant_8/src/common/
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 …]

12345678910>>...110