Home
last modified time | relevance | path

Searched refs:ALL_PERMS (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/utils/test/
H A Dfile_utils_test.cpp33 const uint32_t ALL_PERMS = (S_ISUID | S_ISGID | S_ISVTX | S_IRWXU | S_IRWXG | S_IRWXO); variable
90 EXPECT_TRUE((st.st_mode & ALL_PERMS) == mode);
98 EXPECT_TRUE((st.st_mode & ALL_PERMS) == mode);
160 EXPECT_TRUE((st.st_mode & ALL_PERMS) == mode);
232 EXPECT_TRUE((st.st_mode & ALL_PERMS) == mode);
258 EXPECT_TRUE((st.st_mode & ALL_PERMS) == mode);
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/utils/
H A Dfile_utils.cpp37 constexpr uint32_t ALL_PERMS = (S_ISUID | S_ISGID | S_ISVTX | S_IRWXU | S_IRWXG | S_IRWXO); variable
139 if (((st.st_mode & ALL_PERMS) != mode) && ChMod(path, mode)) { in PrepareDir()