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

/haiku/src/system/libnetwork/netresolv/nameser/
H A Dns_ttl.c60 ns_format_ttl(u_long src, char *dst, size_t dstlen) { argument
73 T(fmt1(weeks, 'W', &dst, &dstlen));
77 T(fmt1(days, 'D', &dst, &dstlen));
81 T(fmt1(hours, 'H', &dst, &dstlen));
85 T(fmt1(mins, 'M', &dst, &dstlen));
89 T(fmt1(secs, 'S', &dst, &dstlen));
H A Dns_name.c210 * ns_name_pton2(src, dst, dstsiz, *dstlen)
217 * fills in *dstlen (if non-NULL)
222 ns_name_pton2(const char *src, u_char *dst, size_t dstsiz, size_t *dstlen) { argument
303 if (dstlen != NULL)
304 *dstlen = (bp - dst);
342 if (dstlen != NULL)
343 *dstlen = (bp - dst);
416 * ns_name_unpack2(msg, eom, src, dst, dstsiz, *dstlen)
421 * fills in *dstlen (if non-NULL).
425 u_char *dst, size_t dstsiz, size_t *dstlen)
424 ns_name_unpack2(const u_char *msg, const u_char *eom, const u_char *src, u_char *dst, size_t dstsiz, size_t *dstlen) argument
[all...]
/haiku/src/bin/unzip/
H A Dtimezone.c400 size_t dstlen; local
419 dstlen = name - dstname; /* length of DST zone name */
420 if (dstlen < 3)
453 dstlen = 0;
461 if (dstlen != 0)
462 sp->charcnt += dstlen + 1;
469 if (dstlen != 0) {
470 (void) strncpy(cp, dstname, dstlen);
471 *(cp + dstlen) = '\0';

Completed in 114 milliseconds