HomeSort by relevance Sort by last modified time
    Searched refs:charCount (Results 1 - 25 of 167) sorted by null

1 2 3 4 5 6 7

  /external/icu/icu4c/source/samples/layout/
ucreader.cpp 18 const UChar *uc_readFile(const char *fileName, gs_guiSupport *guiSupport, int32_t *charCount)
20 return UnicodeReader::readFile(fileName, (GUISupport *) guiSupport, *charCount);
UnicodeReader.h 32 static const UChar *readFile(const char *fileName, GUISupport *guiSupport, int32_t &charCount);
ucreader.h 18 const UChar *uc_readFile(const char *fileName, gs_guiSupport *guiSupport, int32_t *charCount);
UnicodeReader.cpp 30 const UChar *UnicodeReader::readFile(const char *fileName, GUISupport *guiSupport, int32_t &charCount)
110 charCount = myText.length();
111 charBuffer = LE_NEW_ARRAY(UChar, charCount + 1);
119 charBuffer[charCount] = 0; // NULL terminate for easier reading in the debugger
pflow.h 24 pf_flow *pf_create(const LEUnicode chars[], le_int32 charCount, const pl_fontRuns *fontRuns, LEErrorCode *status);
paragraph.cpp 82 Paragraph::Paragraph(const LEUnicode chars[], int32_t charCount, const FontRuns *fontRuns, LEErrorCode &status)
103 fChars = LE_NEW_ARRAY(LEUnicode, charCount + 1);
104 LE_ARRAY_COPY(fChars, chars, charCount);
105 fChars[charCount] = 0;
115 pEnd = &fChars[charCount];
266 le_int32 charCount;
267 const UChar *text = UnicodeReader::readFile(fileName, guiSupport, charCount);
276 fontRuns.add(font, charCount);
278 result = new Paragraph(text, charCount, &fontRuns, status);
pflow.c 111 pf_flow *pf_create(const LEUnicode chars[], le_int32 charCount, const pl_fontRuns *fontRuns, LEErrorCode *status)
152 flow->fChars = NEW_ARRAY(LEUnicode, charCount + 1);
153 LE_ARRAY_COPY(flow->fChars, chars, charCount);
154 flow->fChars[charCount] = 0;
164 pEnd = &flow->fChars[charCount];
358 le_int32 charCount;
359 const UChar *text = uc_readFile(fileName, guiSupport, &charCount);
369 pl_addFontRun(fontRuns, font, charCount);
371 result = pf_create(text, charCount, fontRuns, &status);
  /external/icu/icu4c/source/test/letest/
xmlreader.h 22 le_int32 charCount,
letsutil.cpp 87 le_int32 charCount = text.length();
89 UBiDi *ubidi = ubidi_openSized(charCount, 0, &status);
91 ubidi_setPara(ubidi, text.getBuffer(), charCount, UBIDI_DEFAULT_LTR, NULL, &status);
xmlreader.cpp 178 int32_t charCount = 0;
212 charCount = text.length();
234 if (glyphCount < charCount || indexCount != glyphCount || positionCount < glyphCount * 2 + 2) {
235 log_err("Test %s: inconsistent input data: charCount = %d, glyphCount = %d, indexCount = %d, positionCount = %d\n",
236 id, charCount, glyphCount, indexCount, positionCount);
240 (*callback)(id, fontName, fontVer, fontCksum, scriptCode, languageCode, text.getBuffer(), charCount, &expected);
  /external/icu/icu4c/source/test/perf/leperf/
xmlreader.h 23 le_int32 charCount,
xmlreader.cpp 182 int32_t charCount = 0;
216 charCount = text.length();
238 if (glyphCount < charCount || indexCount != glyphCount || positionCount < glyphCount * 2 + 2) {
239 log_err("Test %s: inconsistent input data: charCount = %d, glyphCount = %d, indexCount = %d, positionCount = %d\n",
240 id, charCount, glyphCount, indexCount, positionCount);
244 (*callback)(id, fontName, fontVer, fontCksum, scriptCode, languageCode, text.getBuffer(), charCount, &expected);
  /external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
ArabicCharacterData.java 73 private ArabicCharacterData(int charCount)
75 records = new Record[charCount];
104 int charCount = characterSet.size();
105 ArabicCharacterData data = new ArabicCharacterData(charCount);
107 for (int i = 0; i < charCount; i += 1) {
CanonicalCharacterData.java 170 int charCount = characterSet.size();
173 System.out.println("There are " + charCount + " characters with a canonical decomposition.");
175 for (int i = 0; i < charCount; i += 1) {
  /external/swiftshader/third_party/PowerVR_SDK/Tools/
PVRTUnicode.cpp 231 unsigned int charCount = 0;
240 charCount += (unsigned int) (pC - pStart);
259 charCount++;
262 return charCount;
276 unsigned int charCount = 0;
289 charCount++;
292 return charCount;
  /external/cldr/tools/java/org/unicode/cldr/draft/
UnicodeSetFilteredTransform.java 30 for (; i < length; i += Character.charCount(cp)) {
42 for (; i < length; i += Character.charCount(cp)) {
  /cts/tests/tests/text/src/android/text/cts/
MakeSafeForPresentationTest.java 53 int charCount = Character.charCount(in.codePointAt(offset));
55 .append(in.substring(offset, offset + charCount)).append("\"");
56 offset += charCount;
92 final int codePointLen = Character.charCount(abbrCodePoint);
  /external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/
NioZipEncoding.java 98 int charCount = 0;
100 charCount += !enc.canEncode(cb.get(i)) ? 6 : 1;
102 int totalExtraSpace = estimateIncrementalEncodingSize(enc, charCount);
209 * @param charCount number of characters remaining
212 private static int estimateIncrementalEncodingSize(CharsetEncoder enc, int charCount) {
213 return (int) Math.ceil(charCount * enc.averageBytesPerChar());
  /external/caliper/examples/src/main/java/examples/
Utf8Benchmark.java 92 @Param({"65536"}) int charCount;
104 for (int j = 0; j < charCount; j++) {
  /external/icu/icu4c/source/test/thaitest/
thaitest.cpp 111 // charCount - set to the number of UChars read from the file
113 static const UChar *readFile(char *fileName, int32_t &charCount);
307 const UChar *ThaiWordbreakTest::readFile(char *fileName, int32_t &charCount)
347 charCount = myText.length();
348 buffer = new UChar[charCount];
355 charCount--; // skip the BOM
356 buffer[charCount] = 0; // NULL terminate for easier reading in the debugger
  /cts/common/device-side/util/src/com/android/compatibility/common/util/
PackageUtil.java 100 final int charCount = 3 * digestLength - 1;
102 final char[] chars = new char[charCount];
  /cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
PackageUtil.java 114 final int charCount = 3 * digestLength - 1;
116 final char[] chars = new char[charCount];
  /external/guava/guava-tests/benchmark/com/google/common/base/
Utf8Benchmark.java 87 @Param({"16384"}) int charCount;
105 for (int j = 0; j < charCount; j++) {
  /external/icu/android_icu4j/src/main/java/android/icu/util/
CodePointMap.java 263 sIndex += Character.charCount(c);
282 sIndex -= Character.charCount(c);
  /external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/sbcs/
Checker.java 135 public int checkBuffer(char[] theBuffer, int charCount)
138 bufMax = charCount;

Completed in 1347 milliseconds

1 2 3 4 5 6 7