Home
last modified time | relevance | path

Searched refs:dtpg (Results 1 – 24 of 24) sorted by relevance

/third_party/node/deps/icu-small/source/i18n/
Dudatpg.cpp46 udatpg_close(UDateTimePatternGenerator *dtpg) { in udatpg_close() argument
47 delete (DateTimePatternGenerator *)dtpg; in udatpg_close()
51 udatpg_clone(const UDateTimePatternGenerator *dtpg, UErrorCode *pErrorCode) { in udatpg_clone() argument
55 return (UDateTimePatternGenerator *)(((const DateTimePatternGenerator *)dtpg)->clone()); in udatpg_clone()
59 udatpg_getBestPattern(UDateTimePatternGenerator *dtpg, in udatpg_getBestPattern() argument
63 return udatpg_getBestPatternWithOptions(dtpg, skeleton, length, in udatpg_getBestPattern()
69 udatpg_getBestPatternWithOptions(UDateTimePatternGenerator *dtpg, in udatpg_getBestPatternWithOptions() argument
82 …UnicodeString result=((DateTimePatternGenerator *)dtpg)->getBestPattern(skeletonString, options, *… in udatpg_getBestPatternWithOptions()
123 udatpg_addPattern(UDateTimePatternGenerator *dtpg, in udatpg_addPattern() argument
137 UDateTimePatternConflict result=((DateTimePatternGenerator *)dtpg)-> in udatpg_addPattern()
[all …]
Ddtptngen.cpp930 DateTimePatternGenerator& dtpg; member
932 AppendItemFormatsSink(DateTimePatternGenerator& _dtpg) : dtpg(_dtpg) {} in AppendItemFormatsSink()
937 UDateTimePatternField field = dtpg.getAppendFormatNumber(key); in put()
940 if (dtpg.getAppendItemFormat(field).isEmpty() && !valueStr.isEmpty()) { in put()
941 dtpg.setAppendItemFormat(field, valueStr); in put()
949 if (dtpg.getAppendItemFormat(field).isEmpty()) { in fillInMissing()
950 dtpg.setAppendItemFormat(field, defaultItemFormat); in fillInMissing()
959 DateTimePatternGenerator& dtpg; member
961 AppendItemNamesSink(DateTimePatternGenerator& _dtpg) : dtpg(_dtpg) {} in AppendItemNamesSink()
967 UDateTimePatternField field = dtpg.getFieldAndWidthIndices(key, &width); in put()
[all …]
Ddatefmt.cpp101 LocalPointer<DateTimePatternGenerator> dtpg( in createObject() local
109 dtpg->getBestPattern(fSkeleton, status)), in createObject()
Dsmpdtfmt.cpp777 …LocalPointer<DateTimePatternGenerator> dtpg(DateTimePatternGenerator::createInstanceNoStdPat(local… in construct() local
780 timePattern = dtpg->getBestPattern(timeSkeleton, useStatus); in construct()
/third_party/icu/icu4c/source/i18n/
Dudatpg.cpp46 udatpg_close(UDateTimePatternGenerator *dtpg) { in udatpg_close() argument
47 delete (DateTimePatternGenerator *)dtpg; in udatpg_close()
51 udatpg_clone(const UDateTimePatternGenerator *dtpg, UErrorCode *pErrorCode) { in udatpg_clone() argument
55 return (UDateTimePatternGenerator *)(((const DateTimePatternGenerator *)dtpg)->clone()); in udatpg_clone()
59 udatpg_getBestPattern(UDateTimePatternGenerator *dtpg, in udatpg_getBestPattern() argument
63 return udatpg_getBestPatternWithOptions(dtpg, skeleton, length, in udatpg_getBestPattern()
69 udatpg_getBestPatternWithOptions(UDateTimePatternGenerator *dtpg, in udatpg_getBestPatternWithOptions() argument
82 …UnicodeString result=((DateTimePatternGenerator *)dtpg)->getBestPattern(skeletonString, options, *… in udatpg_getBestPatternWithOptions()
123 udatpg_addPattern(UDateTimePatternGenerator *dtpg, in udatpg_addPattern() argument
137 UDateTimePatternConflict result=((DateTimePatternGenerator *)dtpg)-> in udatpg_addPattern()
[all …]
Ddtptngen.cpp930 DateTimePatternGenerator& dtpg; member
932 AppendItemFormatsSink(DateTimePatternGenerator& _dtpg) : dtpg(_dtpg) {} in AppendItemFormatsSink()
940 UDateTimePatternField field = dtpg.getAppendFormatNumber(key); in put()
943 if (dtpg.getAppendItemFormat(field).isEmpty() && !valueStr.isEmpty()) { in put()
944 dtpg.setAppendItemFormat(field, valueStr); in put()
953 if (dtpg.getAppendItemFormat(field).isEmpty()) { in fillInMissing()
954 dtpg.setAppendItemFormat(field, defaultItemFormat); in fillInMissing()
963 DateTimePatternGenerator& dtpg; member
965 AppendItemNamesSink(DateTimePatternGenerator& _dtpg) : dtpg(_dtpg) {} in AppendItemNamesSink()
974 UDateTimePatternField field = dtpg.getFieldAndWidthIndices(key, &width); in put()
[all …]
Ddatefmt.cpp103 LocalPointer<DateTimePatternGenerator> dtpg( in createObject() local
111 dtpg->getBestPattern(fSkeleton, status)), in createObject()
Dsmpdtfmt.cpp758 …LocalPointer<DateTimePatternGenerator> dtpg(DateTimePatternGenerator::createInstanceNoStdPat(local… in construct() local
761 timePattern = dtpg->getBestPattern(timeSkeleton, useStatus); in construct()
/third_party/skia/third_party/externals/icu/source/i18n/
Dudatpg.cpp46 udatpg_close(UDateTimePatternGenerator *dtpg) { in udatpg_close() argument
47 delete (DateTimePatternGenerator *)dtpg; in udatpg_close()
51 udatpg_clone(const UDateTimePatternGenerator *dtpg, UErrorCode *pErrorCode) { in udatpg_clone() argument
55 return (UDateTimePatternGenerator *)(((const DateTimePatternGenerator *)dtpg)->clone()); in udatpg_clone()
59 udatpg_getBestPattern(UDateTimePatternGenerator *dtpg, in udatpg_getBestPattern() argument
63 return udatpg_getBestPatternWithOptions(dtpg, skeleton, length, in udatpg_getBestPattern()
69 udatpg_getBestPatternWithOptions(UDateTimePatternGenerator *dtpg, in udatpg_getBestPatternWithOptions() argument
82 …UnicodeString result=((DateTimePatternGenerator *)dtpg)->getBestPattern(skeletonString, options, *… in udatpg_getBestPatternWithOptions()
123 udatpg_addPattern(UDateTimePatternGenerator *dtpg, in udatpg_addPattern() argument
137 UDateTimePatternConflict result=((DateTimePatternGenerator *)dtpg)-> in udatpg_addPattern()
[all …]
Ddtptngen.cpp930 DateTimePatternGenerator& dtpg; member
932 AppendItemFormatsSink(DateTimePatternGenerator& _dtpg) : dtpg(_dtpg) {} in AppendItemFormatsSink()
940 UDateTimePatternField field = dtpg.getAppendFormatNumber(key); in put()
943 if (dtpg.getAppendItemFormat(field).isEmpty() && !valueStr.isEmpty()) { in put()
944 dtpg.setAppendItemFormat(field, valueStr); in put()
953 if (dtpg.getAppendItemFormat(field).isEmpty()) { in fillInMissing()
954 dtpg.setAppendItemFormat(field, defaultItemFormat); in fillInMissing()
963 DateTimePatternGenerator& dtpg; member
965 AppendItemNamesSink(DateTimePatternGenerator& _dtpg) : dtpg(_dtpg) {} in AppendItemNamesSink()
974 UDateTimePatternField field = dtpg.getFieldAndWidthIndices(key, &width); in put()
[all …]
Ddatefmt.cpp103 LocalPointer<DateTimePatternGenerator> dtpg( in createObject() local
111 dtpg->getBestPattern(fSkeleton, status)), in createObject()
Dsmpdtfmt.cpp758 …LocalPointer<DateTimePatternGenerator> dtpg(DateTimePatternGenerator::createInstanceNoStdPat(local… in construct() local
761 timePattern = dtpg->getBestPattern(timeSkeleton, useStatus); in construct()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dudatpg.cpp46 udatpg_close(UDateTimePatternGenerator *dtpg) { in udatpg_close() argument
47 delete (DateTimePatternGenerator *)dtpg; in udatpg_close()
51 udatpg_clone(const UDateTimePatternGenerator *dtpg, UErrorCode *pErrorCode) { in udatpg_clone() argument
55 return (UDateTimePatternGenerator *)(((const DateTimePatternGenerator *)dtpg)->clone()); in udatpg_clone()
59 udatpg_getBestPattern(UDateTimePatternGenerator *dtpg, in udatpg_getBestPattern() argument
63 return udatpg_getBestPatternWithOptions(dtpg, skeleton, length, in udatpg_getBestPattern()
69 udatpg_getBestPatternWithOptions(UDateTimePatternGenerator *dtpg, in udatpg_getBestPatternWithOptions() argument
82 …UnicodeString result=((DateTimePatternGenerator *)dtpg)->getBestPattern(skeletonString, options, *… in udatpg_getBestPatternWithOptions()
123 udatpg_addPattern(UDateTimePatternGenerator *dtpg, in udatpg_addPattern() argument
137 UDateTimePatternConflict result=((DateTimePatternGenerator *)dtpg)-> in udatpg_addPattern()
[all …]
Ddtptngen.cpp814 DateTimePatternGenerator& dtpg; member
816 AppendItemFormatsSink(DateTimePatternGenerator& _dtpg) : dtpg(_dtpg) {} in AppendItemFormatsSink()
824 UDateTimePatternField field = dtpg.getAppendFormatNumber(key); in put()
827 if (dtpg.getAppendItemFormat(field).isEmpty() && !valueStr.isEmpty()) { in put()
828 dtpg.setAppendItemFormat(field, valueStr); in put()
837 if (dtpg.getAppendItemFormat(field).isEmpty()) { in fillInMissing()
838 dtpg.setAppendItemFormat(field, defaultItemFormat); in fillInMissing()
847 DateTimePatternGenerator& dtpg; member
849 AppendItemNamesSink(DateTimePatternGenerator& _dtpg) : dtpg(_dtpg) {} in AppendItemNamesSink()
858 UDateTimePatternField field = dtpg.getFieldAndWidthIndices(key, &width); in put()
[all …]
Ddatefmt.cpp103 LocalPointer<DateTimePatternGenerator> dtpg( in createObject() local
111 dtpg->getBestPattern(fSkeleton, status)), in createObject()
/third_party/icu/icu4c/source/i18n/unicode/
Dudatpg.h186 udatpg_close(UDateTimePatternGenerator *dtpg);
216 udatpg_clone(const UDateTimePatternGenerator *dtpg, UErrorCode *pErrorCode);
242 udatpg_getBestPattern(UDateTimePatternGenerator *dtpg,
278 udatpg_getBestPatternWithOptions(UDateTimePatternGenerator *dtpg,
366 udatpg_addPattern(UDateTimePatternGenerator *dtpg,
393 udatpg_setAppendItemFormat(UDateTimePatternGenerator *dtpg,
408 udatpg_getAppendItemFormat(const UDateTimePatternGenerator *dtpg,
426 udatpg_setAppendItemName(UDateTimePatternGenerator *dtpg,
443 udatpg_getAppendItemName(const UDateTimePatternGenerator *dtpg,
473 udatpg_getFieldDisplayName(const UDateTimePatternGenerator *dtpg,
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Dudatpg.h186 udatpg_close(UDateTimePatternGenerator *dtpg);
216 udatpg_clone(const UDateTimePatternGenerator *dtpg, UErrorCode *pErrorCode);
242 udatpg_getBestPattern(UDateTimePatternGenerator *dtpg,
278 udatpg_getBestPatternWithOptions(UDateTimePatternGenerator *dtpg,
366 udatpg_addPattern(UDateTimePatternGenerator *dtpg,
393 udatpg_setAppendItemFormat(UDateTimePatternGenerator *dtpg,
408 udatpg_getAppendItemFormat(const UDateTimePatternGenerator *dtpg,
426 udatpg_setAppendItemName(UDateTimePatternGenerator *dtpg,
443 udatpg_getAppendItemName(const UDateTimePatternGenerator *dtpg,
473 udatpg_getFieldDisplayName(const UDateTimePatternGenerator *dtpg,
[all …]
/third_party/node/deps/icu-small/source/i18n/unicode/
Dudatpg.h186 udatpg_close(UDateTimePatternGenerator *dtpg);
216 udatpg_clone(const UDateTimePatternGenerator *dtpg, UErrorCode *pErrorCode);
242 udatpg_getBestPattern(UDateTimePatternGenerator *dtpg,
278 udatpg_getBestPatternWithOptions(UDateTimePatternGenerator *dtpg,
366 udatpg_addPattern(UDateTimePatternGenerator *dtpg,
393 udatpg_setAppendItemFormat(UDateTimePatternGenerator *dtpg,
408 udatpg_getAppendItemFormat(const UDateTimePatternGenerator *dtpg,
426 udatpg_setAppendItemName(UDateTimePatternGenerator *dtpg,
443 udatpg_getAppendItemName(const UDateTimePatternGenerator *dtpg,
473 udatpg_getFieldDisplayName(const UDateTimePatternGenerator *dtpg,
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/i18n/unicode/
Dudatpg.h182 udatpg_close(UDateTimePatternGenerator *dtpg);
212 udatpg_clone(const UDateTimePatternGenerator *dtpg, UErrorCode *pErrorCode);
238 udatpg_getBestPattern(UDateTimePatternGenerator *dtpg,
274 udatpg_getBestPatternWithOptions(UDateTimePatternGenerator *dtpg,
362 udatpg_addPattern(UDateTimePatternGenerator *dtpg,
389 udatpg_setAppendItemFormat(UDateTimePatternGenerator *dtpg,
404 udatpg_getAppendItemFormat(const UDateTimePatternGenerator *dtpg,
422 udatpg_setAppendItemName(UDateTimePatternGenerator *dtpg,
439 udatpg_getAppendItemName(const UDateTimePatternGenerator *dtpg,
470 udatpg_getFieldDisplayName(const UDateTimePatternGenerator *dtpg,
[all …]
/third_party/icu/icu4c/source/test/cintltst/
Dudatpg_test.c83 UDateTimePatternGenerator *dtpg, *dtpg2; in TestOpenClose() local
88 dtpg=udatpg_open(NULL, &errorCode); in TestOpenClose()
93 udatpg_close(dtpg); in TestOpenClose()
96 dtpg=udatpg_open("de", &errorCode); in TestOpenClose()
103 udatpg_setDecimal(dtpg, pipeString, 1); in TestOpenClose()
106 dtpg2=udatpg_clone(dtpg, &errorCode); in TestOpenClose()
119 udatpg_close(dtpg); in TestOpenClose()
139 UDateTimePatternGenerator *dtpg; in TestUsage() local
147 dtpg=udatpg_open("fi", &errorCode); in TestUsage()
152 length = udatpg_getBestPattern(dtpg, testSkeleton1, 4, in TestUsage()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateTimeGeneratorTest.java897 DateTimePatternGenerator dtpg = DateTimePatternGenerator.getInstance(); in TestGetSkeleton() local
901 if(!dtpg.getSkeleton(cases[i]).equals(results[i])){ in TestGetSkeleton()
905 dtpg.getSkeleton(cases[i])); in TestGetSkeleton()
915 DateTimePatternGenerator dtpg = DateTimePatternGenerator.getInstance(); in TestGetCanonicalSkeletonAllowingDuplicates() local
919 if(!dtpg.getCanonicalSkeletonAllowingDuplicates(cases[i]).equals(results[i])){ in TestGetCanonicalSkeletonAllowingDuplicates()
923 dtpg.getCanonicalSkeletonAllowingDuplicates(cases[i])); in TestGetCanonicalSkeletonAllowingDuplicates()
933 DateTimePatternGenerator dtpg = DateTimePatternGenerator.getInstance(); in TestGetBaseSkeleton() local
937 if(!dtpg.getBaseSkeleton(cases[i]).equals(results[i])){ in TestGetBaseSkeleton()
941 dtpg.getBaseSkeleton(cases[i])); in TestGetBaseSkeleton()
951 DateTimePatternGenerator dtpg = DateTimePatternGenerator.getInstance(); in TestGetSkeletons() local
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DDateTimeGeneratorTest.java900 DateTimePatternGenerator dtpg = DateTimePatternGenerator.getInstance(); in TestGetSkeleton() local
904 if(!dtpg.getSkeleton(cases[i]).equals(results[i])){ in TestGetSkeleton()
908 dtpg.getSkeleton(cases[i])); in TestGetSkeleton()
918 DateTimePatternGenerator dtpg = DateTimePatternGenerator.getInstance(); in TestGetCanonicalSkeletonAllowingDuplicates() local
922 if(!dtpg.getCanonicalSkeletonAllowingDuplicates(cases[i]).equals(results[i])){ in TestGetCanonicalSkeletonAllowingDuplicates()
926 dtpg.getCanonicalSkeletonAllowingDuplicates(cases[i])); in TestGetCanonicalSkeletonAllowingDuplicates()
936 DateTimePatternGenerator dtpg = DateTimePatternGenerator.getInstance(); in TestGetBaseSkeleton() local
940 if(!dtpg.getBaseSkeleton(cases[i]).equals(results[i])){ in TestGetBaseSkeleton()
944 dtpg.getBaseSkeleton(cases[i])); in TestGetBaseSkeleton()
954 DateTimePatternGenerator dtpg = DateTimePatternGenerator.getInstance(); in TestGetSkeletons() local
[all …]
/third_party/icu/icu4c/source/test/intltest/
Ddtptngts.cpp1080 DateTimePatternGenerator * dtpg = DateTimePatternGenerator::createInstance(locale, status); in testAllFieldPatterns() local
1099 UnicodeString pattern = dtpg->getBestPattern(skeleton, status); in testAllFieldPatterns()
1131 delete dtpg; in testAllFieldPatterns()
1312 DateTimePatternGenerator * dtpg = DateTimePatternGenerator::createInstance(locale, status); in testGetFieldDisplayNames() local
1319 … UnicodeString getName = dtpg->getFieldDisplayName(testDataPtr->field, testDataPtr->width); in testGetFieldDisplayNames()
1324 delete dtpg; in testGetFieldDisplayNames()
1338 …LocalPointer<DateTimePatternGenerator> dtpg(DateTimePatternGenerator::createInstance(testLocale, s… in testJjMapping() local
1342 …UnicodeString jPattern = dtpg->getBestPattern(jSkeleton, UDATPG_MATCH_ALL_FIELDS_LENGTH, status); … in testJjMapping()
1362 …LocalPointer<DateTimePatternGenerator> dtpg(DateTimePatternGenerator::createInstance(*localePtr, s… in testJjMapping() local
1378 UnicodeString jPattern = dtpg->getBestPattern(jSkeleton, status); in testJjMapping()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCalendar.java3649 … DateTimePatternGenerator dtpg = DateTimePatternGenerator.getInstanceNoStdPat(locale); in getPatternData() local
3651 dateTimePatterns[i] = dtpg.getBestPattern(TIME_SKELETONS[i]); in getPatternData()