/libnativehelper/include/nativehelper/ |
toStringArray.h | 56 int32_t charCount; 57 const jchar* chars = (*getter)(&charCount); 58 ScopedLocalRef<jstring> s(env, env->NewString(chars, charCount));
|
/external/chromium_org/third_party/icu/source/test/letest/ |
letsutil.cpp | 83 le_int32 charCount = text.length(); 85 UBiDi *ubidi = ubidi_openSized(charCount, 0, &status); 87 ubidi_setPara(ubidi, text.getBuffer(), charCount, UBIDI_DEFAULT_LTR, NULL, &status);
|
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...] |
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);
|
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);
|
letest.cpp | 607 int32_t charCount = 0; 653 charCount = text.length(); 684 if (glyphCount < charCount || indexCount != glyphCount || positionCount < glyphCount * 2 + 2) { 685 log_err("Test %s: inconsistent input data: charCount = %d, glyphCount = %d, indexCount = %d, positionCount = %d\n", 686 id, charCount, glyphCount, indexCount, positionCount); 697 actual.glyphCount = engine->layoutChars(text.getBuffer(), 0, charCount, charCount, getRTL(text), 0, 0, success); [all...] |
/external/icu4c/test/letest/ |
letsutil.cpp | 83 le_int32 charCount = text.length(); 85 UBiDi *ubidi = ubidi_openSized(charCount, 0, &status); 87 ubidi_setPara(ubidi, text.getBuffer(), charCount, UBIDI_DEFAULT_LTR, NULL, &status);
|
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...] |
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);
|
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);
|
letest.cpp | 607 int32_t charCount = 0; 653 charCount = text.length(); 684 if (glyphCount < charCount || indexCount != glyphCount || positionCount < glyphCount * 2 + 2) { 685 log_err("Test %s: inconsistent input data: charCount = %d, glyphCount = %d, indexCount = %d, positionCount = %d\n", 686 id, charCount, glyphCount, indexCount, positionCount); 697 actual.glyphCount = engine->layoutChars(text.getBuffer(), 0, charCount, charCount, getRTL(text), 0, 0, success); [all...] |
/libcore/include/ |
ScopedJavaUnicodeString.h | 33 const int32_t charCount = env->GetStringLength(mString); 34 mUnicodeString.setTo(false, mChars, charCount);
|
/frameworks/base/libs/hwui/ |
TextDropShadowCache.cpp | 34 uint32_t charCount = len / sizeof(char16_t); 43 hash = JenkinsHashMixShorts(hash, text, charCount); 46 for (uint32_t i = 0; i < charCount * 2; i++) {
|
TextDropShadowCache.h | 75 uint32_t charCount = len / sizeof(char16_t); 76 str.setTo((const char16_t*) text, charCount); 80 positionsCopy.appendArray(positions, charCount * 2);
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/ |
patricia_trie_policy.cpp | 102 int charCount = maxCodePointCount; 103 while (NOT_A_CODE_POINT != nextChar && --charCount > 0) { 172 int charCount = maxCodePointCount; 173 while (-1 != nextChar && --charCount > 0) {
|
/external/icu4c/samples/layout/ |
paragraph.cpp | 76 Paragraph::Paragraph(const LEUnicode chars[], int32_t charCount, const FontRuns *fontRuns, LEErrorCode &status) 97 fChars = LE_NEW_ARRAY(LEUnicode, charCount + 1); 98 LE_ARRAY_COPY(fChars, chars, charCount); 99 fChars[charCount] = 0; 109 pEnd = &fChars[charCount]; 255 le_int32 charCount; 256 const UChar *text = UnicodeReader::readFile(fileName, guiSupport, charCount); 265 fontRuns.add(font, charCount); 267 result = new Paragraph(text, charCount, &fontRuns, status);
|
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);
|
/external/skia/tests/ |
FontHostTest.cpp | 84 int charCount; 107 face->charsToGlyphs(test.chars, test.typefaceEncoding, faceGlyphIds, test.charCount); 109 for (int i = 0; i < test.charCount; ++i) {
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
BidiRenderer.java | 135 int charCount = Character.isHighSurrogate(mText[start]) ? 2 : 1; 137 canDisplayUpTo = font.mFont.canDisplayUpTo(mText, start, start + charCount); 139 render(start, start+charCount, font, flag, advances, advancesIndex, draw); 140 start += charCount; 141 advancesIndex += charCount; 151 render(start, start + charCount, preferredFont, flag, advances, advancesIndex, 153 start += charCount; 154 advancesIndex += charCount;
|
/libcore/luni/src/main/native/ |
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);
|
/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++)
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
testidna.cpp | [all...] |
/external/chromium_org/third_party/icu/source/test/perf/ubrkperf/ |
ubrkperfold.cpp | 689 int32_t charCount = 0; 716 text[charCount++] = c; 717 if(charCount == bufSize) { 729 printf("file \"%s\", %d charCount code units.\n", opt_fName, charCount); 732 textSize = charCount;
|
/external/icu4c/test/intltest/ |
testidna.cpp | [all...] |
/external/icu4c/test/perf/ubrkperf/ |
ubrkperfold.cpp | 689 int32_t charCount = 0; 716 text[charCount++] = c; 717 if(charCount == bufSize) { 729 printf("file \"%s\", %d charCount code units.\n", opt_fName, charCount); 732 textSize = charCount;
|