Searched refs:ofd (Results 1 - 21 of 21) sorted by relevance

/haiku-fatelf/src/bin/bash/lib/sh/
H A Dzcatfd.c43 zcatfd (fd, ofd, fn)
44 int fd, ofd;
62 else if (zwrite (ofd, lbuf, nr) < 0)
/haiku-fatelf/src/add-ons/translators/exr/openexr/ilmimf/
H A DImfTiledOutputFile.cpp428 writeTileData (TiledOutputFile::Data *ofd, argument
440 Int64 currentPosition = ofd->currentPosition;
441 ofd->currentPosition = 0;
444 currentPosition = ofd->os->tellp();
446 ofd->tileOffsets (dx, dy, lx, ly) = currentPosition;
449 assert (ofd->os->tellp() == currentPosition);
456 Xdr::write <StreamIO> (*ofd->os, dx);
457 Xdr::write <StreamIO> (*ofd->os, dy);
458 Xdr::write <StreamIO> (*ofd->os, lx);
459 Xdr::write <StreamIO> (*ofd
477 bufferedTileWrite(TiledOutputFile::Data *ofd, int dx, int dy, int lx, int ly, const char pixelData[], int pixelDataSize) argument
577 convertToXdr(TiledOutputFile::Data *ofd, Array<char>& tileBuffer, int numScanLines, int numPixelsPerScanLine) argument
661 TileBufferTask(TaskGroup *group, TiledOutputFile::Data *ofd, int number, int dx, int dy, int lx, int ly) argument
[all...]
H A DImfOutputFile.cpp261 writePixelData (OutputFile::Data *ofd, argument
272 Int64 currentPosition = ofd->currentPosition;
273 ofd->currentPosition = 0;
276 currentPosition = ofd->os->tellp();
278 ofd->lineOffsets[(ofd->currentScanLine - ofd->minY) / ofd->linesInBuffer] =
283 assert (ofd->os->tellp() == currentPosition);
287 Xdr::write <StreamIO> (*ofd
299 writePixelData(OutputFile::Data *ofd, const LineBuffer *lineBuffer) argument
309 convertToXdr(OutputFile::Data *ofd, Array<char> &lineBuffer, int lineBufferMinY, int lineBufferMaxY, int inSize) argument
423 LineBufferTask(TaskGroup *group, OutputFile::Data *ofd, int number, int scanLineMin, int scanLineMax) argument
[all...]
/haiku-fatelf/src/libs/edit/
H A Drefresh.c475 char *ofd, *ols, *oe, *nfd, *nls, *ne; local
484 ofd = o;
496 while (ofd < o) {
519 if (*ofd == '\0' && *nfd == '\0') {
526 while ((o > ofd) && (n > nfd) && (*--o == *--n))
540 * case 1: insert: scan from nfd to nls looking for *ofd
542 if (*ofd) {
543 for (c = *ofd, n = nfd; n < nls; n++) {
545 for (o = ofd, p = n;
557 osb = ofd;
[all...]
/haiku-fatelf/src/bin/gzip/
H A Dzip.c41 ofd = out;
H A Dgzip.c238 int ofd; /* output file descriptor */ variable
793 ofd = fileno(stdout);
814 if ((*work)(ifd, ofd) != OK) {
827 if (!to_stdout && close(ofd)) {
861 * OUT assertions: ifd and ofd are closed in case of error.
879 ofd = OPEN(ofname, flags, RW_USER);
880 if (ofd == -1) {
891 if (fstat(ofd, &ostat) != 0) {
895 close(ifd); close(ofd);
908 close(ofd);
[all...]
H A Dunzip.c108 ofd = out;
H A Dunpack.c194 ofd = out;
H A Dutil.c124 write_buf(ofd, (char *)outbuf, outcnt);
139 write_buf(ofd, (char *)window, outcnt);
H A Dgzip.h143 extern int ofd; /* output file descriptor */
H A Dunlzh.c391 ofd = out;
/haiku-fatelf/src/bin/gdb/readline/
H A Ddisplay.c1042 register char *ofd, *ols, *oe, *nfd, *nls, *ne; local
1137 for (ofd = old, nfd = new;
1138 (ofd - old < omax) && *ofd &&
1143 ofd = old + old_offset;
1149 for (ofd = old, nfd = new;
1150 (ofd - old < omax) && *ofd && (*ofd == *nfd);
1151 ofd
[all...]
/haiku-fatelf/src/bin/bash/lib/readline/
H A Ddisplay.c1274 register char *ofd, *ols, *oe, *nfd, *nls, *ne; local
1373 ofd = old + temp;
1383 ofd = old + omax;
1389 for (ofd = old, nfd = new;
1390 (ofd - old < omax) && *ofd &&
1395 ofd = old + old_offset;
1403 for (ofd = old, nfd = new;
1404 (ofd - old < omax) && *ofd
[all...]
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/fs_shell/
H A Dkprotos.h25 int sys_link(int kernel, int ofd, const char *oldpath, int nfd,
H A Dkernel.c1387 sys_link(int kernel, int ofd, const char *oldpath, int nfd, argument
1395 err = get_file_fd(kernel, ofd, oldpath, TRUE, &vn);
1501 sys_rename(int kernel, int ofd, const char *oldpath, argument
1509 err = get_dir_fd(kernel, ofd, oldpath, oldname, &odvn);
/haiku-fatelf/src/tools/fs_shell/
H A Dsyscalls.h100 int _kern_dup2(int ofd, int nfd);
H A Dfd.cpp312 TRACE(("dup2_fd: ofd = %d, nfd = %d\n", oldfd, newfd));
729 _kern_dup2(int ofd, int nfd) argument
731 return dup2_fd(ofd, nfd, true);
/haiku-fatelf/src/bin/network/netcat/
H A Dnetcat.c111 int ofd = 0; /* hexdump output fd */ variable
1012 if (! ofd)
1073 x = write (ofd, stage, soc);
1075 bail ("ofd write err");
1513 ofd = 0;
1517 ofd = open (stage, O_WRONLY | O_CREAT | O_TRUNC, 0664);
1518 if (ofd <= 0) /* must be > extant 0/1/2 */
/haiku-fatelf/src/system/kernel/fs/
H A Dfd.cpp415 TRACE(("dup2_fd: ofd = %d, nfd = %d\n", oldfd, newfd));
1010 _user_dup2(int ofd, int nfd) argument
1012 return dup2_fd(ofd, nfd, false);
1305 _kern_dup2(int ofd, int nfd) argument
1307 return dup2_fd(ofd, nfd, true);
/haiku-fatelf/headers/private/kernel/
H A Dvfs.h245 int _user_dup2(int ofd, int nfd);
/haiku-fatelf/headers/private/system/
H A Dsyscalls.h328 extern int _kern_dup2(int ofd, int nfd);

Completed in 302 milliseconds