Home
last modified time | relevance | path

Searched refs:fstat (Results 1 – 13 of 13) sorted by relevance

/packages/modules/Virtualization/libs/devicemapper/src/
Dutil.rs56 pub fn fstat(p: &Path) -> Result<FileStat> { in fstat() function
58 Ok(nix::sys::stat::fstat(f.as_raw_fd())?) in fstat()
Dverity.rs135 let stat = fstat(self.data_device.unwrap())?; // safe; checked just above in build()
145 let stat = fstat(self.data_device.unwrap())?; // safe; checked just above in build()
/packages/modules/Bluetooth/system/osi/test/
Dwakelock_test.cc93 fstat(lock_fd, &lock_stat); in IsFileWakeLockAcquired()
94 fstat(unlock_fd, &unlock_stat); in IsFileWakeLockAcquired()
/packages/modules/DnsResolver/tests/
Dresolv_callback_unit_test.cpp174 EXPECT_EQ(fstat(sk, &sb), 0); in TEST_F()
180 EXPECT_EQ(fstat(sk, &sb), 0); in TEST_F()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DIpSecServiceTest.java600 StructStat fd1Stat = Os.fstat(fd1);
601 StructStat fd2Stat = Os.fstat(fd2);
639 StructStat sockStat = Os.fstat(sockFd); in testOpenUdpEncapsulationSocketCallsSetEncapSocketOwner()
640 StructStat argStat = Os.fstat(arg.getFileDescriptor()); in testOpenUdpEncapsulationSocketCallsSetEncapSocketOwner()
/packages/modules/Virtualization/microdroid/kdump/
Dcrashdump.c86 if (fstat(vmcore, &statbuf) == -1) { in main()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dfile_utils.cpp37 if (fstat(fd, &statBuf) != 0) { in getFileSize()
/packages/modules/Bluetooth/system/gd/os/linux_generic/
Dfiles.cc169 if (fstat(dir_fd, &dirstat) == 0) { in WriteToFile()
/packages/modules/NeuralNetworks/driver/cache/nnCache/
DnnCache.cpp241 if (fstat(fd, &statBuf) == -1) { in loadBlobCacheLocked()
/packages/apps/DocumentsUI/src/com/android/documentsui/services/
DCopyJob.java887 StructStat sourceStat = Os.fstat(sourceFd.getFileDescriptor()); in isRecursiveCopy()
897 StructStat targetNodeStat = Os.fstat(targetFd.getFileDescriptor()); in isRecursiveCopy()
/packages/modules/adb/client/
Dusb_linux.cpp278 if (!fstat(fd, &st) && S_ISCHR(st.st_mode)) { in find_usb_device()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/backup/
DKitchenSinkBackupTransport.java229 StructStat ss = Os.fstat(data.getFileDescriptor()); in performBackupInternal()
/packages/providers/MediaProvider/jni/
DFuseDaemon.cpp2576 if (fstat(fd, &s) < 0) { in CheckFdAccess()