Lines Matching refs:base
221 char base[8];
225 char* base;
750 int base;
855 base = sfsprintf(dig, sizeof(dig), "%u", zp->exponent);
856 fp->width = zp->prefix + prec + base + 2;
868 base = 0;
880 if (base)
881 e += sfsprintf(e, sizeof(fp->form) - (e - fp->form), "%s.%d", prec ? "" : ".", base);
960 sfsetbuf(ip, state->buffer.base, state->buffer.size);
1011 block(State_t* state, Sfio_t* op, char* bp, char* ep, intmax_t base)
1033 if (*state->base)
1036 sfprintf(op, state->base, base);
1205 if (*state->base && sfprintf(sfstdout, state->base, state->offset - (x - s) - n - 1) < 0)
1328 *state.base = *opt_info.arg;
1371 if (n == 'b' && !(state.buffer.base = vmnewof(state.vm, 0, char, state.buffer.size, 0)))
1489 switch (n = *state.base)
1492 *state.base = 0;
1499 goto base;
1502 goto base;
1506 base:
1507 sfsprintf(state.base, sizeof(state.base), "%%0%d%s%c ", BASE_WIDTH, QUAL, n);
1510 error(2, "%c: invalid addr-base type", n);
1525 if (*state.base)
1595 if (*state.base && !state.strings)
1597 *(state.base + strlen(state.base) - 1) = '\n';
1598 sfprintf(sfstdout, state.base, (intmax_t)state.offset);