Searched refs:charCount (Results 1 - 25 of 146) sorted by relevance

123456

/external/icu/icu4c/source/samples/layout/
H A Ducreader.cpp15 const UChar *uc_readFile(const char *fileName, gs_guiSupport *guiSupport, int32_t *charCount) argument
17 return UnicodeReader::readFile(fileName, (GUISupport *) guiSupport, *charCount);
H A DUnicodeReader.h28 static const UChar *readFile(const char *fileName, GUISupport *guiSupport, int32_t &charCount);
H A Ducreader.h15 const UChar *uc_readFile(const char *fileName, gs_guiSupport *guiSupport, int32_t *charCount);
H A DUnicodeReader.cpp26 const UChar *UnicodeReader::readFile(const char *fileName, GUISupport *guiSupport, int32_t &charCount) argument
106 charCount = myText.length();
107 charBuffer = LE_NEW_ARRAY(UChar, charCount + 1);
115 charBuffer[charCount] = 0; // NULL terminate for easier reading in the debugger
H A Dparagraph.cpp76 Paragraph::Paragraph(const LEUnicode chars[], int32_t charCount, const FontRuns *fontRuns, LEErrorCode &status) argument
97 fChars = LE_NEW_ARRAY(LEUnicode, charCount + 1);
98 LE_ARRAY_COPY(fChars, chars, charCount);
99 fChars[charCount] = 0;
109 pEnd = &fChars[charCount];
260 le_int32 charCount; local
261 const UChar *text = UnicodeReader::readFile(fileName, guiSupport, charCount);
270 fontRuns.add(font, charCount);
272 result = new Paragraph(text, charCount, &fontRuns, status);
H A Dpflow.h21 pf_flow *pf_create(const LEUnicode chars[], le_int32 charCount, const pl_fontRuns *fontRuns, LEErrorCode *status);
H A Dpflow.c108 pf_flow *pf_create(const LEUnicode chars[], le_int32 charCount, const pl_fontRuns *fontRuns, LEErrorCode *status) argument
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; local
356 const UChar *text = uc_readFile(fileName, guiSupport, &charCount);
366 pl_addFontRun(fontRuns, font, charCount);
368 result = pf_create(text, charCount, fontRuns, &status);
/external/libgdx/gdx/src/com/badlogic/gdx/utils/
H A DDataInput.java58 int charCount = readInt(true);
59 switch (charCount) {
65 charCount--;
66 if (chars.length < charCount) chars = new char[charCount];
71 while (charIndex < charCount) {
77 if (charIndex < charCount) readUtf8_slow(charCount, charIndex, b);
78 return new String(chars, 0, charCount);
81 private void readUtf8_slow (int charCount, in argument
[all...]
H A DDataOutput.java67 int charCount = value.length();
68 if (charCount == 0) {
72 writeInt(charCount + 1, true);
75 for (; charIndex < charCount; charIndex++) {
80 if (charIndex < charCount) writeString_slow(value, charCount, charIndex);
83 private void writeString_slow (String value, int charCount, int charIndex) throws IOException { argument
84 for (; charIndex < charCount; charIndex++) {
/external/icu/icu4c/source/layout/
H A DCanonShaping.cpp34 void CanonShaping::reorderMarks(const LEUnicode *inChars, le_int32 charCount, le_bool rightToLeft, argument
40 le_int32 *combiningClasses = LE_NEW_ARRAY(le_int32, charCount);
41 le_int32 *indices = LE_NEW_ARRAY(le_int32, charCount);
44 for (i = 0; i < charCount; i += 1) {
49 for (i = 0; i < charCount; i += 1) {
53 for (mark = i; mark < charCount; mark += 1) {
66 out = charCount - 1;
70 for (i = 0; i < charCount; i += 1, out += dir) {
H A DMPreFixups.h27 MPreFixups(le_int32 charCount);
H A DCanonShaping.h24 static void reorderMarks(const LEUnicode *inChars, le_int32 charCount, le_bool rightToLeft,
H A DKhmerReordering.h117 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);
H A DTibetanReordering.h136 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);
H A DArabicShaping.h59 static void shape(const LEUnicode *chars, le_int32 offset, le_int32 charCount, le_int32 charMax,
H A DArabicShaping.cpp125 void ArabicShaping::shape(const LEUnicode *chars, le_int32 offset, le_int32 charCount, le_int32 charMax, argument
155 for (i = offset + charCount; i < charMax; i += 1) {
170 out = charCount - 1;
171 erout = charCount;
175 for (in = offset, e = offset + charCount; in < e; in += 1, out += dir) {
/external/icu/icu4c/source/test/letest/
H A Dxmlreader.h20 le_int32 charCount,
H A Dletsutil.cpp85 le_int32 charCount = text.length(); local
87 UBiDi *ubidi = ubidi_openSized(charCount, 0, &status);
89 ubidi_setPara(ubidi, text.getBuffer(), charCount, UBIDI_DEFAULT_LTR, NULL, &status);
H A Dxmlreader.cpp176 int32_t charCount = 0; local
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);
/external/icu/icu4c/source/test/perf/leperf/
H A Dxmlreader.h20 le_int32 charCount,
H A Dxmlreader.cpp176 int32_t charCount = 0; local
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);
/external/icu/icu4c/source/i18n/
H A Ddigitaffix.cpp23 const UChar *value, int32_t charCount, int32_t fieldId)
24 : fAffix(value, charCount),
25 fAnnotations(charCount, (UChar) fieldId, charCount) {
66 DigitAffix::append(const UChar *value, int32_t charCount, int32_t fieldId) { argument
67 fAffix.append(value, charCount);
70 for (int32_t i = 0; i < charCount; ++i) {
22 DigitAffix( const UChar *value, int32_t charCount, int32_t fieldId) argument
H A Ddigitaffix.h44 int32_t charCount,
74 void append(const UChar *value, int32_t charCount, int32_t fieldId=UNUM_FIELD_COUNT);
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
H A DArabicCharacterData.java71 private ArabicCharacterData(int charCount) argument
73 records = new Record[charCount];
102 int charCount = characterSet.size();
103 ArabicCharacterData data = new ArabicCharacterData(charCount);
105 for (int i = 0; i < charCount; i += 1) {
/external/caliper/examples/src/main/java/examples/
H A DUtf8Benchmark.java92 @Param({"65536"}) int charCount; field in class:Utf8Benchmark
104 for (int j = 0; j < charCount; j++) {

Completed in 393 milliseconds

123456