Home
last modified time | relevance | path

Searched refs:S_IRUSR (Results 1 - 8 of 8) sorted by relevance

/commonlibrary/utils_lite/js/builtin/filekit/src/
H A Dnativeapi_fs_impl.c141 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 Dnativeapi_kv_impl.c93 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 Ddirectory_ex.rs29 pub const S_IRUSR: u32 = 0o400; consts
/commonlibrary/c_utils/base/test/unittest/rust/
H A Drust_utils_directory_test.rs185 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 Dutils_file_test.cpp393 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 Dutils_directory_test.cpp471 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 Ddirectory_benchmark_test.cpp374 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 Dfile_benchmark_test.cpp96 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