Home
last modified time | relevance | path

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

123456

/bionic/tests/
Dasync_safe_test.cpp25 char buf[BUFSIZ]; in TEST() local
113 char buf[BUFSIZ]; in TEST() local
123 char buf[BUFSIZ]; in TEST() local
133 char buf[BUFSIZ]; in TEST() local
147 char buf[BUFSIZ]; in TEST() local
161 char buf[BUFSIZ]; in TEST() local
171 char buf[BUFSIZ]; in TEST() local
181 char buf[BUFSIZ]; in TEST() local
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
Dfortify_test.cpp313 char buf[10]; in TEST_F() local
325 char buf[0]; in TEST_F() local
337 char buf[0]; in TEST_F() local
349 char buf[1]; in TEST_F() local
360 char buf[10]; in TEST_F() local
370 char buf[10]; in TEST_F() local
380 char buf[10]; in TEST_F() local
414 char buf[10]; in TEST_F() local
424 char* buf = (char *) malloc(10); in TEST_F() local
433 char buf[5]; in TEST_F() local
[all …]
Dstdio_test.cpp286 char buf[32]; in TEST() local
292 char buf[BUFSIZ]; in TEST() local
298 char buf[BUFSIZ]; in TEST() local
305 char buf[BUFSIZ]; in TEST() local
312 char buf[BUFSIZ]; in TEST() local
324 char buf[BUFSIZ]; in TEST() local
338 char buf[32]; in TEST() local
347 char buf[BUFSIZ]; in TEST() local
449 T buf[BUFSIZ]; in CheckInfNan() local
577 wchar_t buf[nchars]; in TEST() 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
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
521 char buf[512]; in check_getgrgid_r() local
[all …]
Dresolv_test.cpp42 uint8_t buf[128]; in TEST() local
47 char buf[128]; in TEST() local
56 u_char buf[128]; in TEST() local
Dstdio_ext_test.cpp43 char buf[128]; in TEST() local
61 char buf[128]; in TEST() local
95 char buf[16]; in TEST() local
106 char buf[128]; in TEST() local
Dnetdb_test.cpp198 char buf[512]; in TEST() local
220 char buf[512]; in TEST() local
249 char buf[512]; in TEST() local
271 char buf[4]; // Use too small buffer. in TEST() local
282 char buf[4]; // Use too small buffer. in TEST() local
294 char buf[4]; // Use too small buffer. in TEST() local
305 char buf[BUFSIZ]; in TEST() local
316 char buf[BUFSIZ]; in TEST() local
328 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
/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()
197 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
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
Dfortify.cpp104 size_t __fread_chk(void* buf, size_t size, size_t count, FILE* stream, size_t buf_size) { in __fread_chk()
114 size_t __fwrite_chk(const void* buf, size_t size, size_t count, FILE* stream, size_t buf_size) { in __fwrite_chk()
124 extern char* __getcwd_chk(char* buf, size_t len, size_t actual_size) { in __getcwd_chk()
178 ssize_t __pread64_chk(int fd, void* buf, size_t count, off64_t offset, size_t buf_size) { in __pread64_chk()
184 ssize_t __pread_chk(int fd, void* buf, size_t count, off_t offset, size_t buf_size) { in __pread_chk()
190 ssize_t __pwrite64_chk(int fd, const void* buf, size_t count, off64_t offset, in __pwrite64_chk()
197 ssize_t __pwrite_chk(int fd, const void* buf, size_t count, off_t offset, in __pwrite_chk()
204 ssize_t __read_chk(int fd, void* buf, size_t count, size_t buf_size) { in __read_chk()
210 ssize_t __readlinkat_chk(int dirfd, const char* path, char* buf, size_t size, size_t buf_size) { in __readlinkat_chk()
216 ssize_t __readlink_chk(const char* path, char* buf, size_t size, size_t buf_size) { in __readlink_chk()
[all …]
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()
206 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
178 char buf[BUFSIZ]; in BM_stdio_printf_literal() local
186 char buf[BUFSIZ]; in BM_stdio_printf_s() local
195 char buf[BUFSIZ]; in BM_stdio_printf_d() local
203 char buf[BUFSIZ]; in BM_stdio_printf_1$s() local
/bionic/libc/tzcode/
Dstrptime.c104 strptime(const char *buf, const char *fmt, struct tm *tm) in strptime()
113 _strptime(const unsigned char *buf, const char *fmt, struct tm *tm, struct century_relyear *cr) in _strptime()
473 _conv_num(const unsigned char **buf, int *dest, int llim, int ulim) in _conv_num()
495 char* strptime_l(const char* buf, const char* fmt, struct tm* tm, locale_t l) { in strptime_l()
/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()
/bionic/libc/upstream-openbsd/lib/libc/crypt/
Darc4random.c71 _rs_init(u_char *buf, size_t n) in _rs_init()
144 u_char *buf = (u_char *)_buf; in _rs_random_buf() local
192 arc4random_buf(void *buf, size_t n) in arc4random_buf()

123456