Home
last modified time | relevance | path

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

/thrift-3.4.0/compiler/cpp/tests/catch/
Dcatch.hpp4646 std::string optName = arg.substr( from, i-from ); in handleOpt() local
4648 for( std::size_t j = 0; j < optName.size(); ++j ) in handleOpt()
4649 tokens.push_back( Token( Token::ShortOpt, optName.substr( j, 1 ) ) ); in handleOpt()
4650 else if( mode == SlashOpt && optName.size() == 1 ) in handleOpt()
4651 tokens.push_back( Token( Token::ShortOpt, optName ) ); in handleOpt()
4653 tokens.push_back( Token( Token::LongOpt, optName ) ); in handleOpt()
4744 friend void addOptName( Arg& arg, std::string const& optName ) in addOptName() argument
4746 if( optName.empty() ) in addOptName()
4748 if( Detail::startsWith( optName, "--" ) ) { in addOptName()
4753 + optName + "'" ); in addOptName()
[all …]