/base/hiviewdfx/hiview/adapter/utility/include/ |
D | common_utils.h | 28 static constexpr mode_t FILE_PERM_755 = S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH; 29 static constexpr mode_t FILE_PERM_775 = S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH; 30 static constexpr mode_t FILE_PERM_770 = S_IRWXU | S_IRWXG;
|
D | file_util.h | 24 #define S_IRWXU 00700 macro 53 constexpr mode_t FILE_PERM_755 = S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH; 54 constexpr mode_t FILE_PERM_775 = S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH; 55 constexpr mode_t FILE_PERM_770 = S_IRWXU | S_IRWXG;
|
/base/startup/init/test/unittest/init/ |
D | utils_unittest.cpp | 42 mode_t mode = S_IRWXU | S_IRGRP | S_IXGRP | S_IXOTH | S_IROTH; 73 mode_t mode = S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH;
|
D | mount_unittest.cpp | 57 int fd = open("/bin/updater", O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC, S_IRWXU);
|
/base/powermgr/battery_manager/utils/native/src/ |
D | test_utils.cpp | 66 mkdir(MOCK_PATH, S_IRWXU); in InitTest() 68 mkdir((std::string(MOCK_PATH) + "/" + MOCK_DIR_NAME[i]).c_str(), S_IRWXU); in InitTest()
|
/base/startup/init/ueventd/include/ |
D | ueventd_utils.h | 31 #define DIRMODE (S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH)
|
/base/hiviewdfx/hidumper/frameworks/native/src/util/ |
D | file_utils.cpp | 40 if (mkdir(path.c_str(), S_IRWXU | S_IRWXG | S_IRWXO)) { in CreateFolder()
|
/base/update/updater/test/unittest/applypatch_test/ |
D | applypatch_unittest.cpp | 50 auto ret = mkdir(tmpPath.c_str(), S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH); in SetUp() 90 Updater::Utils::MkdirRecursive(devDir, S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH);
|
D | blockset_unittest.cpp | 116 …int fd = open("/data/updater/updater/blocksetTest.txt", O_CREAT | O_WRONLY, S_IRWXU | S_IRWXG | S_… 139 …int fd = open("/data/updater/updater/blocksetTest.txt", O_CREAT | O_WRONLY, S_IRWXU | S_IRWXG | S_…
|
D | partition_update_record_unittest.cpp | 58 mode_t dirMode = S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH;
|
D | all_cmd_unittest.cpp | 173 mode_t dirMode = S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH; 190 mode_t mode = (S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH);
|
D | imagepatch_unittest.h | 98 Updater::Utils::MkdirRecursive(basePath, S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH); in SetUp()
|
/base/startup/init/services/init/lite/ |
D | init.c | 35 (void)MakeDirRecursive("/dev/unix/socket", S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH); in SystemInit()
|
/base/startup/init/services/init/standard/ |
D | device.c | 40 if (mkdir("/dev/pts", S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH) != 0) { in MountBasicFs()
|
/base/security/selinux/interfaces/policycoreutils/src/ |
D | selinux_share_mem.c | 29 int fd = open(fileName, mode, S_IRWXU | S_IRWXG | S_IROTH); in InitSharedMem()
|
/base/update/updater/test/unittest/mount_test/ |
D | mount_unittest.cpp | 53 mkdir("/misc", S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH); in SetUpTestCase() 155 …auto ret = open(tmpPath.c_str(), O_RDONLY | O_CREAT | O_TRUNC, S_IRWXU | S_IRGRP | S_IXGRP | S_IRO…
|
/base/startup/init/test/unittest/param/ |
D | param_stub.cpp | 188 mkdir("/data/ueventd_ut", S_IRWXU | S_IRWXG | S_IRWXO); in PrepareUeventdcfg() 218 mkdir("/data/init_ut/mount_unitest/", S_IRWXU | S_IRWXG | S_IRWXO); in PrepareInnerKitsCfg() 390 mkdir(STARTUP_INIT_UT_PATH, S_IRWXU | S_IRWXG | S_IRWXO); in PrepareInitUnitTestEnv()
|
/base/startup/init/services/init/include/ |
D | init_cmds.h | 31 #define DEFAULT_DIR_MODE (S_IRWXU | S_IRGRP | S_IXGRP | S_IXOTH | S_IROTH) // mkdir, default mode
|
/base/update/updater/test/unittest/utils/ |
D | utils_unittest.cpp | 73 EXPECT_EQ(Utils::MkdirRecursive(path, S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH), -1); 75 EXPECT_EQ(Utils::MkdirRecursive(path, S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH), 0); 207 int ret = mkdir(path.c_str(), S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH); 209 int secRet = mkdir(secPath.c_str(), S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH);
|
/base/theme/wallpaper_mgr/utils/src/ |
D | file_deal.cpp | 44 int isCreate = ::mkdir(path.c_str(), S_IRWXU | S_IRWXG | S_IRWXO); in Mkdir()
|
/base/update/updater/test/unittest/updater_main_test/ |
D | updater_main_unittest.cpp | 54 …Updater::Utils::MkdirRecursive("/data/sdcard/updater", S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_I… in SetUpTestCase() 74 int ret = mkdir("/data/updater/", S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH);
|
/base/startup/init/services/param/linux/ |
D | param_osadp.c | 85 int fd = open(fileName, mode, S_IRWXU | S_IRWXG | S_IROTH); in GetSharedMem()
|
/base/update/updater/services/flashd/daemon/ |
D | flash_commander.cpp | 51 mkdir(FLASHD_FILE_PATH, S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH); in DoCommand()
|
/base/update/updater/test/unittest/updater_test/ |
D | updater_unittest.cpp | 48 mode_t mode = (S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH); in SetUp()
|
/base/powermgr/thermal_manager/utils/native/src/ |
D | file_operation.cpp | 35 int flag = mkdir(dir.c_str(), S_IRWXU | S_IRWXG | S_IROTH| S_IXOTH); in CreateNodeDir()
|