Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Dulistformatter.cpp57 int32_t stringCount, in getUnicodeStrings() argument
62 if (stringCount < 0 || (strings == NULL && stringCount > 0)) { in getUnicodeStrings()
67 if (stringCount > 4) { in getUnicodeStrings()
68 maybeOwner.adoptInsteadAndCheckErrorCode(new UnicodeString[stringCount], status); in getUnicodeStrings()
75 for (int32_t stringIndex = 0; stringIndex < stringCount; stringIndex++) { in getUnicodeStrings()
79 for (int32_t stringIndex = 0; stringIndex < stringCount; stringIndex++) { in getUnicodeStrings()
91 int32_t stringCount, in ulistfmt_format() argument
106 strings, stringLengths, stringCount, length4StackBuffer, maybeOwner, *status); in ulistfmt_format()
116 reinterpret_cast<const ListFormatter*>(listfmt)->format( ustrings, stringCount, res, *status ); in ulistfmt_format()
126 int32_t stringCount, in ulistfmt_formatStringsToResult() argument
[all …]
Ddtfmtsym.cpp1989 int32_t &stringCount, UErrorCode &status) { in loadDayPeriodStrings() argument
1995 stringCount = UPRV_LENGTHOF(dayPeriodKeys); in loadDayPeriodStrings()
1996 UnicodeString *strings = new UnicodeString[stringCount]; in loadDayPeriodStrings()
2003 for (int32_t i = 0; i < stringCount; ++i) { in loadDayPeriodStrings()
2013 for (int32_t i = 0; i < stringCount; i++) { in loadDayPeriodStrings()
/external/icu/icu4c/source/test/cintltst/
Dulistfmttest.c44 int32_t stringCount; member
75 …t ulenActual = ulistfmt_format(listfmt, strings, stringLengths, lftep->stringCount, ubufActual, kU… in TestUListFmt()
77 …locale %s count %d (real lengths), status %s\n", lftep->locale, lftep->stringCount, u_errorName(st… in TestUListFmt()
83 … lftep->stringCount, aescstrdup(ubufActual, ulenActual), aescstrdup(ubufExpected, ulenExpected)); in TestUListFmt()
88 …ulenActual = ulistfmt_format(listfmt, strings, stringLengthsNeg, lftep->stringCount, ubufActual, k… in TestUListFmt()
90 …r locale %s count %d (-1 lengths), status %s\n", lftep->locale, lftep->stringCount, u_errorName(st… in TestUListFmt()
96 … lftep->stringCount, aescstrdup(ubufActual, ulenActual), aescstrdup(ubufExpected, ulenExpected)); in TestUListFmt()
101 …ulenActual = ulistfmt_format(listfmt, strings, NULL, lftep->stringCount, ubufActual, kUBufMax, &st… in TestUListFmt()
103 …locale %s count %d (NULL lengths), status %s\n", lftep->locale, lftep->stringCount, u_errorName(st… in TestUListFmt()
109 … lftep->stringCount, aescstrdup(ubufActual, ulenActual), aescstrdup(ubufExpected, ulenExpected)); in TestUListFmt()
[all …]
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DUtf8Utils.java117 static String[] randomStrings(int stringCount, int charCount, MaxCodePoint maxCodePoint) { in randomStrings() argument
120 String[] strings = new String[stringCount]; in randomStrings()
121 for (int i = 0; i < stringCount; i++) { in randomStrings()
158 int stringCount, int charCount, Utf8Distribution utf8Distribution) { in randomStringsWithDistribution() argument
165 String[] strings = new String[stringCount]; in randomStringsWithDistribution()
166 for (int i = 0; i < stringCount; i++) { in randomStringsWithDistribution()
/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/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/icu/icu4c/source/i18n/unicode/
Dulistformatter.h213 int32_t stringCount,
250 int32_t stringCount,
/external/icu/libandroidicu/include/unicode/
Dulistformatter.h213 int32_t stringCount,
250 int32_t stringCount,
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DDexBackedDexFile.java60 private final int stringCount; field in DexBackedDexFile
90 stringCount = readSmallUint(HeaderItem.STRING_COUNT_OFFSET); in DexBackedDexFile()
158 if (stringIndex < 0 || stringIndex >= stringCount) {
220 return stringCount;
/external/angle/src/tests/compiler_tests/
DShCompile_test.cpp40 void testCompile(const char **shaderStrings, int stringCount, bool expectation) in testCompile() argument
43 bool success = sh::Compile(mCompiler, shaderStrings, stringCount, options); in testCompile()
/external/icu/icu4c/source/common/unicode/
Dusetiter.h282 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.cpp1124 int32_t stringCount = strings->size(); in generateAlternative() local
1133 int32_t s = m_rand() % stringCount; in generateAlternative()
1135 if (tries++ > stringCount) { in generateAlternative()
/external/OpenCL-CTS/test_conformance/conversions/
Dtest_conversions.cpp1555 size_t stringCount = 0; in MakeProgram() local
1571 stringCount = sizeof(programSource) / sizeof(programSource[0]); in MakeProgram()
1622 stringCount = 3 == vectorSizetmp ? sizeof(programSourceV3) / sizeof(programSourceV3[0]) : in MakeProgram()
1666 …error = create_single_kernel_helper(gContext, &program, outKernel, (cl_uint)stringCount, strings, … in MakeProgram()
/external/cldr/tools/java/org/unicode/cldr/tool/
DGenerateXMB.java780 String stringCount = key.substring(1); in showPlurals() local
782 int intCount = Integer.parseInt(stringCount); in showPlurals()
789 value = value.replace("{0}", stringCount); in showPlurals()
/external/icu/libandroidicu/static_shim/
Dshim.cpp1772 … const UChar *const strings[], const int32_t * stringLengths, int32_t stringCount, UChar * result… in ulistfmt_format_android() argument
1773 …return ulistfmt_format(listfmt, strings, stringLengths, stringCount, result, resultCapacity, statu… in ulistfmt_format_android()