Lines Matching refs:snprintf
119 snprintf (buf, size, "%.*s-%s%s", p - file, file, view, p);
804 snprintf (tzstr, sizeof (tzstr), "TZ=%s", "UTC");
809 snprintf (tzstr, sizeof (tzstr), "TZ=%s", tz);
811 snprintf (tzstr, sizeof (tzstr), "TZ=%s", "");
863 snprintf (timestr, sizeof (timestr), "%s %2d %4d %02d:%02d:%02d %c%02d%02d",
869 snprintf (timestr, sizeof (timestr), "%s %2d %4d %02d:%02d %c%02d%02d",
877 snprintf (timestr, sizeof (timestr), "%s %2d %4d %02d:%02d:%02d",
881 snprintf (timestr, sizeof (timestr), "%s %2d %4d %02d:%02d",
906 snprintf (timestr, sizeof (timestr), "%4d%02d%02d%02d%02d%02d",
910 snprintf (timestr, sizeof (timestr), "%4d%02d%02d%02d%02d",
931 len += snprintf (str+len, strsize - len, "%1luy", sec / YEARSEC );
935 len += snprintf (str+len, strsize - len, " ");
939 len += snprintf (str+len, strsize - len, "%2luw", (ulong) sec / WEEKSEC );
943 len += snprintf (str+len, strsize - len, " ");
946 len += snprintf (str+len, strsize - len, "%2lud", sec / (ulong)DAYSEC);
950 len += snprintf (str+len, strsize - len, " ");
953 len += snprintf (str+len, strsize - len, "%2luh", sec / (ulong)HOURSEC);
957 len += snprintf (str+len, strsize - len, " ");
960 len += snprintf (str+len, strsize - len, "%2lum", sec / (ulong)MINSEC);
964 len += snprintf (str+len, strsize - len, " ");
966 snprintf (str+len, strsize - len, "%2lus", (ulong) sec);
968 len += snprintf (str+len, strsize - len, " ");