Lines Matching defs:path
38 HolidayManager::HolidayManager(const char* path)
40 if (path == nullptr) {
41 HILOG_ERROR_I18N("Failed: parameter path is NULL.");
44 std::string msg = ValidateHolidayFilePath(path);
49 std::vector<HolidayInfoItem> items = ReadHolidayFile(path);
143 std::string HolidayManager::ValidateHolidayFilePath(const char* path)
145 char *realpathRes = realpath(path, nullptr);
150 std::ifstream file(path);
162 std::vector<HolidayInfoItem> HolidayManager::ReadHolidayFile(const char* path)
165 if (path == nullptr) {
169 fin.open(path, std::ios::in);