Home
last modified time | relevance | path

Searched refs:resStrLen (Results 1 – 16 of 16) sorted by relevance

/third_party/node/deps/icu-small/source/i18n/
Dwindtfmt.cpp78 int32_t resStrLen = 0; in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() local
85 const char16_t *resStr = ures_getStringByIndex(patBundle, glueIndex, &resStrLen, &status); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
87 result = new UnicodeString(true, resStr, resStrLen); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
Dreldtfmt.cpp527 int32_t resStrLen = 0; in loadDates() local
537 …r16_t *resStr = ures_getStringByIndex(dateTimePatterns.getAlias(), glueIndex, &resStrLen, &status); in loadDates()
538 … if (U_SUCCESS(status) && resStrLen >= patItem1Len && u_strncmp(resStr,patItem1,patItem1Len)==0) { in loadDates()
541 … fCombinedFormat = new SimpleFormatter(UnicodeString(true, resStr, resStrLen), 2, 2, status); in loadDates()
Dsmpdtfmt.cpp718 int32_t resStrLen,ovrStrLen = 0; in construct() local
774 resStr = ures_getString(currentBundle.getAlias(), &resStrLen, &status); in construct()
778 resStr = ures_getStringByIndex(currentBundle.getAlias(), 0, &resStrLen, &status); in construct()
789 tempus1.setTo(true, resStr, resStrLen); in construct()
800 resStr = ures_getString(currentBundle.getAlias(), &resStrLen, &status); in construct()
804 resStr = ures_getStringByIndex(currentBundle.getAlias(), 0, &resStrLen, &status); in construct()
815 UnicodeString tempus2(true, resStr, resStrLen); in construct()
836 …ures_getStringByIndex(dateAtTimePatterns.getAlias(), dateStyle - kDateOffset, &resStrLen, &status); in construct()
846 … resStr = ures_getStringByIndex(dateTimePatterns.getAlias(), glueIndex, &resStrLen, &status); in construct()
848 SimpleFormatter(UnicodeString(true, resStr, resStrLen), 2, 2, status). in construct()
[all …]
Ddtitvinf.cpp428 int32_t resStrLen = 0; in initializeData() local
436 &resStrLen, &status); in initializeData()
440 UnicodeString pattern = UnicodeString(true, resStr, resStrLen); in initializeData()
Ddtptngen.cpp1418 int32_t resStrLen = 0; in setDateTimeFromCalendar() local
1480 … = ures_getStringByIndex(dateTimePatterns.getAlias(), dateTimeOffset + style, &resStrLen, &status); in setDateTimeFromCalendar()
1481 setDateTimeFormat((UDateFormatStyle)style, UnicodeString(true, resStr, resStrLen), status); in setDateTimeFromCalendar()
/third_party/skia/third_party/externals/icu/source/i18n/
Dwindtfmt.cpp78 int32_t resStrLen = 0; in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() local
85 const UChar *resStr = ures_getStringByIndex(patBundle, glueIndex, &resStrLen, &status); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
87 result = new UnicodeString(TRUE, resStr, resStrLen); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
Dreldtfmt.cpp527 int32_t resStrLen = 0; in loadDates() local
537 …UChar *resStr = ures_getStringByIndex(dateTimePatterns.getAlias(), glueIndex, &resStrLen, &status); in loadDates()
538 … if (U_SUCCESS(status) && resStrLen >= patItem1Len && u_strncmp(resStr,patItem1,patItem1Len)==0) { in loadDates()
541 … fCombinedFormat = new SimpleFormatter(UnicodeString(TRUE, resStr, resStrLen), 2, 2, status); in loadDates()
Ddtitvinf.cpp429 int32_t resStrLen = 0; in initializeData() local
437 &resStrLen, &status); in initializeData()
448 genericItvDtPtnResource, gFallbackPatternTag, &resStrLen, &localStatus); in initializeData()
458 UnicodeString pattern = UnicodeString(TRUE, resStr, resStrLen); in initializeData()
Dsmpdtfmt.cpp727 int32_t resStrLen,ovrStrLen = 0; in construct() local
783 resStr = ures_getString(currentBundle.getAlias(), &resStrLen, &status); in construct()
787 resStr = ures_getStringByIndex(currentBundle.getAlias(), 0, &resStrLen, &status); in construct()
798 tempus1.setTo(TRUE, resStr, resStrLen); in construct()
809 resStr = ures_getString(currentBundle.getAlias(), &resStrLen, &status); in construct()
813 resStr = ures_getStringByIndex(currentBundle.getAlias(), 0, &resStrLen, &status); in construct()
824 UnicodeString tempus2(TRUE, resStr, resStrLen); in construct()
833 resStr = ures_getStringByIndex(dateTimePatterns.getAlias(), glueIndex, &resStrLen, &status); in construct()
834 SimpleFormatter(UnicodeString(TRUE, resStr, resStrLen), 2, 2, status). in construct()
851 resStr = ures_getString(currentBundle.getAlias(), &resStrLen, &status); in construct()
[all …]
Ddtptngen.cpp1368 int32_t resStrLen = 0; in setDateTimeFromCalendar() local
1401 …getStringByIndex(dateTimePatterns.getAlias(), (int32_t)DateFormat::kDateTime, &resStrLen, &status); in setDateTimeFromCalendar()
1402 setDateTimeFormat(UnicodeString(TRUE, resStr, resStrLen)); in setDateTimeFromCalendar()
/third_party/icu/icu4c/source/i18n/
Dwindtfmt.cpp78 int32_t resStrLen = 0; in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() local
85 const UChar *resStr = ures_getStringByIndex(patBundle, glueIndex, &resStrLen, &status); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
87 result = new UnicodeString(TRUE, resStr, resStrLen); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
Dreldtfmt.cpp527 int32_t resStrLen = 0; in loadDates() local
537 …UChar *resStr = ures_getStringByIndex(dateTimePatterns.getAlias(), glueIndex, &resStrLen, &status); in loadDates()
538 … if (U_SUCCESS(status) && resStrLen >= patItem1Len && u_strncmp(resStr,patItem1,patItem1Len)==0) { in loadDates()
541 … fCombinedFormat = new SimpleFormatter(UnicodeString(true, resStr, resStrLen), 2, 2, status); in loadDates()
Dsmpdtfmt.cpp746 int32_t resStrLen,ovrStrLen = 0; in construct() local
802 resStr = ures_getString(currentBundle.getAlias(), &resStrLen, &status); in construct()
806 resStr = ures_getStringByIndex(currentBundle.getAlias(), 0, &resStrLen, &status); in construct()
817 tempus1.setTo(true, resStr, resStrLen); in construct()
828 resStr = ures_getString(currentBundle.getAlias(), &resStrLen, &status); in construct()
832 resStr = ures_getStringByIndex(currentBundle.getAlias(), 0, &resStrLen, &status); in construct()
843 UnicodeString tempus2(true, resStr, resStrLen); in construct()
864 …ures_getStringByIndex(dateAtTimePatterns.getAlias(), dateStyle - kDateOffset, &resStrLen, &status); in construct()
874 … resStr = ures_getStringByIndex(dateTimePatterns.getAlias(), glueIndex, &resStrLen, &status); in construct()
876 SimpleFormatter(UnicodeString(true, resStr, resStrLen), 2, 2, status). in construct()
[all …]
Ddtitvinf.cpp428 int32_t resStrLen = 0; in initializeData() local
436 &resStrLen, &status); in initializeData()
440 UnicodeString pattern = UnicodeString(true, resStr, resStrLen); in initializeData()
Ddtptngen.cpp1418 int32_t resStrLen = 0; in setDateTimeFromCalendar() local
1480 … = ures_getStringByIndex(dateTimePatterns.getAlias(), dateTimeOffset + style, &resStrLen, &status); in setDateTimeFromCalendar()
1481 setDateTimeFormat((UDateFormatStyle)style, UnicodeString(true, resStr, resStrLen), status); in setDateTimeFromCalendar()
/third_party/icu/icu4c/source/test/intltest/
Drestsnew.cpp1443 int32_t resStrLen = 0; in TestIntervalAliasFallbacks() local
1444 ures_getStringByKeyWithFallback(rb, key.data(), &resStrLen, &status); in TestIntervalAliasFallbacks()