Home
last modified time | relevance | path

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

/picolibc-3.5.0-3.4.0/newlib/libc/stdlib/
Defgcvt.c135 char *tbuf = buf; in gcvt() local
141 return (_gcvt (d, ndigit, buf, 'g', 0) ? tbuf : 0); in gcvt()
/picolibc-3.5.0-3.4.0/test/
Dprintf_scanf.c207 char tbuf[10] = "xxxxxxxxx"; in main() local
210 int i = (y == 0 ? snprintf : check_vsnprintf) (tbuf, x, "%s", "123"); in main()
217 int l = strlen(tbuf); in main()
222 if (y > 0 && strncmp(tbuf, "123", y - 1) != 0) { in main()
228 printf("%s: returned buffer want %s got %s\n", name, buf, tbuf); in main()
231 if (memcmp(tbuf + y, ref + y, sizeof(tbuf) - y) != 0) { in main()
232 printf("%s: tail of buf mangled %s\n", name, tbuf + y); in main()