Lines Matching refs:p
720 char *target_buf=NULL, *p, *s, *e; in PHP_FUNCTION() local
759 if (!(p = php_stream_locate_eol(stream, target_buf, target_len TSRMLS_CC))) { in PHP_FUNCTION()
760 p = e; in PHP_FUNCTION()
772 p++; in PHP_FUNCTION()
774 add_index_stringl(return_value, i++, estrndup(s, p-s), p-s, 0); in PHP_FUNCTION()
775 s = p; in PHP_FUNCTION()
776 } while ((p = memchr(p, eol_marker, (e-p)))); in PHP_FUNCTION()
780 if (p != target_buf && eol_marker == '\n' && *(p - 1) == '\r') { in PHP_FUNCTION()
783 if (skip_blank_lines && !(p-s-windows_eol)) { in PHP_FUNCTION()
784 s = ++p; in PHP_FUNCTION()
787 add_index_stringl(return_value, i++, estrndup(s, p-s-windows_eol), p-s-windows_eol, 0); in PHP_FUNCTION()
788 s = ++p; in PHP_FUNCTION()
789 } while ((p = memchr(p, eol_marker, (e-p)))); in PHP_FUNCTION()
794 p = e; in PHP_FUNCTION()
814 char *p; in PHP_FUNCTION() local
825 php_basename(prefix, prefix_len, NULL, 0, &p, &p_len TSRMLS_CC); in PHP_FUNCTION()
827 p[63] = '\0'; in PHP_FUNCTION()
832 if ((fd = php_open_temporary_fd_ex(dir, p, &opened_path, 1 TSRMLS_CC)) >= 0) { in PHP_FUNCTION()
836 efree(p); in PHP_FUNCTION()