Lines Matching refs:newformat
382 char *newformat; in strftime_ns() local
392 if ((newformat = strdup(format)) == NULL) in strftime_ns()
394 tok = newformat; in strftime_ns()
395 for (tok = newformat; *tok != '\0'; tok++) { in strftime_ns()
407 prefixlen = tok - newformat; in strftime_ns()
414 oldformat = newformat; in strftime_ns()
453 asprintf(&newformat, "%.*s%.*ld%.*d%n%s", prefixlen, in strftime_ns()
455 if (newformat == NULL) in strftime_ns()
458 tok = newformat + len - 1; in strftime_ns()
487 ret = strftime(s, maxsize, newformat, t); in strftime_ns()
488 free(newformat); in strftime_ns()