Searched refs:tbuf (Results 1 – 2 of 2) sorted by relevance
/picolibc-latest/newlib/libc/stdlib/ |
D | efgcvt.c | 134 char *tbuf = buf; in gcvt() local 140 return (_gcvt (d, ndigit, buf, 'g', 0) ? tbuf : 0); in gcvt()
|
/picolibc-latest/test/ |
D | printf_scanf.c | 378 char tbuf[10] = "xxxxxxxxx"; in main() local 381 int i = (y == 0 ? snprintf : check_vsnprintf) (tbuf, x, "%s", "123"); in main() 388 int l = strlen(tbuf); in main() 393 if (y > 0 && strncmp(tbuf, "123", y - 1) != 0) { in main() 399 printf("%s: returned buffer want %s got %s\n", name, buf, tbuf); in main() 402 if (memcmp(tbuf + y, ref + y, sizeof(tbuf) - y) != 0) { in main() 403 printf("%s: tail of buf mangled %s\n", name, tbuf + y); in main()
|