Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Dulistformatter.cpp72 int32_t stringCount, in getUnicodeStrings() argument
77 if (stringCount < 0 || (strings == NULL && stringCount > 0)) { in getUnicodeStrings()
82 if (stringCount > 4) { in getUnicodeStrings()
83 maybeOwner.adoptInsteadAndCheckErrorCode(new UnicodeString[stringCount], status); in getUnicodeStrings()
90 for (int32_t stringIndex = 0; stringIndex < stringCount; stringIndex++) { in getUnicodeStrings()
94 for (int32_t stringIndex = 0; stringIndex < stringCount; stringIndex++) { in getUnicodeStrings()
106 int32_t stringCount, in ulistfmt_format() argument
121 strings, stringLengths, stringCount, length4StackBuffer, maybeOwner, *status); in ulistfmt_format()
131 reinterpret_cast<const ListFormatter*>(listfmt)->format( ustrings, stringCount, res, *status ); in ulistfmt_format()
141 int32_t stringCount, in ulistfmt_formatStringsToResult() argument
[all …]
Ddtfmtsym.cpp1990 int32_t &stringCount, UErrorCode &status) { in loadDayPeriodStrings() argument
1996 stringCount = UPRV_LENGTHOF(dayPeriodKeys); in loadDayPeriodStrings()
1997 UnicodeString *strings = new UnicodeString[stringCount]; in loadDayPeriodStrings()
2004 for (int32_t i = 0; i < stringCount; ++i) { in loadDayPeriodStrings()
2014 for (int32_t i = 0; i < stringCount; i++) { in loadDayPeriodStrings()
/external/icu/icu4c/source/test/cintltst/
Dulistfmttest.c46 int32_t stringCount; member
77 …t ulenActual = ulistfmt_format(listfmt, strings, stringLengths, lftep->stringCount, ubufActual, kU… in TestUListFmt()
79 …locale %s count %d (real lengths), status %s\n", lftep->locale, lftep->stringCount, u_errorName(st… in TestUListFmt()
85 … lftep->stringCount, aescstrdup(ubufActual, ulenActual), aescstrdup(ubufExpected, ulenExpected)); in TestUListFmt()
90 …ulenActual = ulistfmt_format(listfmt, strings, stringLengthsNeg, lftep->stringCount, ubufActual, k… in TestUListFmt()
92 …r locale %s count %d (-1 lengths), status %s\n", lftep->locale, lftep->stringCount, u_errorName(st… in TestUListFmt()
98 … lftep->stringCount, aescstrdup(ubufActual, ulenActual), aescstrdup(ubufExpected, ulenExpected)); in TestUListFmt()
103 …ulenActual = ulistfmt_format(listfmt, strings, NULL, lftep->stringCount, ubufActual, kUBufMax, &st… in TestUListFmt()
105 …locale %s count %d (NULL lengths), status %s\n", lftep->locale, lftep->stringCount, u_errorName(st… in TestUListFmt()
111 … 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/libicu/cts_headers/unicode/
Dulistformatter.h291 int32_t stringCount,
327 int32_t stringCount,
Dusetiter.h282 int32_t stringCount; variable
/external/icu/libandroidicu/include/unicode/
Dulistformatter.h291 int32_t stringCount,
327 int32_t stringCount,
/external/icu/icu4c/source/i18n/unicode/
Dulistformatter.h291 int32_t stringCount,
327 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.cpp520 int32_t stringCount = strings->size(); in minLengthInChars() local
522 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.cpp1560 size_t stringCount = 0; in MakeProgram() local
1576 stringCount = sizeof(programSource) / sizeof(programSource[0]); in MakeProgram()
1627 stringCount = 3 == vectorSizetmp ? sizeof(programSourceV3) / sizeof(programSourceV3[0]) : in MakeProgram()
1671 …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()