Home
last modified time | relevance | path

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

1234567

/bionic/tests/
Dsys_xattr_test.cpp26 char buf[10]; in TEST() local
37 char buf[10]; in TEST() local
45 char buf[10]; in TEST() local
52 char buf[10]; in TEST() local
59 char buf[10]; in TEST() local
75 char buf[10]; in TEST() local
93 char buf[10]; in TEST() local
106 char buf[65536]; // 64kB is max possible xattr list size. See "man 7 xattr". in TEST() local
115 char buf[65536]; // 64kB is max possible xattr list size. See "man 7 xattr". in TEST() local
132 char buf[65536]; // 64kB is max possible xattr list size. See "man 7 xattr". in TEST() local
Dasync_safe_test.cpp27 char buf[BUFSIZ]; in TEST() local
143 char buf[BUFSIZ]; in TEST() local
153 char buf[BUFSIZ]; in TEST() local
163 char buf[BUFSIZ]; in TEST() local
177 char buf[BUFSIZ]; in TEST() local
191 char buf[BUFSIZ]; in TEST() local
201 char buf[BUFSIZ]; in TEST() local
211 char buf[BUFSIZ]; in TEST() local
Dfortify_test.cpp308 char buf[10]; in TEST_F() local
320 char buf[0]; in TEST_F() local
332 char buf[0]; in TEST_F() local
344 char buf[1]; in TEST_F() local
355 char buf[10]; in TEST_F() local
365 char buf[10]; in TEST_F() local
375 char buf[10]; in TEST_F() local
409 char buf[10]; in TEST_F() local
419 char* buf = (char *) malloc(10); in TEST_F() local
428 char buf[5]; in TEST_F() local
[all …]
Dstdio_test.cpp312 char buf[32]; in TEST() local
318 char buf[BUFSIZ]; in TEST() local
326 char buf[BUFSIZ]; in TEST() local
352 char buf[BUFSIZ]; in TEST() local
359 char buf[BUFSIZ]; in TEST() local
366 char buf[BUFSIZ]; in TEST() local
378 char buf[BUFSIZ]; in TEST() local
394 char buf[32]; in TEST_F() local
404 char buf[16]; in TEST() local
409 char buf[BUFSIZ]; in TEST() local
[all …]
Dgrp_pwd_test.cpp106 char buf[512]; in check_getpwuid_r() local
121 char buf[512]; in check_getpwnam_r() local
151 char buf[512]; in expect_no_passwd_id() local
165 char buf[512]; in expect_no_passwd_name() local
304 alignas(16) char buf[512]; in TEST() local
317 alignas(16) char buf[512]; in TEST() local
330 char buf[2][512]; in TEST() local
351 char buf[2][512]; in TEST() local
373 char buf[size]; in TEST() local
525 char buf[512]; in check_getgrgid_r() local
[all …]
Dlibgen_test.cpp44 char* buf, size_t buf_size, int expected_errno) { in TestBasename()
55 char* buf, size_t buf_size, int expected_errno) { in TestDirname()
68 char buf[256]; in TEST() local
87 char buf[256]; in TEST() local
Dresolv_test.cpp44 uint8_t buf[128]; in TEST() local
49 char buf[128]; in TEST() local
58 u_char buf[128]; in TEST() local
Dstdio_ext_test.cpp43 char buf[128]; in TEST() local
61 char buf[128]; in TEST() local
113 char buf[16]; in TEST() local
124 char buf[128]; in TEST() local
Dnetdb_test.cpp199 char buf[512]; in TEST() local
221 char buf[512]; in TEST() local
250 char buf[512]; in TEST() local
279 char buf[4]; // Use too small buffer. in TEST() local
290 char buf[4]; // Use too small buffer. in TEST() local
302 char buf[4]; // Use too small buffer. in TEST() local
313 char buf[BUFSIZ]; in TEST() local
324 char buf[BUFSIZ]; in TEST() local
336 char buf[BUFSIZ]; in TEST() local
Diconv_test.cpp55 char buf[BUFSIZ] = {}; in TEST() local
81 char buf[BUFSIZ] = {}; in TEST() local
110 char buf[BUFSIZ] = {}; in TEST() local
138 char buf[BUFSIZ] = {}; in TEST() local
164 char buf[BUFSIZ] = {}; in TEST() local
197 char buf[BUFSIZ] = {}; in TEST() local
224 char buf[BUFSIZ] = {}; in TEST() local
300 char buf[BUFSIZ] = {}; in RoundTrip() local
Dsys_sendfile_test.cpp40 char buf[3]; in TEST() local
59 char buf[3]; in TEST() local
Dstring_test.cpp100 char buf[256]; in TEST() local
287 char buf[1]; in TEST() local
296 char buf[10]; in TEST() local
310 char buf[10]; in TEST() local
320 char buf[1]; in TEST() local
329 char buf[10]; in TEST() local
343 char buf[10]; in TEST() local
352 char buf[10]; in TEST() local
365 char buf[10]; in TEST() local
375 char buf[10]; in TEST() local
[all …]
/bionic/libc/include/bits/fortify/
Dunistd.h73 char* getcwd(char* const __pass_object_size buf, size_t size) in getcwd()
88 ssize_t pread(int fd, void* const __pass_object_size0 buf, size_t count, off_t offset) in pread()
104 ssize_t pread64(int fd, void* const __pass_object_size0 buf, size_t count, off64_t offset) in pread64()
120 ssize_t pwrite(int fd, const void* const __pass_object_size0 buf, size_t count, off_t offset) in pwrite()
136 ssize_t pwrite64(int fd, const void* const __pass_object_size0 buf, size_t count, off64_t offset) in pwrite64()
151 ssize_t read(int fd, void* const __pass_object_size0 buf, size_t count) in read()
166 ssize_t write(int fd, const void* const __pass_object_size0 buf, size_t count) in write()
181 ssize_t readlink(const char* path, char* const __pass_object_size buf, size_t size) in readlink()
196 ssize_t readlinkat(int dirfd, const char* path, char* const __pass_object_size buf, size_t size) in readlinkat()
/bionic/libc/bionic/
Dpty.cpp56 char* buf = tls.ptsname_buf; in ptsname() local
61 int ptsname_r(int fd, char* buf, size_t len) { in ptsname_r()
83 char* buf = tls.ttyname_buf; in ttyname() local
88 int ttyname_r(int fd, char* buf, size_t len) { in ttyname_r()
126 char buf[32]; in openpty() local
Dfortify.cpp101 size_t __fread_chk(void* buf, size_t size, size_t count, FILE* stream, size_t buf_size) { in __fread_chk()
111 size_t __fwrite_chk(const void* buf, size_t size, size_t count, FILE* stream, size_t buf_size) { in __fwrite_chk()
121 extern char* __getcwd_chk(char* buf, size_t len, size_t actual_size) { in __getcwd_chk()
175 ssize_t __pread64_chk(int fd, void* buf, size_t count, off64_t offset, size_t buf_size) { in __pread64_chk()
181 ssize_t __pread_chk(int fd, void* buf, size_t count, off_t offset, size_t buf_size) { in __pread_chk()
187 ssize_t __pwrite64_chk(int fd, const void* buf, size_t count, off64_t offset, in __pwrite64_chk()
194 ssize_t __pwrite_chk(int fd, const void* buf, size_t count, off_t offset, in __pwrite_chk()
201 ssize_t __read_chk(int fd, void* buf, size_t count, size_t buf_size) { in __read_chk()
207 ssize_t __readlinkat_chk(int dirfd, const char* path, char* buf, size_t size, size_t buf_size) { in __readlinkat_chk()
213 ssize_t __readlink_chk(const char* path, char* buf, size_t size, size_t buf_size) { in __readlink_chk()
[all …]
Dether_ntoa.c38 ether_ntoa_r (const struct ether_addr *addr, char * buf) in ether_ntoa_r()
53 static char buf[18]; in ether_ntoa() local
Dsys_statfs.cpp25 # define __fstatfs64(fd,size,buf) __fstatfs(fd,buf) argument
26 # define __statfs64(path,size,buf) __statfs(path,buf) argument
Dstrerror.cpp188 int strerror_r(int error_number, char* buf, size_t buf_len) { in strerror_r()
205 extern "C" char* __gnu_strerror_r(int error_number, char* buf, size_t buf_len) { in __gnu_strerror_r()
/bionic/libc/stdio/
Dfmemopen.cpp40 char* buf; member
48 static int fmemopen_read(void* cookie, char* buf, int n) { in fmemopen_read()
60 static int fmemopen_write(void* cookie, const char* buf, int n) { in fmemopen_write()
113 FILE* fmemopen(void* buf, size_t capacity, const char* mode) { in fmemopen()
/bionic/benchmarks/
Dutil.cpp48 char* GetAlignedPtr(std::vector<char>* buf, size_t alignment, size_t nbytes) { in GetAlignedPtr()
53 wchar_t* GetAlignedPtr(std::vector<wchar_t>* buf, size_t alignment, size_t nchars) { in GetAlignedPtr()
59 char* GetAlignedPtrFilled(std::vector<char>* buf, size_t alignment, size_t nbytes, char fill_byte) { in GetAlignedPtrFilled()
Dstdio_benchmark.cpp43 char* buf = new char[chunk_size]; in ReadWriteTest() local
108 char buf[BUFSIZ]; in FopenFgetsFclose() local
177 char buf[BUFSIZ]; in BM_stdio_printf_literal() local
185 char buf[BUFSIZ]; in BM_stdio_printf_s() local
194 char buf[BUFSIZ]; in BM_stdio_printf_d() local
202 char buf[BUFSIZ]; in BM_stdio_printf_1$s() local
/bionic/libc/tzcode/
Dstrptime.c94 strptime(const char *buf, const char *fmt, struct tm *tm) in strptime()
101 _strptime(const char *buf, const char *fmt, struct tm *tm, int initialize) in _strptime()
602 _conv_num(const unsigned char **buf, int *dest, int llim, int ulim) in _conv_num()
625 epoch_to_tm(const unsigned char **buf, struct tm *tm) in epoch_to_tm()
/bionic/benchmarks/tests/
Dbenchmark_test.cpp21 std::vector<char> buf(100); in TEST() local
33 std::vector<char> buf; in TEST() local
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dvdprintf.c44 __dwrite(void *cookie, const char *buf, int n) in __dwrite()
55 unsigned char buf[BUFSIZ]; in vdprintf() local
/bionic/libc/dns/nameser/
Dns_print.c90 char *buf, size_t buflen) in ns_sprintrr()
112 char *buf, size_t buflen) in ns_sprintrrf()
1142 charstr(const u_char *rdata, const u_char *edata, char **buf, size_t *buflen) { in charstr()
1179 char **buf, size_t *buflen) in addname()
1222 addlen(size_t len, char **buf, size_t *buflen) { in addlen()
1229 addstr(const char *src, size_t len, char **buf, size_t *buflen) { in addstr()
1241 addtab(size_t len, size_t target, int spaced, char **buf, size_t *buflen) { in addtab()

1234567