Lines Matching refs:ParseStatus
476 enum class ParseStatus { enum
483 static std::string toString(ParseStatus status) { in toString()
485 case ParseStatus::OK: return "OK"; in toString()
486 case ParseStatus::PARSE_ERROR: return "parse error"; in toString()
487 case ParseStatus::DUPLICATED_FWK_ENTRY: return "duplicated framework"; in toString()
488 case ParseStatus::DUPLICATED_DEV_ENTRY: return "duplicated device"; in toString()
494 static ParseStatus tryParse(const std::string& xml, const XmlConverter<T>& parse, in tryParse()
498 return ParseStatus::PARSE_ERROR; in tryParse()
502 return ParseStatus::DUPLICATED_FWK_ENTRY; in tryParse()
504 return ParseStatus::DUPLICATED_DEV_ENTRY; in tryParse()
509 return ParseStatus::OK; in tryParse()
518 ParseStatus parseStatus = ParseStatus::OK; in checkCompatibility()
523 if (parseStatus == ParseStatus::OK) { in checkCompatibility()
526 if (parseStatus != ParseStatus::PARSE_ERROR) { in checkCompatibility()
531 if (parseStatus == ParseStatus::OK) { in checkCompatibility()
534 if (parseStatus != ParseStatus::PARSE_ERROR) { in checkCompatibility()