Lines Matching defs:a_buf

207  * Arguments:	a_buf - [RO, *RW] - (char *)
211 * - Size of 'a_buf' in bytes - a maximum of 'a_bufLen-1'
212 * bytes will be placed in 'a_buf' - the returned
223 pkgstrPrintf_r(char *a_buf, int a_bufLen, char *a_format, ...)
232 assert(a_buf != (char *)NULL);
238 vres = vsnprintf(a_buf, a_bufLen-1, a_format, ap);
244 a_buf[a_bufLen-1] = '\0';
504 * a_buf - [RO, *RW] - (char *)
508 * a_buf[0] == '\0' - no token meeting criteria found
509 * a_buf[0] != '\0' - token meeting criteria returned
511 * - Size of 'a_buf' in bytes - a maximum of 'a_bufLen-1'
512 * bytes will be placed in 'a_buf' - the returned
519 char *a_separators, char *a_buf, int a_bufLen)
531 assert(a_buf != (char *)NULL);
542 bzero(a_buf, a_bufLen);
571 (void) strncpy(a_buf, q, a_bufLen-1);
847 * Arguments: a_buf - [RO, *RW] - (char *)
852 * Returns: a_buf - contains human readable scaled representation of
860 pkgstrScaleNumericString(char *a_buf, unsigned long long scale)
878 if (a_buf == (char *)NULL) {
882 if (*a_buf == '\0') {
883 (void) strcpy(a_buf, "0");
889 number = strtoull(a_buf, (char **)NULL, 10);
894 (void) strcpy(a_buf, "-1");
915 (void) sprintf(a_buf, "%4.1f%c", fnum, *uom);
917 (void) sprintf(a_buf, "%4llu%c", number, *uom);
1084 * a_buf - [RO, *RW] - (char *)
1088 * - Size of 'a_buf' in bytes - a maximum of 'a_bufLen-1'
1089 * bytes will be placed in 'a_buf'
1100 char *a_buf, int a_bufLen)
1109 assert(a_buf != (char *)NULL);
1115 pkgstrPrintf_r(a_buf, a_bufLen, "%s", "0:00:00.000000000");
1130 pkgstrPrintf_r(a_buf, a_bufLen, "%llu:%02llu:%02llu.%09llu",