Home
last modified time | relevance | path

Searched refs:stringCount (Results 1 – 17 of 17) sorted by relevance

/external/icu/icu4c/source/test/cintltst/
Dulistfmttest.c41 int32_t stringCount; member
72 …t ulenActual = ulistfmt_format(listfmt, strings, stringLengths, lftep->stringCount, ubufActual, kU… in TestUListFmt()
74 …locale %s count %d (real lengths), status %s\n", lftep->locale, lftep->stringCount, u_errorName(st… in TestUListFmt()
80 … lftep->stringCount, aescstrdup(ubufActual, ulenActual), aescstrdup(ubufExpected, ulenExpected)); in TestUListFmt()
85 …ulenActual = ulistfmt_format(listfmt, strings, stringLengthsNeg, lftep->stringCount, ubufActual, k… in TestUListFmt()
87 …r locale %s count %d (-1 lengths), status %s\n", lftep->locale, lftep->stringCount, u_errorName(st… in TestUListFmt()
93 … lftep->stringCount, aescstrdup(ubufActual, ulenActual), aescstrdup(ubufExpected, ulenExpected)); in TestUListFmt()
98 …ulenActual = ulistfmt_format(listfmt, strings, NULL, lftep->stringCount, ubufActual, kUBufMax, &st… in TestUListFmt()
100 …locale %s count %d (NULL lengths), status %s\n", lftep->locale, lftep->stringCount, u_errorName(st… in TestUListFmt()
106 … lftep->stringCount, aescstrdup(ubufActual, ulenActual), aescstrdup(ubufExpected, ulenExpected)); in TestUListFmt()
[all …]
/external/icu/icu4c/source/i18n/
Dulistformatter.cpp47 int32_t stringCount, in ulistfmt_format() argument
55 …if (stringCount < 0 || (strings == NULL && stringCount > 0) || ((result == NULL)? resultCapacity !… in ulistfmt_format()
61 if (stringCount > UPRV_LENGTHOF(ustringsStackBuf)) { in ulistfmt_format()
62 ustrings = new UnicodeString[stringCount]; in ulistfmt_format()
69 for (int32_t stringIndex = 0; stringIndex < stringCount; stringIndex++) { in ulistfmt_format()
73 for (int32_t stringIndex = 0; stringIndex < stringCount; stringIndex++) { in ulistfmt_format()
83 ((const ListFormatter*)listfmt)->format( ustrings, stringCount, res, *status ); in ulistfmt_format()
Ddtfmtsym.cpp1992 int32_t &stringCount, UErrorCode &status) { in loadDayPeriodStrings() argument
1998 stringCount = UPRV_LENGTHOF(dayPeriodKeys); in loadDayPeriodStrings()
1999 UnicodeString *strings = new UnicodeString[stringCount]; in loadDayPeriodStrings()
2006 for (int32_t i = 0; i < stringCount; ++i) { in loadDayPeriodStrings()
2016 for (int32_t i = 0; i < stringCount; i++) { in loadDayPeriodStrings()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DResStringPool.java171 if (mHeader.stringCount > 0) { in setTo()
172 if ((mHeader.stringCount*4 /*sizeof(uint32_t)*/ < mHeader.stringCount) // uint32 overflow? in setTo()
173 || (mHeader.header.headerSize+(mHeader.stringCount*4 /*sizeof(uint32_t)*/)) in setTo()
176 (int)(mHeader.header.headerSize+(mHeader.stringCount*4/*sizeof(uint32_t)*/)), in setTo()
219 ALOGW("Bad string block: stringCount is %d but pool size is 0\n", (int)mHeader.stringCount); in setTo()
256 …mEntryStyles = new IntArray(mEntries.myBuf(), mEntries.myOffset() + mHeader.stringCount * SIZEOF_I… in setTo()
329 if (mError == NO_ERROR && idx < mHeader.stringCount) { in stringAt()
495 int h = mHeader.stringCount-1; in indexOfString()
522 for (int i = mHeader.stringCount; i>=0; i--) { in indexOfString()
540 return mError == NO_ERROR ? mHeader.stringCount : 0; in size()
DResStringPoolHeader.java27 int stringCount; field in ResStringPoolHeader
DResourceTypes.java467 final int stringCount; field in ResourceTypes.ResStringPool_header
494 this.stringCount = buf.getInt(offset + ResChunk_header.SIZEOF); in ResStringPool_header()
557 int stringCount = strings.size(); in write()
560 buf.putInt(stringCount); // stringCount in write()
/external/guava/guava-tests/benchmark/com/google/common/base/
DUtf8Benchmark.java86 @Param({"100"}) int stringCount; field in Utf8Benchmark
100 seqs = new CharSequence[stringCount]; in setUp()
101 strings = new String[stringCount]; in setUp()
102 byteArrays = new byte[stringCount][]; in setUp()
103 for (int i = 0; i < stringCount; i++) { in setUp()
/external/icu/icu4c/source/common/
Dusetiter.cpp62 if (nextString >= stringCount) return FALSE; in next()
95 if (nextString >= stringCount) return FALSE; in nextRange()
116 stringCount = 0; in reset()
119 stringCount = set->stringsSize(); in reset()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DStringIdItem.java111 int stringCount = mapItem.getItemCount();
112 String[] ret = new String[stringCount];
113 for (int i=0; i<stringCount; i++) {
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DDexBackedDexFile.java59 private final int stringCount; field in DexBackedDexFile
81 stringCount = readSmallUint(HeaderItem.STRING_COUNT_OFFSET); in DexBackedDexFile()
148 if (stringIndex < 0 || stringIndex >= stringCount) {
194 return stringCount;
/external/icu/libandroidicu/include/unicode/
Dulistformatter.h143 int32_t stringCount,
/external/icu/icu4c/source/i18n/unicode/
Dulistformatter.h143 int32_t stringCount,
/external/icu/icu4c/source/common/unicode/
Dusetiter.h279 int32_t stringCount; variable
/external/icu/icu4c/source/test/intltest/
Dcolldata.cpp519 int32_t stringCount = strings->size(); in minLengthInChars() local
521 for (int32_t s = 0; s < stringCount; s += 1) { in minLengthInChars()
Dssearch.cpp1114 int32_t stringCount = strings->size(); in generateAlternative() local
1123 int32_t s = m_rand() % stringCount; in generateAlternative()
1125 if (tries++ > stringCount) { in generateAlternative()
/external/cldr/tools/java/org/unicode/cldr/tool/
DGenerateXMB.java781 String stringCount = key.substring(1); in showPlurals() local
783 int intCount = Integer.parseInt(stringCount); in showPlurals()
790 value = value.replace("{0}", stringCount); in showPlurals()
/external/icu/libandroidicu/static_shim/
Dshim.cpp1732 … const UChar *const strings[], const int32_t * stringLengths, int32_t stringCount, UChar * result… in ulistfmt_format_android() argument
1733 …return ulistfmt_format(listfmt, strings, stringLengths, stringCount, result, resultCapacity, statu… in ulistfmt_format_android()