Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Ducol_sit.cpp356 char optName; in ucol_sit_dumpSpecs() local
366 optName = s->entries[i][0]; in ucol_sit_dumpSpecs()
367 …if(optName == languageArg || optName == regionArg || optName == variantArg || optName == keywordAr… in ucol_sit_dumpSpecs()
/external/emma/core/java12/com/vladium/util/args/
DOptsParser.java158 final String optName = nv [0]; // is not necessarily canonical in parse() local
159 … optdef = m_metadata.getOptDef (optName, pp); // pp [0] is always set by this in parse()
166 … opts.addError (formatMessage ("unknown option \'" + optName + "\'")); in parse()
174 final String canonicalName = getOptCanonicalName (optName, optdef); in parse()
183 opt = new Opt (optName, canonicalName, patternPrefix); in parse()
184 opts.addOpt (opt, optdef, optName); in parse()
191 opt = new Opt (optName, canonicalName, patternPrefix); in parse()
192 opts.addOpt (opt, optdef, optName); in parse()
196 … opts.addError (formatMessage ("option \'" + optName + "\' cannot be specified more than once")); in parse()
/external/icu/icu4c/source/tools/toolutil/
Dpkg_genc.h81 const char *optName,
Dpkg_genc.cpp393 const char *optName, in writeCCode() argument
408 if(optName != NULL) { /* prepend 'icudt28_' */ in writeCCode()
410 if (uprv_strlen(optName) + 2 > sizeof(entry)) { in writeCCode()
414 strcpy(entry, optName); in writeCCode()
/external/catch2/third_party/
Dclara.hpp951 inline auto normaliseOpt( std::string const &optName ) -> std::string { in normaliseOpt() argument
953 if( optName[0] == '/' ) in normaliseOpt()
954 return "-" + optName.substr( 1 ); in normaliseOpt()
957 return optName; in normaliseOpt()
976 auto operator[]( std::string const &optName ) -> Opt & { in operator []() argument
977 m_optNames.push_back( optName ); in operator []()
/external/catch2/include/external/
Dclara.hpp951 inline auto normaliseOpt( std::string const &optName ) -> std::string { in normaliseOpt() argument
953 if( optName[0] == '/' ) in normaliseOpt()
954 return "-" + optName.substr( 1 ); in normaliseOpt()
957 return optName; in normaliseOpt()
976 auto operator[]( std::string const &optName ) -> Opt & { in operator []() argument
977 m_optNames.push_back( optName ); in operator []()
/external/bcc/tests/cc/
Dcatch.hpp4263 friend void addOptName( Arg& arg, std::string const& optName ) in addOptName() argument
4265 if( optName.empty() ) in addOptName()
4267 if( Detail::startsWith( optName, "--" ) ) { in addOptName()
4272 + optName + "'" ); in addOptName()
4273 arg.longName = optName.substr( 2 ); in addOptName()
4275 else if( Detail::startsWith( optName, "-" ) ) in addOptName()
4276 arg.shortNames.push_back( optName.substr( 1 ) ); in addOptName()
4278 … throw std::logic_error( "option must begin with - or --. Option was: '" + optName + "'" ); in addOptName()
4351 OptBuilder& operator[]( std::string const& optName ) { in operator []() argument
4352 addOptName( *ArgBuilder::m_arg, optName ); in operator []()
[all …]
/external/llvm-project/flang/lib/Semantics/
Dresolve-names.cpp4046 auto &optName{std::get<std::optional<parser::Name>>(declaration.t)}; in Post() local
4047 const parser::Name &procedureName{optName ? *optName : bindingName}; in Post()
/external/catch2/single_include/catch2/
Dcatch.hpp9324 inline auto normaliseOpt( std::string const &optName ) -> std::string { in normaliseOpt() argument
9326 if( optName[0] == '/' ) in normaliseOpt()
9327 return "-" + optName.substr( 1 ); in normaliseOpt()
9330 return optName; in normaliseOpt()
9349 auto operator[]( std::string const &optName ) -> Opt & { in operator []() argument
9350 m_optNames.push_back( optName ); in operator []()
/external/libabigail/tests/lib/
Dcatch.hpp9379 inline auto normaliseOpt( std::string const &optName ) -> std::string { in normaliseOpt() argument
9381 if( optName[0] == '/' ) in normaliseOpt()
9382 return "-" + optName.substr( 1 ); in normaliseOpt()
9385 return optName; in normaliseOpt()
9404 auto operator[]( std::string const &optName ) -> Opt & { in operator []() argument
9405 m_optNames.push_back( optName ); in operator []()