reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
60 new_size = ((p->buf_n + extra + 1) * 3) / 2; 75 if (p->buf_n + len + 1 >= p->buf_size && grow_buf(p, len)) 77 memcpy(p->buf + p->buf_n, s, len); 78 p->buf_n += len; 80 p->buf[p->buf_n] = '\0'; 92 if (p->buf_n + indent + 1 >= p->buf_size && grow_buf(p, indent)) 95 p->buf[p->buf_n++] = ' '; 122 p->buf_n = 0; 123 p->buf[p->buf_n] = '\0'; 136 int left = p->buf_size - p->buf_n; 137 int need = snprintf(p->buf + p->buf_n, left, "%g", d); 141 left = p->buf_size - p->buf_n; 142 need = snprintf(p->buf + p->buf_n, left, "%g", d); 144 p->buf_n += need; 153 int left = p->buf_size - p->buf_n; 154 int need = snprintf(p->buf + p->buf_n, left, "%d", i); 158 left = p->buf_size - p->buf_n; 159 need = snprintf(p->buf + p->buf_n, left, "%d", i); 161 p->buf_n += need; 226 p->buf_n = 0; 251 p->buf_n = 0;