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.c1156 ptrdiff_t stdlen, dstlen, charcnt; in tzparse() local
1197 dstlen = name - dstname; in tzparse()
1202 dstlen = name - dstname; /* length of DST abbr. */ in tzparse()
1204 if (! (0 < dstlen && dstlen <= TZNAME_MAXIMUM)) in tzparse()
1206 charcnt += dstlen + 1; in tzparse()
1401 dstlen = 0; in tzparse()
1412 if (dstlen != 0) { in tzparse()
1413 memcpy(cp, dstname, dstlen); in tzparse()
1414 *(cp + dstlen) = '\0'; in tzparse()