/bionic/libc/include/sys/ |
H A D | time.h | 56 #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 D | res_compat.c | 83 __res_put_old_state(void *res) argument 85 (void)memcpy(&_res, res, sizeof(_res));
|
H A D | res_state.c | 213 __res_put_state(res_state res) argument 216 res=res;
|
H A D | res_send.c | 136 #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 D | res_debug.c | 150 fprintf(file, ";; res options:"); 1117 struct tm res; local 1119 mytime = gmtime_r(&myclock, &res);
|
/bionic/libc/bionic/ |
H A D | md5.h | 50 void MD5_Final (void *res, struct md5 *m); /* u_int32_t res[4] */
|
H A D | logd_write.c | 98 size_t res = 0; local 101 res += vec[i].iov_len; 104 return (int)res;
|
H A D | md5.c | 242 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 D | gethnamaddr.c | 135 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 D | vfscanf.c | 575 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 D | getaddrinfo.c | 410 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 D | div64.h | 25 #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 D | mipsregs.h | 719 #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 D | aio_abi.h | 36 __s64 res; member in struct:io_event
|
H A D | ioport.h | 35 struct resource *res; member in struct:resource_list
|
H A D | nfs_xdr.h | 554 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 D | resolv_private.h | 75 * 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)
|