Home
last modified time | relevance | path

Searched refs:FileDescriptorCloser (Results 1 – 24 of 24) sorted by relevance

/haiku/src/bin/
H A Dmvattr.cpp49 FileDescriptorCloser fromFileFDCloser(fromFileFD); in moveAttribute()
50 FileDescriptorCloser toFileFDCloser; in moveAttribute()
80 FileDescriptorCloser fromAttrFDCloser(fromAttrFD); in moveAttribute()
87 FileDescriptorCloser toAttrFDCloser(toAttrFD); in moveAttribute()
H A Dramdisk.cpp102 FileDescriptorCloser fd(open(kRamDiskControlDevicePath, O_RDONLY)); in execute_control_device_ioctl()
333 FileDescriptorCloser fd(open(path, O_RDONLY)); in command_flush()
406 FileDescriptorCloser fd(open(path, O_RDONLY)); in command_list()
H A Dfstrim.cpp213 FileDescriptorCloser closer(fd); in main()
/haiku/src/kits/network/libnetapi/
H A DNetworkRoster.cpp40 FileDescriptorCloser socket(::socket(AF_INET, SOCK_DGRAM, 0)); in CountInterfaces()
64 FileDescriptorCloser socket (::socket(AF_INET, SOCK_DGRAM, 0)); in GetNextInterface()
109 FileDescriptorCloser socket (::socket(AF_INET, SOCK_DGRAM, 0)); in AddInterface()
134 FileDescriptorCloser socket(::socket(AF_INET, SOCK_DGRAM, 0)); in RemoveInterface()
H A DNetworkInterface.cpp40 FileDescriptorCloser socket(::socket(family, SOCK_DGRAM, 0)); in do_ifaliasreq()
82 FileDescriptorCloser socket(::socket(family, SOCK_DGRAM, 0)); in do_request()
367 FileDescriptorCloser socket(::socket(address.Family(), SOCK_DGRAM, 0)); in FindAddress()
390 FileDescriptorCloser socket(::socket(family, SOCK_DGRAM, 0)); in FindFirstAddress()
471 FileDescriptorCloser socket(::socket(AF_LINK, SOCK_DGRAM, 0)); in GetHardwareAddress()
H A DNetworkDevice.cpp53 FileDescriptorCloser socket(::socket(AF_INET, SOCK_DGRAM, 0)); in get_80211()
77 FileDescriptorCloser socket(::socket(AF_INET, SOCK_DGRAM, 0)); in set_80211()
99 FileDescriptorCloser socket(::socket(AF_LINK, SOCK_DGRAM, 0)); in do_request()
115 FileDescriptorCloser socket(::socket(AF_INET, SOCK_DGRAM, 0)); in do_request()
H A DNetworkRoute.cpp259 FileDescriptorCloser socket(::socket(family, SOCK_DGRAM, 0)); in GetRoutes()
/haiku/src/system/libnetwork/
H A Dgetifaddrs.cpp56 FileDescriptorCloser socket (::socket(domain, SOCK_DGRAM, 0)); in _getifaddrs()
120 FileDescriptorCloser socket(::socket(AF_INET, SOCK_DGRAM, 0)); in getifaddrs()
/haiku/src/servers/package/
H A DPackageFile.cpp64 FileDescriptorCloser fd(file.Dup()); in Init()
H A DVolume.cpp234 FileDescriptorCloser fd(directory.Dup()); in Init()
313 FileDescriptorCloser fd(OpenRootDirectory()); in InitPackages()
H A DCommitTransactionHandler.cpp1866 FileDescriptorCloser fd(fVolume->OpenRootDirectory()); in _ChangePackageActivationIOCtl()
/haiku/src/bin/i2c/
H A Di2c.cpp44 FileDescriptorCloser fd(open(path, O_RDONLY)); in scan_bus()
/haiku/headers/private/shared/
H A DAutoDeleter.h335 typedef HandleDeleter<int, int, close, -1> FileDescriptorCloser; typedef
348 using ::BPrivate::FileDescriptorCloser;
/haiku/src/add-ons/input_server/devices/virtio/
H A DVirtioInputDevice.h79 FileDescriptorCloser
H A DVirtioInputDevice.cpp161 FileDescriptorCloser fd; in InitCheck()
/haiku/src/system/boot/loader/file_systems/packagefs/
H A DPackageSettingsItem.cpp52 FileDescriptorCloser fd(open_from(systemDirectory, settingsFilePath, in Load()
/haiku/src/add-ons/disk_systems/bfs/
H A DBFSAddOn.cpp241 FileDescriptorCloser fd(open(path.Path(), O_RDONLY)); in Repair()
/haiku/src/system/boot/loader/
H A Dpackage_support.cpp363 FileDescriptorCloser fd(open_from(packagesDirectory, path.Get(), O_RDONLY)); in _ParseActivatedPackagesFile()
/haiku/src/kits/package/hpkg/
H A DPackageWriterImpl.cpp48 using BPrivate::FileDescriptorCloser;
1062 FileDescriptorCloser fdCloser; in _UpdateCheckEntryCollisions()
1411 FileDescriptorCloser fdCloser; in _AddEntry()
/haiku/src/system/libroot/os/
H A Dimage.cpp46 FileDescriptorCloser fd(open(path, O_RDONLY)); in Init()
/haiku/src/add-ons/kernel/drivers/disk/virtual/ram_disk/
H A Dram_disk.cpp402 FileDescriptorCloser fd(open(fFilePath, O_WRONLY)); in Flush()
735 FileDescriptorCloser fd(open(fFilePath, O_RDONLY)); in _LoadFile()
/haiku/src/servers/net/
H A DNetServer.cpp120 FileDescriptorCloser socket(::socket(AF_INET, SOCK_DGRAM, 0)); in set_80211()
/haiku/src/add-ons/kernel/file_systems/packagefs/volume/
H A DVolume.cpp825 FileDescriptorCloser fd(openat(packagesDirectory->DirectoryFD(), in _AddInitialPackagesFromActivationFile()
/haiku/src/system/kernel/
H A Delf.cpp1841 FileDescriptorCloser fdCloser(fd); in elf_load_user_image()