Searched refs:path_element_substring (Results 1 – 2 of 2) sorted by relevance
59 Result<void> ValidatePathElementSubstring(const std::string& path_element_substring, in ValidatePathElementSubstring() argument61 if (path_element_substring.empty()) { in ValidatePathElementSubstring()64 if (path_element_substring.find('/') != std::string::npos) { in ValidatePathElementSubstring()65 return Errorf("{} '{}' has invalid character '/'", name, path_element_substring); in ValidatePathElementSubstring()67 if (path_element_substring.find('\0') != std::string::npos) { in ValidatePathElementSubstring()68 return Errorf("{} '{}' has invalid character '\\0'", name, path_element_substring); in ValidatePathElementSubstring()
29 android::base::Result<void> ValidatePathElementSubstring(const std::string& path_element_substring,