Lines Matching defs:up
178 const struct unit *up;
180 for (up = units; time % up->u_mul != 0; up++)
183 (void) snprintf(buf, len, "%llu%s", time / up->u_mul, up->u_name);
192 const char *up = units;
199 while (size >= scale && up < (units + sizeof (units) - 2)) {
200 up++;
210 (void) snprintf(buf, len, "%.1f%c", (float)osize / scale, *up);
212 (void) snprintf(buf, len, "%llu%c", size, *up);