/bionic/tests/ |
H A D | sys_xattr_test.cpp | 73 int res = fsetxattr(fd, "user.foo", "bar", 4, 0); local 76 ASSERT_EQ(0, res); 80 ASSERT_EQ(-1, res); 91 int res = fsetxattr(fd, "user.foo", "01234567890123456789", 21, 0); local 94 ASSERT_EQ(0, res); 98 ASSERT_EQ(-1, res); 119 ssize_t res = flistxattr(fd, buf, sizeof(buf)); local 121 ASSERT_TRUE(res >= 9); 122 ASSERT_TRUE(static_cast<size_t>(res) <= sizeof(buf)); 123 ASSERT_TRUE(memmem(buf, res, "use [all...] |
H A D | fortify_test.cpp | 724 char* res = __strncat_chk(buf, "01234", sizeof(buf) - strlen(buf) - 1, sizeof(buf)); local 725 ASSERT_EQ(buf, res); 743 char* res = __strncat_chk(buf, "0123456789", 5, sizeof(buf)); local 744 ASSERT_EQ(buf, res); 761 char* res = __strncat_chk(buf, "0123456789", 5, sizeof(buf)); local 762 ASSERT_EQ(buf, res); 779 char* res = __strncat_chk(buf, "", 5, sizeof(buf)); local 780 ASSERT_EQ(buf, res); 798 char* res = __strncat_chk(buf, "01234567", 8, sizeof(buf)); local 799 ASSERT_EQ(buf, res); 817 char* res = __strncat_chk(buf, "01234567", 9, sizeof(buf)); local 837 char* res = __strcat_chk(buf, "01234", sizeof(buf)); local 856 char* res = __strcat_chk(buf, "01234567", sizeof(buf)); local 953 char* res = __strcat_chk(buf, "01234567", (size_t)-1); local 971 char* res = __stpcpy_chk(buf, "012345678", (size_t)-1); local 980 char* res = __strcpy_chk(buf, "012345678", (size_t)-1); local 989 void* res = __memcpy_chk(buf, "012345678", sizeof(buf), (size_t)-1); local [all...] |
H A D | string_test.cpp | 346 char* res = strcat(buf, "01234"); local 347 ASSERT_EQ(buf, res); 359 char* res = strcat(buf, "01234567"); local 360 ASSERT_EQ(buf, res); 369 char* res = strncat(buf, "01234", sizeof(buf) - strlen(buf) - 1); local 370 ASSERT_EQ(buf, res); 382 char* res = strncat(buf, "0123456789", 5); local 383 ASSERT_EQ(buf, res); 395 char* res = strncat(buf, "01234567", 8); local 396 ASSERT_EQ(buf, res); 405 char* res = strncat(buf, "01234567", 9); local [all...] |
/bionic/libc/kernel/uapi/linux/ |
H A D | aio_abi.h | 41 __s64 res; member in struct:io_event
|
H A D | virtio_input.h | 40 __u32 res; member in struct:virtio_input_absinfo
|
/bionic/libc/kernel/uapi/rdma/ |
H A D | ib_user_mad.h | 102 __u16 res; member in struct:ib_user_mad_reg_req2
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
H A D | vfscanf.c | 729 uintmax_t res; local 733 res = strtoumax(buf, NULL, base); 735 res = strtoimax(buf, NULL, base); 738 (void *)(uintptr_t)res; 740 *va_arg(ap, intmax_t *) = res; 742 *va_arg(ap, long long *) = res; 744 *va_arg(ap, ssize_t *) = res; 746 *va_arg(ap, ptrdiff_t *) = res; 748 *va_arg(ap, long *) = res; 750 *va_arg(ap, short *) = res; 840 long double res = strtold(buf, local 844 double res = strtod(buf, (char **)NULL); local 847 float res = strtof(buf, (char **)NULL); local [all...] |
H A D | vfwscanf.c | 651 uintmax_t res; local 655 res = wcstoimax(buf, NULL, base); 657 res = wcstoumax(buf, NULL, base); 660 (void *)(uintptr_t)res; 662 *va_arg(ap, intmax_t *) = res; 664 *va_arg(ap, long long *) = res; 666 *va_arg(ap, ssize_t *) = res; 668 *va_arg(ap, ptrdiff_t *) = res; 670 *va_arg(ap, long *) = res; 672 *va_arg(ap, short *) = res; 766 long double res = wcstold(buf, NULL); local 769 double res = wcstod(buf, NULL); local 772 float res = wcstof(buf, NULL); local [all...] |
/bionic/libc/dns/net/ |
H A D | gethnamaddr.c | 93 #define maybe_ok(res, nm, ok) (((res)->options & RES_NOCHECKNAME) != 0U || \ 95 #define maybe_hnok(res, hn) maybe_ok((res), (hn), res_hnok) 96 #define maybe_dnok(res, dn) maybe_ok((res), (dn), res_dnok) 168 debugprintf(const char *msg, res_state res, ...) argument 172 if (res->options & RES_DEBUG) { 176 va_start (ap, res); 184 # define debugprintf(msg, res, nu 201 getanswer(const querybuf *answer, int anslen, const char *qname, int qtype, res_state res, struct hostent *hent, char *buf, size_t buflen, int *he) argument 514 res_state res = __res_get_state(); local 547 res_state res = __res_get_state(); local 699 gethostbyname_internal_real(const char *name, int af, res_state res, struct hostent *hp, char *buf, size_t buflen, int *he) argument 817 gethostbyname_internal(const char *name, int af, res_state res, struct hostent *hp, char *hbuf, size_t hbuflen, int *errorp, unsigned netid, unsigned mark) argument 1011 res_state res = __res_get_state(); local 1124 addrsort(char **ap, int num, res_state res) argument 1174 res_state res; local 1238 res_state res; local 1593 res_state res = __res_get_state(); local [all...] |
H A D | getaddrinfo.c | 406 const struct addrinfo *hints, struct addrinfo **res, unsigned netid) 413 *res = NULL; 461 struct addrinfo** nextres = res; 552 if (*res) { 553 freeaddrinfo(*res); 554 *res = NULL; 561 const struct addrinfo *hints, struct addrinfo **res) 563 return android_getaddrinfofornet(hostname, servname, hints, NETID_UNSET, MARK_UNSET, res); 568 const struct addrinfo *hints, unsigned netid, unsigned mark, struct addrinfo **res) 577 return android_getaddrinfofornetcontext(hostname, servname, hints, &netcontext, res); 404 android_getaddrinfo_proxy( const char *hostname, const char *servname, const struct addrinfo *hints, struct addrinfo **res, unsigned netid) argument 560 getaddrinfo(const char *hostname, const char *servname, const struct addrinfo *hints, struct addrinfo **res) argument 567 android_getaddrinfofornet(const char *hostname, const char *servname, const struct addrinfo *hints, unsigned netid, unsigned mark, struct addrinfo **res) argument 581 android_getaddrinfofornetcontext(const char *hostname, const char *servname, const struct addrinfo *hints, const struct android_net_context *netcontext, struct addrinfo **res) argument 794 explore_fqdn(const struct addrinfo *pai, const char *hostname, const char *servname, struct addrinfo **res, const struct android_net_context *netcontext) argument 857 explore_null(const struct addrinfo *pai, const char *servname, struct addrinfo **res) argument 923 explore_numeric(const struct addrinfo *pai, const char *hostname, const char *servname, struct addrinfo **res, const char *canonname) argument 1010 explore_numeric_scope(const struct addrinfo *pai, const char *hostname, const char *servname, struct addrinfo **res) argument 1879 res_state res; local 2032 struct addrinfo hints, *res0, *res; local 2137 res_queryN(const char *name, struct res_target *target, res_state res) argument 2242 res_searchN(const char *name, struct res_target *target, res_state res) argument 2390 res_querydomainN(const char *name, const char *domain, struct res_target *target, res_state res) argument [all...] |
/bionic/libc/dns/resolv/ |
H A D | res_debug.c | 140 fprintf(file, ";; res options:"); 1167 struct tm res; local 1169 mytime = gmtime_r(&myclock, &res);
|
H A D | res_send.c | 133 #define EXT(res) ((res)->_u._ext) 980 int res, origflags; local 987 res = __connect(sock, nsap, salen); 988 if (res < 0 && errno != EINPROGRESS) { 989 res = -1; 992 if (res != 0) { 1000 res = retrying_select(sock, &rset, &wset, &finish); 1001 if (res <= 0) { 1002 res [all...] |