Home
last modified time | relevance | path

Searched defs:fd (Results 1 – 19 of 19) sorted by relevance

/test/dittosuite/src/
Dsyscall.cpp28 int Syscall::Close(int fd) { in Close()
36 int Syscall::FAdvise(int fd, int64_t offset, int64_t len, int advice) { in FAdvise()
40 int Syscall::FAllocate(int fd, int mode, int64_t offset, int64_t len) { in FAllocate()
44 int Syscall::FTruncate(int fd, int64_t length) { in FTruncate()
52 int Syscall::FSync(int fd) { in FSync()
64 int64_t Syscall::Read(int fd, char* buf, int64_t count, int64_t offset) { in Read()
84 int64_t Syscall::Write(int fd, char* buf, int64_t count, int64_t offset) { in Write()
Dutils.cpp24 int64_t GetFileSize(SyscallInterface& syscall, int fd) { in GetFileSize()
32 std::string GetFilePath(SyscallInterface& syscall, int fd) { in GetFilePath()
Dread_write_file.cpp60 int fd = std::get<int>(SharedVariables::Get(input_fd_key_)); in SetUpSingle() local
123 int fd = std::get<int>(SharedVariables::Get(input_fd_key_)); in RunSingle() local
144 int fd = std::get<int>(SharedVariables::Get(input_fd_key_)); in SetUpSingle() local
154 int fd = std::get<int>(SharedVariables::Get(input_fd_key_)); in RunSingle() local
Dclose_file.cpp26 int fd = std::get<int>(SharedVariables::Get(input_fd_key_)); in RunSingle() local
Dinvalidate_cache.cpp28 int fd = syscall_.Open(cache_file, O_WRONLY, 0); in RunSingle() local
Dresize_file.cpp28 int fd = std::get<int>(SharedVariables::Get(input_fd_key_)); in RunSingle() local
Dopen_file.cpp86 int fd = syscall_.Open(path_name_, open_flags, open_mode); in RunSingle() local
/test/dittosuite/
Ddittotrace.cpp165 int fd = strtoll(syscall.return_value.c_str(), nullptr, 10); in main() local
173 int fd = strtoll(syscall.arguments[0].c_str(), nullptr, 10); in main() local
188 int fd = strtoll(syscall.arguments[0].c_str(), nullptr, 10); in main() local
203 int fd = strtoll(syscall.arguments[0].c_str(), nullptr, 10); in main() local
/test/vts-testcase/security/poc/target/kernel_bluetooth/30149612/
Dpoc.cpp14 int fd; in main() local
/test/vts-testcase/security/poc/target/kernel_sound/28838221/
Dpoc.cpp24 int fd; in main() local
/test/vts-testcase/kernel/encryption/
Dfile_based_encryption_tests.cpp185 android::base::unique_fd fd( in IsFscryptV2Supported() local
224 explicit ScopedFsFreezer(int fd) { in ScopedFsFreezer()
269 static bool ReadRawDataOfFile(int fd, const std::string &blk_device, in ReadRawDataOfFile()
363 android::base::unique_fd fd( in WriteTestFile() local
686 android::base::unique_fd fd( in SetEncryptionPolicy() local
731 android::base::unique_fd fd(open(test_file_.c_str(), O_RDONLY | O_CLOEXEC)); in GenerateTestFile() local
1011 android::base::unique_fd fd( in TestEmmcOptimizedDunWraparound() local
1039 android::base::unique_fd fd(open(path.c_str(), open_flags)); in TestEmmcOptimizedDunWraparound() local
1167 android::base::unique_fd fd(open(test_dir_.c_str(), O_RDONLY | O_CLOEXEC)); in EnableF2fsCompressionOnTestDir() local
1211 android::base::unique_fd fd( in F2fsCompressOptionsSupported() local
[all …]
Dmetadata_encryption_tests.cpp111 android::base::unique_fd fd( in ReadBlockDevice() local
Dutils.cpp173 android::base::unique_fd fd( in GetFilesystemUuid() local
/test/vts-testcase/kernel/api/tun/
Dvts_kernel_tun_test.cpp62 int fd = open(tun_device_.c_str(), O_RDWR | O_NONBLOCK); in TunInit() local
/test/vts-testcase/kernel/api/drop_caches_prop/
Ddrop_caches_test.cpp45 android::base::unique_fd fd( in TEST() local
/test/vts-testcase/kernel/bow/
DBowTest.cpp233 unique_fd fd( in PrepareFile() local
276 unique_fd fd; in FindChanged() local
452 unique_fd fd(open(MOUNT_POINT, O_RDONLY)); in Trim() local
/test/vts-testcase/security/poc/target/kernel_wifi/31707909/
Dpoc.cpp67 int fd, i, res; in poc() local
/test/vts-testcase/security/avb/
DVtsSecurityAvbTest.cpp350 android::base::unique_fd fd(open(system_path.c_str(), O_RDONLY)); in TEST() local
Dvts_gki_compliance_test.cpp497 android::base::unique_fd fd(open(boot_path.c_str(), O_RDONLY)); in TEST_F() local