Home
last modified time | relevance | path

Searched refs:file_mode (Results 1 – 25 of 46) sorted by relevance

12

/third_party/boost/libs/beast/test/beast/core/
Dfile_test.hpp144 f.open(path, file_mode::read, ec); in test_file()
156 f.open(path, file_mode::scan, ec); in test_file()
168 f.open(path, file_mode::write, ec); in test_file()
176 f.open(path, file_mode::write, ec); in test_file()
189 f.open(path, file_mode::write_new, ec); in test_file()
197 f.open(path, file_mode::write_new, ec); in test_file()
209 f.open(path, file_mode::write_existing, ec); in test_file()
218 f.open(path, file_mode::write_existing, ec); in test_file()
230 f.open(path, file_mode::append, ec); in test_file()
238 f.open(path, file_mode::append, ec); in test_file()
[all …]
/third_party/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl15.c70 static void lock_region_two(int file_flag, int file_mode) in lock_region_two() argument
74 fd = SAFE_OPEN(tmpname, file_flag, file_mode); in lock_region_two()
83 static void do_test(int file_flag, int file_mode, int dup_flag) in do_test() argument
87 fd = SAFE_OPEN(tmpname, file_flag, file_mode); in do_test()
124 static int run_test(int file_flag, int file_mode, int dup_flag) in run_test() argument
126 fd[0] = SAFE_OPEN(tmpname, file_flag, file_mode); in run_test()
132 lock_region_two(file_flag, file_mode); in run_test()
137 fd[1] = SAFE_OPEN(tmpname, file_flag, file_mode); in run_test()
153 do_test(file_flag, file_mode, dup_flag); in run_test()
Dfcntl16.c444 int run_test(int file_flag, int file_mode, int start, int end) in run_test() argument
455 fd = SAFE_OPEN(cleanup, tmpname, file_flag, file_mode); in run_test()
/third_party/ltp/testcases/kernel/syscalls/fchmod/
Dfchmod01.c23 mode_t file_mode, mode; in verify_fchmod() local
33 file_mode = stat_buf.st_mode; in verify_fchmod()
35 if ((file_mode & ~S_IFREG) != mode) { in verify_fchmod()
38 TESTFILE, file_mode & ~S_IFREG, mode); in verify_fchmod()
Dfchmod02.c30 mode_t file_mode; in verify_fchmod() local
37 file_mode = stat_buf.st_mode; in verify_fchmod()
39 if ((file_mode & ~S_IFREG) != PERMS) { in verify_fchmod()
41 TESTFILE, file_mode, PERMS); in verify_fchmod()
Dfchmod03.c100 mode_t file_mode; /* mode permissions set on testfile */ in main() local
123 file_mode = stat_buf.st_mode; in main()
126 if ((file_mode & PERMS) != PERMS) in main()
128 "Expected 0777", TESTFILE, file_mode); in main()
/third_party/boost/libs/beast/include/boost/beast/core/impl/
Dfile_posix.ipp118 open(char const* path, file_mode mode, error_code& ec)
133 case file_mode::read:
139 case file_mode::scan:
146 case file_mode::write:
153 case file_mode::write_new:
160 case file_mode::write_existing:
167 case file_mode::append:
174 case file_mode::append_existing:
Dfile_stdio.ipp76 open(char const* path, file_mode mode, error_code& ec)
95 case file_mode::read:
103 case file_mode::scan:
111 case file_mode::write:
119 case file_mode::write_new:
145 case file_mode::write_existing:
153 case file_mode::append:
161 case file_mode::append_existing:
Dfile_win32.ipp115 open(char const* path, file_mode mode, error_code& ec)
139 case file_mode::read:
146 case file_mode::scan:
153 case file_mode::write:
160 case file_mode::write_new:
167 case file_mode::write_existing:
174 case file_mode::append:
182 case file_mode::append_existing:
/third_party/boost/boost/beast/core/impl/
Dfile_posix.ipp118 open(char const* path, file_mode mode, error_code& ec)
133 case file_mode::read:
139 case file_mode::scan:
146 case file_mode::write:
153 case file_mode::write_new:
160 case file_mode::write_existing:
167 case file_mode::append:
174 case file_mode::append_existing:
Dfile_stdio.ipp76 open(char const* path, file_mode mode, error_code& ec)
95 case file_mode::read:
103 case file_mode::scan:
111 case file_mode::write:
119 case file_mode::write_new:
145 case file_mode::write_existing:
153 case file_mode::append:
161 case file_mode::append_existing:
Dfile_win32.ipp115 open(char const* path, file_mode mode, error_code& ec)
139 case file_mode::read:
146 case file_mode::scan:
153 case file_mode::write:
160 case file_mode::write_new:
167 case file_mode::write_existing:
174 case file_mode::append:
182 case file_mode::append_existing:
/third_party/boost/libs/beast/test/beast/http/
Dfile_body.cpp99 temp.string<std::string>().c_str(), file_mode::write, ec); in doTestFileBody()
107 f.open(temp.string<std::string>().c_str(), file_mode::read, ec); in doTestFileBody()
123 file_mode::scan, ec); in doTestFileBody()
171 value.open(temp.path().string<std::string>().c_str(), file_mode::read, ec); in fileBodyUnexpectedEofOnGet()
/third_party/boost/boost/beast/core/
Dfile_base.hpp42 enum class file_mode enum
138 std::declval<file_mode>(),
Dfile_stdio.hpp107 open(char const* path, file_mode mode, error_code& ec);
Dfile_posix.hpp127 open(char const* path, file_mode mode, error_code& ec);
Dfile_win32.hpp124 open(char const* path, file_mode mode, error_code& ec);
/third_party/boost/libs/beast/include/boost/beast/core/
Dfile_base.hpp42 enum class file_mode enum
138 std::declval<file_mode>(),
Dfile_stdio.hpp107 open(char const* path, file_mode mode, error_code& ec);
Dfile_posix.hpp127 open(char const* path, file_mode mode, error_code& ec);
Dfile_win32.hpp124 open(char const* path, file_mode mode, error_code& ec);
/third_party/boost/libs/beast/include/boost/beast/http/
Dbasic_file_body.hpp147 open(char const* path, file_mode mode, error_code& ec);
177 open(char const* path, file_mode mode, error_code& ec) in open()
/third_party/boost/boost/beast/http/
Dbasic_file_body.hpp147 open(char const* path, file_mode mode, error_code& ec);
177 open(char const* path, file_mode mode, error_code& ec) in open()
/third_party/ltp/runtest/
Dfs_perms_simple5 # fs_perms file_mode file_uid file_gid test_uid test_gid mode (r|w|x) expected_result
/third_party/boost/libs/beast/test/doc/
Dexemplars.cpp325 open(char const* path, file_mode mode, error_code& ec);

12