Home
last modified time | relevance | path

Searched refs:patLen (Results 1 – 13 of 13) sorted by relevance

/external/icu/icu4c/source/common/
Dlocdispnames.cpp486 int32_t patLen = 0; in uloc_getDisplayName() local
518 pattern=ures_getStringByKeyWithFallback(dspbundle, _kPattern, &patLen, &status); in uloc_getDisplayName()
548 if(patLen==0 || (patLen==defaultPatLen && !u_strncmp(pattern, defaultPattern, patLen))) { in uloc_getDisplayName()
550 patLen=defaultPatLen; in uloc_getDisplayName()
728 padLen=(subi==0 ? sub1Pos : patLen)-patPos; in uloc_getDisplayName()
Duniset.cpp149 bufferCapacity(0), patLen(0), pat(NULL), strings(NULL), stringSpan(NULL), in UnicodeSet()
176 bufferCapacity(0), patLen(0), pat(NULL), strings(NULL), stringSpan(NULL), in UnicodeSet()
203 patLen(0), pat(NULL), strings(NULL), stringSpan(NULL), in UnicodeSet()
227 patLen(0), pat(NULL), strings(NULL), stringSpan(NULL), in UnicodeSet()
247 setPattern(UnicodeString(o.pat, o.patLen)); in UnicodeSet()
318 setPattern(UnicodeString(o.pat, o.patLen)); in operator =()
1482 bufferCapacity(0), patLen(0), pat(NULL), strings(NULL), stringSpan(NULL), in UnicodeSet()
2029 for (i=0; i<patLen; ) { in _toPattern()
2031 U16_NEXT(pat, i, patLen, c); in _toPattern()
2146 patLen = 0; in releasePattern()
[all …]
Duniset_closure.cpp54 bufferCapacity(0), patLen(0), pat(NULL), strings(NULL), stringSpan(NULL), in UnicodeSet()
75 bufferCapacity(0), patLen(0), pat(NULL), strings(NULL), stringSpan(NULL), in UnicodeSet()
Duniset_props.cpp331 bufferCapacity(0), patLen(0), pat(NULL), strings(NULL), stringSpan(NULL), in UnicodeSet()
/external/icu/icu4c/source/i18n/
Ddecimalformatpattern.cpp158 int32_t patLen = pattern.length(); in applyPatternWithoutExpandAffix() local
161 for (int32_t part=0; part<2 && pos<patLen; ++part) { in applyPatternWithoutExpandAffix()
196 for (; !isPartDone && pos < patLen; ) { in applyPatternWithoutExpandAffix()
286 if (pos < patLen in applyPatternWithoutExpandAffix()
294 while (pos < patLen && in applyPatternWithoutExpandAffix()
Dnumfmt.cpp1409 int32_t patLen = 0; in makeInstance() local
1410 …UChar *patResStr = ures_getStringByKeyWithFallback(resource, gFormatKeys[style], &patLen, &status); in makeInstance()
1417 … patResStr = ures_getStringByKeyWithFallback(resource, gFormatKeys[style], &patLen, &status); in makeInstance()
1423 pattern.setTo(TRUE, patResStr, patLen); in makeInstance()
Ddecimfmt.cpp529 int32_t patLen = 0; in setupCurrencyAffixPatterns() local
530 …const UChar *patResStr = ures_getStringByKeyWithFallback(resource, fgCurrencyFormat, &patLen, &er… in setupCurrencyAffixPatterns()
535 patResStr = ures_getStringByKeyWithFallback(resource, fgCurrencyFormat, &patLen, &error); in setupCurrencyAffixPatterns()
546 applyPatternWithNoSideEffects(UnicodeString(patResStr, patLen), in setupCurrencyAffixPatterns()
Ddtptngen.cpp1057 int32_t patPos, patLen = patternForm.length(); in mapSkeletonMetacharacters() local
1058 for (patPos = 0; patPos < patLen; patPos++) { in mapSkeletonMetacharacters()
1071 while (patPos+1 < patLen && patternForm.charAt(patPos+1)==patChr) { in mapSkeletonMetacharacters()
/external/icu/icu4c/source/test/cintltst/
Dudatpg_test.c422 int32_t patLen = udatpg_getBestPatternWithOptions(dtpgen, testDataPtr->skel, -1, in TestOptions() local
425 … if ( U_FAILURE(status) || u_strncmp(pattern, testDataPtr->expectedPattern, patLen+1) != 0 ) { in TestOptions()
/external/icu/icu4c/source/test/intltest/
Ddtptngts.cpp1041 int32_t patIndx, patLen = pattern.length(); in testAllFieldPatterns() local
1043 for (patIndx = 0; patIndx < patLen; patIndx++) { in testAllFieldPatterns()
1053 if (patIndx >= patLen) { in testAllFieldPatterns()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateTimeGeneratorTest.java1514 int patIndx, patLen = pattern.length(); in TestAllFieldPatterns() local
1515 for (patIndx = 0; patIndx < patLen; patIndx++) { in TestAllFieldPatterns()
1525 if (patIndx >= patLen) { in TestAllFieldPatterns()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateTimeGeneratorTest.java1511 int patIndx, patLen = pattern.length(); in TestAllFieldPatterns() local
1512 for (patIndx = 0; patIndx < patLen; patIndx++) { in TestAllFieldPatterns()
1522 if (patIndx >= patLen) { in TestAllFieldPatterns()
/external/icu/icu4c/source/common/unicode/
Duniset.h286 int32_t patLen; variable