Home
last modified time | relevance | path

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

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeZoneFormatTest.java28 import com.ibm.icu.text.TimeZoneFormat.ParseOption;
546 EnumSet.of(ParseOption.ALL_STYLES), "Etc/GMT", 1, TimeType.UNKNOWN}, in TestParse()
552 EnumSet.of(ParseOption.ALL_STYLES), "Africa/Lusaka", 11, TimeType.UNKNOWN}, in TestParse()
588 EnumSet.of(ParseOption.ALL_STYLES), "America/New_York", 3, TimeType.STANDARD}, in TestParse()
600 … EnumSet.of(ParseOption.TZ_DATABASE_ABBREVIATIONS), "America/Chicago", 3, TimeType.STANDARD}, in TestParse()
603 … EnumSet.of(ParseOption.TZ_DATABASE_ABBREVIATIONS), "America/Chicago", 5, TimeType.STANDARD}, in TestParse()
606 … EnumSet.of(ParseOption.TZ_DATABASE_ABBREVIATIONS), "Asia/Shanghai", 3, TimeType.STANDARD}, in TestParse()
609 … EnumSet.of(ParseOption.TZ_DATABASE_ABBREVIATIONS), "Australia/Sydney", 4, TimeType.STANDARD}, in TestParse()
612 … EnumSet.of(ParseOption.TZ_DATABASE_ABBREVIATIONS), "Asia/Riyadh", 3, TimeType.STANDARD}, in TestParse()
618 EnumSet.of(ParseOption.ALL_STYLES), null, 0, TimeType.UNKNOWN}, in TestParse()
[all …]
DDateFormatTest.java47 import com.ibm.icu.text.TimeZoneFormat.ParseOption;
637 tzfmt.setDefaultParseOptions(EnumSet.of(ParseOption.ALL_STYLES)); in TestGenericTime()
3219 tzfmt.setDefaultParseOptions(EnumSet.of(ParseOption.ALL_STYLES)).freeze(); in expect()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeZoneFormat.java306 public enum ParseOption { enum in TimeZoneFormat
730 public TimeZoneFormat setDefaultParseOptions(EnumSet<ParseOption> options) { in setDefaultParseOptions()
731 _parseAllStyles = options.contains(ParseOption.ALL_STYLES); in setDefaultParseOptions()
732 _parseTZDBNames = options.contains(ParseOption.TZ_DATABASE_ABBREVIATIONS); in setDefaultParseOptions()
742 public EnumSet<ParseOption> getDefaultParseOptions() { in getDefaultParseOptions()
744 return EnumSet.of(ParseOption.ALL_STYLES, ParseOption.TZ_DATABASE_ABBREVIATIONS); in getDefaultParseOptions()
746 return EnumSet.of(ParseOption.ALL_STYLES); in getDefaultParseOptions()
748 return EnumSet.of(ParseOption.TZ_DATABASE_ABBREVIATIONS); in getDefaultParseOptions()
750 return EnumSet.noneOf(ParseOption.class); in getDefaultParseOptions()
1069 …public TimeZone parse(Style style, String text, ParsePosition pos, EnumSet<ParseOption> options, O… in parse()
[all …]
/external/protobuf/src/google/protobuf/compiler/
Dparser.cc524 return ParseOption(file->mutable_options(), location, file, in ParseTopLevelStatement()
642 return ParseOption(message->mutable_options(), location, in ParseMessageStatement()
804 DO(ParseOption(field->mutable_options(), location, in ParseFieldOptions()
1014 bool Parser::ParseOption(Message* options, in ParseOption() function in google::protobuf::compiler::Parser
1375 return ParseOption(enum_type->mutable_options(), location, in ParseEnumStatement()
1431 DO(ParseOption(value->mutable_options(), location, in ParseEnumConstantOptions()
1490 return ParseOption(service->mutable_options(), location, in ParseServiceStatement()
1566 if (!ParseOption(mutable_options, location, containing_file, in ParseOptions()
Dparser.h305 bool ParseOption(Message* options,
438 bool ParseOption(Message* options,
/external/lldb/tools/lldb-perf/lib/
DTestCase.h142 ParseOption (int short_option, const char* optarg) in ParseOption() function
DTestCase.cpp94 done = !ParseOption(short_option, optarg); in Setup()
/external/lldb/tools/lldb-perf/darwin/sketch/
Dsketch.cpp78 ParseOption (int short_option, const char* optarg) in ParseOption() function in SketchTest