Lines Matching refs:a_buf
223 pkgstrPrintf_r(char *a_buf, int a_bufLen, char *a_format, ...) in pkgstrPrintf_r() argument
232 assert(a_buf != (char *)NULL); in pkgstrPrintf_r()
238 vres = vsnprintf(a_buf, a_bufLen-1, a_format, ap); in pkgstrPrintf_r()
244 a_buf[a_bufLen-1] = '\0'; in pkgstrPrintf_r()
519 char *a_separators, char *a_buf, int a_bufLen) in pkgstrGetToken_r() argument
531 assert(a_buf != (char *)NULL); in pkgstrGetToken_r()
542 bzero(a_buf, a_bufLen); in pkgstrGetToken_r()
571 (void) strncpy(a_buf, q, a_bufLen-1); in pkgstrGetToken_r()
860 pkgstrScaleNumericString(char *a_buf, unsigned long long scale) in pkgstrScaleNumericString() argument
878 if (a_buf == (char *)NULL) { in pkgstrScaleNumericString()
882 if (*a_buf == '\0') { in pkgstrScaleNumericString()
883 (void) strcpy(a_buf, "0"); in pkgstrScaleNumericString()
889 number = strtoull(a_buf, (char **)NULL, 10); in pkgstrScaleNumericString()
894 (void) strcpy(a_buf, "-1"); in pkgstrScaleNumericString()
915 (void) sprintf(a_buf, "%4.1f%c", fnum, *uom); in pkgstrScaleNumericString()
917 (void) sprintf(a_buf, "%4llu%c", number, *uom); in pkgstrScaleNumericString()
1100 char *a_buf, int a_bufLen) in pkgstrConvertUllToTimeString_r() argument
1109 assert(a_buf != (char *)NULL); in pkgstrConvertUllToTimeString_r()
1115 pkgstrPrintf_r(a_buf, a_bufLen, "%s", "0:00:00.000000000"); in pkgstrConvertUllToTimeString_r()
1130 pkgstrPrintf_r(a_buf, a_bufLen, "%llu:%02llu:%02llu.%09llu", in pkgstrConvertUllToTimeString_r()