Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
Dns_ttl.c80 ns_format_ttl(u_long src, char *dst, size_t dstlen) { in ns_format_ttl() argument
93 T(fmt1(weeks, 'W', &dst, &dstlen)); in ns_format_ttl()
97 T(fmt1(days, 'D', &dst, &dstlen)); in ns_format_ttl()
101 T(fmt1(hours, 'H', &dst, &dstlen)); in ns_format_ttl()
105 T(fmt1(mins, 'M', &dst, &dstlen)); in ns_format_ttl()
109 T(fmt1(secs, 'S', &dst, &dstlen)); in ns_format_ttl()
/device/linaro/bootloader/edk2/StdLib/LibC/Time/
DZoneProc.c577 size_t dstlen; in tzparse() local
610 dstlen = name - dstname; /* length of DST zone name */ in tzparse()
611 if (dstlen < 3) in tzparse()
740 dstlen = 0; in tzparse()
748 if (dstlen != 0) in tzparse()
749 sp->charcnt += (int)dstlen + 1; in tzparse()
756 if (dstlen != 0) { in tzparse()
757 (void) strncpy(cp, dstname, dstlen); in tzparse()
758 *(cp + dstlen) = '\0'; in tzparse()