Home
last modified time | relevance | path

Searched refs:dstfd (Results 51 – 75 of 214) sorted by relevance

123456789

/dports/databases/postgresql14-contrib/postgresql-14.1/src/backend/storage/file/
H A Dcopydir.c131 int dstfd; in copy_file() local
163 dstfd = OpenTransientFile(tofile, O_RDWR | O_CREAT | O_EXCL | PG_BINARY); in copy_file()
164 if (dstfd < 0) in copy_file()
185 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in copy_file()
200 if ((int) write(dstfd, buffer, nbytes) != nbytes) in copy_file()
213 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in copy_file()
215 if (CloseTransientFile(dstfd) != 0) in copy_file()
/dports/databases/postgresql14-docs/postgresql-14.1/src/backend/storage/file/
H A Dcopydir.c131 int dstfd; in copy_file() local
163 dstfd = OpenTransientFile(tofile, O_RDWR | O_CREAT | O_EXCL | PG_BINARY); in copy_file()
164 if (dstfd < 0) in copy_file()
185 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in copy_file()
200 if ((int) write(dstfd, buffer, nbytes) != nbytes) in copy_file()
213 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in copy_file()
215 if (CloseTransientFile(dstfd) != 0) in copy_file()
/dports/databases/postgresql14-plperl/postgresql-14.1/src/backend/storage/file/
H A Dcopydir.c131 int dstfd; in copy_file() local
163 dstfd = OpenTransientFile(tofile, O_RDWR | O_CREAT | O_EXCL | PG_BINARY); in copy_file()
164 if (dstfd < 0) in copy_file()
185 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in copy_file()
200 if ((int) write(dstfd, buffer, nbytes) != nbytes) in copy_file()
213 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in copy_file()
215 if (CloseTransientFile(dstfd) != 0) in copy_file()
/dports/databases/postgresql14-plpython/postgresql-14.1/src/backend/storage/file/
H A Dcopydir.c131 int dstfd; in copy_file() local
163 dstfd = OpenTransientFile(tofile, O_RDWR | O_CREAT | O_EXCL | PG_BINARY); in copy_file()
164 if (dstfd < 0) in copy_file()
185 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in copy_file()
200 if ((int) write(dstfd, buffer, nbytes) != nbytes) in copy_file()
213 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in copy_file()
215 if (CloseTransientFile(dstfd) != 0) in copy_file()
/dports/databases/postgresql13-server/postgresql-13.5/src/backend/storage/file/
H A Dcopydir.c131 int dstfd; in copy_file() local
163 dstfd = OpenTransientFile(tofile, O_RDWR | O_CREAT | O_EXCL | PG_BINARY); in copy_file()
164 if (dstfd < 0) in copy_file()
185 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in copy_file()
200 if ((int) write(dstfd, buffer, nbytes) != nbytes) in copy_file()
213 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in copy_file()
215 if (CloseTransientFile(dstfd) != 0) in copy_file()
/dports/databases/postgresql14-client/postgresql-14.1/src/backend/storage/file/
H A Dcopydir.c131 int dstfd; in copy_file() local
163 dstfd = OpenTransientFile(tofile, O_RDWR | O_CREAT | O_EXCL | PG_BINARY); in copy_file()
164 if (dstfd < 0) in copy_file()
185 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in copy_file()
200 if ((int) write(dstfd, buffer, nbytes) != nbytes) in copy_file()
213 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in copy_file()
215 if (CloseTransientFile(dstfd) != 0) in copy_file()
/dports/databases/postgresql13-pltcl/postgresql-13.5/src/backend/storage/file/
H A Dcopydir.c131 int dstfd; in copy_file() local
163 dstfd = OpenTransientFile(tofile, O_RDWR | O_CREAT | O_EXCL | PG_BINARY); in copy_file()
164 if (dstfd < 0) in copy_file()
185 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in copy_file()
200 if ((int) write(dstfd, buffer, nbytes) != nbytes) in copy_file()
213 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in copy_file()
215 if (CloseTransientFile(dstfd) != 0) in copy_file()
/dports/databases/postgresql96-contrib/postgresql-9.6.24/src/backend/storage/file/
H A Dcopydir.c139 int dstfd; in copy_file() local
171 dstfd = OpenTransientFile(tofile, O_RDWR | O_CREAT | O_EXCL | PG_BINARY, in copy_file()
173 if (dstfd < 0) in copy_file()
194 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in copy_file()
206 if ((int) write(dstfd, buffer, nbytes) != nbytes) in copy_file()
218 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in copy_file()
220 if (CloseTransientFile(dstfd)) in copy_file()
/dports/databases/postgresql12-plperl/postgresql-12.9/src/backend/storage/file/
H A Dcopydir.c131 int dstfd; in copy_file() local
163 dstfd = OpenTransientFile(tofile, O_RDWR | O_CREAT | O_EXCL | PG_BINARY); in copy_file()
164 if (dstfd < 0) in copy_file()
185 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in copy_file()
200 if ((int) write(dstfd, buffer, nbytes) != nbytes) in copy_file()
213 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in copy_file()
215 if (CloseTransientFile(dstfd)) in copy_file()
/dports/databases/postgresql12-pltcl/postgresql-12.9/src/backend/storage/file/
H A Dcopydir.c131 int dstfd; in copy_file() local
163 dstfd = OpenTransientFile(tofile, O_RDWR | O_CREAT | O_EXCL | PG_BINARY); in copy_file()
164 if (dstfd < 0) in copy_file()
185 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in copy_file()
200 if ((int) write(dstfd, buffer, nbytes) != nbytes) in copy_file()
213 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in copy_file()
215 if (CloseTransientFile(dstfd)) in copy_file()
/dports/databases/postgresql12-server/postgresql-12.9/src/backend/storage/file/
H A Dcopydir.c131 int dstfd; in copy_file() local
163 dstfd = OpenTransientFile(tofile, O_RDWR | O_CREAT | O_EXCL | PG_BINARY); in copy_file()
164 if (dstfd < 0) in copy_file()
185 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in copy_file()
200 if ((int) write(dstfd, buffer, nbytes) != nbytes) in copy_file()
213 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in copy_file()
215 if (CloseTransientFile(dstfd)) in copy_file()
/dports/databases/postgresql13-docs/postgresql-13.5/src/backend/storage/file/
H A Dcopydir.c131 int dstfd; in copy_file() local
163 dstfd = OpenTransientFile(tofile, O_RDWR | O_CREAT | O_EXCL | PG_BINARY); in copy_file()
164 if (dstfd < 0) in copy_file()
185 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in copy_file()
200 if ((int) write(dstfd, buffer, nbytes) != nbytes) in copy_file()
213 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in copy_file()
215 if (CloseTransientFile(dstfd) != 0) in copy_file()
/dports/databases/postgresql13-contrib/postgresql-13.5/src/backend/storage/file/
H A Dcopydir.c131 int dstfd; in copy_file() local
163 dstfd = OpenTransientFile(tofile, O_RDWR | O_CREAT | O_EXCL | PG_BINARY); in copy_file()
164 if (dstfd < 0) in copy_file()
185 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in copy_file()
200 if ((int) write(dstfd, buffer, nbytes) != nbytes) in copy_file()
213 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in copy_file()
215 if (CloseTransientFile(dstfd) != 0) in copy_file()
/dports/databases/postgresql12-docs/postgresql-12.9/src/backend/storage/file/
H A Dcopydir.c131 int dstfd; in copy_file() local
163 dstfd = OpenTransientFile(tofile, O_RDWR | O_CREAT | O_EXCL | PG_BINARY); in copy_file()
164 if (dstfd < 0) in copy_file()
185 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in copy_file()
200 if ((int) write(dstfd, buffer, nbytes) != nbytes) in copy_file()
213 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in copy_file()
215 if (CloseTransientFile(dstfd)) in copy_file()
/dports/databases/postgresql12-contrib/postgresql-12.9/src/backend/storage/file/
H A Dcopydir.c131 int dstfd; in copy_file() local
163 dstfd = OpenTransientFile(tofile, O_RDWR | O_CREAT | O_EXCL | PG_BINARY); in copy_file()
164 if (dstfd < 0) in copy_file()
185 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in copy_file()
200 if ((int) write(dstfd, buffer, nbytes) != nbytes) in copy_file()
213 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in copy_file()
215 if (CloseTransientFile(dstfd)) in copy_file()
/dports/databases/postgresql12-plpython/postgresql-12.9/src/backend/storage/file/
H A Dcopydir.c131 int dstfd;
163 dstfd = OpenTransientFile(tofile, O_RDWR | O_CREAT | O_EXCL | PG_BINARY); in map_sound_chans()
164 if (dstfd < 0)
185 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in scan_all_chans()
200 if ((int) write(dstfd, buffer, nbytes) != nbytes)
213 pg_flush_data(dstfd, flush_offset, offset - flush_offset);
215 if (CloseTransientFile(dstfd)) in scan_chans()
/dports/databases/postgresql13-plperl/postgresql-13.5/src/backend/storage/file/
H A Dcopydir.c131 int dstfd;
163 dstfd = OpenTransientFile(tofile, O_RDWR | O_CREAT | O_EXCL | PG_BINARY);
164 if (dstfd < 0)
185 pg_flush_data(dstfd, flush_offset, offset - flush_offset);
200 if ((int) write(dstfd, buffer, nbytes) != nbytes)
213 pg_flush_data(dstfd, flush_offset, offset - flush_offset);
215 if (CloseTransientFile(dstfd) != 0)
/dports/databases/postgresql13-plpython/postgresql-13.5/src/backend/storage/file/
H A Dcopydir.c131 int dstfd; in copy_file() local
163 dstfd = OpenTransientFile(tofile, O_RDWR | O_CREAT | O_EXCL | PG_BINARY); in copy_file()
164 if (dstfd < 0) in copy_file()
185 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in copy_file()
200 if ((int) write(dstfd, buffer, nbytes) != nbytes) in copy_file()
213 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in copy_file()
215 if (CloseTransientFile(dstfd) != 0) in copy_file()
/dports/databases/postgresql13-client/postgresql-13.5/src/backend/storage/file/
H A Dcopydir.c131 int dstfd; in copy_file() local
163 dstfd = OpenTransientFile(tofile, O_RDWR | O_CREAT | O_EXCL | PG_BINARY); in copy_file()
164 if (dstfd < 0) in copy_file()
185 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in copy_file()
200 if ((int) write(dstfd, buffer, nbytes) != nbytes) in copy_file()
213 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in copy_file()
215 if (CloseTransientFile(dstfd) != 0) in copy_file()
/dports/databases/postgresql96-docs/postgresql-9.6.24/src/backend/storage/file/
H A Dcopydir.c139 int dstfd; in copy_file() local
171 dstfd = OpenTransientFile(tofile, O_RDWR | O_CREAT | O_EXCL | PG_BINARY, in copy_file()
173 if (dstfd < 0) in copy_file()
194 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in copy_file()
206 if ((int) write(dstfd, buffer, nbytes) != nbytes) in copy_file()
218 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in copy_file()
220 if (CloseTransientFile(dstfd)) in copy_file()
/dports/databases/postgresql96-plperl/postgresql-9.6.24/src/backend/storage/file/
H A Dcopydir.c139 int dstfd; in copy_file() local
171 dstfd = OpenTransientFile(tofile, O_RDWR | O_CREAT | O_EXCL | PG_BINARY, in copy_file()
173 if (dstfd < 0) in copy_file()
194 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in copy_file()
206 if ((int) write(dstfd, buffer, nbytes) != nbytes) in copy_file()
218 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in copy_file()
220 if (CloseTransientFile(dstfd)) in copy_file()
/dports/databases/postgresql10-plperl/postgresql-10.19/src/backend/storage/file/
H A Dcopydir.c139 int dstfd; in copy_file() local
171 dstfd = OpenTransientFile(tofile, O_RDWR | O_CREAT | O_EXCL | PG_BINARY, in copy_file()
173 if (dstfd < 0) in copy_file()
194 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in copy_file()
209 if ((int) write(dstfd, buffer, nbytes) != nbytes) in copy_file()
223 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in copy_file()
225 if (CloseTransientFile(dstfd)) in copy_file()
/dports/databases/postgresql10-docs/postgresql-10.19/src/backend/storage/file/
H A Dcopydir.c139 int dstfd; in copy_file() local
171 dstfd = OpenTransientFile(tofile, O_RDWR | O_CREAT | O_EXCL | PG_BINARY, in copy_file()
173 if (dstfd < 0) in copy_file()
194 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in copy_file()
209 if ((int) write(dstfd, buffer, nbytes) != nbytes) in copy_file()
223 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in copy_file()
225 if (CloseTransientFile(dstfd)) in copy_file()
/dports/databases/postgresql10-pltcl/postgresql-10.19/src/backend/storage/file/
H A Dcopydir.c139 int dstfd; in copy_file() local
171 dstfd = OpenTransientFile(tofile, O_RDWR | O_CREAT | O_EXCL | PG_BINARY, in copy_file()
173 if (dstfd < 0) in copy_file()
194 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in copy_file()
209 if ((int) write(dstfd, buffer, nbytes) != nbytes) in copy_file()
223 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in copy_file()
225 if (CloseTransientFile(dstfd)) in copy_file()
/dports/databases/postgresql10-client/postgresql-10.19/src/backend/storage/file/
H A Dcopydir.c139 int dstfd; in copy_file() local
171 dstfd = OpenTransientFile(tofile, O_RDWR | O_CREAT | O_EXCL | PG_BINARY, in copy_file()
173 if (dstfd < 0) in copy_file()
194 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in copy_file()
209 if ((int) write(dstfd, buffer, nbytes) != nbytes) in copy_file()
223 pg_flush_data(dstfd, flush_offset, offset - flush_offset); in copy_file()
225 if (CloseTransientFile(dstfd)) in copy_file()

123456789