/haiku/src/bin/ |
H A D | mvattr.cpp | 49 FileDescriptorCloser fromFileFDCloser(fromFileFD); in moveAttribute() 50 FileDescriptorCloser toFileFDCloser; in moveAttribute() 80 FileDescriptorCloser fromAttrFDCloser(fromAttrFD); in moveAttribute() 87 FileDescriptorCloser toAttrFDCloser(toAttrFD); in moveAttribute()
|
H A D | ramdisk.cpp | 102 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 D | fstrim.cpp | 213 FileDescriptorCloser closer(fd); in main()
|
/haiku/src/kits/network/libnetapi/ |
H A D | NetworkRoster.cpp | 40 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 D | NetworkInterface.cpp | 40 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 D | NetworkDevice.cpp | 53 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 D | NetworkRoute.cpp | 259 FileDescriptorCloser socket(::socket(family, SOCK_DGRAM, 0)); in GetRoutes()
|
/haiku/src/system/libnetwork/ |
H A D | getifaddrs.cpp | 56 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 D | PackageFile.cpp | 64 FileDescriptorCloser fd(file.Dup()); in Init()
|
H A D | Volume.cpp | 234 FileDescriptorCloser fd(directory.Dup()); in Init() 313 FileDescriptorCloser fd(OpenRootDirectory()); in InitPackages()
|
H A D | CommitTransactionHandler.cpp | 1866 FileDescriptorCloser fd(fVolume->OpenRootDirectory()); in _ChangePackageActivationIOCtl()
|
/haiku/src/bin/i2c/ |
H A D | i2c.cpp | 44 FileDescriptorCloser fd(open(path, O_RDONLY)); in scan_bus()
|
/haiku/headers/private/shared/ |
H A D | AutoDeleter.h | 335 typedef HandleDeleter<int, int, close, -1> FileDescriptorCloser; typedef 348 using ::BPrivate::FileDescriptorCloser;
|
/haiku/src/add-ons/input_server/devices/virtio/ |
H A D | VirtioInputDevice.h | 79 FileDescriptorCloser
|
H A D | VirtioInputDevice.cpp | 161 FileDescriptorCloser fd; in InitCheck()
|
/haiku/src/system/boot/loader/file_systems/packagefs/ |
H A D | PackageSettingsItem.cpp | 52 FileDescriptorCloser fd(open_from(systemDirectory, settingsFilePath, in Load()
|
/haiku/src/add-ons/disk_systems/bfs/ |
H A D | BFSAddOn.cpp | 241 FileDescriptorCloser fd(open(path.Path(), O_RDONLY)); in Repair()
|
/haiku/src/system/boot/loader/ |
H A D | package_support.cpp | 363 FileDescriptorCloser fd(open_from(packagesDirectory, path.Get(), O_RDONLY)); in _ParseActivatedPackagesFile()
|
/haiku/src/kits/package/hpkg/ |
H A D | PackageWriterImpl.cpp | 48 using BPrivate::FileDescriptorCloser; 1062 FileDescriptorCloser fdCloser; in _UpdateCheckEntryCollisions() 1411 FileDescriptorCloser fdCloser; in _AddEntry()
|
/haiku/src/system/libroot/os/ |
H A D | image.cpp | 46 FileDescriptorCloser fd(open(path, O_RDONLY)); in Init()
|
/haiku/src/add-ons/kernel/drivers/disk/virtual/ram_disk/ |
H A D | ram_disk.cpp | 402 FileDescriptorCloser fd(open(fFilePath, O_WRONLY)); in Flush() 735 FileDescriptorCloser fd(open(fFilePath, O_RDONLY)); in _LoadFile()
|
/haiku/src/servers/net/ |
H A D | NetServer.cpp | 120 FileDescriptorCloser socket(::socket(AF_INET, SOCK_DGRAM, 0)); in set_80211()
|
/haiku/src/add-ons/kernel/file_systems/packagefs/volume/ |
H A D | Volume.cpp | 825 FileDescriptorCloser fd(openat(packagesDirectory->DirectoryFD(), in _AddInitialPackagesFromActivationFile()
|
/haiku/src/system/kernel/ |
H A D | elf.cpp | 1841 FileDescriptorCloser fdCloser(fd); in elf_load_user_image()
|