/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/ |
D | DateTimeFormats.java | 250 String skeleton = parts.getAttributeValue(-2, "id"); in set() local 254 dateIntervalInfo.setIntervalPattern(skeleton, diffNumber, intervalPattern); in set() 447 public boolean isPresent(String skeleton) { in isPresent() argument 448 … return availablePatterns.remove(skeleton.replace('j', generator.getDefaultHourFormatChar())); in isPresent() 466 String skeleton = nameAndSkeleton[1]; in addTable() local 467 if (skeleton.equals(DEBUG_SKELETON)) { in addTable() 471 if (is24h && skeleton.equals(TIMES_24H_TITLE)) { in addTable() 474 showRow(output, RowStyle.separator, skeleton, null, null, null, false); in addTable() 476 if (is24h && skeleton.contains("H")) { in addTable() 479 …(output, RowStyle.normal, name, skeleton, comparison.getExample(skeleton), getExample(skeleton), d… in addTable() [all …]
|
D | UnitPreferences.java | 32 public final String skeleton; field in UnitPreferences.UnitPreference 34 public UnitPreference(Rational geq, String unit, String skeleton) { in UnitPreference() argument 37 this.skeleton = skeleton == null ? "" : skeleton; in UnitPreference() 57 …baseUnit == null ? "": " " + baseUnit) + ", " + unit + (skeleton.isEmpty() ? "" : ", " + skeleton); in toString() 68 …public void add(String quantity, String usage, String regions, String geq, String skeleton, String… in add() argument 79 final UnitPreference newUnitPref = new UnitPreference(newGeq, unit, skeleton); in add() 127 …append("\n" + up.unit + "\t;\t" + getPath(order++, quantity, usage, regions, up.geq, up.skeleton)); in toString() 135 … order, String quantity, String usage, Collection<String> regions, Rational geq, String skeleton) { in getPath() argument 145 + (skeleton.isEmpty() ? "" : "[@skeleton=\"" + skeleton + "\"]") in getPath() 175 UnitPreference up2 = new UnitPreference(value, up.unit, up.skeleton); in getFastMap()
|
/external/cldr/tools/cldr-code/src/test/java/org/unicode/cldr/unittest/ |
D | CheckYear.java | 75 String skeleton = dtp.getSkeleton(dateTimePattern); in recordStockTime() local 76 String base = getBaseSkeleton(skeleton); in recordStockTime() 77 stock2skeleton2locales.get("time-" + stock).put(skeleton, localeId); in recordStockTime() 78 recordBase(base, skeleton, dateTimePattern); in recordStockTime() 83 String skeleton = dtp.getSkeleton(dateTimePattern); in recordStock() local 84 String base = getBaseSkeleton(skeleton); in recordStock() 86 skeleton.replace("yyyy", "y"), localeId); in recordStock() 87 String key = skeleton + "*" + stock.charAt(0); in recordStock() 88 recordBase(base, skeleton, dateTimePattern); in recordStock() 92 public void record(String skeleton, String dateTimePattern) { in record() argument [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | DateIntervalFormat.java | 419 final String skeleton; field in DateIntervalFormat.SkeletonAndItsBestMatch 421 SkeletonAndItsBestMatch(String skeleton, String bestMatch) { in SkeletonAndItsBestMatch() argument 422 this.skeleton = skeleton; in SkeletonAndItsBestMatch() 518 public DateIntervalFormat(String skeleton, DateIntervalInfo dtItvInfo, in DateIntervalFormat() argument 524 fSkeleton = skeleton; in DateIntervalFormat() 532 private DateIntervalFormat(String skeleton, ULocale locale, in DateIntervalFormat() argument 536 fSkeleton = skeleton; in DateIntervalFormat() 558 getInstance(String skeleton) in getInstance() argument 561 return getInstance(skeleton, ULocale.getDefault(Category.FORMAT)); in getInstance() 578 getInstance(String skeleton, Locale locale) in getInstance() argument [all …]
|
D | DateIntervalInfo.java | 732 public void setIntervalPattern(String skeleton, in setIntervalPattern() argument 746 PatternInfo ptnInfo = setIntervalPatternInternally(skeleton, in setIntervalPattern() 750 setIntervalPattern(skeleton, in setIntervalPattern() 753 setIntervalPattern(skeleton, in setIntervalPattern() 758 setIntervalPattern(skeleton, in setIntervalPattern() 778 private PatternInfo setIntervalPatternInternally(String skeleton, in setIntervalPatternInternally() argument 781 Map<String, PatternInfo> patternsOfOneSkeleton = fIntervalPatterns.get(skeleton); in setIntervalPatternInternally() 802 fIntervalPatterns.put(skeleton, patternsOfOneSkeleton); in setIntervalPatternInternally() 815 private void setIntervalPattern(String skeleton, in setIntervalPattern() argument 818 Map<String, PatternInfo> patternsOfOneSkeleton = fIntervalPatterns.get(skeleton); in setIntervalPattern() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | DateIntervalFormat.java | 407 final String skeleton; field in DateIntervalFormat.SkeletonAndItsBestMatch 409 SkeletonAndItsBestMatch(String skeleton, String bestMatch) { in SkeletonAndItsBestMatch() argument 410 this.skeleton = skeleton; in SkeletonAndItsBestMatch() 508 public DateIntervalFormat(String skeleton, DateIntervalInfo dtItvInfo, in DateIntervalFormat() argument 514 fSkeleton = skeleton; in DateIntervalFormat() 522 private DateIntervalFormat(String skeleton, ULocale locale, in DateIntervalFormat() argument 526 fSkeleton = skeleton; in DateIntervalFormat() 547 getInstance(String skeleton) in getInstance() argument 550 return getInstance(skeleton, ULocale.getDefault(Category.FORMAT)); in getInstance() 566 getInstance(String skeleton, Locale locale) in getInstance() argument [all …]
|
D | DateIntervalInfo.java | 721 public void setIntervalPattern(String skeleton, in setIntervalPattern() argument 735 PatternInfo ptnInfo = setIntervalPatternInternally(skeleton, in setIntervalPattern() 739 setIntervalPattern(skeleton, in setIntervalPattern() 742 setIntervalPattern(skeleton, in setIntervalPattern() 747 setIntervalPattern(skeleton, in setIntervalPattern() 767 private PatternInfo setIntervalPatternInternally(String skeleton, in setIntervalPatternInternally() argument 770 Map<String, PatternInfo> patternsOfOneSkeleton = fIntervalPatterns.get(skeleton); in setIntervalPatternInternally() 791 fIntervalPatterns.put(skeleton, patternsOfOneSkeleton); in setIntervalPatternInternally() 804 private void setIntervalPattern(String skeleton, in setIntervalPattern() argument 807 Map<String, PatternInfo> patternsOfOneSkeleton = fIntervalPatterns.get(skeleton); in setIntervalPattern() [all …]
|
/external/cronet/third_party/icu/source/test/intltest/ |
D | numbertest_skeletons.cpp | 326 const char16_t* skeleton; in flexibleSeparators() member 334 UnicodeString skeletonString(cas.skeleton); in flexibleSeparators() 436 UnicodeString skeleton(u"measure-unit/"); in perUnitInArabic() local 437 skeleton += cas1.type; in perUnitInArabic() 438 skeleton += u"-"; in perUnitInArabic() 439 skeleton += cas1.subtype; in perUnitInArabic() 440 skeleton += u" "; in perUnitInArabic() 441 skeleton += u"per-measure-unit/"; in perUnitInArabic() 442 skeleton += cas2.type; in perUnitInArabic() 443 skeleton += u"-"; in perUnitInArabic() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | numbertest_skeletons.cpp | 326 const char16_t* skeleton; in flexibleSeparators() member 334 UnicodeString skeletonString(cas.skeleton); in flexibleSeparators() 436 UnicodeString skeleton(u"measure-unit/"); in perUnitInArabic() local 437 skeleton += cas1.type; in perUnitInArabic() 438 skeleton += u"-"; in perUnitInArabic() 439 skeleton += cas1.subtype; in perUnitInArabic() 440 skeleton += u" "; in perUnitInArabic() 441 skeleton += u"per-measure-unit/"; in perUnitInArabic() 442 skeleton += cas2.type; in perUnitInArabic() 443 skeleton += u"-"; in perUnitInArabic() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
D | NumberSkeletonTest.java | 313 for (String skeleton : cases) { in defaultTokens() 314 String normalized = NumberFormatter.forSkeleton(skeleton).toSkeleton(); in defaultTokens() 315 … assertEquals("Skeleton should become empty when normalized: " + skeleton, "", normalized); in defaultTokens() 328 String skeleton = cas[0]; in flexibleSeparators() local 330 … String actual = NumberFormatter.forSkeleton(skeleton).locale(ULocale.ENGLISH).format(5142.3) in flexibleSeparators() 332 assertEquals(skeleton, expected, actual); in flexibleSeparators() 362 String skeleton = NumberFormatter.with().roundingMode(mode).toSkeleton(); in roundingModeNames() local 364 assertEquals(mode.toString(), modeString, skeleton.substring(14)); in roundingModeNames() 419 String skeleton = "measure-unit/"; in perUnitInArabic() local 420 … skeleton += cas1[0] + "-" + cas1[1] + " per-measure-unit/" + cas2[0] + "-" + cas2[1]; in perUnitInArabic() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/ |
D | NumberSkeletonTest.java | 316 for (String skeleton : cases) { in defaultTokens() 317 String normalized = NumberFormatter.forSkeleton(skeleton).toSkeleton(); in defaultTokens() 318 … assertEquals("Skeleton should become empty when normalized: " + skeleton, "", normalized); in defaultTokens() 331 String skeleton = cas[0]; in flexibleSeparators() local 333 … String actual = NumberFormatter.forSkeleton(skeleton).locale(ULocale.ENGLISH).format(5142.3) in flexibleSeparators() 335 assertEquals(skeleton, expected, actual); in flexibleSeparators() 365 String skeleton = NumberFormatter.with().roundingMode(mode).toSkeleton(); in roundingModeNames() local 367 assertEquals(mode.toString(), modeString, skeleton.substring(14)); in roundingModeNames() 422 String skeleton = "measure-unit/"; in perUnitInArabic() local 423 … skeleton += cas1[0] + "-" + cas1[1] + " per-measure-unit/" + cas2[0] + "-" + cas2[1]; in perUnitInArabic() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | dtitvinf.cpp | 86 DateIntervalInfo::setIntervalPattern(const UnicodeString& skeleton, in setIntervalPattern() argument 92 setIntervalPatternInternally(skeleton, UCAL_AM_PM, intervalPattern, status); in setIntervalPattern() 93 setIntervalPatternInternally(skeleton, UCAL_HOUR, intervalPattern, status); in setIntervalPattern() 96 setIntervalPatternInternally(skeleton, UCAL_DATE, intervalPattern, status); in setIntervalPattern() 98 setIntervalPatternInternally(skeleton, lrgDiffCalUnit, intervalPattern, status); in setIntervalPattern() 182 DateIntervalInfo::getIntervalPattern(const UnicodeString& skeleton, in getIntervalPattern() argument 190 const UnicodeString* patternsOfOneSkeleton = (UnicodeString*) fIntervalPatterns->get(skeleton); in getIntervalPattern() 364 UnicodeString skeleton(currentSkeleton, -1, US_INV); in setIntervalPatternIfAbsent() local 366 (UnicodeString*)(dateIntervalInfo.fIntervalPatterns->get(skeleton)); in setIntervalPatternIfAbsent() 370 dateIntervalInfo.setIntervalPatternInternally(skeleton, lrgDiffCalUnit, in setIntervalPatternIfAbsent() [all …]
|
D | udatpg.cpp | 60 const UChar *skeleton, int32_t length, in udatpg_getBestPattern() argument 63 return udatpg_getBestPatternWithOptions(dtpg, skeleton, length, in udatpg_getBestPattern() 70 const UChar *skeleton, int32_t length, in udatpg_getBestPatternWithOptions() argument 77 if(skeleton==NULL && length!=0) { in udatpg_getBestPatternWithOptions() 81 UnicodeString skeletonString((UBool)(length<0), skeleton, length); in udatpg_getBestPatternWithOptions() 89 UChar *skeleton, int32_t capacity, in udatpg_getSkeleton() argument 101 return result.extract(skeleton, capacity, *pErrorCode); in udatpg_getSkeleton() 107 UChar *skeleton, int32_t capacity, in udatpg_getBaseSkeleton() argument 119 return result.extract(skeleton, capacity, *pErrorCode); in udatpg_getBaseSkeleton() 275 const UChar *skeleton, int32_t skeletonLength, in udatpg_replaceFieldTypes() argument [all …]
|
D | dtitvfmt.cpp | 92 DateIntervalFormat::createInstance(const UnicodeString& skeleton, in createInstance() argument 94 return createInstance(skeleton, Locale::getDefault(), status); in createInstance() 99 DateIntervalFormat::createInstance(const UnicodeString& skeleton, in createInstance() argument 106 skeleton.extract(0, skeleton.length(), result, "UTF-8"); in createInstance() 119 return create(locale, dtitvinf, &skeleton, status); in createInstance() 125 DateIntervalFormat::createInstance(const UnicodeString& skeleton, in createInstance() argument 128 return createInstance(skeleton, Locale::getDefault(), dtitvinf, status); in createInstance() 133 DateIntervalFormat::createInstance(const UnicodeString& skeleton, in createInstance() argument 138 return create(locale, ptn, &skeleton, status); in createInstance() 668 const UnicodeString* skeleton, in DateIntervalFormat() argument [all …]
|
/external/cronet/third_party/icu/source/i18n/ |
D | dtitvinf.cpp | 86 DateIntervalInfo::setIntervalPattern(const UnicodeString& skeleton, in setIntervalPattern() argument 92 setIntervalPatternInternally(skeleton, UCAL_AM_PM, intervalPattern, status); in setIntervalPattern() 93 setIntervalPatternInternally(skeleton, UCAL_HOUR, intervalPattern, status); in setIntervalPattern() 96 setIntervalPatternInternally(skeleton, UCAL_DATE, intervalPattern, status); in setIntervalPattern() 98 setIntervalPatternInternally(skeleton, lrgDiffCalUnit, intervalPattern, status); in setIntervalPattern() 182 DateIntervalInfo::getIntervalPattern(const UnicodeString& skeleton, in getIntervalPattern() argument 190 const UnicodeString* patternsOfOneSkeleton = (UnicodeString*) fIntervalPatterns->get(skeleton); in getIntervalPattern() 364 UnicodeString skeleton(currentSkeleton, -1, US_INV); in setIntervalPatternIfAbsent() local 366 (UnicodeString*)(dateIntervalInfo.fIntervalPatterns->get(skeleton)); in setIntervalPatternIfAbsent() 370 dateIntervalInfo.setIntervalPatternInternally(skeleton, lrgDiffCalUnit, in setIntervalPatternIfAbsent() [all …]
|
D | udatpg.cpp | 60 const UChar *skeleton, int32_t length, in udatpg_getBestPattern() argument 63 return udatpg_getBestPatternWithOptions(dtpg, skeleton, length, in udatpg_getBestPattern() 70 const UChar *skeleton, int32_t length, in udatpg_getBestPatternWithOptions() argument 77 if(skeleton==NULL && length!=0) { in udatpg_getBestPatternWithOptions() 81 UnicodeString skeletonString((UBool)(length<0), skeleton, length); in udatpg_getBestPatternWithOptions() 89 UChar *skeleton, int32_t capacity, in udatpg_getSkeleton() argument 101 return result.extract(skeleton, capacity, *pErrorCode); in udatpg_getSkeleton() 107 UChar *skeleton, int32_t capacity, in udatpg_getBaseSkeleton() argument 119 return result.extract(skeleton, capacity, *pErrorCode); in udatpg_getBaseSkeleton() 275 const UChar *skeleton, int32_t skeletonLength, in udatpg_replaceFieldTypes() argument [all …]
|
D | dtitvfmt.cpp | 89 DateIntervalFormat::createInstance(const UnicodeString& skeleton, in createInstance() argument 91 return createInstance(skeleton, Locale::getDefault(), status); in createInstance() 96 DateIntervalFormat::createInstance(const UnicodeString& skeleton, in createInstance() argument 103 skeleton.extract(0, skeleton.length(), result, "UTF-8"); in createInstance() 116 return create(locale, dtitvinf, &skeleton, status); in createInstance() 122 DateIntervalFormat::createInstance(const UnicodeString& skeleton, in createInstance() argument 125 return createInstance(skeleton, Locale::getDefault(), dtitvinf, status); in createInstance() 130 DateIntervalFormat::createInstance(const UnicodeString& skeleton, in createInstance() argument 135 return create(locale, ptn, &skeleton, status); in createInstance() 665 const UnicodeString* skeleton, in DateIntervalFormat() argument [all …]
|
/external/dagger2/java/dagger/internal/codegen/writing/ |
D | HjarSourceFileGenerator.java | 63 TypeSpec.Builder skeleton = in skeletonType() local 71 skeleton.superclass(completeType.superclass); in skeletonType() 77 .forEach(skeleton::addMethod); in skeletonType() 82 .forEach(skeleton::addField); in skeletonType() 86 .forEach(skeleton::addType); in skeletonType() 88 return skeleton; in skeletonType() 92 MethodSpec.Builder skeleton = in skeletonMethod() local 101 skeleton.addCode(completeMethod.code); in skeletonMethod() 104 return skeleton in skeletonMethod()
|
/external/bpftool/docs/ |
D | bpftool-gen.rst | 21 *COMMAND* := { **object** | **skeleton** | **help** } 27 | **bpftool** **gen skeleton** *FILE* [**name** *OBJECT_NAME*] 48 generated BPF skeleton (with **gen skeleton** command) or 52 **bpftool gen skeleton** *FILE* 53 Generate BPF skeleton C header file for a given *FILE*. 55 BPF skeleton is an alternative interface to existing libbpf 62 components by name. Instead, if skeleton instantiation 63 succeeds, they are populated in skeleton structure as valid 68 programs, skeleton provides a storage for BPF links (**struct 72 user in pre-allocated fields in skeleton struct. For BPF [all …]
|
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/test/ |
D | FlexibleDateFromCLDR.java | 107 String skeleton = it.next(); in showFlexibles() local 108 System.out.println("\t\"" + skeleton + "\"\t=>\t\"" + items.get(skeleton) + "\""); in showFlexibles() 253 String skeleton = path.substring(startIndex,endIndex); in addAvailableFormatsForFile() local 255 dtpg.addPatternWithSkeleton(pattern, skeleton, !isRoot, patternInfo); in addAvailableFormatsForFile() 276 String skeleton = null; in checkValueAgainstSkeleton() local 280 skeleton = parts.findAttributeValue("dateFormatItem", "id"); // the skeleton in checkValueAgainstSkeleton() 284 skeleton = parts.findAttributeValue("intervalFormatItem", "id"); // the skeleton in checkValueAgainstSkeleton() 287 if (skeleton != null && strippedPattern != null) { in checkValueAgainstSkeleton() 288 … if (skeleton.indexOf('H') >= 0 || skeleton.indexOf('k') >= 0) { // if skeleton uses 24-hour time in checkValueAgainstSkeleton() 292 …} else if (skeleton.indexOf('h') >= 0 || skeleton.indexOf('K') >= 0) { // if skeleton uses 12-hour… in checkValueAgainstSkeleton() [all …]
|
/external/icu/android_icu4j/src/samples/java/android/icu/samples/text/dateintervalformat/ |
D | DateIntervalFormatSample.java | 60 for (String skeleton:skeletons) { in dtitvfmtPreDefined() 61 System.out.printf("%-15s%-35s%-35s", skeleton,date[i].toString(), date[i+1].toString()); in dtitvfmtPreDefined() 62 … DateIntervalFormat dtitvfmtEn = DateIntervalFormat.getInstance(skeleton, ULocale.ENGLISH); in dtitvfmtPreDefined() 63 … DateIntervalFormat dtitvfmtJa = DateIntervalFormat.getInstance(skeleton, ULocale.JAPANESE); in dtitvfmtPreDefined() 107 for (String skeleton:skeletons){ in dtitvfmtCustomized() 109 System.out.printf("%-15s%-35s%-35s", skeleton,date[i].toString(), date[i+1].toString()); in dtitvfmtCustomized() 110 … DateIntervalFormat dtitvfmtEn = DateIntervalFormat.getInstance(skeleton,ULocale.ENGLISH,dtitvinf); in dtitvfmtCustomized() 111 …DateIntervalFormat dtitvfmtJa = DateIntervalFormat.getInstance(skeleton,ULocale.JAPANESE,dtitvinf); in dtitvfmtCustomized()
|
/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/dateintervalformat/ |
D | DateIntervalFormatSample.java | 59 for (String skeleton:skeletons) { in dtitvfmtPreDefined() 60 System.out.printf("%-15s%-35s%-35s", skeleton,date[i].toString(), date[i+1].toString()); in dtitvfmtPreDefined() 61 … DateIntervalFormat dtitvfmtEn = DateIntervalFormat.getInstance(skeleton, ULocale.ENGLISH); in dtitvfmtPreDefined() 62 … DateIntervalFormat dtitvfmtJa = DateIntervalFormat.getInstance(skeleton, ULocale.JAPANESE); in dtitvfmtPreDefined() 106 for (String skeleton:skeletons){ in dtitvfmtCustomized() 108 System.out.printf("%-15s%-35s%-35s", skeleton,date[i].toString(), date[i+1].toString()); in dtitvfmtCustomized() 109 … DateIntervalFormat dtitvfmtEn = DateIntervalFormat.getInstance(skeleton,ULocale.ENGLISH,dtitvinf); in dtitvfmtCustomized() 110 …DateIntervalFormat dtitvfmtJa = DateIntervalFormat.getInstance(skeleton,ULocale.JAPANESE,dtitvinf); in dtitvfmtCustomized()
|
/external/icu/icu4c/source/i18n/unicode/ |
D | dtitvfmt.h | 317 const UnicodeString& skeleton, 355 const UnicodeString& skeleton, 375 const UnicodeString& skeleton, 420 const UnicodeString& skeleton, 781 const UnicodeString* skeleton, UErrorCode& status); 798 const UnicodeString* skeleton, 892 const UnicodeString& skeleton, 906 UnicodeString normalizeHourMetacharacters(const UnicodeString& skeleton) const; 934 static void U_EXPORT2 getDateTimeSkeleton(const UnicodeString& skeleton, 995 const UnicodeString* skeleton, [all …]
|
/external/cronet/third_party/icu/source/i18n/unicode/ |
D | dtitvfmt.h | 317 const UnicodeString& skeleton, 355 const UnicodeString& skeleton, 375 const UnicodeString& skeleton, 420 const UnicodeString& skeleton, 781 const UnicodeString* skeleton, UErrorCode& status); 798 const UnicodeString* skeleton, 892 const UnicodeString& skeleton, 906 UnicodeString normalizeHourMetacharacters(const UnicodeString& skeleton) const; 934 static void U_EXPORT2 getDateTimeSkeleton(const UnicodeString& skeleton, 995 const UnicodeString* skeleton, [all …]
|
/external/icu/libicu/cts_headers/unicode/ |
D | dtitvfmt.h | 317 const UnicodeString& skeleton, 355 const UnicodeString& skeleton, 375 const UnicodeString& skeleton, 420 const UnicodeString& skeleton, 781 const UnicodeString* skeleton, UErrorCode& status); 798 const UnicodeString* skeleton, 892 const UnicodeString& skeleton, 906 UnicodeString normalizeHourMetacharacters(const UnicodeString& skeleton) const; 934 static void U_EXPORT2 getDateTimeSkeleton(const UnicodeString& skeleton, 995 const UnicodeString* skeleton, [all …]
|