Lines Matching refs:lfd
132 return lo_write(self->conn, self->lfd, (char*)buf, count); in pgsql_lob_write()
138 return lo_read(self->conn, self->lfd, buf, count); in pgsql_lob_read()
147 lo_close(self->conn, self->lfd); in pgsql_lob_close()
165 zend_off_t pos = lo_lseek64(self->conn, self->lfd, offset, whence); in pgsql_lob_seek()
167 zend_off_t pos = lo_lseek(self->conn, self->lfd, offset, whence); in pgsql_lob_seek()
185 php_stream *pdo_pgsql_create_lob_stream(zval *dbh, int lfd, Oid oid) in pdo_pgsql_create_lob_stream() argument
192 self->lfd = lfd; in pdo_pgsql_create_lob_stream()
973 Oid lfd; in PHP_METHOD() local
982 lfd = lo_creat(H->server, INV_READ|INV_WRITE); in PHP_METHOD()
984 if (lfd != InvalidOid) { in PHP_METHOD()
985 zend_string *buf = strpprintf(0, ZEND_ULONG_FMT, (zend_long) lfd); in PHP_METHOD()
1002 int lfd; in PHP_METHOD() local
1030 lfd = lo_open(H->server, oid, mode); in PHP_METHOD()
1032 if (lfd >= 0) { in PHP_METHOD()
1033 php_stream *stream = pdo_pgsql_create_lob_stream(ZEND_THIS, lfd, oid); in PHP_METHOD()