Lines Matching refs:buf
127 static ssize_t pgsql_lob_write(php_stream *stream, const char *buf, size_t count) in pgsql_lob_write() argument
130 return lo_write(self->conn, self->lfd, (char*)buf, count); in pgsql_lob_write()
133 static ssize_t pgsql_lob_read(php_stream *stream, char *buf, size_t count) in pgsql_lob_read() argument
136 return lo_read(self->conn, self->lfd, buf, count); in pgsql_lob_read()
701 char *buf; in PHP_METHOD() local
706 while ((buf = php_stream_get_line(stream, NULL, 0, &line_len)) != NULL) { in PHP_METHOD()
707 if (PQputCopyData(H->server, buf, line_len) != 1) { in PHP_METHOD()
708 efree(buf); in PHP_METHOD()
714 efree(buf); in PHP_METHOD()
933 zend_string *buf = strpprintf(0, ZEND_ULONG_FMT, (zend_long) lfd); in PHP_METHOD() local
935 RETURN_STR(buf); in PHP_METHOD()