/ohos5.0/foundation/multimedia/av_codec/test/unittest/avmuxer_test/ |
H A D | avmuxer_unit_test.cpp | 165 fd_ = open(outputFile.c_str(), O_CREAT | O_RDWR, S_IRUSR | S_IWUSR); 179 fd_ = open(outputFile.c_str(), O_CREAT | O_WRONLY, S_IRUSR | S_IWUSR); 193 fd_ = open(outputFile.c_str(), O_CREAT | O_RDONLY, S_IRUSR | S_IWUSR); 233 fd_ = open(outputFile.c_str(), O_CREAT | O_RDWR, S_IRUSR | S_IWUSR); 274 fd_ = open(outputFile.c_str(), O_CREAT | O_RDWR | O_TRUNC, S_IRUSR | S_IWUSR); 316 fd_ = open(outputFile.c_str(), O_CREAT | O_RDWR | O_TRUNC, S_IRUSR | S_IWUSR); 359 fd_ = open(outputFile.c_str(), O_CREAT | O_RDWR | O_TRUNC, S_IRUSR | S_IWUSR); 406 fd_ = open(outputFile.c_str(), O_CREAT | O_RDWR | O_TRUNC, S_IRUSR | S_IWUSR); 449 fd_ = open(outputFile.c_str(), O_CREAT | O_RDWR | O_TRUNC, S_IRUSR | S_IWUSR); 472 fd_ = open(outputFile.c_str(), O_CREAT | O_RDWR | O_TRUNC, S_IRUSR | S_IWUSR); [all …]
|
/ohos5.0/base/hiviewdfx/hiview/base/utility/include/ |
H A D | file_util.h | 29 #define S_IRUSR 00400 macro 52 constexpr mode_t DEFAULT_FILE_MODE = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH; // -rw-rw-r-- 56 constexpr mode_t FILE_PERM_600 = S_IRUSR | S_IWUSR; 57 constexpr mode_t FILE_PERM_640 = S_IRUSR | S_IWUSR | S_IRGRP; 58 constexpr mode_t FILE_PERM_660 = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP; 59 constexpr mode_t FILE_PERM_666 = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH;
|
/ohos5.0/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()
|
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/muxer/Common/src/ |
H A D | AVMuxerDemo.cpp | 43 int32_t fd = open(filename.c_str(), O_CREAT | O_RDWR | O_TRUNC, S_IRUSR | S_IWUSR); in GetFdByMode() 54 int32_t fd = open(filename.c_str(), O_CREAT | O_RDONLY, S_IRUSR | S_IWUSR); in GetErrorFd() 75 int32_t fd = open(filename.c_str(), O_CREAT | O_RDWR | O_TRUNC, S_IRUSR | S_IWUSR); in GetFdByName() 92 int32_t fd = open(filename.c_str(), O_CREAT | O_RDWR | O_TRUNC, S_IRUSR | S_IWUSR); in InnerGetFdByMode() 109 int32_t fd = open(filename.c_str(), O_CREAT | O_RDWR | O_TRUNC, S_IRUSR | S_IWUSR); in InnerGetFdByName()
|
/ohos5.0/foundation/resourceschedule/memmgr/common/include/ |
H A D | kernel_interface.h | 94 …static constexpr mode_t FILE_MODE_666 = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH;… 95 …static constexpr mode_t FILE_MODE_664 = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH; // -rw-rw… 96 static constexpr mode_t FILE_MODE_644 = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; // -rw-r--r-- 97 static constexpr mode_t FILE_MODE_660 = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP;
|
/ohos5.0/base/startup/init/services/init/standard/ |
H A D | device.c | 27 #define DEFAULT_RW_MODE (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH) 28 #define DEFAULT_NO_AUTHORITY_MODE (S_IWUSR | S_IRUSR) 102 …int fd = open("/proc/sys/kernel/printk_devkmsg", O_WRONLY | O_CLOEXEC, S_IRUSR | S_IWUSR | S_IRGRP… in EnableDevKmsg()
|
/ohos5.0/base/global/timezone/tool/update_tool/ |
H A D | download_iana.py | 31 modes = stat.S_IWUSR | stat.S_IRUSR 52 modes = stat.S_IWUSR | stat.S_IRUSR 113 modes = stat.S_IWUSR | stat.S_IRUSR
|
/ohos5.0/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()
|
/ohos5.0/foundation/multimodalinput/input/util/common/src/ |
H A D | klog.cpp | 51 int fd = open("/dev/kmsg", O_WRONLY | O_CLOEXEC, S_IRUSR | S_IWUSR | S_IRGRP | S_IRGRP); in KLogOpenLogDevice() 53 int fd = open("/dev/kmsg", O_WRONLY, S_IRUSR | S_IWUSR | S_IRGRP | S_IRGRP); in KLogOpenLogDevice()
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/fuzztest/imagesource_fuzzer/src/ |
H A D | image_source_fuzz.cpp | 100 int fd = open(pathName.c_str(), O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); in CreateImageSourceByFDEXFuzz() 114 int fd = open(pathName.c_str(), O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); in CreateImageSourceByIstreamFuzz() 133 int fd = open(pathName.c_str(), O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); in CreateImageSourceByPathNameFuzz() 151 int fd = open(pathName.c_str(), O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); in CreateIncrementalPixelMapFuzz()
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/tools/snapshot/ |
H A D | framework2char.py | 69 input_modes = stat.S_IWUSR | stat.S_IRUSR 73 modes = stat.S_IWUSR | stat.S_IRUSR 109 modes = stat.S_IWUSR | stat.S_IRUSR
|
/ohos5.0/build/ohos/images/mkimage/ |
H A D | imkcovert.py | 34 modes = stat.S_IWUSR | stat.S_IRUSR 89 modes = stat.S_IWUSR | stat.S_IRUSR 154 modes = stat.S_IWUSR | stat.S_IRUSR 169 modes = stat.S_IWUSR | stat.S_IRUSR
|
/ohos5.0/foundation/filemanagement/app_file_service/tests/unittests/backup_api/backup_impl/ |
H A D | service_proxy_test.cpp | 231 UniqueFd fd(open(filePath.data(), O_RDONLY | O_CREAT, S_IRUSR | S_IWUSR)); 237 …r(open(tmErr.GetRootDirCurTest().append(FILE_NAME).data(), O_RDONLY | O_CREAT, S_IRUSR | S_IWUSR)); 356 UniqueFd fd(open(filePath.data(), O_RDONLY | O_CREAT, S_IRUSR | S_IWUSR)); 387 UniqueFd fd(open(filePath.data(), O_RDONLY | O_CREAT, S_IRUSR | S_IWUSR)); 694 UniqueFd fd(open(filePath.data(), O_RDONLY | O_CREAT, S_IRUSR | S_IWUSR)); 699 …r(open(tmErr.GetRootDirCurTest().append(FILE_NAME).data(), O_RDONLY | O_CREAT, S_IRUSR | S_IWUSR)); 729 UniqueFd fd(open(filePath.data(), O_RDONLY | O_CREAT, S_IRUSR | S_IWUSR)); 730 UniqueFd manifestFd(open(filePath.data(), O_RDONLY | O_CREAT, S_IRUSR | S_IWUSR)); 738 … open(tmErr.GetRootDirCurTest().append(FILE_NAME).data(), O_RDONLY | O_CREAT, S_IRUSR | S_IWUSR)); 768 UniqueFd fd(open(filePath.data(), O_RDONLY | O_CREAT, S_IRUSR | S_IWUSR)); [all …]
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/tools/profiler/ |
H A D | js_profiler.py | 50 modes = stat.S_IWUSR | stat.S_IRUSR 70 modes = stat.S_IWUSR | stat.S_IRUSR
|
/ohos5.0/base/startup/init/simulator/parameter/src/param_impl_posix/ |
H A D | param_impl_posix.c | 89 int fd = open(keyPath, O_RDONLY, S_IRUSR); in GetSysParam() 119 int fd = open(keyPath, O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in SetSysParam()
|
/ohos5.0/base/powermgr/thermal_manager/utils/native/src/ |
H A D | file_operation.cpp | 51 int32_t fd = open(filePath.c_str(), O_CREAT | O_RDWR, S_IRUSR | S_IWUSR | S_IRGRP| S_IROTH); in CreateNodeFile() 90 int32_t fd = open(path, O_RDONLY, S_IRUSR | S_IRGRP | S_IROTH); in ReadFile()
|
/ohos5.0/build/lite/testfwk/ |
H A D | gen_module_list_files.py | 52 os.O_RDWR | os.O_CREAT, stat.S_IWUSR | stat.S_IRUSR), 73 os.O_RDWR | os.O_CREAT, stat.S_IWUSR | stat.S_IRUSR),
|
/ohos5.0/build/indep_configs/scripts/ |
H A D | variants_info_handler.py | 53 modes = stat.S_IWUSR | stat.S_IRUSR 68 modes = stat.S_IWUSR | stat.S_IRUSR
|
/ohos5.0/foundation/filemanagement/app_file_service/tests/unittests/backup_utils/b_tarball/ |
H A D | b_tarball_cmdline_test.cpp | 119 UniqueFd fd(open(strFile.data(), O_RDONLY | O_CREAT, S_IRUSR | S_IWUSR)); 166 UniqueFd fd(open(strFile.data(), O_RDONLY | O_CREAT, S_IRUSR | S_IWUSR)); 213 UniqueFd fd(open(strFile.data(), O_RDONLY | O_CREAT, S_IRUSR | S_IWUSR));
|
/ohos5.0/drivers/peripheral/partitionslot/hal/src/ |
H A D | partitionslot_manager.cpp | 93 int fd = open(MISC_DEVICE_NODE, O_RDWR | O_CLOEXEC, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); in ReadMisc() 119 int fd = open(MISC_DEVICE_NODE, O_RDWR | O_CLOEXEC, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); in WriteSlotToMisc()
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/image_source_test/ |
H A D | image_packer_test.cpp | 176 const int fd2 = open("/data/local/tmp/image/test.jpg", O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); 484 const int fd = open(IMAGE_JPG_DEST.c_str(), O_RDWR, S_IRUSR | S_IWUSR); 499 const int fdDest = open(IMAGE_JPG_DEST.c_str(), O_RDWR, S_IRUSR | S_IWUSR); 636 const int fd = open(IMAGE_PNG2JPG_DEST.c_str(), O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); 647 const int fdDest = open(IMAGE_PNG2JPG_DEST.c_str(), O_RDWR, S_IRUSR | S_IWUSR); 681 const int fd = open(outJpeg.c_str(), O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); 718 const int fd = open(outJpeg.c_str(), O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); 755 const int fd = open(outJpeg.c_str(), O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); 792 const int fd = open(outJpeg.c_str(), O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/native/kv_store/src/kvstore_impl_posix/ |
H A D | kv_store.c | 83 int fd = open(keyPath, O_RDONLY, S_IRUSR); in GetValueByFile() 109 int fd = open(keyPath, O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in SetValueToFile() 153 if (mkdir(kvPath, S_IRUSR | S_IWUSR | S_IXUSR) != F_OK) { in InitKv()
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | image_receiver_test.cpp | 58 int fd = open("/data/receiver/Receiver_buffer7.jpg", O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); 82 int fd = open("/data/receiver/Receiver_buffer7.jpg", O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); 127 int fd = open("/data/receiver/Receiver_buffer7.jpg", O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); 362 int fd = open("/data/receiver/Receiver_buffer7.jpg", O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); 438 int fd = open("/data/receiver/Receiver_buffer7.jpg", O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
|
/ohos5.0/build/ohos/notice/ |
H A D | collect_module_notice_file.py | 150 with os.fdopen(os.open(notice_file, os.O_RDWR | os.O_CREAT, stat.S_IWUSR | stat.S_IRUSR), 153 with os.fdopen(os.open(output, os.O_RDWR | os.O_CREAT, stat.S_IWUSR | stat.S_IRUSR), 157 with os.fdopen(os.open(output, os.O_RDWR | os.O_CREAT, stat.S_IWUSR | stat.S_IRUSR),
|
/ohos5.0/foundation/filemanagement/app_file_service/tests/unittests/backup_api/backup_impl/include/ |
H A D | ext_extension_mock.h | 49 UniqueFd fd(open(filePath.data(), O_RDONLY | O_CREAT, S_IRUSR | S_IWUSR)); in InvokeGetFileHandleRequest() 70 UniqueFd fd(open(filePath.data(), O_RDONLY | O_CREAT, S_IRUSR | S_IWUSR)); in GetFileHandle()
|