/external/cldr/tools/java/org/unicode/cldr/test/ |
D | CheckForExemplars.java | 97 private UnicodeSet exemplars; field in CheckForExemplars 194 exemplars = safeGetExemplars("", possibleErrors, resolvedFile, ok); in setCldrFileToCheck() 196 if (exemplars == null) { in setCldrFileToCheck() 203 exemplars = new UnicodeSet(); in setCldrFileToCheck() 205 exemplars = new UnicodeSet(exemplars); // modifiable copy in setCldrFileToCheck() 208 boolean isRTL = RTL.containsSome(exemplars); in setCldrFileToCheck() 210 exemplars.addAll(RTL_CONTROLS); in setCldrFileToCheck() 217 exemplars.addAll(auxiliary); in setCldrFileToCheck() 223 exemplars.addAll(punctuation); in setCldrFileToCheck() 227 exemplars.addAll(numbers); in setCldrFileToCheck() [all …]
|
D | CLDRTest.java | 248 UnicodeSet exemplars = getFixedExemplarSet(locale, resolved); in TestThatExemplarsContainAll() local 263 if (!exemplars.containsAll(value)) { in TestThatExemplarsContainAll() 265 UnicodeSet missing = new UnicodeSet().addAll(value).removeAll(exemplars); in TestThatExemplarsContainAll() 311 UnicodeSet exemplars = getExemplarSet(cldrfile, ""); in getFixedExemplarSet() local 312 if (exemplars.size() == 0) { in getFixedExemplarSet() 315 exemplars.addAll(getExemplarSet(cldrfile, "standard")); in getFixedExemplarSet() 317 if (exemplars.containsSome(auxiliary)) { in getFixedExemplarSet() 319 new UnicodeSet(exemplars).retainAll(auxiliary) + in getFixedExemplarSet() 320 ": change auxiliary to " + auxiliary.removeAll(exemplars)); in getFixedExemplarSet() 322 exemplars.addAll(auxiliary); in getFixedExemplarSet() [all …]
|
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/stats/ |
D | MutableAggregation.java | 271 @javax.annotation.Nullable private final Exemplar[] exemplars; field in MutableAggregation.MutableDistribution 280 this.exemplars = bucketBoundaries.getBoundaries().isEmpty() ? null : new Exemplar[buckets]; in MutableDistribution() 328 if (!attachments.isEmpty() && exemplars != null) { in add() 329 exemplars[bucket] = Exemplar.create(value, timestamp, attachments); in add() 376 if (exemplars != null && otherExemplars != null) { in combine() 383 this.exemplars[i] = exemplar; in combine() 396 if (exemplars != null) { in toAggregationData() 397 for (Exemplar exemplar : exemplars) { in toAggregationData() 413 if (exemplars != null) { in toPoint() 414 exemplar = exemplars[bucket]; in toPoint() [all …]
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/ |
D | AlphabeticIndex.java | 525 UnicodeSet exemplars = LocaleData.getExemplarSet(locale, 0, LocaleData.ES_INDEX); in addIndexExemplars() local 526 if (exemplars != null && !exemplars.isEmpty()) { in addIndexExemplars() 527 initialLabels.addAll(exemplars); in addIndexExemplars() 533 exemplars = LocaleData.getExemplarSet(locale, 0, LocaleData.ES_STANDARD); in addIndexExemplars() 535 exemplars = exemplars.cloneAsThawed(); in addIndexExemplars() 537 if (exemplars.containsSome('a', 'z') || exemplars.isEmpty()) { in addIndexExemplars() 538 exemplars.addAll('a', 'z'); in addIndexExemplars() 540 if (exemplars.containsSome(0xAC00, 0xD7A3)) { // Hangul syllables in addIndexExemplars() 542 exemplars.remove(0xAC00, 0xD7A3). in addIndexExemplars() 548 if (exemplars.containsSome(0x1200, 0x137F)) { // Ethiopic block in addIndexExemplars() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | AlphabeticIndex.java | 506 UnicodeSet exemplars = LocaleData.getExemplarSet(locale, 0, LocaleData.ES_INDEX); in addIndexExemplars() local 507 if (exemplars != null && !exemplars.isEmpty()) { in addIndexExemplars() 508 initialLabels.addAll(exemplars); in addIndexExemplars() 514 exemplars = LocaleData.getExemplarSet(locale, 0, LocaleData.ES_STANDARD); in addIndexExemplars() 516 exemplars = exemplars.cloneAsThawed(); in addIndexExemplars() 518 if (exemplars.containsSome('a', 'z') || exemplars.isEmpty()) { in addIndexExemplars() 519 exemplars.addAll('a', 'z'); in addIndexExemplars() 521 if (exemplars.containsSome(0xAC00, 0xD7A3)) { // Hangul syllables in addIndexExemplars() 523 exemplars.remove(0xAC00, 0xD7A3). in addIndexExemplars() 529 if (exemplars.containsSome(0x1200, 0x137F)) { // Ethiopic block in addIndexExemplars() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | alphaindex.cpp | 711 UnicodeSet exemplars; in addIndexExemplars() local 712 ulocdata_getExemplarSet(uld.getAlias(), exemplars.toUSet(), 0, ULOCDATA_ES_INDEX, &status); in addIndexExemplars() 714 initialLabels_->addAll(exemplars); in addIndexExemplars() 721 ulocdata_getExemplarSet(uld.getAlias(), exemplars.toUSet(), 0, ULOCDATA_ES_STANDARD, &status); in addIndexExemplars() 727 if (exemplars.containsSome(0x61, 0x7A) /* a-z */ || exemplars.isEmpty()) { in addIndexExemplars() 728 exemplars.add(0x61, 0x7A); in addIndexExemplars() 730 if (exemplars.containsSome(0xAC00, 0xD7A3)) { // Hangul syllables in addIndexExemplars() 732 exemplars.remove(0xAC00, 0xD7A3). in addIndexExemplars() 738 if (exemplars.containsSome(0x1200, 0x137F)) { // Ethiopic block in addIndexExemplars() 743 ethiopic.retainAll(exemplars); in addIndexExemplars() [all …]
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | GenerateSidewaysView.java | 127 static int getFirstScript(UnicodeSet exemplars) { in getFirstScript() argument 128 for (UnicodeSetIterator it = new UnicodeSetIterator(exemplars); it.next();) { in getFirstScript() 337 UnicodeSet exemplars = new UnicodeSet(value); in showExemplars() local 340 for (String item : exemplars) { in showExemplars() 343 exemplars.addAll(extras); in showExemplars() 345 totalExemplars.addAll(exemplars); in showExemplars() 346 exemplars.removeAll(stuffToSkip); in showExemplars() 374 mapping.composeWith(exemplars, temp, setComposer); in showExemplars() 656 UnicodeSet exemplars; in loadInformation() local 658 exemplars = new UnicodeSet(value); in loadInformation() [all …]
|
D | ShowKeyboards.java | 751 … UnicodeSet exemplars = new UnicodeSet(cldrFile.getExemplarSet("", WinningChoice.WINNING)); in getInfo() local 754 exemplars.addAll(auxExemplars); in getInfo() 758 exemplars.addAll(punctuationExemplars); in getInfo() 760 exemplars.addAll(getNumericExemplars(cldrFile)); in getInfo() 761 exemplars.addAll(getQuotationMarks(cldrFile)); in getInfo() 762 exemplars.add(" "); in getInfo() 763 addComparison(keyboardId, common, exemplars, results); in getInfo() 775 private static void addComparison(Id keyboardId, UnicodeSet keyboard, UnicodeSet exemplars, in addComparison() argument 777 UnicodeSet common = new UnicodeSet(keyboard).retainAll(exemplars); in addComparison() 781 common = new UnicodeSet(keyboard).removeAll(exemplars); in addComparison() [all …]
|
D | GenerateCasingChart.java | 93 UnicodeSet exemplars = cldrFile.getExemplarSet("", WinningChoice.WINNING); in main() local 101 boolean hasCasedLetters = changesUpper.containsSome(exemplars); in main()
|
D | CountItems.java | 205 UnicodeSet exemplars = new UnicodeSet(v); in showExemplars() local 206 if (exemplars.size() != 0 && exemplars.size() < 500) { in showExemplars() 215 .format(exemplars); in showExemplars() 218 verifyEquality(exemplars, new UnicodeSet(fixed)); in showExemplars() 228 private static void verifyEquality(UnicodeSet exemplars, UnicodeSet others) { in verifyEquality() argument 229 if (others.equals(exemplars)) in verifyEquality() 232 + new UnicodeSet(exemplars).removeAll(others)); in verifyEquality() 233 System.out.println("\tb-a\t" + new UnicodeSet(others).removeAll(exemplars)); in verifyEquality()
|
D | DeriveScripts.java | 107 UnicodeSet exemplars = cldrFile.getExemplarSet("", WinningChoice.WINNING); 108 for (String s : exemplars) {
|
D | GenerateXMB.java | 456 UnicodeSet exemplars = getExemplars(cldrFile); in writeFile() local 515 && !exemplars.containsAll(value) in writeFile() 523 bad = !exemplars.containsAll(value2); in writeFile() 526 UnicodeSet diff = new UnicodeSet().addAll(value).removeAll(exemplars); in writeFile() 627 UnicodeSet exemplars = cldrFile.getExemplarSet("", CLDRFile.WinningChoice.WINNING); in getExemplars() local 628 boolean isLatin = exemplars.containsSome(ASCII_LATIN); in getExemplars() 629 exemplars.addAll(CheckExemplars.AlwaysOK); in getExemplars() 632 exemplars.addAll(auxExemplars); in getExemplars() 635 exemplars.removeAll(LATIN); in getExemplars() 637 exemplars.freeze(); in getExemplars() [all …]
|
D | ExtractMessages.java | 255 UnicodeSet exemplars = cldrFile.getExemplarSet("", WinningChoice.WINNING); in setLocale() local 256 usesLatin = exemplars != null && exemplars.containsSome(LATIN_SCRIPT); in setLocale()
|
D | ShowData.java | 503 private static Set<String> getScripts(String exemplars, Set<String> results) { 505 if (exemplars == null) 508 .addAll(exemplars)); it.next();) {
|
D | ShowStarredCoverage.java | 380 main, canon, supp, seed, exemplars, keyboards, alias enumConstant 416 addFiles(base, "exemplars/main", Source.exemplars); in getLanguageTags()
|
D | GenerateG2xG2.java | 164 UnicodeSet exemplars = new UnicodeSet(v); in main() local 165 if (exemplars.contains('a', 'z')) continue; in main()
|
D | CLDRModify.java | 1078 … UnicodeSet exemplars = resolved.getExemplarSet(ExemplarType.main, WinningChoice.WINNING); 1079 skip = exemplars.containsSome('a', 'z'); 1929 UnicodeSet exemplars = resolved.getExemplarsNumeric(system); 1930 System.out.println("# " + system + " ==> " + exemplars.toPattern(false)); 1931 for (String s : exemplars) {
|
D | GenerateMaximalLocales.java | 1976 UnicodeSet exemplars = getExemplarSet(cldrFile, ""); in getScriptForLocale2() local 1977 Set<String> CLDRScripts = getScriptsFromUnicodeSet(exemplars); in getScriptForLocale2() 2028 public static Set<String> getScriptsFromUnicodeSet(UnicodeSet exemplars) { in getScriptsFromUnicodeSet() argument 2032 for (UnicodeSetIterator it = new UnicodeSetIterator(exemplars); it.next();) { in getScriptsFromUnicodeSet()
|
/external/opencensus-java/api/src/main/java/io/opencensus/stats/ |
D | AggregationData.java | 286 List<Exemplar> exemplars) { in create() argument 297 Utils.checkNotNull(exemplars, "exemplar list should not be null."); in create() 298 for (Exemplar exemplar : exemplars) { in create() 309 Collections.<Exemplar>unmodifiableList(new ArrayList<Exemplar>(exemplars))); in create()
|
/external/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/ |
D | PseudoLocales.java | 96 private final String exemplars; field in PseudoLocales.PseudoType 98 PseudoType(String localeId, Function<Boolean, PseudoText> textSupplier, String exemplars) { in PseudoType() argument 101 this.exemplars = exemplars; in PseudoType() 113 return exemplars; in getExemplars()
|
/external/cldr/tools/java/org/unicode/cldr/draft/ |
D | ExemplarInfo.java | 122 private UnicodeSet exemplars; field in ExemplarInfo 159 return exemplars; in getExemplars() 168 exemplars = ExemplarInfo.flatten(exemplars1, locale).freeze(); in ExemplarInfo() 175 exemplarsX = new UnicodeSet(exemplars).addAll(IGNORE).freeze(); in ExemplarInfo()
|
/external/cldr/tools/scripts/ |
D | fixSVNProps.sh | 13 find common exemplars keyboards seed specs tools/java tools/cldr-unittest -type f -print | while re…
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | WikiSubdivisionLanguages.java | 175 UnicodeSet exemplars = null; in main() local 201 exemplars = new UnicodeSet() in main() 223 if (!exemplars.containsAll(name)) { in main() 224 … UnicodeSet exemplarFailures = new UnicodeSet().addAll(name).removeAll(exemplars); in main()
|
/external/cldr/tools/java/org/unicode/cldr/icu/ |
D | TestCldr.java | 102 UnicodeSet exemplars = getExemplarSet(cfile, "").addAll( in TestScripts() local 104 Set<String> CLDRScripts = getScriptsFromUnicodeSet(exemplars); in TestScripts() 114 public Set<String> getScriptsFromUnicodeSet(UnicodeSet exemplars) { in getScriptsFromUnicodeSet() argument 118 for (UnicodeSetIterator it = new UnicodeSetIterator(exemplars); it.next();) { in getScriptsFromUnicodeSet()
|
/external/opencensus-java/ |
D | CHANGELOG.md | 19 - Add an API MeasureMap.putAttachment() for recording exemplars. 23 on recording exemplars.
|