Home
last modified time | relevance | path

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

123456

/bionic/tests/
Dsys_xattr_test.cpp28 char buf[10]; in TEST() local
39 char buf[10]; in TEST() local
47 char buf[10]; in TEST() local
54 char buf[10]; in TEST() local
61 char buf[10]; in TEST() local
77 char buf[10]; in TEST() local
95 char buf[10]; in TEST() local
108 char buf[65536]; // 64kB is max possible xattr list size. See "man 7 xattr". in TEST() local
117 char buf[65536]; // 64kB is max possible xattr list size. See "man 7 xattr". in TEST() local
134 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
170 char buf[BUFSIZ]; in TEST() local
180 char buf[BUFSIZ]; in TEST() local
190 char buf[BUFSIZ]; in TEST() local
204 char buf[BUFSIZ]; in TEST() local
218 char buf[BUFSIZ]; in TEST() local
228 char buf[BUFSIZ]; in TEST() local
238 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
416 char* buf = (char *) malloc(10); in TEST_F() local
424 char buf[5]; in TEST_F() 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.cpp108 char buf[512]; in check_getpwuid_r() local
123 char buf[512]; in check_getpwnam_r() local
153 char buf[512]; in expect_no_passwd_id() local
167 char buf[512]; in expect_no_passwd_name() local
306 alignas(16) char buf[512]; in TEST() local
319 alignas(16) char buf[512]; in TEST() local
332 char buf[2][512]; in TEST() local
353 char buf[2][512]; in TEST() local
375 char buf[size]; in TEST() local
544 char buf[512]; in check_getgrgid_r() local
[all …]
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
Dstdio_test.cpp459 char buf[32]; in TEST_F() local
473 wchar_t buf[32]; in TEST_F() local
483 char buf[1] = {'x'}; in TEST() local
490 wchar_t buf[1] = {L'x'}; in TEST() local
581 T buf[BUFSIZ]; in CheckInfNan() local
872 char buf[BUFSIZ]; in TEST() local
893 char buf[PATH_MAX]; in snprintf_small_stack_fn() local
911 char buf[128]; in TEST() local
926 wchar_t buf[128]; in TEST() local
997 char buf[16]; in TEST() local
[all …]
Diconv_test.cpp57 char buf[BUFSIZ] = {}; in TEST() local
83 char buf[BUFSIZ] = {}; in TEST() local
112 char buf[BUFSIZ] = {}; in TEST() local
140 char buf[BUFSIZ] = {}; in TEST() local
166 char buf[BUFSIZ] = {}; in TEST() local
199 char buf[BUFSIZ] = {}; in TEST() local
226 char buf[BUFSIZ] = {}; in TEST() local
302 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.cpp101 char buf[256]; in TEST() local
288 char buf[1]; in TEST() local
297 char buf[10]; in TEST() local
311 char buf[10]; in TEST() local
321 char buf[1]; in TEST() local
331 char buf[10]; in TEST() local
345 char buf[10]; in TEST() local
354 char buf[10]; in TEST() local
367 char buf[10]; in TEST() local
377 char buf[10]; in TEST() local
[all …]
/bionic/libc/include/bits/fortify/
Dunistd.h73 char* _Nullable getcwd(char* const _Nullable __pass_object_size buf, size_t size) in getcwd()
88 ssize_t pread(int fd, void* const _Nonnull __pass_object_size0 buf, size_t count, off_t offset) in pread()
104 ssize_t pread64(int fd, void* const _Nonnull __pass_object_size0 buf, size_t count, off64_t offset) in pread64()
120 ssize_t pwrite(int fd, const void* const _Nonnull __pass_object_size0 buf, size_t count, off_t offs… in pwrite()
136 ssize_t pwrite64(int fd, const void* const _Nonnull __pass_object_size0 buf, size_t count, off64_t … in pwrite64()
151 ssize_t read(int fd, void* const __BIONIC_COMPLICATED_NULLNESS __pass_object_size0 buf, size_t coun… in read()
166 ssize_t write(int fd, const void* const __BIONIC_COMPLICATED_NULLNESS __pass_object_size0 buf, size… in write()
181 ssize_t readlink(const char* _Nonnull path, char* _Nonnull const __pass_object_size buf, size_t siz… in readlink()
196 …ize_t readlinkat(int dirfd, const char* _Nonnull path, char* const _Nonnull __pass_object_size buf 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 …]
Dnetinet_ether.cpp51 char* ether_ntoa_r(const ether_addr* addr, char* buf) { in ether_ntoa_r()
60 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
/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/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/tzcode/
Dstrptime.c95 strptime(const char *buf, const char *fmt, struct tm *tm) in strptime()
102 _strptime(const char *buf, const char *fmt, struct tm *tm, int initialize) in _strptime()
603 _conv_num(const unsigned char **buf, int *dest, int llim, int ulim) in _conv_num()
626 epoch_to_tm(const unsigned char **buf, struct tm *tm) in epoch_to_tm()
/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/dns/net/
Dgethnamaddr.c133 u_char buf[MAXPACKET]; member
217 res_state res, struct hostent *hent, char *buf, size_t buflen, int *he) in getanswer()
526 gethostbyname_r(const char *name, struct hostent *hp, char *buf, size_t buflen, in gethostbyname_r()
553 gethostbyname2_r(const char *name, int af, struct hostent *hp, char *buf, in gethostbyname2_r()
571 char buf[4]; in android_read_hostent() local
674 gethostbyname_internal_real(const char *name, int af, res_state res, struct hostent *hp, char *buf, in gethostbyname_internal_real()
823 int gethostbyaddr_r(const void *addr, socklen_t len, int af, struct hostent *hp, char *buf, in gethostbyaddr_r()
833 char *buf, size_t buflen, int *he, in android_gethostbyaddrfornetcontext_real()
902 char buf[INET6_ADDRSTRLEN]; //big enough for IPv4 and IPv6 in android_gethostbyaddrfornetcontext_proxy_internal() local
928 netbsd_gethostent_r(FILE *hf, struct hostent *hent, char *buf, size_t buflen, int *he) in netbsd_gethostent_r()
[all …]

123456