Lines Matching defs:str
60 unsigned char *str;
94 int off = state->s - state->str;
103 tmp = realloc (state->str, state->sz);
106 state->str = tmp;
107 state->s = state->str + off;
108 state->theend = state->str + state->sz - 1;
434 *arg = state->s - state->str;
459 snprintf (char *str, size_t sz, const char *format, ...)
465 ret = vsnprintf (str, sz, format, args);
477 if (ret != ret2 || strcmp(str, tmp))
568 state.str = malloc(state.sz);
569 if (state.str == NULL) {
573 state.s = state.str;
580 free (state.str);
587 len = state.s - state.str;
588 tmp = realloc (state.str, len+1);
590 free (state.str);
603 vsnprintf (char *str, size_t sz, const char *format, va_list args)
607 unsigned char *ustr = (unsigned char *)str;
611 state.str = ustr;
622 return state.s - state.str;