Home
last modified time | relevance | path

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

/bionic/libc/upstream-openbsd/lib/libc/time/
Dwcsftime.c119 wcsftime(wchar_t *__restrict s, size_t maxsize, in wcsftime() argument
127 p = _fmt(((format == NULL) ? L"%c" : format), t, s, s + maxsize, &warn); in wcsftime()
128 if (p == s + maxsize) { in wcsftime()
129 if (maxsize > 0) in wcsftime()
130 s[maxsize - 1] = '\0'; in wcsftime()
/bionic/libc/tzcode/
Dstrftime.c138 strftime_l(char *s, size_t maxsize, char const *format, struct tm const *t, in strftime_l() argument
142 return strftime(s, maxsize, format, t); in strftime_l()
149 strftime(char *s, size_t maxsize, const char *format, const struct tm *t) in strftime() argument
156 p = _fmt(((format == NULL) ? "%c" : format), t, s, s + maxsize, &warn); in strftime()
173 if (p == s + maxsize) in strftime()