/external/swiftshader/third_party/PowerVR_SDK/Tools/ |
D | PVRTUnicode.cpp | 231 unsigned int charCount = 0; in PVRTUnicodeUTF8Length() local 240 charCount += (unsigned int) (pC - pStart); in PVRTUnicodeUTF8Length() 259 charCount++; in PVRTUnicodeUTF8Length() 262 return charCount; in PVRTUnicodeUTF8Length() 276 unsigned int charCount = 0; in PVRTUnicodeUTF16Length() local 289 charCount++; in PVRTUnicodeUTF16Length() 292 return charCount; in PVRTUnicodeUTF16Length()
|
/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/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/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()
|
D | gendata.cpp | 201 int32_t charCount = 0; in main() local 287 charCount = text.length(); in main() 316 …glyphCount = engine->layoutChars(text.getBuffer(), 0, charCount, charCount, getRTL(text), 0, 0, le… in main()
|
/external/deqp-deps/glslang/SPIRV/ |
D | spvIR.h | 115 int charCount = 0; in addStringOperand() local 120 ++charCount; in addStringOperand() 121 if (charCount == 4) { in addStringOperand() 124 charCount = 0; in addStringOperand() 129 if (charCount > 0) { in addStringOperand() 131 for (; charCount < 4; ++charCount) in addStringOperand()
|
/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/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/draft/ |
D | ShortestCanonicalForm.java | 127 end = UCharacter.charCount(string.codePointAt(start)); in SubstringIterator() 137 end += UCharacter.charCount(string.codePointAt(end)); in next() 139 start += UCharacter.charCount(string.codePointAt(start)); in next() 141 end = start + UCharacter.charCount(string.codePointAt(start)); in next() 187 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/cldr/tools/java/org/unicode/cldr/tool/ |
D | CLDRFilePseudolocalizer.java | 82 private int charCount = 0; field in CLDRFilePseudolocalizer.PseudolocalizerXA 180 charCount = 0; in start() 186 int expansion = (charCount + 1) / 2; in end() 210 charCount++; in fragment() 211 index += Character.charCount(codePoint); in fragment() 242 index += Character.charCount(codePoint); in fragment()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
D | FCDUTF16CollationIterator.java | 269 p += Character.charCount(c); 283 p += Character.charCount(c); 345 p -= Character.charCount(c); 360 p -= Character.charCount(c);
|
D | FCDIterCollationIterator.java | 83 pos += Character.charCount(c); in nextCodePoint() 89 pos += Character.charCount(c); in nextCodePoint() 137 pos -= Character.charCount(c); in previousCodePoint() 142 pos -= Character.charCount(c); in previousCodePoint()
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
D | FCDIterCollationIterator.java | 81 pos += Character.charCount(c); in nextCodePoint() 87 pos += Character.charCount(c); in nextCodePoint() 135 pos -= Character.charCount(c); in previousCodePoint() 140 pos -= Character.charCount(c); in previousCodePoint()
|
D | FCDUTF16CollationIterator.java | 267 p += Character.charCount(c); 281 p += Character.charCount(c); 343 p -= Character.charCount(c); 358 p -= Character.charCount(c);
|