Home
last modified time | relevance | path

Searched refs:temp_fd (Results 1 – 4 of 4) sorted by relevance

/dragonfly/usr.bin/xinstall/
H A Dxinstall.c591 int tempcopy, temp_fd, to_fd; in install() local
705 temp_fd = to_fd; in install()
711 if (fstat(temp_fd, &temp_sb)) { in install()
718 if (compare(temp_fd, tempfile, (size_t)temp_sb.st_size, to_fd, in install()
733 (void) close(temp_fd); in install()
/dragonfly/contrib/libarchive/libarchive/
H A Darchive_write_set_format_7zip.c172 int temp_fd; member
307 zip->temp_fd = -1; in archive_write_set_format_7zip()
531 if (zip->temp_fd == -1) { in write_to_temp()
533 zip->temp_fd = __archive_mktemp(NULL); in write_to_temp()
534 if (zip->temp_fd < 0) { in write_to_temp()
543 ws = write(zip->temp_fd, p, s); in write_to_temp()
674 lseek(zip->temp_fd, offset, SEEK_SET) < 0) { in copy_out()
688 rs = read(zip->temp_fd, wb, rsize); in copy_out()
1461 if (zip->temp_fd >= 0) in _7z_free()
1462 close(zip->temp_fd); in _7z_free()
H A Darchive_write_set_format_xar.c229 int temp_fd; member
355 xar->temp_fd = -1; in archive_write_set_format_xar()
595 if (xar->temp_fd == -1) { in xar_write_header()
598 xar->temp_fd = __archive_mktemp(NULL); in xar_write_header()
599 if (xar->temp_fd < 0) { in xar_write_header()
606 if (lseek(xar->temp_fd, algsize, SEEK_SET) < 0) { in xar_write_header()
666 ws = write(xar->temp_fd, p, s); in write_to_temp()
1806 if (lseek(xar->temp_fd, offset, SEEK_SET) < 0) { in copy_out()
1820 rs = read(xar->temp_fd, wb, rsize); in copy_out()
1917 if (xar->temp_fd >= 0) in xar_free()
[all …]
H A Darchive_write_set_format_iso9660.c684 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()
1621 if (iso9660->temp_fd < 0) { in iso9660_write_header()
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()
3699 lseek(iso9660->temp_fd, off, SEEK_SET); in wb_set_offset()
7323 lseek(iso9660->temp_fd, in setup_boot_information()
7367 lseek(iso9660->temp_fd, in setup_boot_information()
[all …]