Lines Matching refs:o
67 if (ms->o.buf != NULL) { in file_printf()
68 spprintf(&newstr, 0, "%s%s", ms->o.buf, (buf ? buf : "")); in file_printf()
72 efree(ms->o.buf); in file_printf()
73 ms->o.buf = newstr; in file_printf()
75 ms->o.buf = buf; in file_printf()
94 efree(ms->o.buf); in file_error_core()
95 ms->o.buf = NULL; in file_error_core()
392 if (ms->o.buf) { in file_reset()
393 efree(ms->o.buf); in file_reset()
394 ms->o.buf = NULL; in file_reset()
396 if (ms->o.pbuf) { in file_reset()
397 efree(ms->o.pbuf); in file_reset()
398 ms->o.pbuf = NULL; in file_reset()
405 #define OCTALIFY(n, o) \ argument
408 *(n)++ = ((CAST(uint32_t, *(o)) >> 6) & 3) + '0', \
409 *(n)++ = ((CAST(uint32_t, *(o)) >> 3) & 7) + '0', \
410 *(n)++ = ((CAST(uint32_t, *(o)) >> 0) & 7) + '0', \
411 (o)++)
423 return ms->o.buf; in file_getbuffer()
425 if (ms->o.buf == NULL) in file_getbuffer()
429 len = strlen(ms->o.buf); in file_getbuffer()
435 if ((pbuf = CAST(char *, erealloc(ms->o.pbuf, psize))) == NULL) { in file_getbuffer()
439 ms->o.pbuf = pbuf; in file_getbuffer()
450 np = ms->o.pbuf; in file_getbuffer()
451 op = ms->o.buf; in file_getbuffer()
476 return ms->o.pbuf; in file_getbuffer()
480 for (np = ms->o.pbuf, op = ms->o.buf; *op;) { in file_getbuffer()
488 return ms->o.pbuf; in file_getbuffer()
517 return ms->o.buf == NULL ? 0 : strlen(ms->o.buf); in file_printedlen()
540 res = php_pcre_replace_impl(pce, NULL, ms->o.buf, strlen(ms->o.buf), repl, -1, &rep_cnt); in file_replace()
548 strncpy(ms->o.buf, ZSTR_VAL(res), ZSTR_LEN(res)); in file_replace()
549 ms->o.buf[ZSTR_LEN(res)] = '\0'; in file_replace()
568 pb->buf = ms->o.buf; in file_push_buffer()
571 ms->o.buf = NULL; in file_push_buffer()
588 rbuf = ms->o.buf; in file_pop_buffer()
590 ms->o.buf = pb->buf; in file_pop_buffer()