Lines Matching refs:validPaths
544 bool VerifyPath(const std::string& filePath, const std::vector<std::string>& validPaths)
546 if (validPaths.size() == 0) {
550 for (const std::string& path : validPaths) {
568 std::vector<std::string> validPaths;
571 if (validPaths.size() == 0) {
574 validPaths.pop_back();
577 validPaths.emplace_back(pathName);
581 for (const std::string &pathName : validPaths) {
589 bool ReadFile(const std::string &filePath, const std::vector<std::string>& validPaths, std::string& fileContent)
596 CHECK_TRUE(VerifyPath(realFilePathStr, validPaths), false, "Fail to VerifyPath: %s", realFilePathStr.c_str());