Lines Matching refs:lfd
142 return lo_write(self->conn, self->lfd, (char*)buf, count); in pgsql_lob_write()
148 return lo_read(self->conn, self->lfd, buf, count); in pgsql_lob_read()
156 lo_close(self->conn, self->lfd); in pgsql_lob_close()
173 zend_off_t pos = lo_lseek64(self->conn, self->lfd, offset, whence); in pgsql_lob_seek()
175 zend_off_t pos = lo_lseek(self->conn, self->lfd, offset, whence); in pgsql_lob_seek()
193 php_stream *pdo_pgsql_create_lob_stream(zval *dbh, int lfd, Oid oid) in pdo_pgsql_create_lob_stream() argument
200 self->lfd = lfd; in pdo_pgsql_create_lob_stream()
946 Oid lfd; in PHP_METHOD() local
953 lfd = lo_creat(H->server, INV_READ|INV_WRITE); in PHP_METHOD()
955 if (lfd != InvalidOid) { in PHP_METHOD()
956 zend_string *buf = strpprintf(0, ZEND_ULONG_FMT, (zend_long) lfd); in PHP_METHOD()
974 int lfd; in PHP_METHOD() local
1002 lfd = lo_open(H->server, oid, mode); in PHP_METHOD()
1004 if (lfd >= 0) { in PHP_METHOD()
1005 php_stream *stream = pdo_pgsql_create_lob_stream(getThis(), lfd, oid); in PHP_METHOD()