Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Ducol_sit.cpp357 char optName; in ucol_sit_dumpSpecs() local
367 optName = *(s->entries[i].start); in ucol_sit_dumpSpecs()
368 …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.h78 writeCCode(const char *filename, const char *destdir, const char *optName, const char *optFilename,…
Dpkg_genc.cpp349 writeCCode(const char *filename, const char *destdir, const char *optName, const char *optFilename,… in writeCCode() argument
361 if(optName != NULL) { /* prepend 'icudt28_' */ in writeCCode()
362 strcpy(entry, optName); in writeCCode()
/external/catch2/include/external/
Dclara.hpp948 inline auto normaliseOpt( std::string const &optName ) -> std::string { in normaliseOpt() argument
950 if( optName[0] == '/' ) in normaliseOpt()
951 return "-" + optName.substr( 1 ); in normaliseOpt()
954 return optName; in normaliseOpt()
973 auto operator[]( std::string const &optName ) -> Opt & { in operator []() argument
974 m_optNames.push_back( optName ); in operator []()
/external/catch2/third_party/
Dclara.hpp948 inline auto normaliseOpt( std::string const &optName ) -> std::string { in normaliseOpt() argument
950 if( optName[0] == '/' ) in normaliseOpt()
951 return "-" + optName.substr( 1 ); in normaliseOpt()
954 return optName; in normaliseOpt()
973 auto operator[]( std::string const &optName ) -> Opt & { in operator []() argument
974 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/catch2/single_include/catch2/
Dcatch.hpp7451 inline auto normaliseOpt( std::string const &optName ) -> std::string { in normaliseOpt() argument
7453 if( optName[0] == '/' ) in normaliseOpt()
7454 return "-" + optName.substr( 1 ); in normaliseOpt()
7457 return optName; in normaliseOpt()
7476 auto operator[]( std::string const &optName ) -> Opt & { in operator []() argument
7477 m_optNames.push_back( optName ); in operator []()