Searched refs:subPath (Results 1 – 5 of 5) sorted by relevance
/base/hiviewdfx/hisysevent/adapter/native/idl/src/ |
D | file_util.cpp | 61 std::string subPath; in ForceCreateDirectory() local 64 subPath = dir; in ForceCreateDirectory() 66 subPath = dir.substr(0, index); in ForceCreateDirectory() 69 if (!IsFileExists(subPath) && mkdir(subPath.c_str(), S_IRWXU) != 0) { in ForceCreateDirectory()
|
/base/security/selinux_adapter/test/unittest/common/ |
D | test_common.cpp | 28 std::string subPath; in CreateDirectory() local 31 subPath = path; in CreateDirectory() 33 subPath = path.substr(0, index); in CreateDirectory() 36 if (access(subPath.c_str(), F_OK) != 0) { in CreateDirectory() 37 if (mkdir(subPath.c_str(), S_IRWXU) != 0) { in CreateDirectory()
|
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/utility/ |
D | file_util.cpp | 61 std::string subPath; in ForceCreateDirectory() local 64 subPath = dir; in ForceCreateDirectory() 66 subPath = dir.substr(0, index); in ForceCreateDirectory() 69 if (!IsFileExists(subPath) && mkdir(subPath.c_str(), S_IRWXU) != 0) { in ForceCreateDirectory()
|
/base/hiviewdfx/hiview/base/utility/ |
D | file_util.cpp | 167 string subPath = (index == string::npos) ? path : path.substr(0, index); in ForceCreateDirectory() local 168 if (access(subPath.c_str(), F_OK) != 0) { in ForceCreateDirectory() 169 if (mkdir(subPath.c_str(), mode) != 0) { in ForceCreateDirectory()
|
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/src/ |
D | dlp_file_manager.cpp | 349 std::string subPath = std::string(path) + "/" + entry->d_name; in RemoveDirRecursive() local 351 if (!RemoveDirRecursive(subPath.c_str())) { in RemoveDirRecursive() 356 if (remove(subPath.c_str()) != 0) { in RemoveDirRecursive()
|