Searched defs:res (Results 1 - 9 of 9) sorted by relevance

/bionic/libc/kernel/uapi/linux/
H A Daio_abi.h41 __s64 res; member in struct:io_event
/bionic/libc/upstream-openbsd/lib/libc/stdio/
H A Dvfscanf.c729 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 Dvfwscanf.c651 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/tests/
H A Dfortify_test.cpp729 char* res = __strncat_chk(buf, "01234", sizeof(buf) - strlen(buf) - 1, sizeof(buf)); local
730 ASSERT_EQ(buf, res);
748 char* res = __strncat_chk(buf, "0123456789", 5, sizeof(buf)); local
749 ASSERT_EQ(buf, res);
766 char* res = __strncat_chk(buf, "0123456789", 5, sizeof(buf)); local
767 ASSERT_EQ(buf, res);
784 char* res = __strncat_chk(buf, "", 5, sizeof(buf)); local
785 ASSERT_EQ(buf, res);
803 char* res = __strncat_chk(buf, "01234567", 8, sizeof(buf)); local
804 ASSERT_EQ(buf, res);
822 char* res = __strncat_chk(buf, "01234567", 9, sizeof(buf)); local
842 char* res = __strcat_chk(buf, "01234", sizeof(buf)); local
861 char* res = __strcat_chk(buf, "01234567", sizeof(buf)); local
958 char* res = __strcat_chk(buf, "01234567", (size_t)-1); local
976 char* res = __stpcpy_chk(buf, "012345678", (size_t)-1); local
985 char* res = __strcpy_chk(buf, "012345678", (size_t)-1); local
994 void* res = __memcpy_chk(buf, "012345678", sizeof(buf), (size_t)-1); local
[all...]
H A Dstring_test.cpp291 char* res = strcat(buf, "01234"); local
292 ASSERT_EQ(buf, res);
304 char* res = strcat(buf, "01234567"); local
305 ASSERT_EQ(buf, res);
314 char* res = strncat(buf, "01234", sizeof(buf) - strlen(buf) - 1); local
315 ASSERT_EQ(buf, res);
327 char* res = strncat(buf, "0123456789", 5); local
328 ASSERT_EQ(buf, res);
340 char* res = strncat(buf, "01234567", 8); local
341 ASSERT_EQ(buf, res);
350 char* res = strncat(buf, "01234567", 9); local
[all...]
/bionic/libc/dns/
H A Dgethnamaddr.c145 dprintf(const char *msg, res_state res, ...) argument
149 if (res->options & RES_DEBUG) {
153 va_start (ap, res);
161 # define dprintf(msg, res, num) ((void)0) /*nada*/
183 res_state res)
378 if (res->options & RES_USE_INET6) {
422 dprintf("size (%d) too big\n", res, n);
429 res, MAXADDRS);
455 if (res->nsort && haveanswer > 1 && qtype == T_A)
456 addrsort(rs->h_addr_ptrs, haveanswer, res);
182 getanswer(const querybuf *answer, int anslen, const char *qname, int qtype, res_state res) argument
479 struct hostent *res; local
496 res_state res = __res_get_state(); local
526 res_state res = __res_get_state(); local
626 gethostbyname_internal_real(const char *name, int af, res_state res) argument
749 gethostbyname_internal(const char *name, int af, res_state res, unsigned netid, unsigned mark) argument
949 res_state res = __res_get_state(); local
1205 addrsort(char **ap, int num, res_state res) argument
1265 res_state res; local
1326 res_state res; local
[all...]
/bionic/libc/dns/resolv/
H A Dres_debug.c148 fprintf(file, ";; res options:");
1175 struct tm res; local
1177 mytime = gmtime_r(&myclock, &res);
H A Dres_send.c137 #define EXT(res) ((res)->_u._ext)
942 int res, origflags; local
949 res = __connect(sock, nsap, salen);
950 if (res < 0 && errno != EINPROGRESS) {
951 res = -1;
954 if (res != 0) {
962 res = retrying_select(sock, &rset, &wset, &finish);
963 if (res <= 0) {
964 res
[all...]
/bionic/libc/dns/net/
H A Dgetaddrinfo.c415 const struct addrinfo *hints, struct addrinfo **res, unsigned netid)
426 *res = NULL;
487 struct addrinfo** nextres = res;
577 if (*res) {
578 freeaddrinfo(*res);
579 *res = NULL;
586 const struct addrinfo *hints, struct addrinfo **res)
588 return android_getaddrinfofornet(hostname, servname, hints, NETID_UNSET, MARK_UNSET, res);
593 const struct addrinfo *hints, unsigned netid, unsigned mark, struct addrinfo **res)
607 assert(res !
413 android_getaddrinfo_proxy( const char *hostname, const char *servname, const struct addrinfo *hints, struct addrinfo **res, unsigned netid) argument
585 getaddrinfo(const char *hostname, const char *servname, const struct addrinfo *hints, struct addrinfo **res) argument
592 android_getaddrinfofornet(const char *hostname, const char *servname, const struct addrinfo *hints, unsigned netid, unsigned mark, struct addrinfo **res) argument
804 explore_fqdn(const struct addrinfo *pai, const char *hostname, const char *servname, struct addrinfo **res, unsigned netid, unsigned mark) argument
866 explore_null(const struct addrinfo *pai, const char *servname, struct addrinfo **res) argument
932 explore_numeric(const struct addrinfo *pai, const char *hostname, const char *servname, struct addrinfo **res, const char *canonname) argument
1019 explore_numeric_scope(const struct addrinfo *pai, const char *hostname, const char *servname, struct addrinfo **res) argument
1886 res_state res; local
2040 struct addrinfo hints, *res0, *res; local
2145 res_queryN(const char *name, struct res_target *target, res_state res) argument
2250 res_searchN(const char *name, struct res_target *target, res_state res) argument
2398 res_querydomainN(const char *name, const char *domain, struct res_target *target, res_state res) argument
[all...]

Completed in 131 milliseconds