Lines Matching defs:sz
61 size_t sz;
89 if (state->max_sz && state->sz >= state->max_sz)
92 state->sz = max(state->sz * 2, state->sz + n);
94 state->sz = min(state->sz, state->max_sz);
95 tmp = realloc (state->str, state->sz);
100 state->theend = state->str + state->sz - 1;
544 rk_snprintf (char *str, size_t sz, const char *format, ...)
550 ret = vsnprintf (str, sz, format, args);
558 tmp = malloc (sz);
654 state.sz = 1;
655 state.str = malloc(state.sz);
661 state.theend = state.s + state.sz - 1;
665 if (st > state.sz) {
687 rk_vsnprintf (char *str, size_t sz, const char *format, va_list args)
694 state.sz = sz;
697 state.theend = ustr + sz - (sz > 0);
701 if (state.s != NULL && sz != 0)