Home
last modified time | relevance | path

Searched refs:ldml (Results 1 – 25 of 63) sorted by relevance

123

/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestCoverageLevel.txt1 ^//ldml/dates/calendars/calendar\[@type="(?!gregorian)[^"]*"] ; 100
2 ^//ldml/identity ; 100
3 ^//ldml/characters/exemplarCharacters\[@type="currencySymbol"] ; 30
4 ^//ldml/characters/exemplarCharacters ; 10
5 ^//ldml/.*/alias ; 100
6 ^//ldml/.*/default ; 100
7 ^//ldml/dates/calendars/calendar\[@type=".*"]/dateTimeFormats/appendItems/appendItem\[@request=".*"…
8 ^//ldml/dates/calendars/calendar\[@type=".*"]/dayPeriods/dayPeriodContext\[@type=".*"]/dayPeriodWid…
9 ^//ldml/dates/timeZoneNames/singleCountries ; 100
10 ^//ldml/references ; 100
[all …]
DTestExamples.txt5 //ldml/localeDisplayNames/languages/language[@type="(?:[^"_]*+_)%A"] ; example
7 #//ldml/dates/calendars/calendar[@type="%A"]/dateTimeFormats/intervalFormats/intervalFormatItem[@id…
10 //ldml/dates/calendars/calendar[@type="%A"]/dateFormats/dateFormatLength[@type="%A"]/dateFormat[@ty…
11 //ldml/dates/calendars/calendar[@type="%A"]/dateTimeFormats/availableFormats/dateFormatItem[@id="%A…
12 //ldml/dates/calendars/calendar[@type="%A"]/dateTimeFormats/dateTimeFormatLength[@type="%A"]/dateTi…
13 //ldml/dates/calendars/calendar[@type="%A"]/timeFormats/timeFormatLength[@type="%A"]/timeFormat[@ty…
14 //ldml/dates/timeZoneNames/fallbackFormat ; example
15 //ldml/dates/timeZoneNames/gmtFormat ; example
16 //ldml/dates/timeZoneNames/hourFormat ; example
17 //ldml/dates/timeZoneNames/metazone[@type="%A"]/long/daylight ; example
[all …]
DTestPerf.java39 CLDRFile.getComparator(DtdType.ldml));
144 DtdData dtdData = DtdData.getInstance(DtdType.ldml); in TestPathComparison()
160 checkCost(sortedArray, CLDRFile.getComparator(DtdType.ldml), 1, in TestPathComparison()
165 CLDRFile.getComparator(DtdType.ldml), iterations, failures); in TestPathComparison()
/external/cldr/tools/java/org/unicode/cldr/util/data/
DPlaceholders.txt11 ^//ldml/dates/calendars/calendar\[@type="%A"]/dateTimeFormats/dateTimeFormatLength\[@type="%A"]/dat…
14 #^//ldml/dates/.*(pattern|available|intervalFormatItem) ; cccc=UNKNOWN ?
15 #^//ldml/dates/.*(pattern|available|intervalFormatItem) ; ccc=UNKNOWN ?
17 #^//ldml/dates/.*(pattern|available|intervalFormatItem) ; EEEEE=DAY_OF_WEEK_NARROW T
18 #^//ldml/dates/.*(pattern|available|intervalFormatItem) ; EEEE=DAY_OF_WEEK_LONG Tuesday
19 #^//ldml/dates/.*(pattern|available|intervalFormatItem) ; EEE=DAY_OF_WEEK_SHORT Tues
20 #^//ldml/dates/.*(pattern|available|intervalFormatItem) ; E=DAY_OF_WEEK_SHORT Tues
22 #^//ldml/dates/.*(pattern|available|intervalFormatItem) ; GGGGG=NARROW_ERA A
23 #^//ldml/dates/.*(pattern|available|intervalFormatItem) ; GGGG=LONG_ERA Anno Domini
24 #^//ldml/dates/.*(pattern|available|intervalFormatItem) ; G=SHORT_ERA AD
[all …]
DPathHeader.txt30 //ldml/identity/%E[@type="%A"] ; Special ; Identity ; $1 ; $2 ; HIDE
31 //ldml/identity/version ; Special ; Version ; null ; version ; HIDE
32 //ldml/identity/generation ; Special ; Version ; null ; generation ; HIDE
35 //ldml/(.*)/default$ ; Special ; Suppress ; Default ; $1 ; HIDE
36 //ldml/(.*)/alias$ ; Special ; Suppress ; Alias ; $1 ; HIDE
39 //ldml/characters/exemplarCharacters$ ; Core Data ; Alphabetic Information ; …
40 //ldml/characters/exemplarCharacters[@type="%A"] ; Core Data ; Alphabetic Information ; …
42 //ldml/characters/parseLenients[@scope="%A"][@level="%A"]/parseLenient[@sample="%A"] ; Core Data ; …
44 //ldml/characters/ellipsis[@type="%A"] ; Core Data ; Alphabetic Information ; …
46 //ldml/delimiters/quotation%E ; Core Data ; Alphabetic Information ; …
[all …]
DPathDescription.txt6 ^//ldml/localeDisplayNames/territories/territory\[@type="(CD|DG|CG|003|021|ZA|018|FK|MK|MM|TW|HK|MO…
7 ^//ldml/localeDisplayNames/scripts/script\[@type="(Z[^"]*)"] ; ROOT script; The name of the script …
9 ^//ldml/dates/timeZoneNames/zone\[@type="([^"]*)"]/exemplarCity ; ROOT timezone ; The name of {0}. …
11 ^//ldml/localeDisplayNames/languages/language\[@type="([^"]*)"] ; ROOT language; The name of the la…
12 ^//ldml/localeDisplayNames/scripts/script\[@type="([^"]*)"] ; ROOT script; The name of the script (…
13 ^//ldml/localeDisplayNames/territories/territory\[@type="([^"]*)"] ; ROOT territory; The name of th…
14 ^//ldml/localeDisplayNames/subdivisions/subdivision\[@type="([^"]*)"] ; ROOT territory; The name of…
15 ^//ldml/numbers/currencies/currency\[@type="([^"]*)"]/symbol$ ; ROOT currency; The symbol for the c…
16 ^//ldml/numbers/currencies/currency\[@type="([^"]*)"]/symbol\[@alt="narrow"] ; ROOT currency; The N…
17 ^//ldml/numbers/currencies/currency\[@type="([^"]*)"]/symbol\[@alt="([^"]++)"] ; ROOT currency; An …
[all …]
DtestLdml2Icu.txt14 //ldml/identity ; ignore
15 //(ldml|supplementalData)/(generation|version).* ; ignore
23 //ldml/posix ; unconverted
27 //ldml/typographicNames ; unconverted
28 //ldml/localeDisplayNames/subdivisions ; unconverted
52 #//ldml/dates/calendars/calendar[@type="%A"]/.*[@alt="variant"] ; unconverted
53 #//ldml/numbers/currencies/currency[@type="%A"]/symbol[@alt="variant"] ; unconverted
DCheckCLDR-exceptions.txt8 displayCollision ; (fil|sr(_Latn)?) ; //ldml/dates/fields/field[@type="week(-(short|narrow))?"]/rel…
9 displayCollision ; (fil|sr(_Latn)?) ; //ldml/dates/fields/field[@type="sun"]/relative[@type="(-)?1"]
/external/icu/tools/cldr/cldr-to-icu/src/main/resources/
Dldml2icu_locale.txt22 %D=//ldml/numbers/defaultNumberingSystem
28 //ldml/dates/calendars/calendar[@type="(%A)"]/alias[@source="locale"][@path="../calendar[@type='(%A…
31 //ldml/dates/calendars/calendar[@type="(%A)"]/dayPeriods/alias[@source="locale"][@path="../../calen…
37 //ldml/dates/calendars/calendar[@type="gregorian"]/dayPeriods/dayPeriodContext[@type="format"]/dayP…
39 //ldml/dates/calendars/calendar[@type="gregorian"]/dayPeriods/dayPeriodContext[@type="format"]/dayP…
42 //ldml/dates/calendars/calendar[@type="(%A)"]/(eras|quarters|cyclicNameSets|monthPatterns)/alias[@s…
45 //ldml/dates/calendars/calendar[@type="(%A)"]/eras/eraNarrow/alias[@source="locale"][@path="../eraA…
47 //ldml/dates/calendars/calendar[@type="(%A)"]/eras/eraNames/alias[@source="locale"][@path="../eraAb…
50 //ldml/dates/calendars/calendar[@type="(%A)"]/(cyclicNameSet)s/\2[@type="(%W)"]/alias[@source="loca…
52 //ldml/dates/calendars/calendar[@type="(%A)"]/(cyclicNameSet)s/\2[@type="(%W)"]/(cyclicName)Context…
[all …]
Dldml2icu_readme.txt21 //ldml/localeDisplayNames/keys/key[@type="(%A)"] ; /Keys/$1
46 %D=//ldml/numbers/defaultNumberingSystem
154 //ldml/numbers/currencies/currency[@type="(%W)"]/symbol
156 //ldml/numbers/currencies/currency[@type="(%W)"]/displayName
162 //ldml/numbers/currencies/currency[@type="USD"]/symbol ==> "$"
163 //ldml/numbers/currencies/currency[@type="USD"]/displayName ==> "US Dollar"
177 //ldml/foo/bar[@type="(%W)"][@region=(%A)] ; /Foo/$1 ; fallback=$2
183 fallback=//ldml/numbers/symbols[@numberSystem="%D"]/decimal
186 %D=//ldml/numbers/defaultNumberingSystem
189 1) resolving "//ldml/numbers/defaultNumberingSystem" to, for example, "arab"
[all …]
/external/cldr/tools/java/org/unicode/cldr/tool/
Dmodify_config.txt1 locale=da; action=addNew; new_path=//ldml/units/unitLength[@type="long"]/unit[@type="acceleration-g…
2 locale=da; action=addNew; new_path=//ldml/units/unitLength[@type="long"]/unit[@type="acceleration-g…
3 locale=da; action=addNew; new_path=//ldml/units/unitLength[@type="long"]/unit[@type="acceleration-m…
4 locale=da; action=addNew; new_path=//ldml/units/unitLength[@type="long"]/unit[@type="acceleration-m…
5 locale=da; action=addNew; new_path=//ldml/units/unitLength[@type="long"]/unit[@type="area-acre"]/un…
6 locale=da; action=addNew; new_path=//ldml/units/unitLength[@type="long"]/unit[@type="area-acre"]/un…
7 locale=da; action=addNew; new_path=//ldml/units/unitLength[@type="long"]/unit[@type="area-hectare"]…
8 locale=da; action=addNew; new_path=//ldml/units/unitLength[@type="long"]/unit[@type="area-hectare"]…
9 locale=da; action=addNew; new_path=//ldml/units/unitLength[@type="long"]/unit[@type="area-square-ce…
10 locale=da; action=addNew; new_path=//ldml/units/unitLength[@type="long"]/unit[@type="area-square-ce…
[all …]
DxmbSkip.txt11 ^//ldml/dates/calendars/calendar\[@type="(?!gregorian) ; SKIP
13 ^//ldml/dates/timeZoneNames/metazone\[@type="([^"]*)"]/commonlyUsed ; SKIP
15 ^//ldml/characters/exemplarCharacters\[@type="currency"] ; SKIP
17 ^//ldml/numbers/currencyFormats/currencySpacing ; SKIP
18 ^//ldml/numbers/defaultNumberingSystem ; SKIP
19 ^//ldml/references ; SKIP
21 ^//ldml/localeDisplayNames/variants/variant\[@type="([^"]*+)"] ; SKIP
25 ^//ldml/dates/calendars/calendar\[@type="([^"]*)"]/dateTimeFormats/appendItems/appendItem\[@request…
28 ^//ldml/layout/inList ; SKIP
29 ^//ldml/layout/inText ; SKIP
[all …]
DdataModifiers.txt10 xpath ; //ldml/localeDisplayNames/territories/territory[@type="HK"][@alt="short"] ; //ldml/localeDi…
11 xpath ; //ldml/localeDisplayNames/territories/territory[@type="MO"][@alt="short"] ; //ldml/localeDi…
19 # value ; ₹ ; Rs. ; xpath=//ldml/numbers/currencies/currency[@type="INR"]/symbol
/external/cldr/tools/java/org/unicode/cldr/util/data/paths/
DmissingOk.txt6 //ldml/dates/timeZoneNames/zone[@type="%A"]/exemplarCity ; latin
7 //ldml/numbers/currencies/currency[@type="%A"]/symbol ; ok
8 //ldml/dates/calendars/calendar[@type="%A"]/quarters/quarterContext[@type="%A"]/quarterWidth[@type=…
9 #//ldml/localeDisplayNames/measurementSystemNames/measurementSystemName[@type="U[SK]"] ; ok
10 #//ldml/dates/calendars/calendar[@type="%A"]/dateTimeFormats/dateTimeFormatLength[@type="%A"]/dateT…
11 #//ldml/localeDisplayNames/localeDisplayPattern/locale(KeyTypePattern|Pattern|Separator) ; ok
12 #//ldml/listPatterns/listPattern/listPatternPart[@type="(middle|start)"] ; ok
13 #//ldml/dates/timeZoneNames/gmtZeroFormat ; ok
14 //ldml/numbers/defaultNumberingSystem ; ok
15 //ldml/numbers/otherNumberingSystems/native ; ok
[all …]
/external/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/mapper/
DLocaleMapperTest.java38 ldml("units/durationUnit[@type=\"foo\"]/durationUnitPattern", "Bar"), in testSimple()
49 "xx", ldml("units/durationUnit[@type=\"foo\"]/durationUnitPattern", "XX")); in testCorrectLocaleIsUsed()
51 "yy", ldml("units/durationUnit[@type=\"foo\"]/durationUnitPattern", "YY"), in testCorrectLocaleIsUsed()
54 "zz", ldml("units/durationUnit[@type=\"foo\"]/durationUnitPattern", "ZZ")); in testCorrectLocaleIsUsed()
65 ldml("units/durationUnit[@type=\"foo\"]/durationUnitPattern", "Bar"), in testInheritedValuesNotIncludedByDefault()
69 ldml("localeDisplayNames/keys/key[@type=\"sometype\"]", "Value"), in testInheritedValuesNotIncludedByDefault()
84 ldml("numbers/currencies/currency[@type=\"USD\"]/symbol", "US$"), in testInheritedValuesIncludedWhenSameResourceBundle()
90 ldml("numbers/currencies/currency[@type=\"USD\"]/displayName", "US Dollar"), in testInheritedValuesIncludedWhenSameResourceBundle()
110 ldml("dates/calendars/calendar[@type=\"foo\"]/dateTimeFormats" in testChildPathsNotIncludedByDefault()
114 ldml("dates/calendars/calendar[@type=\"foo\"]/dateTimeFormats" in testChildPathsNotIncludedByDefault()
[all …]
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/api/
DFilteredDataTest.java17 ldml("numbers/currencies/currency[@type=\"USD\"]/displayName", "US Dollar"); in TestSimple()
19 ldml("numbers/currencies/currency[@type=\"USD\"]/symbol", "US$"); in TestSimple()
21 ldml("units/durationUnit[@type=\"foo\"]/durationUnitPattern", "YYY"); in TestSimple()
23 ldml("units/durationUnit[@type=\"foo\"]/durationUnitPattern", "ZZZ"); in TestSimple()
49 ldml("numbers/currencies/currency[@type=\"USD\"]/displayName", "VALUE"); in TestBadReplacementPath()
51 ldml("numbers/currencies/currency[@type=\"USD\"]/symbol", "VALUE"); in TestBadReplacementPath()
71 ldml("numbers/currencies/currency[@type=\"USD\"]/displayName", "XXX"); in TestBadReplacementAttributes()
73 ldml("numbers/currencies/currency[@type=\"GBP\"]/displayName", "XXX"); in TestBadReplacementAttributes()
91 private static CldrValue ldml(String path, String value) { in ldml() method in FilteredDataTest
/external/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/
DCldrDataProcessorTest.java117 ldml("localeDisplayNames/territories/territory[@type=\"BE\"]", "Belgium"), in testTwoLevelProcessing()
118 ldml("localeDisplayNames/territories/territory[@type=\"CH\"]", "Switzerland"), in testTwoLevelProcessing()
119 ldml("localeDisplayNames/territories/territory[@type=\"IN\"]", "India"))); in testTwoLevelProcessing()
134 ldml("numbers/currencies/currency[@type=\"EUR\"]/displayName", "euro"), in testThreeLevelProcessing()
135 ldml("numbers/currencies/currency[@type=\"EUR\"]/symbol", "€"), in testThreeLevelProcessing()
136 ldml("numbers/currencies/currency[@type=\"CHF\"]/displayName", "Swiss franc"), in testThreeLevelProcessing()
137 ldml("numbers/currencies/currency[@type=\"CHF\"]/symbol", "Fr."), in testThreeLevelProcessing()
138 ldml("numbers/currencies/currency[@type=\"INR\"]/displayName", "Indian rupee"), in testThreeLevelProcessing()
139 ldml("numbers/currencies/currency[@type=\"INR\"]/symbol", "₹"))); in testThreeLevelProcessing()
151 private static CldrValue ldml(String path, String value) { in ldml() method in CldrDataProcessorTest
DAlternateLocaleDataTest.java32 ldml("numbers/currencies/currency[@type=\"USD\"]/displayName", "Full Display Name"); in testLocaleData()
34 ldml("numbers/currencies/currency[@type=\"USD\"][@alt=\"short\"]/displayName", "Name"); in testLocaleData()
37 ldml("numbers/currencies/currency[@type=\"USD\"]/displayName", "Name"); in testLocaleData()
41 ldml("numbers/currencies/currency[@type=\"USD\"]/symbol", "US$"); in testLocaleData()
44 ldml("units/durationUnit[@type=\"foo\"]/durationUnitPattern", "YYY"); in testLocaleData()
65 ldml("numbers/currencies/currency[@type=\"USD\"]/displayName", "Full Display Name"); in testMissingSource()
67 ldml("numbers/currencies/currency[@type=\"USD\"][@alt=\"short\"]/displayName", "Name"); in testMissingSource()
86 ldml("numbers/currencies/currency[@type=\"USD\"]/displayName", "Full Display Name"); in testMissingTarget()
88 ldml("numbers/currencies/currency[@type=\"USD\"][@alt=\"short\"]/displayName", "Name"); in testMissingTarget()
90 ldml("numbers/currencies/currency[@type=\"EUR\"]/displayName", "Euro"); in testMissingTarget()
[all …]
DFilteredDataTest.java28 ldml("numbers/currencies/currency[@type=\"USD\"]/displayName", "US Dollar"); in testSimple()
30 ldml("numbers/currencies/currency[@type=\"USD\"]/symbol", "US$"); in testSimple()
32 ldml("units/durationUnit[@type=\"foo\"]/durationUnitPattern", "YYY"); in testSimple()
34 ldml("units/durationUnit[@type=\"foo\"]/durationUnitPattern", "ZZZ"); in testSimple()
61 ldml("numbers/currencies/currency[@type=\"USD\"]/displayName", "VALUE"); in testBadReplacementPath()
63 ldml("numbers/currencies/currency[@type=\"USD\"]/symbol", "VALUE"); in testBadReplacementPath()
81 ldml("numbers/currencies/currency[@type=\"USD\"]/displayName", "XXX"); in testBadReplacementAttributes()
83 ldml("numbers/currencies/currency[@type=\"GBP\"]/displayName", "XXX"); in testBadReplacementAttributes()
98 private static CldrValue ldml(String path, String value) { in ldml() method in FilteredDataTest
/external/cldr/tools/java/org/unicode/cldr/util/
DCLDRPaths.java129 …common_annotations(DtdType.ldml), common_casing(DtdType.ldml), common_collation(DtdType.ldml), com…
130 DtdType.ldml), common_segments(DtdType.ldml), common_subdivisions(DtdType.ldml),
DDtdType.java11 ldml("common/dtd/ldml.dtd", null, null, enumConstant
20 ldmlICU("common/dtd/ldmlICU.dtd", ldml),
32 ldmlBCP47, supplementalData, ldml, keyboard, platform);
DDtdDataCheck.java68 if (dtdData.dtdType == DtdType.ldml && elementsMissingDraft.size() != 0) { in show()
72 if (dtdData.dtdType == DtdType.ldml && elementsMissingAlt.size() != 0) { in show()
186 if (CHECK_CORRECTNESS && type == DtdType.ldml) { in main()
193 dtdData = DtdData.getInstance(DtdType.ldml); in main()
/external/cldr/tools/c/genldml/resources/
Droot.txt14 // "<!DOCTYPE ldml SYSTEM \"file://c:/work/devicu/locale/ldml.dtd\" \n"
20 … "<!DOCTYPE ldml SYSTEM \" http://oss.software.ibm.com/cvs/icu/~checkout~/locale/ldml.dtd\" \n"
31 … "<!DOCTYPE ldml SYSTEM \" http://oss.software.ibm.com/cvs/icu/~checkout~/locale/ldml.dtd\">\n"
51 "<{0}ldml{1}>\n"
/external/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/
DPseudoLocales.java188 ldml("characters/exemplarCharacters[@type=\"auxiliary\"]");
191 ldml("numbers/defaultNumberingSystem");
194ldml("dates/calendars/calendar[@type=\"gregorian\"]/timeFormats/timeFormatLength[@type=\"short\"]/…
224 private static PathMatcher ldml(String paths) { in ldml() method in PseudoLocales.PseudoLocaleData
231 .map(s -> (Predicate<CldrPath>) ldml(s)::matchesPrefixOf) in matchAnyLdmlPrefix()
/external/cldr/docs/
DREADME.md7 - [Unicode Technical Standard #35 UNICODE LOCALE DATA MARKUP LANGUAGE (LDML)](ldml/tr35.html)

123