Home
last modified time | relevance | path

Searched refs:ParserResult (Results 1 – 5 of 5) sorted by relevance

/external/catch2/include/internal/
Dcatch_commandline.cpp37 return ParserResult::runtimeError( "Unrecognised warning: '" + warning + "'" ); in makeCommandLineParser()
39 return ParserResult::ok( ParseResultType::Matched ); in makeCommandLineParser()
44 … return ParserResult::runtimeError( "Unable to load input file: '" + filename + "'" ); in makeCommandLineParser()
55 return ParserResult::ok( ParseResultType::Matched ); in makeCommandLineParser()
65 … return clara::ParserResult::runtimeError( "Unrecognised ordering: '" + order + "'" ); in makeCommandLineParser()
66 return ParserResult::ok( ParseResultType::Matched ); in makeCommandLineParser()
72 return ParserResult::ok( ParseResultType::Matched ); in makeCommandLineParser()
84 …return ParserResult::runtimeError( "colour mode must be one of: auto, yes or no. '" + useColour + … in makeCommandLineParser()
85 return ParserResult::ok( ParseResultType::Matched ); in makeCommandLineParser()
96 …return ParserResult::runtimeError( "keypress argument must be one of: start, exit or both. '" + ke… in makeCommandLineParser()
[all …]
/external/catch2/include/external/
Dclara.hpp643 using ParserResult = BasicResult<ParseResultType>; typedef
652 inline auto convertInto( std::string const &source, T& target ) -> ParserResult { in convertInto()
657 … return ParserResult::runtimeError( "Unable to convert '" + source + "' to destination type" ); in convertInto()
659 return ParserResult::ok( ParseResultType::Matched ); in convertInto()
661 inline auto convertInto( std::string const &source, std::string& target ) -> ParserResult { in convertInto()
663 return ParserResult::ok( ParseResultType::Matched ); in convertInto()
665 inline auto convertInto( std::string const &source, bool &target ) -> ParserResult { in convertInto()
673 …return ParserResult::runtimeError( "Expected a boolean value but did not recognise: '" + source + … in convertInto()
674 return ParserResult::ok( ParseResultType::Matched ); in convertInto()
678 …o convertInto( std::string const &source, CLARA_CONFIG_OPTIONAL_TYPE<T>& target ) -> ParserResult { in convertInto()
[all …]
/external/catch2/third_party/
Dclara.hpp643 using ParserResult = BasicResult<ParseResultType>; typedef
652 inline auto convertInto( std::string const &source, T& target ) -> ParserResult { in convertInto()
657 … return ParserResult::runtimeError( "Unable to convert '" + source + "' to destination type" ); in convertInto()
659 return ParserResult::ok( ParseResultType::Matched ); in convertInto()
661 inline auto convertInto( std::string const &source, std::string& target ) -> ParserResult { in convertInto()
663 return ParserResult::ok( ParseResultType::Matched ); in convertInto()
665 inline auto convertInto( std::string const &source, bool &target ) -> ParserResult { in convertInto()
673 …return ParserResult::runtimeError( "Expected a boolean value but did not recognise: '" + source + … in convertInto()
674 return ParserResult::ok( ParseResultType::Matched ); in convertInto()
678 …o convertInto( std::string const &source, CLARA_CONFIG_OPTIONAL_TYPE<T>& target ) -> ParserResult { in convertInto()
[all …]
/external/catch2/single_include/catch2/
Dcatch.hpp7147 using ParserResult = BasicResult<ParseResultType>; typedef
7156 inline auto convertInto( std::string const &source, T& target ) -> ParserResult { in convertInto()
7161 … return ParserResult::runtimeError( "Unable to convert '" + source + "' to destination type" ); in convertInto()
7163 return ParserResult::ok( ParseResultType::Matched ); in convertInto()
7165 inline auto convertInto( std::string const &source, std::string& target ) -> ParserResult { in convertInto()
7167 return ParserResult::ok( ParseResultType::Matched ); in convertInto()
7169 inline auto convertInto( std::string const &source, bool &target ) -> ParserResult { in convertInto()
7177 …return ParserResult::runtimeError( "Expected a boolean value but did not recognise: '" + source + … in convertInto()
7178 return ParserResult::ok( ParseResultType::Matched ); in convertInto()
7182 …o convertInto( std::string const &source, CLARA_CONFIG_OPTIONAL_TYPE<T>& target ) -> ParserResult { in convertInto()
[all …]
/external/swiftshader/third_party/subzero/src/
DPNaClTranslator.cpp1374 bool ParserResult; in parseFunction() local
1397 ParserResult = ParseThisBlock(); in parseFunction()
1400 if (ParserResult || BlockHasError) in parseFunction()