Home
last modified time | relevance | path

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

/test/dittosuite/src/
Dsyscall.cpp33 int Syscall::Close(int fd) { in Close()
41 int Syscall::FAdvise(int fd, int64_t offset, int64_t len, int advice) { in FAdvise()
45 int Syscall::FAllocate(int fd, int mode, int64_t offset, int64_t len) { in FAllocate()
49 int Syscall::FTruncate(int fd, int64_t length) { in FTruncate()
57 int Syscall::FSync(int fd) { in FSync()
77 int64_t Syscall::Read(int fd, char* buf, int64_t count, int64_t offset) { in Read()
105 int64_t Syscall::Write(int fd, char* buf, int64_t count, int64_t offset) { in Write()
Dutils.cpp28 int64_t GetFileSize(SyscallInterface& syscall, int fd) { in GetFileSize()
36 std::string GetFilePath(SyscallInterface& syscall, int fd) { in GetFilePath()
Dread_write_file.cpp59 int fd = std::get<int>(SharedVariables::Get(input_fd_key_)); in SetUpSingle() local
122 int fd = std::get<int>(SharedVariables::Get(input_fd_key_)); in RunSingle() local
143 int fd = std::get<int>(SharedVariables::Get(input_fd_key_)); in SetUpSingle() local
153 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.cpp27 int fd = syscall_.Open(cache_file, O_WRONLY, 0); in RunSingle() local
Dbinder_request.cpp93 int fd = open(path.c_str(), O_RDONLY); in ParseAshmemWithPath() local
170 int fd = open(data_str.c_str(), O_RDONLY); in ParseParcelString() 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/vts-testcase/kernel/f2fs/
DF2fsTest.cpp46 int fd = open("/data/local/tmp/img", O_RDWR | O_TRUNC | O_CREAT, in SetUp() local
96 int fd = open(kTestFilePath, O_RDWR | O_TRUNC | O_CREAT, in TEST_F() local
119 int fd = open(kTestFilePath, O_RDWR | O_TRUNC | O_CREAT, in TEST_F() local
145 int fd = open(kTestFilePath, O_RDWR | O_TRUNC | O_CREAT, in TEST_F() local
219 int fd = open(kTestFolder, O_RDONLY | O_DIRECTORY); in TEST_F() local
/test/dittosuite/
Ddittotrace.cpp161 int fd = strtoll(syscall.return_value.c_str(), nullptr, 10); in main() local
169 int fd = strtoll(syscall.arguments[0].c_str(), nullptr, 10); in main() local
184 int fd = strtoll(syscall.arguments[0].c_str(), nullptr, 10); in main() local
199 int fd = strtoll(syscall.arguments[0].c_str(), nullptr, 10); in main() local
/test/vts-testcase/kernel/encryption/
Dfile_based_encryption_tests.cpp187 android::base::unique_fd fd( in IsFscryptV2Supported() local
226 explicit ScopedFsFreezer(int fd) { in ScopedFsFreezer()
271 static bool ReadRawDataOfFile(int fd, const FilesystemInfo &fs_info, in ReadRawDataOfFile()
390 android::base::unique_fd fd( in WriteTestFile() local
737 android::base::unique_fd fd( in SetEncryptionPolicy() local
793 android::base::unique_fd fd(open(test_file_.c_str(), O_RDONLY | O_CLOEXEC)); in GenerateTestFile() local
1116 android::base::unique_fd fd( in TestEmmcOptimizedDunWraparound() local
1144 android::base::unique_fd fd(open(path.c_str(), open_flags)); in TestEmmcOptimizedDunWraparound() local
1289 android::base::unique_fd fd(open(test_dir_.c_str(), O_RDONLY | O_CLOEXEC)); in EnableF2fsCompressionOnTestDir() local
1333 android::base::unique_fd fd( in F2fsCompressOptionsSupported() local
[all …]
Dmetadata_encryption_tests.cpp108 android::base::unique_fd fd( in ReadBlockDevice() local
Dutils.cpp234 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/avb/
Dgsi_validation_utils.cpp99 int fd = fileno(cmd_out_stream.get()); in ReadCommandToString() local
DVtsSecurityAvbTest.cpp351 android::base::unique_fd fd(open(system_path.c_str(), O_RDONLY)); in TEST() local