Lines Matching refs:tbuf
4309 char *tbuf, *buf, *p, *tp, *rp, c, lc; local
4324 tbuf = emalloc(PHP_TAG_BUF_SIZE + 1);
4325 tp = tbuf;
4327 tbuf = tp = NULL;
4345 if (tp - tbuf >= PHP_TAG_BUF_SIZE) {
4346 pos = tp - tbuf;
4347 tbuf = erealloc(tbuf, (tp - tbuf) + PHP_TAG_BUF_SIZE + 1);
4348 tp = tbuf + pos;
4364 if (tp - tbuf >= PHP_TAG_BUF_SIZE) {
4365 pos = tp - tbuf;
4366 tbuf = erealloc(tbuf, (tp - tbuf) + PHP_TAG_BUF_SIZE + 1);
4367 tp = tbuf + pos;
4382 if (tp - tbuf >= PHP_TAG_BUF_SIZE) {
4383 pos = tp - tbuf;
4384 tbuf = erealloc(tbuf, (tp - tbuf) + PHP_TAG_BUF_SIZE + 1);
4385 tp = tbuf + pos;
4408 if (tp - tbuf >= PHP_TAG_BUF_SIZE) {
4409 pos = tp - tbuf;
4410 tbuf = erealloc(tbuf, (tp - tbuf) + PHP_TAG_BUF_SIZE + 1);
4411 tp = tbuf + pos;
4415 if (php_tag_find(tbuf, tp-tbuf, allow)) {
4416 memcpy(rp, tbuf, tp-tbuf);
4417 rp += tp-tbuf;
4419 tp = tbuf;
4426 tp = tbuf;
4432 tp = tbuf;
4438 tp = tbuf;
4462 if (tp - tbuf >= PHP_TAG_BUF_SIZE) {
4463 pos = tp - tbuf;
4464 tbuf = erealloc(tbuf, (tp - tbuf) + PHP_TAG_BUF_SIZE + 1);
4465 tp = tbuf + pos;
4487 if (tp - tbuf >= PHP_TAG_BUF_SIZE) {
4488 pos = tp - tbuf;
4489 tbuf = erealloc(tbuf, (tp - tbuf) + PHP_TAG_BUF_SIZE + 1);
4490 tp = tbuf + pos;
4546 if (tp - tbuf >= PHP_TAG_BUF_SIZE) {
4547 pos = tp - tbuf;
4548 tbuf = erealloc(tbuf, (tp - tbuf) + PHP_TAG_BUF_SIZE + 1);
4549 tp = tbuf + pos;
4563 efree(tbuf);