Home
last modified time | relevance | path

Searched refs:res (Results 1 – 16 of 16) sorted by relevance

/bionic/libc/include/sys/
Dtime.h56 #define timeradd(a, b, res) \ argument
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) \ argument
68 (res)->tv_sec = (a)->tv_sec - (b)->tv_sec; \
69 (res)->tv_usec = (a)->tv_usec - (b)->tv_usec; \
70 if ((res)->tv_usec < 0) { \
[all …]
Dlinux-unistd.h127 int clock_getres (clockid_t clk_id, struct timespec *res);
/bionic/libc/netbsd/resolv/
Dres_compat.c83 __res_put_old_state(void *res) in __res_put_old_state() argument
85 (void)memcpy(&_res, res, sizeof(_res)); in __res_put_old_state()
Dres_state.c173 __res_put_state(res_state res) in __res_put_state() argument
176 res=res; in __res_put_state()
Dres_debug.c1116 struct tm res; in p_secstodate() local
1118 mytime = gmtime_r(&myclock, &res); in p_secstodate()
Dres_send.c133 #define EXT(res) ((res)->_u._ext) argument
/bionic/libc/netbsd/
Dgethnamaddr.c134 dprintf(const char *msg, res_state res, ...) in dprintf() argument
138 if (res->options & RES_DEBUG) { in dprintf()
142 va_start (ap, res); in dprintf()
150 # define dprintf(msg, res, num) ((void)0) /*nada*/ argument
172 res_state res) in getanswer() argument
367 if (res->options & RES_USE_INET6) { in getanswer()
411 dprintf("size (%d) too big\n", res, n); in getanswer()
418 res, MAXADDRS); in getanswer()
444 if (res->nsort && haveanswer > 1 && qtype == T_A) in getanswer()
445 addrsort(rs->h_addr_ptrs, haveanswer, res); in getanswer()
[all …]
/bionic/libc/netbsd/net/
Dgetaddrinfo.c220 static void aisort(struct addrinfo *s, res_state res);
340 const struct addrinfo *hints, struct addrinfo **res) in getaddrinfo() argument
353 assert(res != NULL); in getaddrinfo()
526 *res = sentinel.ai_next; in getaddrinfo()
535 *res = NULL; in getaddrinfo()
544 const char *servname, struct addrinfo **res) in explore_fqdn() argument
559 assert(res != NULL); in explore_fqdn()
589 *res = result; in explore_fqdn()
606 struct addrinfo **res) in explore_null() argument
616 assert(res != NULL); in explore_null()
[all …]
/bionic/libc/stdio/
Dvfscanf.c565 uintmax_t res; in VFSCANF() local
569 res = strtoumax(buf, NULL, base); in VFSCANF()
571 res = strtoimax(buf, NULL, base); in VFSCANF()
574 (void *)(uintptr_t)res; in VFSCANF()
576 *va_arg(ap, intmax_t *) = res; in VFSCANF()
578 *va_arg(ap, long long *) = res; in VFSCANF()
580 *va_arg(ap, ssize_t *) = res; in VFSCANF()
582 *va_arg(ap, ptrdiff_t *) = res; in VFSCANF()
584 *va_arg(ap, long *) = res; in VFSCANF()
586 *va_arg(ap, short *) = res; in VFSCANF()
[all …]
/bionic/libc/bionic/
Dmd5.h50 void MD5_Final (void *res, struct md5 *m); /* u_int32_t res[4] */
Dmd5.c238 MD5_Final (void *res, struct md5 *m) in MD5_Final() argument
257 unsigned char *r = (unsigned char *)res; in MD5_Final()
269 u_int32_t *r = (u_int32_t *)res; in MD5_Final()
/bionic/libc/kernel/common/linux/
Daio_abi.h31 __s64 res; member
Dioport.h28 struct resource *res; member
Dnfs_xdr.h475 struct nfs_readres res; member
491 struct nfs_writeres res; member
/bionic/libc/private/
Dresolv_private.h215 #define RES_GETLAST(res) (((res)._flags & RES_F_LASTMASK) >> RES_F_LASTSHIFT) argument
/bionic/libc/
DSYSCALLS.TXT155 int clock_getres(clockid_t clk_id, struct timespec *res) 264,266