/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 | 688 char* res = __strncat_chk(buf, "01234", sizeof(buf) - strlen(buf) - 1, sizeof(buf)); local 689 ASSERT_EQ(buf, res); 707 char* res = __strncat_chk(buf, "0123456789", 5, sizeof(buf)); local 708 ASSERT_EQ(buf, res); 725 char* res = __strncat_chk(buf, "0123456789", 5, sizeof(buf)); local 726 ASSERT_EQ(buf, res); 743 char* res = __strncat_chk(buf, "", 5, sizeof(buf)); local 744 ASSERT_EQ(buf, res); 762 char* res = __strncat_chk(buf, "01234567", 8, sizeof(buf)); local 763 ASSERT_EQ(buf, res); 781 char* res = __strncat_chk(buf, "01234567", 9, sizeof(buf)); local 801 char* res = __strcat_chk(buf, "01234", sizeof(buf)); local 820 char* res = __strcat_chk(buf, "01234567", sizeof(buf)); local 917 char* res = __strcat_chk(buf, "01234567", (size_t)-1); local 935 char* res = __stpcpy_chk(buf, "012345678", (size_t)-1); local 944 char* res = __strcpy_chk(buf, "012345678", (size_t)-1); local 953 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 | 38 __s64 res; member in struct:io_event
|
H A D | virtio_input.h | 36 __u32 res; member in struct:virtio_input_absinfo
|
/bionic/libc/kernel/uapi/rdma/ |
H A D | ib_user_mad.h | 86 __u16 res; member in struct:ib_user_mad_reg_req2
|
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/ |
H A D | aio_abi.h | 38 __s64 res; member in struct:io_event
|
H A D | virtio_input.h | 36 __u32 res; member in struct:virtio_input_absinfo
|
/bionic/libc/versioner-dependencies/common/kernel_uapi/rdma/ |
H A D | ib_user_mad.h | 86 __u16 res; member in struct:ib_user_mad_reg_req2
|
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/ |
H A D | aio_abi.h | 38 __s64 res; member in struct:io_event
|
H A D | virtio_input.h | 36 __u32 res; member in struct:virtio_input_absinfo
|
/bionic/tools/versioner/dependencies/common/kernel_uapi/rdma/ |
H A D | ib_user_mad.h | 86 __u16 res; member in struct:ib_user_mad_reg_req2
|
/bionic/libc/arch-mips/string/ |
H A D | memcmp.c | 326 int res; local 330 res = do_bytes (a, b, bytes); 331 if (res || len == bytes) 332 return res;
|
/bionic/libc/stdio/ |
H A D | vfscanf.cpp | 670 uintmax_t res; local 674 res = strtoumax(buf, NULL, base); 676 res = strtoimax(buf, NULL, base); 679 *va_arg(ap, void**) = (void*)(uintptr_t)res; 681 *va_arg(ap, intmax_t*) = res; 683 *va_arg(ap, long long*) = res; 685 *va_arg(ap, ssize_t*) = res; 687 *va_arg(ap, ptrdiff_t*) = res; 689 *va_arg(ap, long*) = res; 691 *va_arg(ap, short*) = res; 708 long double res = strtold(buf, &p); local 711 double res = strtod(buf, &p); local 714 float res = strtof(buf, &p); local [all...] |
H A D | vfwscanf.c | 578 uintmax_t res; local 582 res = wcstoimax(buf, NULL, base); 584 res = wcstoumax(buf, NULL, base); 586 *va_arg(ap, void**) = (void*)(uintptr_t)res; 588 *va_arg(ap, intmax_t*) = res; 590 *va_arg(ap, long long*) = res; 592 *va_arg(ap, ssize_t*) = res; 594 *va_arg(ap, ptrdiff_t*) = res; 596 *va_arg(ap, long*) = res; 598 *va_arg(ap, short*) = res; 616 long double res = wcstold(buf, &p); local 619 double res = wcstod(buf, &p); local 622 float res = wcstof(buf, &p); local [all...] |
/bionic/linker/ |
H A D | linker_cfi.cpp | 74 void* res = mremap(tmp_start, size, size, MREMAP_MAYMOVE | MREMAP_FIXED, local 76 CHECK(res != MAP_FAILED);
|
/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) 185 debugprintf(const char *msg, res_state res, ...) argument 189 if (res->options & RES_DEBUG) { 193 va_start (ap, res); 201 # define debugprintf(msg, res, nu 217 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 530 res_state res = __res_get_state(); local 557 res_state res = __res_get_state(); local 703 gethostbyname_internal_real(const char *name, int af, res_state res, struct hostent *hp, char *buf, size_t buflen, int *he) argument 821 gethostbyname_internal(const char *name, int af, res_state res, struct hostent *hp, char *hbuf, size_t hbuflen, int *errorp, const struct android_net_context *netcontext) 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 1614 res_state res = __res_get_state(); local [all...] |
H A D | getaddrinfo.c | 408 const struct addrinfo *hints, struct addrinfo **res, unsigned netid) 415 *res = NULL; 463 struct addrinfo** nextres = res; 554 if (*res) { 555 freeaddrinfo(*res); 556 *res = NULL; 565 const struct addrinfo *hints, struct addrinfo **res) 567 return android_getaddrinfofornet(hostname, servname, hints, NETID_UNSET, MARK_UNSET, res); 573 const struct addrinfo *hints, unsigned netid, unsigned mark, struct addrinfo **res) 582 return android_getaddrinfofornetcontext(hostname, servname, hints, &netcontext, res); 406 android_getaddrinfo_proxy( const char *hostname, const char *servname, const struct addrinfo *hints, struct addrinfo **res, unsigned netid) argument 564 getaddrinfo(const char *hostname, const char *servname, const struct addrinfo *hints, struct addrinfo **res) argument 572 android_getaddrinfofornet(const char *hostname, const char *servname, const struct addrinfo *hints, unsigned netid, unsigned mark, struct addrinfo **res) argument 587 android_getaddrinfofornetcontext(const char *hostname, const char *servname, const struct addrinfo *hints, const struct android_net_context *netcontext, struct addrinfo **res) argument 800 explore_fqdn(const struct addrinfo *pai, const char *hostname, const char *servname, struct addrinfo **res, const struct android_net_context *netcontext) argument 863 explore_null(const struct addrinfo *pai, const char *servname, struct addrinfo **res) argument 929 explore_numeric(const struct addrinfo *pai, const char *hostname, const char *servname, struct addrinfo **res, const char *canonname) argument 1016 explore_numeric_scope(const struct addrinfo *pai, const char *hostname, const char *servname, struct addrinfo **res) argument 1903 res_state res; local 2055 struct addrinfo hints, *res0, *res; local 2160 res_queryN(const char *name, struct res_target *target, res_state res) argument 2282 res_searchN(const char *name, struct res_target *target, res_state res) argument 2430 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) 985 int res, origflags; local 992 res = __connect(sock, nsap, salen); 993 if (res < 0 && errno != EINPROGRESS) { 994 res = -1; 997 if (res != 0) { 1005 res = retrying_select(sock, &rset, &wset, &finish); 1006 if (res <= 0) { 1007 res [all...] |