/external/icu4c/layout/ |
KhmerReordering.h | 117 static le_int32 reorder(const LEUnicode *theChars, le_int32 charCount, le_int32 scriptCode, 126 static le_int32 findSyllable(const KhmerClassTable *classTable, const LEUnicode *chars, le_int32 prev, le_int32 charCount);
|
TibetanReordering.h | 136 static le_int32 reorder(const LEUnicode *theChars, le_int32 charCount, le_int32 scriptCode, 145 static le_int32 findSyllable(const TibetanClassTable *classTable, const LEUnicode *chars, le_int32 prev, le_int32 charCount);
|
ArabicShaping.cpp | 123 void ArabicShaping::shape(const LEUnicode *chars, le_int32 offset, le_int32 charCount, le_int32 charMax, 153 for (i = offset + charCount; i < charMax; i += 1) { 168 out = charCount - 1; 169 erout = charCount; 173 for (in = offset, e = offset + charCount; in < e; in += 1, out += dir) {
|
ArabicShaping.h | 59 static void shape(const LEUnicode *chars, le_int32 offset, le_int32 charCount, le_int32 charMax,
|
MPreFixups.cpp | 19 MPreFixups::MPreFixups(le_int32 charCount) 22 fFixupData = LE_NEW_ARRAY(FixupData, charCount);
|
KhmerReordering.cpp | 336 le_int32 KhmerReordering::findSyllable(const KhmerClassTable *classTable, const LEUnicode *chars, le_int32 prev, le_int32 charCount) 341 while (cursor < charCount) { 359 le_int32 KhmerReordering::reorder(const LEUnicode *chars, le_int32 charCount, le_int32 /*scriptCode*/, 371 while (prev < charCount) { 372 le_int32 syllable = findSyllable(classTable, chars, prev, charCount);
|
TibetanReordering.cpp | 299 le_int32 TibetanReordering::findSyllable(const TibetanClassTable *classTable, const LEUnicode *chars, le_int32 prev, le_int32 charCount) 304 while (cursor < charCount) { 322 le_int32 TibetanReordering::reorder(const LEUnicode *chars, le_int32 charCount, le_int32, 333 while (prev < charCount) { 334 le_int32 syllable = findSyllable(classTable, chars, prev, charCount);
|
IndicReordering.h | 152 static le_int32 reorder(const LEUnicode *theChars, le_int32 charCount, le_int32 scriptCode, 158 static le_int32 v2process(const LEUnicode *theChars, le_int32 charCount, le_int32 scriptCode, 175 static le_int32 findSyllable(const IndicClassTable *classTable, const LEUnicode *chars, le_int32 prev, le_int32 charCount);
|
LayoutEngine.h | 313 * @param charCount - the number of input characers 323 static void adjustMarkGlyphs(const LEUnicode chars[], le_int32 charCount, le_bool reverse, LEGlyphStorage &glyphStorage, LEGlyphFilter *markFilter, LEErrorCode &success);
|
/external/icu4c/samples/layout/ |
pflow.c | 108 pf_flow *pf_create(const LEUnicode chars[], le_int32 charCount, const pl_fontRuns *fontRuns, LEErrorCode *status) 149 flow->fChars = NEW_ARRAY(LEUnicode, charCount + 1); 150 LE_ARRAY_COPY(flow->fChars, chars, charCount); 151 flow->fChars[charCount] = 0; 161 pEnd = &flow->fChars[charCount]; 355 le_int32 charCount; 356 const UChar *text = uc_readFile(fileName, guiSupport, &charCount); 366 pl_addFontRun(fontRuns, font, charCount); 368 result = pf_create(text, charCount, fontRuns, &status);
|
paragraph.h | 36 Paragraph(const LEUnicode chars[], le_int32 charCount, const FontRuns *fontRuns, LEErrorCode &status);
|
/frameworks/base/libs/hwui/ |
TextDropShadowCache.h | 73 uint32_t charCount = len / sizeof(char16_t); 74 str.setTo((const char16_t*) text, charCount); 78 positionsCopy.appendArray(positions, charCount * 2);
|
TextDropShadowCache.cpp | 33 uint32_t charCount = len / sizeof(char16_t); 42 hash = JenkinsHashMixShorts(hash, text, charCount); 45 for (uint32_t i = 0; i < charCount * 2; i++) {
|
/external/icu4c/test/letest/ |
xmlreader.cpp | 176 int32_t charCount = 0; 210 charCount = text.length(); 232 if (glyphCount < charCount || indexCount != glyphCount || positionCount < glyphCount * 2 + 2) { 233 log_err("Test %s: inconsistent input data: charCount = %d, glyphCount = %d, indexCount = %d, positionCount = %d\n", 234 id, charCount, glyphCount, indexCount, positionCount); 238 (*callback)(id, fontName, fontVer, fontCksum, scriptCode, languageCode, text.getBuffer(), charCount, &expected);
|
gendata.cpp | 156 int32_t charCount = 0; 229 charCount = text.length(); 257 glyphCount = engine->layoutChars(text.getBuffer(), 0, charCount, charCount, getRTL(text), 0, 0, leStatus);
|
cletest.c | 421 static le_bool getRTL(const LEUnicode *text, le_int32 charCount) 426 UBiDi *ubidi = ubidi_openSized(charCount, 0, &status); 428 ubidi_setPara(ubidi, text, charCount, UBIDI_DEFAULT_LTR, NULL, &status); 445 le_int32 charCount, 470 actual.glyphCount = le_layoutChars(engine, text, 0, charCount, charCount, getRTL(text, charCount), 0, 0, &status); 635 le_int32 charCount = LE_ARRAY_SIZE(chars); 648 pl_addFontRun(fontRuns, font, charCount); 650 paragraph = pl_create(chars, charCount, fontRuns, NULL, NULL, NULL, 0, FALSE, &status) [all...] |
/external/icu4c/test/thaitest/ |
thaitest.cpp | 109 // charCount - set to the number of UChars read from the file 111 static const UChar *readFile(char *fileName, int32_t &charCount); 305 const UChar *ThaiWordbreakTest::readFile(char *fileName, int32_t &charCount) 345 charCount = myText.length(); 346 buffer = new UChar[charCount]; 353 charCount--; // skip the BOM 354 buffer[charCount] = 0; // NULL terminate for easier reading in the debugger
|
/libcore/luni/src/main/native/ |
libcore_icu_ICU.cpp | 167 int32_t charCount; 168 const jchar* chars = ures_getString(currencyId.get(), &charCount, &status); 169 return (charCount == 0) ? env->NewStringUTF("XXX") : env->NewString(chars, charCount); 184 int32_t charCount; 186 nameStyle, &isChoiceFormat, &charCount, &status); 198 charCount = icuCurrencyCode.length(); 201 return (charCount == 0) ? NULL : env->NewString(chars, charCount); 312 int charCount; [all...] |
libcore_icu_NativeDecimalFormat.cpp | 178 uint32_t charCount = 0; 179 uint32_t desiredCount = unum_getTextAttribute(fmt, attr, chars.get(), charCount, &status); 183 charCount = desiredCount + 1; 184 chars.reset(new UChar[charCount]); 185 charCount = unum_getTextAttribute(fmt, attr, chars.get(), charCount, &status); 187 return maybeThrowIcuException(env, "unum_getTextAttribute", status) ? NULL : env->NewString(chars.get(), charCount);
|
/libcore/luni/src/main/java/java/nio/ |
MemoryBlock.java | 155 public final void pokeCharArray(int offset, char[] src, int srcOffset, int charCount, boolean swap) { 156 Memory.pokeCharArray(address + offset, src, srcOffset, charCount, swap); 187 public final void peekCharArray(int offset, char[] dst, int dstOffset, int charCount, boolean swap) { 188 Memory.peekCharArray(address + offset, dst, dstOffset, charCount, swap);
|
DirectByteBuffer.java | 113 final void get(char[] dst, int dstOffset, int charCount) { 114 int byteCount = checkGetBounds(SizeOf.CHAR, dst.length, dstOffset, charCount); 115 this.block.peekCharArray(offset + position, dst, dstOffset, charCount, order.needsSwap); 313 final void put(char[] src, int srcOffset, int charCount) { 314 int byteCount = checkPutBounds(SizeOf.CHAR, src.length, srcOffset, charCount); 315 this.block.pokeCharArray(offset + position, src, srcOffset, charCount, order.needsSwap);
|
/libcore/luni/src/main/java/java/math/ |
BigInt.java | 161 int charCount = s.length(); 163 if (charCount > 0) { 168 --charCount; 173 if (charCount - i == 0) { 177 for (; i < charCount; ++i) {
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/ |
CdmaSmsCbTest.java | 214 int charCount = body.length(); 215 int recordBits = (charCount * 7) + 5; // add 5 bits for char set field 227 bos.write(8, charCount); 230 for (int i = 0; i < charCount; i++) { 240 int charCount = encodedBody[0]; // septet count 241 int recordBits = (charCount * 7) + 5; // add 5 bits for char set field 260 bos.write(8, charCount); 263 bos.writeByteArray(charCount * 7, bodySeptets); 267 int charCount = body.length(); 268 int recordBits = (charCount * 6) + 21; // add 21 bits for header field [all...] |
/external/icu4c/samples/ucnv/ |
convsamp.cpp | 401 UChar32 charCount = 0x10000; /* increase this if you want to handle non bmp.. todo: automatically bump it.. */ 415 info = (CharFreqInfo*)malloc(sizeof(CharFreqInfo) * charCount); 418 fprintf(stderr, " Couldn't allocate %d bytes for freq counter\n", sizeof(CharFreqInfo)*charCount); 422 for(p=0;p<charCount;p++) 465 if(p>charCount) 486 // qsort(info, charCount, sizeof(info[0]), charfreq_compare); 488 for(p=0;p<charCount;p++)
|
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ui/ |
DirListActivity.java | 381 int charCount = mListView.getWidth() / MEAN_TITLE_CHAR_SIZE; 383 if (title.length() > charCount) { 384 return "..." + title.substring(title.length() - charCount);
|