Searched refs:ROUND_DOWN (Results 1 – 8 of 8) sorted by relevance
/titanic_41/usr/src/lib/libnsl/nss/ |
H A D | gethostent.c | 164 addrp6 = (struct in6_addr *)ROUND_DOWN(buffer + buflen, in __str2hostent() 167 addrvec = (char **)ROUND_DOWN(addrp6, sizeof (*addrvec)); in __str2hostent() 170 addrp = (struct in_addr *)ROUND_DOWN(buffer + buflen, in __str2hostent() 173 addrvec = (char **)ROUND_DOWN(addrp, sizeof (*addrvec)); in __str2hostent()
|
H A D | getipnodeby.c | 818 buff_locp = (char *)ROUND_DOWN(limit, sizeof (struct in6_addr)); in __mapv4tov6() 1061 buff_locp = (char *)ROUND_DOWN(limit, sizeof (struct in_addr)); in __mappedtov4()
|
H A D | netdir_inet.c | 2262 addrp = (struct in_addr *)ROUND_DOWN(buffer + buflen, in ndaddr2hent() 2280 addr6p = (struct in6_addr *)ROUND_DOWN(buffer + buflen, in ndaddr2hent()
|
/titanic_41/usr/src/lib/nsswitch/files/common/ |
H A D | gethostent.c | 624 addrp = (struct in_addr *)(ROUND_DOWN(args->buf.buffer + 626 hp->h_addr_list = (char **)(ROUND_DOWN(addrp - 635 (ROUND_DOWN(args->buf.buffer + args->buf.buflen, 637 hp->h_addr_list = (char **)(ROUND_DOWN(addrp6 -
|
/titanic_41/usr/src/head/ |
H A D | nss_dbdefs.h | 816 #define ROUND_DOWN(n, align) (((uintptr_t)n) & ~((align) - 1l)) macro 817 #define ROUND_UP(n, align) ROUND_DOWN(((uintptr_t)n) + (align) - 1l, \
|
/titanic_41/usr/src/lib/nsswitch/dns/common/ |
H A D | dns_common.c | 138 addrp = (struct in_addr *)ROUND_DOWN(limit, sizeof (*addrp)); 151 ROUND_DOWN(limit, sizeof (*addrp6));
|
/titanic_41/usr/src/lib/libc/port/gen/ |
H A D | getgrnam_r.c | 355 limit = (char **)ROUND_DOWN(buffer + buflen, sizeof (char *)); in str2group()
|
/titanic_41/usr/src/lib/libproject/common/ |
H A D | getprojent.c | 396 limit = (char **)ROUND_DOWN(buffer + buflen, sizeof (char *)); in str2project()
|