Searched refs:S_IRUSR (Results 1 - 8 of 8) sorted by relevance
/commonlibrary/utils_lite/js/builtin/filekit/src/ |
H A D | nativeapi_fs_impl.c | 141 ret = mkdir(fullPath, S_IRUSR | S_IWUSR | S_IXUSR);
in MakeParent() 228 int fdSrc = open(realSrc, O_RDONLY, S_IRUSR);
in CopyFileImpl() 244 int fdDest = open(realDest, O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR);
in CopyFileImpl() 275 fileHandle = open(resolvePath, O_RDWR | O_CREAT | O_APPEND, S_IRUSR | S_IWUSR);
in WriteTextFile() 277 fileHandle = open(resolvePath, O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR);
in WriteTextFile() 303 fileHandle = open(resolvePath, O_RDWR | O_CREAT | O_APPEND, S_IRUSR | S_IWUSR);
in WriteArrayFile() 310 fileHandle = open(resolvePath, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
in WriteArrayFile() 339 int fileHandle = open(resolvePath, O_RDONLY, S_IRUSR);
in ReadFileImpl() 463 int ret = mkdir(fileName, S_IRUSR | S_IWUSR | S_IXUSR);
in CreateDirImpl()
|
/commonlibrary/utils_lite/js/builtin/kvstorekit/src/ |
H A D | nativeapi_kv_impl.c | 93 if (mkdir(g_kvFolder, S_IRUSR | S_IWUSR | S_IXUSR) != 0) {
in InitKv() 113 int fileHandle = open(resolvePath, O_RDONLY, S_IRUSR);
in GetValue() 142 int fd = open(resolvePath, O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR);
in SetValue()
|
/commonlibrary/c_utils/base/src/rust/ |
H A D | directory_ex.rs | 29 pub const S_IRUSR: u32 = 0o400; consts
|
/commonlibrary/c_utils/base/test/unittest/rust/ |
H A D | rust_utils_directory_test.rs | 185 mode = directory_ex::S_IRUSR | directory_ex::S_IRGRP | directory_ex::S_IROTH; in test_get_folder_size_001() 206 let mode = directory_ex::S_IRUSR | directory_ex::S_IRGRP | directory_ex::S_IROTH; in test_change_mode_directory_001()
|
/commonlibrary/c_utils/base/test/unittest/common/ |
H A D | utils_file_test.cpp | 393 int fd = open(filename.c_str(), O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); in HWTEST_F() 415 int fd = open(filename.c_str(), O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); in HWTEST_F() 437 int fd = open(filename.c_str(), O_RDONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); in HWTEST_F()
|
H A D | utils_directory_test.cpp | 471 mode = S_IRUSR | S_IRGRP | S_IROTH; in HWTEST_F() 498 mode_t mode = S_IRUSR | S_IRGRP | S_IROTH; in HWTEST_F()
|
/commonlibrary/c_utils/base/test/benchmarktest/directory_benchmark_test/ |
H A D | directory_benchmark_test.cpp | 374 mode = S_IRUSR | S_IRGRP | S_IROTH; in BENCHMARK_F() 409 mode_t mode = S_IRUSR | S_IRGRP | S_IROTH; in BENCHMARK_F()
|
/commonlibrary/c_utils/base/test/benchmarktest/file_benchmark_test/ |
H A D | file_benchmark_test.cpp | 96 int fd = open(filename.c_str(), O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); in SaveString() 521 int fd = open(filename.c_str(), O_RDONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); in BENCHMARK_F()
|
Completed in 6 milliseconds