Searched refs:fstat (Results 1 – 13 of 13) sorted by relevance
/packages/modules/Virtualization/libs/devicemapper/src/ |
D | util.rs | 56 pub fn fstat(p: &Path) -> Result<FileStat> { in fstat() function 58 Ok(nix::sys::stat::fstat(f.as_raw_fd())?) in fstat()
|
D | verity.rs | 135 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/ |
D | wakelock_test.cc | 93 fstat(lock_fd, &lock_stat); in IsFileWakeLockAcquired() 94 fstat(unlock_fd, &unlock_stat); in IsFileWakeLockAcquired()
|
/packages/modules/DnsResolver/tests/ |
D | resolv_callback_unit_test.cpp | 174 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/ |
D | IpSecServiceTest.java | 600 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/ |
D | crashdump.c | 86 if (fstat(vmcore, &statbuf) == -1) { in main()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
D | file_utils.cpp | 37 if (fstat(fd, &statBuf) != 0) { in getFileSize()
|
/packages/modules/Bluetooth/system/gd/os/linux_generic/ |
D | files.cc | 169 if (fstat(dir_fd, &dirstat) == 0) { in WriteToFile()
|
/packages/modules/NeuralNetworks/driver/cache/nnCache/ |
D | nnCache.cpp | 241 if (fstat(fd, &statBuf) == -1) { in loadBlobCacheLocked()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/services/ |
D | CopyJob.java | 887 StructStat sourceStat = Os.fstat(sourceFd.getFileDescriptor()); in isRecursiveCopy() 897 StructStat targetNodeStat = Os.fstat(targetFd.getFileDescriptor()); in isRecursiveCopy()
|
/packages/modules/adb/client/ |
D | usb_linux.cpp | 278 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/ |
D | KitchenSinkBackupTransport.java | 229 StructStat ss = Os.fstat(data.getFileDescriptor()); in performBackupInternal()
|
/packages/providers/MediaProvider/jni/ |
D | FuseDaemon.cpp | 2576 if (fstat(fd, &s) < 0) { in CheckFdAccess()
|