Searched refs:temp_fd (Results 1 – 6 of 6) sorted by relevance
| /NextBSD/contrib/llvm/tools/lldb/source/Expression/ |
| HD | ClangExpressionParser.cpp | 369 int temp_fd = -1; in Parse() local 376 llvm::sys::fs::createUniqueFile(temp_source_path, temp_fd, result_path); in Parse() 380 llvm::sys::fs::createTemporaryFile("lldb", "expr", temp_fd, result_path); in Parse() 383 if (temp_fd != -1) in Parse() 385 lldb_private::File file (temp_fd, true); in Parse()
|
| /NextBSD/contrib/ntp/ntpd/ |
| HD | refclock_arc.c | 632 int temp_fd; in arc_start() local 648 temp_fd = refclock_open(device, SPEED, LDISC_CLK); in arc_start() 649 if (temp_fd <= 0) in arc_start() 656 close(temp_fd); in arc_start() 659 close(temp_fd); in arc_start() 660 temp_fd = -1; /* not used after this, at *this* time. */ in arc_start()
|
| /NextBSD/usr.bin/xinstall/ |
| HD | xinstall.c | 727 int tempcopy, temp_fd, to_fd; in install() local 838 temp_fd = to_fd; in install() 844 if (fstat(temp_fd, &temp_sb)) { in install() 851 if (compare(temp_fd, tempfile, (size_t)temp_sb.st_size, to_fd, in install() 869 (void) close(temp_fd); in install()
|
| /NextBSD/contrib/libarchive/libarchive/ |
| HD | archive_write_set_format_7zip.c | 171 int temp_fd; member 306 zip->temp_fd = -1; in archive_write_set_format_7zip() 529 if (zip->temp_fd == -1) { in write_to_temp() 531 zip->temp_fd = __archive_mktemp(NULL); in write_to_temp() 532 if (zip->temp_fd < 0) { in write_to_temp() 541 ws = write(zip->temp_fd, p, s); in write_to_temp() 672 lseek(zip->temp_fd, offset, SEEK_SET) < 0) { in copy_out() 686 rs = read(zip->temp_fd, wb, rsize); in copy_out()
|
| HD | archive_write_set_format_xar.c | 229 int temp_fd; member 354 xar->temp_fd = -1; in archive_write_set_format_xar() 564 if (xar->temp_fd == -1) { in xar_write_header() 567 xar->temp_fd = __archive_mktemp(NULL); in xar_write_header() 568 if (xar->temp_fd < 0) { in xar_write_header() 575 if (lseek(xar->temp_fd, algsize, SEEK_SET) < 0) { in xar_write_header() 635 ws = write(xar->temp_fd, p, s); in write_to_temp() 1749 if (lseek(xar->temp_fd, offset, SEEK_SET) < 0) { in copy_out() 1763 rs = read(xar->temp_fd, wb, rsize); in copy_out()
|
| HD | archive_write_set_format_iso9660.c | 684 int temp_fd; member 1070 iso9660->temp_fd = -1; in archive_write_set_format_iso9660() 1619 if (iso9660->temp_fd < 0) { in iso9660_write_header() 1620 iso9660->temp_fd = __archive_mktemp(NULL); in iso9660_write_header() 1621 if (iso9660->temp_fd < 0) { in iso9660_write_header() 1648 written = write(iso9660->temp_fd, b, s); in write_to_temp() 1715 if (iso9660->temp_fd < 0) { in write_iso9660_data() 2122 if (iso9660->temp_fd >= 0) in iso9660_free() 2123 close(iso9660->temp_fd); in iso9660_free() 3675 lseek(iso9660->temp_fd, iso9660->wbuff_offset, SEEK_SET); in wb_set_offset() [all …]
|