Lines Matching refs:cbuf
397 char *cbuf; in fmt_args() local
435 cbuf = MALLOC(cbsize); in fmt_args()
437 if (snprintf(cbuf, cbsize, snf, *arg) < 0) in fmt_args()
440 while ((cbuf[ndigits] != NULL) && in fmt_args()
446 cbuf[cw] = 0; in fmt_args()
452 *arg = strtol(cbuf, in fmt_args()
455 free(cbuf); in fmt_args()
466 cbuf = MALLOC(cbsize); in fmt_args()
471 if (snprintf(cbuf, cbsize, "%p", *llarg) < 0) in fmt_args()
477 if (snprintf(cbuf, cbsize, "%lx", *llarg) < 0) in fmt_args()
482 if (snprintf(cbuf, cbsize, "%ld", *llarg) < 0) in fmt_args()
490 free(cbuf); in fmt_args()
493 while ((cbuf[ndigits] != NULL) && in fmt_args()
499 cbuf[cw] = 0; in fmt_args()
500 *llarg = strtoll(cbuf, (char **)NULL, cnv); in fmt_args()
502 free(cbuf); in fmt_args()