Home
last modified time | relevance | path

Searched refs:odst (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/lib/libresolv2/common/inet/
H A Dinet_net_pton.c66 const u_char *odst = dst; in inet_net_pton_ipv4() local
127 isdigit((unsigned char)(src[0])) && dst > odst) { in inet_net_pton_ipv4()
148 if (dst == odst) in inet_net_pton_ipv4()
152 if (*odst >= 240) /*%< Class E */ in inet_net_pton_ipv4()
154 else if (*odst >= 224) /*%< Class D */ in inet_net_pton_ipv4()
156 else if (*odst >= 192) /*%< Class C */ in inet_net_pton_ipv4()
158 else if (*odst >= 128) /*%< Class B */ in inet_net_pton_ipv4()
163 if (bits < ((dst - odst) * 8)) in inet_net_pton_ipv4()
164 bits = (dst - odst) * 8; in inet_net_pton_ipv4()
169 if (bits == 8 && *odst == 224) in inet_net_pton_ipv4()
[all …]
H A Dinet_neta.c58 char *odst = dst; local
77 if (dst == odst) {
82 return (odst);
H A Dinet_cidr_pton.c86 const u_char *odst = dst; in inet_cidr_pton_ipv4() local
112 if (ch == '/' && dst > odst) { in inet_cidr_pton_ipv4()
121 if (dst - odst == 4) in inet_cidr_pton_ipv4()
128 if (dst == odst) in inet_cidr_pton_ipv4()
132 if (((bits - (ipv6 ? 96 : 0)) / 8) > (dst - odst)) in inet_cidr_pton_ipv4()
H A Dinet_cidr_ntop.c77 char *odst = dst; in decoct() local
92 return (dst - odst); in decoct()
110 char *odst = dst; in inet_cidr_ntop_ipv4() local
145 return (odst); in inet_cidr_ntop_ipv4()
H A Dinet_net_ntop.c97 char *odst = dst; local
134 if (dst != odst)
145 return (odst);
/illumos-gate/usr/src/lib/libresolv2/common/nameser/
H A Dns_ttl.c47 char *odst = dst; in ns_format_ttl() local
82 for (p = odst; (ch = *p) != '\0'; p++) in ns_format_ttl()
87 return (dst - odst); in ns_format_ttl()
/illumos-gate/usr/src/boot/libsa/string/
H A Dstrlcat.c35 const char *odst = dst; in strlcat() local
43 dlen = dst - odst; in strlcat()
/illumos-gate/usr/src/cmd/awk_xpg4/
H A Dawk1.c1617 wchar_t *dst, *odst; in int_regwdosuba() local
1634 dst = (wchar_t *)realloc(odst = dst, \ in int_regwdosuba()
1716 if ((*dstp = dst = (wchar_t *)realloc(odst = dst, in int_regwdosuba()
1719 free(odst); in int_regwdosuba()
/illumos-gate/usr/src/lib/lib9p/common/backend/
H A Dfs.c2942 struct stat odst, ndst, fst; in fs_renameat() local
2973 if (fstatat(off->ff_dirfd, off->ff_name, &odst, AT_SYMLINK_NOFOLLOW) != 0) in fs_renameat()
2975 if (!S_ISDIR(odst.st_mode)) in fs_renameat()
2988 off->ff_acl, &odst, facl, &fst, off->ff_ai, (gid_t)-1); in fs_renameat()