Searched refs:userPath (Results 1 - 5 of 5) sorted by relevance
/base/customization/config_policy/test/fuzztest/getonecfgfile_fuzzer/ |
H A D | getonecfgfile_fuzzer.cpp | 28 std::string userPath(reinterpret_cast<const char*>(data), size); in FuzzGetOneCfgFile() 30 char *filePath = GetOneCfgFile(userPath.c_str(), buf, MAX_PATH_LEN); in FuzzGetOneCfgFile()
|
/base/customization/config_policy/test/fuzztest/getonecfgfileex_fuzzer/ |
H A D | getonecfgfileex_fuzzer.cpp | 29 std::string userPath(reinterpret_cast<const char*>(data), size / 2); in FuzzGetOneCfgFileEx() 33 char *filePath = GetOneCfgFileEx(userPath.c_str(), buf, MAX_PATH_LEN, followMode, extra.c_str()); in FuzzGetOneCfgFileEx()
|
/base/security/huks/services/huks_standard/huks_service/main/hks_storage/src/ |
H A D | hks_storage_utils.c | 493 char userPath[HKS_MAX_DIRENT_FILE_LEN] = { 0 }; in CheckUserPathExist() local 494 int32_t offset = sprintf_s(userPath, HKS_MAX_DIRENT_FILE_LEN, "%s/%s", in CheckUserPathExist() 501 return HksIsDirExist(userPath) == HKS_SUCCESS ? HKS_SUCCESS : HKS_ERROR_NO_PERMISSION; in CheckUserPathExist()
|
/base/tee/tee_client/services/teecd/src/ |
H A D | fs_work_agent.c | 284 char userPath[USER_PATH_SIZE] = { 0 }; in JoinFileNameTransient() local 285 rc = snprintf_s(userPath, sizeof(userPath), sizeof(userPath) - 1, "%u/", userId); in JoinFileNameTransient() 297 rc = strncat_s(path, pathLen, userPath, strlen(userPath)); in JoinFileNameTransient()
|
/base/theme/wallpaper_mgr/services/src/ |
H A D | wallpaper_service.cpp | 1514 std::string userPath = WALLPAPER_USERID_PATH + std::to_string(userId) + "/wallpapercfg"; in SaveWallpaperState() local 1516 int fd = open(userPath.c_str(), O_CREAT | O_WRONLY | O_SYNC, mode); in SaveWallpaperState() 1534 std::string userPath = WALLPAPER_USERID_PATH + std::to_string(userId) + "/wallpapercfg"; in LoadWallpaperState() local 1535 int fd = open(userPath.c_str(), O_RDONLY, S_IREAD); in LoadWallpaperState()
|
Completed in 7 milliseconds