Home
last modified time | relevance | path

Searched refs:OpenFile (Results 1 – 6 of 6) sorted by relevance

/test/dittosuite/test/
Dopen_file_test.cpp22 class OpenFileTest : public InstructionTestWithParam<dittosuite::OpenFile::AccessMode> {
32 dittosuite::OpenFile::AccessMode access_mode = GetParam(); in TEST_P()
33 dittosuite::OpenFile instruction((Instruction::Params){dittosuite::Syscall::GetSyscall(), 1}, in TEST_P()
41 dittosuite::OpenFile::AccessMode access_mode = GetParam(); in TEST_P()
43 dittosuite::OpenFile instruction((Instruction::Params){dittosuite::Syscall::GetSyscall(), 1}, in TEST_P()
52 ::testing::Values(dittosuite::OpenFile::AccessMode::kReadOnly,
53 dittosuite::OpenFile::AccessMode::kWriteOnly,
54 dittosuite::OpenFile::AccessMode::kReadWrite));
Dresize_file_test.cpp28 class ResizeFileTest : public InstructionTestWithParam<dittosuite::OpenFile::AccessMode> {
40 dittosuite::OpenFile::AccessMode access_mode = GetParam(); in TEST_P()
43 dittosuite::OpenFile open_file_instruction( in TEST_P()
52 if (access_mode == dittosuite::OpenFile::AccessMode::kReadOnly) { in TEST_P()
64 ::testing::Values(dittosuite::OpenFile::AccessMode::kReadOnly,
65 dittosuite::OpenFile::AccessMode::kWriteOnly,
66 dittosuite::OpenFile::AccessMode::kReadWrite));
/test/dittosuite/src/
Dopen_file.cpp23 OpenFile::OpenFile(const Params& params, const std::string& path_name, bool create, bool direct_io, in OpenFile() function in dittosuite::OpenFile
34 OpenFile::OpenFile(const Params& params, int input_key, bool create, bool direct_io, in OpenFile() function in dittosuite::OpenFile
44 OpenFile::OpenFile(const Params& params, bool create, bool direct_io, int output_fd_key, in OpenFile() function in dittosuite::OpenFile
55 void OpenFile::SetUpSingle() { in SetUpSingle()
67 void OpenFile::RunSingle() { in RunSingle()
Dinstruction_factory.cpp94 dittosuite::OpenFile::AccessMode access_mode; in CreateFromProtoInstruction()
98 access_mode = OpenFile::AccessMode::kReadOnly; in CreateFromProtoInstruction()
101 access_mode = OpenFile::AccessMode::kWriteOnly; in CreateFromProtoInstruction()
104 access_mode = OpenFile::AccessMode::kReadWrite; in CreateFromProtoInstruction()
114 return std::make_unique<OpenFile>(instruction_params, input_key, options.create(), in CreateFromProtoInstruction()
117 return std::make_unique<OpenFile>(instruction_params, options.path_name(), options.create(), in CreateFromProtoInstruction()
120 return std::make_unique<OpenFile>(instruction_params, options.create(), options.direct_io(), in CreateFromProtoInstruction()
/test/dittosuite/include/ditto/
Dopen_file.h24 class OpenFile : public Instruction {
29 explicit OpenFile(const Params& params, const std::string& path_name, bool create, bool direct_io,
31 explicit OpenFile(const Params& params, int input_key, bool create, bool direct_io,
33 explicit OpenFile(const Params& params, bool create, bool direct_io, int output_fd_key,
/test/dittosuite/schema/
Dbenchmark.proto99 message OpenFile { message
221 OpenFile open_file = 3;