Searched refs:res (Results 1 - 17 of 17) sorted by relevance

/bionic/libc/include/sys/
H A Dtime.h56 #define timeradd(a, b, res) \
58 (res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \
59 (res)->tv_usec = (a)->tv_usec + (b)->tv_usec; \
60 if ((res)->tv_usec >= 1000000) { \
61 (res)->tv_usec -= 1000000; \
62 (res)->tv_sec += 1; \
66 #define timersub(a, b, res) \
68 (res)->tv_sec = (a)->tv_sec - (b)->tv_sec; \
69 (res)->tv_usec = (a)->tv_usec - (b)->tv_usec; \
70 if ((res)
[all...]
/bionic/libc/netbsd/resolv/
H A Dres_compat.c83 __res_put_old_state(void *res) argument
85 (void)memcpy(&_res, res, sizeof(_res));
H A Dres_state.c213 __res_put_state(res_state res) argument
216 res=res;
H A Dres_send.c136 #define EXT(res) ((res)->_u._ext)
917 int res, origflags; local
924 res = connect(sock, nsap, salen);
925 if (res < 0 && errno != EINPROGRESS) {
926 res = -1;
929 if (res != 0) {
938 res = retrying_select(sock, &rset, &wset, &finish);
939 if (res <= 0) {
940 res
[all...]
H A Dres_debug.c150 fprintf(file, ";; res options:");
1117 struct tm res; local
1119 mytime = gmtime_r(&myclock, &res);
/bionic/libc/bionic/
H A Dmd5.h50 void MD5_Final (void *res, struct md5 *m); /* u_int32_t res[4] */
H A Dlogd_write.c98 size_t res = 0; local
101 res += vec[i].iov_len;
104 return (int)res;
H A Dmd5.c242 MD5_Final (void *res, struct md5 *m) argument
261 unsigned char *r = (unsigned char *)res;
273 u_int32_t *r = (u_int32_t *)res;
/bionic/libc/netbsd/
H A Dgethnamaddr.c135 dprintf(const char *msg, res_state res, ...) argument
139 if (res->options & RES_DEBUG) {
143 va_start (ap, res);
151 # define dprintf(msg, res, num) ((void)0) /*nada*/
173 res_state res)
368 if (res->options & RES_USE_INET6) {
412 dprintf("size (%d) too big\n", res, n);
419 res, MAXADDRS);
445 if (res->nsort && haveanswer > 1 && qtype == T_A)
446 addrsort(rs->h_addr_ptrs, haveanswer, res);
172 getanswer(const querybuf *answer, int anslen, const char *qname, int qtype, res_state res) argument
469 struct hostent *res; local
486 res_state res = __res_get_state(); local
509 res_state res = __res_get_state(); local
519 gethostbyname_internal(const char *name, int af, res_state res) argument
749 res_state res = __res_get_state(); local
1005 addrsort(char **ap, int num, res_state res) argument
1065 res_state res; local
1126 res_state res; local
[all...]
/bionic/libc/stdio/
H A Dvfscanf.c575 uintmax_t res; local
579 res = strtoumax(buf, NULL, base);
581 res = strtoimax(buf, NULL, base);
584 (void *)(uintptr_t)res;
586 *va_arg(ap, intmax_t *) = res;
588 *va_arg(ap, long long *) = res;
590 *va_arg(ap, ssize_t *) = res;
592 *va_arg(ap, ptrdiff_t *) = res;
594 *va_arg(ap, long *) = res;
596 *va_arg(ap, short *) = res;
684 double res; local
[all...]
/bionic/libc/netbsd/net/
H A Dgetaddrinfo.c410 const struct addrinfo *hints, struct addrinfo **res)
422 *res = NULL;
495 struct addrinfo** nextres = res;
586 if (*res) {
587 freeaddrinfo(*res);
588 *res = NULL;
595 const struct addrinfo *hints, struct addrinfo **res)
608 assert(res != NULL);
742 if (android_getaddrinfo_proxy(hostname, servname, hints, res) == 0) {
788 *res
408 android_getaddrinfo_proxy( const char *hostname, const char *servname, const struct addrinfo *hints, struct addrinfo **res) argument
594 getaddrinfo(const char *hostname, const char *servname, const struct addrinfo *hints, struct addrinfo **res) argument
805 explore_fqdn(const struct addrinfo *pai, const char *hostname, const char *servname, struct addrinfo **res) argument
867 explore_null(const struct addrinfo *pai, const char *servname, struct addrinfo **res) argument
933 explore_numeric(const struct addrinfo *pai, const char *hostname, const char *servname, struct addrinfo **res, const char *canonname) argument
1020 explore_numeric_scope(const struct addrinfo *pai, const char *hostname, const char *servname, struct addrinfo **res) argument
1899 res_state res; local
2048 struct addrinfo hints, *res0, *res; local
2153 res_queryN(const char *name, struct res_target *target, res_state res) argument
2258 res_searchN(const char *name, struct res_target *target, res_state res) argument
2400 res_querydomainN(const char *name, const char *domain, struct res_target *target, res_state res) argument
[all...]
/bionic/libc/kernel/arch-mips/asm/
H A Ddiv64.h25 #define do_div64_32(res, high, low, base) ({ unsigned long __quot32, __mod32; unsigned long __cf, __tmp, __tmp2, __i; __asm__(".set push\n\t" ".set noat\n\t" ".set noreorder\n\t" "move %2, $0\n\t" "move %3, $0\n\t" "b 1f\n\t" " li %4, 0x21\n" "0:\n\t" "sll $1, %0, 0x1\n\t" "srl %3, %0, 0x1f\n\t" "or %0, $1, %5\n\t" "sll %1, %1, 0x1\n\t" "sll %2, %2, 0x1\n" "1:\n\t" "bnez %3, 2f\n\t" " sltu %5, %0, %z6\n\t" "bnez %5, 3f\n" "2:\n\t" " addiu %4, %4, -1\n\t" "subu %0, %0, %z6\n\t" "addiu %2, %2, 1\n" "3:\n\t" "bnez %4, 0b\n\t" " srl %5, %1, 0x1f\n\t" ".set pop" : "=&r" (__mod32), "=&r" (__tmp), "=&r" (__quot32), "=&r" (__cf), "=&r" (__i), "=&r" (__tmp2) : "Jr" (base), "0" (high), "1" (low)); (res) = __quot32; __mod32; })
H A Dmipsregs.h719 #define __BUILD_SET_C0(name) static inline unsigned int set_c0_##name(unsigned int set) { unsigned int res; res = read_c0_##name(); res |= set; write_c0_##name(res); return res; } static inline unsigned int clear_c0_##name(unsigned int clear) { unsigned int res; res = read_c0_##name(); res &= ~clear; write_c0_##name(res); return res; } stati
[all...]
/bionic/libc/kernel/common/linux/
H A Daio_abi.h36 __s64 res; member in struct:io_event
H A Dioport.h35 struct resource *res; member in struct:resource_list
H A Dnfs_xdr.h554 struct nfs_readres res; member in struct:nfs_read_data
572 struct nfs_writeres res; member in struct:nfs_write_data
/bionic/libc/private/
H A Dresolv_private.h75 * aware programs, the last h_errno value set is stored in res->h_errno.
215 #define RES_GETLAST(res) (((res)._flags & RES_F_LASTMASK) >> RES_F_LASTSHIFT)

Completed in 198 milliseconds