Home
last modified time | relevance | path

Searched refs:dstlen (Results 1 – 3 of 3) sorted by relevance

/bionic/libc/dns/nameser/
Dns_ttl.c50 ns_format_ttl(u_long src, char *dst, size_t dstlen) { in ns_format_ttl() argument
63 T(fmt1(weeks, 'W', &dst, &dstlen)); in ns_format_ttl()
67 T(fmt1(days, 'D', &dst, &dstlen)); in ns_format_ttl()
71 T(fmt1(hours, 'H', &dst, &dstlen)); in ns_format_ttl()
75 T(fmt1(mins, 'M', &dst, &dstlen)); in ns_format_ttl()
79 T(fmt1(secs, 'S', &dst, &dstlen)); in ns_format_ttl()
Dns_name.c221 ns_name_pton2(const char *src, u_char *dst, size_t dstsiz, size_t *dstlen) { in ns_name_pton2() argument
302 if (dstlen != NULL) in ns_name_pton2()
303 *dstlen = (bp - dst); in ns_name_pton2()
341 if (dstlen != NULL) in ns_name_pton2()
342 *dstlen = (bp - dst); in ns_name_pton2()
424 u_char *dst, size_t dstsiz, size_t *dstlen) in ns_name_unpack2() argument
496 if (dstlen != NULL) in ns_name_unpack2()
497 *dstlen = dstp - dst; in ns_name_unpack2()
/bionic/libc/tzcode/
Dlocaltime.c1019 size_t dstlen; in tzparse() local
1062 dstlen = name - dstname; in tzparse()
1067 dstlen = name - dstname; /* length of DST zone name */ in tzparse()
1069 if (!dstlen) in tzparse()
1071 charcnt += dstlen + 1; in tzparse()
1228 dstlen = 0; in tzparse()
1239 if (dstlen != 0) { in tzparse()
1240 memcpy(cp, dstname, dstlen); in tzparse()
1241 *(cp + dstlen) = '\0'; in tzparse()