/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | Utf8Utils.java | 117 static String[] randomStrings(int stringCount, int charCount, MaxCodePoint maxCodePoint) { in randomStrings() argument 122 strings[i] = randomString(rnd, charCount, maxCodePoint); in randomStrings() 134 static String randomString(Random rnd, int charCount, MaxCodePoint maxCodePoint) { in randomString() argument 136 for (int i = 0; i < charCount; i++) { in randomString() 158 int stringCount, int charCount, Utf8Distribution utf8Distribution) { in randomStringsWithDistribution() argument 168 for (int j = 0; j < charCount; j++) { in randomStringsWithDistribution()
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/ |
D | ArabicCharacterData.java | 73 private ArabicCharacterData(int charCount) in ArabicCharacterData() argument 75 records = new Record[charCount]; in ArabicCharacterData() 104 int charCount = characterSet.size(); in factory() local 105 ArabicCharacterData data = new ArabicCharacterData(charCount); in factory() 107 for (int i = 0; i < charCount; i += 1) { in factory()
|
D | CanonicalCharacterData.java | 170 int charCount = characterSet.size(); in factory() local 173 … System.out.println("There are " + charCount + " characters with a canonical decomposition."); in factory() 175 for (int i = 0; i < charCount; i += 1) { in factory()
|
/external/icu/icu4c/source/samples/layout/ |
D | paragraph.cpp | 82 Paragraph::Paragraph(const LEUnicode chars[], int32_t charCount, const FontRuns *fontRuns, LEErrorC… in Paragraph() argument 103 fChars = LE_NEW_ARRAY(LEUnicode, charCount + 1); in Paragraph() 104 LE_ARRAY_COPY(fChars, chars, charCount); in Paragraph() 105 fChars[charCount] = 0; in Paragraph() 115 pEnd = &fChars[charCount]; in Paragraph() 266 le_int32 charCount; in paragraphFactory() local 267 const UChar *text = UnicodeReader::readFile(fileName, guiSupport, charCount); in paragraphFactory() 276 fontRuns.add(font, charCount); in paragraphFactory() 278 result = new Paragraph(text, charCount, &fontRuns, status); in paragraphFactory()
|
D | pflow.c | 111 pf_flow *pf_create(const LEUnicode chars[], le_int32 charCount, const pl_fontRuns *fontRuns, LEErro… in pf_create() argument 152 flow->fChars = NEW_ARRAY(LEUnicode, charCount + 1); in pf_create() 153 LE_ARRAY_COPY(flow->fChars, chars, charCount); in pf_create() 154 flow->fChars[charCount] = 0; in pf_create() 164 pEnd = &flow->fChars[charCount]; in pf_create() 358 le_int32 charCount; in pf_factory() local 359 const UChar *text = uc_readFile(fileName, guiSupport, &charCount); in pf_factory() 369 pl_addFontRun(fontRuns, font, charCount); in pf_factory() 371 result = pf_create(text, charCount, fontRuns, &status); in pf_factory()
|
D | UnicodeReader.cpp | 30 …st UChar *UnicodeReader::readFile(const char *fileName, GUISupport *guiSupport, int32_t &charCount) in readFile() argument 110 charCount = myText.length(); in readFile() 111 charBuffer = LE_NEW_ARRAY(UChar, charCount + 1); in readFile() 119 charBuffer[charCount] = 0; // NULL terminate for easier reading in the debugger in readFile()
|
D | ucreader.cpp | 18 const UChar *uc_readFile(const char *fileName, gs_guiSupport *guiSupport, int32_t *charCount) in uc_readFile() argument 20 return UnicodeReader::readFile(fileName, (GUISupport *) guiSupport, *charCount); in uc_readFile()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/ |
D | NioZipEncoding.java | 98 int charCount = 0; in encode() local 100 charCount += !enc.canEncode(cb.get(i)) ? 6 : 1; in encode() 102 int totalExtraSpace = estimateIncrementalEncodingSize(enc, charCount); in encode() 212 private static int estimateIncrementalEncodingSize(CharsetEncoder enc, int charCount) { in estimateIncrementalEncodingSize() argument 213 return (int) Math.ceil(charCount * enc.averageBytesPerChar()); in estimateIncrementalEncodingSize()
|
/external/icu/icu4c/source/test/letest/ |
D | cletest.c | 425 static le_bool getRTL(const LEUnicode *text, le_int32 charCount) in getRTL() argument 430 UBiDi *ubidi = ubidi_openSized(charCount, 0, &status); in getRTL() 432 ubidi_setPara(ubidi, text, charCount, UBIDI_DEFAULT_LTR, NULL, &status); in getRTL() 449 le_int32 charCount, in doTestCase() argument 474 …actual.glyphCount = le_layoutChars(engine, text, 0, charCount, charCount, getRTL(text, charCount),… in doTestCase() 640 le_int32 charCount = LE_ARRAY_SIZE(chars); in GlyphToCharTest() local 653 pl_addFontRun(fontRuns, font, charCount); in GlyphToCharTest() 655 paragraph = pl_create(chars, charCount, fontRuns, NULL, NULL, NULL, 0, FALSE, &status); in GlyphToCharTest()
|
D | letsutil.cpp | 87 le_int32 charCount = text.length(); in getRTL() local 89 UBiDi *ubidi = ubidi_openSized(charCount, 0, &status); in getRTL() 91 ubidi_setPara(ubidi, text.getBuffer(), charCount, UBIDI_DEFAULT_LTR, NULL, &status); in getRTL()
|
D | xmlreader.cpp | 178 int32_t charCount = 0; in readTestFile() local 212 charCount = text.length(); in readTestFile() 234 … if (glyphCount < charCount || indexCount != glyphCount || positionCount < glyphCount * 2 + 2) { in readTestFile() 236 id, charCount, glyphCount, indexCount, positionCount); in readTestFile() 240 …d, fontName, fontVer, fontCksum, scriptCode, languageCode, text.getBuffer(), charCount, &expected); in readTestFile()
|
D | letest.cpp | 610 int32_t charCount = 0; in DataDrivenTest() local 656 charCount = text.length(); in DataDrivenTest() 687 … if (glyphCount < charCount || indexCount != glyphCount || positionCount < glyphCount * 2 + 2) { in DataDrivenTest() 689 id, charCount, glyphCount, indexCount, positionCount); in DataDrivenTest() 700 …actual.glyphCount = engine->layoutChars(text.getBuffer(), 0, charCount, charCount, getRTL(text), 0… in DataDrivenTest() 876 le_int32 charCount = LE_ARRAY_SIZE(chars); in GlyphToCharTest() local 886 fontRuns.add(font, charCount); in GlyphToCharTest() 888 …paragraphLayout = new ParagraphLayout(chars, charCount, &fontRuns, NULL, NULL, NULL, 0, FALSE, sta… in GlyphToCharTest()
|
/external/icu/icu4c/source/test/perf/leperf/ |
D | xmlreader.cpp | 182 int32_t charCount = 0; in readTestFile() local 216 charCount = text.length(); in readTestFile() 238 … if (glyphCount < charCount || indexCount != glyphCount || positionCount < glyphCount * 2 + 2) { in readTestFile() 240 id, charCount, glyphCount, indexCount, positionCount); in readTestFile() 244 …d, fontName, fontVer, fontCksum, scriptCode, languageCode, text.getBuffer(), charCount, &expected); in readTestFile()
|
/external/icu/icu4c/source/test/thaitest/ |
D | thaitest.cpp | 113 static const UChar *readFile(char *fileName, int32_t &charCount); 307 const UChar *ThaiWordbreakTest::readFile(char *fileName, int32_t &charCount) in readFile() argument 347 charCount = myText.length(); in readFile() 348 buffer = new UChar[charCount]; in readFile() 355 charCount--; // skip the BOM in readFile() 356 buffer[charCount] = 0; // NULL terminate for easier reading in the debugger in readFile()
|
/external/angle/third_party/vulkan-deps/glslang/src/SPIRV/ |
D | spvIR.h | 117 int charCount = 0; in addStringOperand() local 122 ++charCount; in addStringOperand() 123 if (charCount == 4) { in addStringOperand() 126 charCount = 0; in addStringOperand() 131 if (charCount > 0) { in addStringOperand() 133 for (; charCount < 4; ++charCount) in addStringOperand()
|
/external/deqp-deps/glslang/SPIRV/ |
D | spvIR.h | 117 int charCount = 0; in addStringOperand() local 122 ++charCount; in addStringOperand() 123 if (charCount == 4) { in addStringOperand() 126 charCount = 0; in addStringOperand() 131 if (charCount > 0) { in addStringOperand() 133 for (; charCount < 4; ++charCount) in addStringOperand()
|
/external/icu/android_icu4j/libcore_bridge/src/native/ |
D | ScopedJavaUnicodeString.h | 33 const int32_t charCount = env->GetStringLength(mString); in ScopedJavaUnicodeString() local 34 mUnicodeString.setTo(false, mChars, charCount); in ScopedJavaUnicodeString()
|
/external/dokka/core/src/main/kotlin/Model/ |
D | CodeNode.kt | 33 i += Character.charCount(c) in removeInitialWhitespace() 39 i += Character.charCount(c) in removeInitialWhitespace()
|
/external/cldr/tools/java/org/unicode/cldr/draft/ |
D | ShortestCanonicalForm.java | 127 end = UCharacter.charCount(string.codePointAt(start)); in SubstringIterator() 139 end += UCharacter.charCount(string.codePointAt(end)); in next() 141 start += UCharacter.charCount(string.codePointAt(start)); in next() 143 end = start + UCharacter.charCount(string.codePointAt(start)); in next() 190 for (int i = 0; i < len; i += Character.charCount(cp)) { in normalize()
|
D | UnicodeSetFilteredTransform.java | 30 for (; i < length; i += Character.charCount(cp)) { in getNextRegion() 42 for (; i < length; i += Character.charCount(cp)) { in getNextRegion()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | Normalizer2Impl.java | 206 start+=Character.charCount(c); in append() 210 start+=Character.charCount(c); in append() 361 codePointStart-=Character.charCount(c); in previousCC() 672 while((mapping+=Character.charCount(c2))<limit) { in ensureCanonIterData() 1055 src+=Character.charCount(c); in decompose() 1090 src+=Character.charCount(c); in decomposeAndAppend() 1292 src += Character.charCount(c); in compose() 1298 src += Character.charCount(c); in compose() 1312 prevSrc -= Character.charCount(c); in compose() 1394 prevBoundary -= Character.charCount(c); in composeQuickCheck() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | Normalizer2Impl.java | 200 start+=Character.charCount(c); in append() 204 start+=Character.charCount(c); in append() 355 codePointStart-=Character.charCount(c); in previousCC() 663 while((mapping+=Character.charCount(c2))<limit) { in ensureCanonIterData() 1046 src+=Character.charCount(c); in decompose() 1081 src+=Character.charCount(c); in decomposeAndAppend() 1283 src += Character.charCount(c); in compose() 1289 src += Character.charCount(c); in compose() 1303 prevSrc -= Character.charCount(c); in compose() 1385 prevBoundary -= Character.charCount(c); in composeQuickCheck() [all …]
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | CLDRFilePseudolocalizer.java | 82 private int charCount = 0; field in CLDRFilePseudolocalizer.PseudolocalizerXA 181 charCount = 0; in start() 188 int expansion = (charCount + 1) / 2; in end() 213 charCount++; in fragment() 214 index += Character.charCount(codePoint); in fragment() 246 index += Character.charCount(codePoint); in fragment()
|
/external/caliper/examples/src/main/java/examples/ |
D | Utf8Benchmark.java | 92 @Param({"65536"}) int charCount; field in Utf8Benchmark 104 for (int j = 0; j < charCount; j++) { in setUp()
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
D | FCDUTF16CollationIterator.java | 267 p += Character.charCount(c); 281 p += Character.charCount(c); 343 p -= Character.charCount(c); 358 p -= Character.charCount(c);
|