/external/icu/icu4c/source/samples/layout/ |
ucreader.cpp | 15 const UChar *uc_readFile(const char *fileName, gs_guiSupport *guiSupport, int32_t *charCount) 17 return UnicodeReader::readFile(fileName, (GUISupport *) guiSupport, *charCount);
|
ucreader.h | 15 const UChar *uc_readFile(const char *fileName, gs_guiSupport *guiSupport, int32_t *charCount);
|
UnicodeReader.h | 28 static const UChar *readFile(const char *fileName, GUISupport *guiSupport, int32_t &charCount);
|
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.h | 21 pf_flow *pf_create(const LEUnicode chars[], le_int32 charCount, const pl_fontRuns *fontRuns, LEErrorCode *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);
|
UnicodeReader.cpp | 26 const UChar *UnicodeReader::readFile(const char *fileName, GUISupport *guiSupport, int32_t &charCount) 106 charCount = myText.length(); 107 charBuffer = LE_NEW_ARRAY(UChar, charCount + 1); 115 charBuffer[charCount] = 0; // NULL terminate for easier reading in the debugger
|
/external/icu/icu4c/source/layout/ |
CanonShaping.cpp | 34 void CanonShaping::reorderMarks(const LEUnicode *inChars, le_int32 charCount, le_bool rightToLeft, 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) {
|
MPreFixups.h | 27 MPreFixups(le_int32 charCount);
|
CanonShaping.h | 24 static void reorderMarks(const LEUnicode *inChars, le_int32 charCount, le_bool rightToLeft,
|
/external/chromium_org/base/strings/ |
sys_string_conversions_win.cc | 38 int charcount = MultiByteToWideChar(code_page, 0, local 40 if (charcount == 0) 44 wide.resize(charcount); 45 MultiByteToWideChar(code_page, 0, mb.data(), mb_length, &wide[0], charcount); 57 int charcount = WideCharToMultiByte(code_page, 0, wide.data(), wide_length, local 59 if (charcount == 0) 63 mb.resize(charcount); 65 &mb[0], charcount, NULL, NULL);
|
/external/chromium_org/third_party/icu/source/test/letest/ |
xmlreader.h | 20 le_int32 charCount,
|
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);
|
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);
|
/external/icu/icu4c/source/test/letest/ |
xmlreader.h | 20 le_int32 charCount,
|
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);
|
/external/icu/icu4c/source/test/perf/leperf/ |
xmlreader.h | 20 le_int32 charCount,
|
/libcore/luni/src/main/java/java/io/ |
StringBufferInputStream.java | 107 * Skips {@code charCount} characters in the source string. It does nothing and 108 * returns 0 if {@code charCount} is negative. Less than {@code charCount} characters are 115 public synchronized long skip(long charCount) { 116 if (charCount <= 0) { 121 if (this.count - pos < charCount) { 125 numskipped = (int) charCount; 126 pos += charCount;
|
Reader.java | 189 * Skips {@code charCount} characters in this reader. Subsequent calls of 192 * charCount} characters. 196 * if {@code charCount < 0}. 203 public long skip(long charCount) throws IOException { 204 if (charCount < 0) { 205 throw new IllegalArgumentException("charCount < 0: " + charCount); 209 int toRead = charCount < 512 ? (int) charCount : 512; 211 while (skipped < charCount) { [all...] |
LineNumberReader.java | 236 * Skips {@code charCount} characters in this reader. Subsequent calls to 238 * is used. This implementation skips {@code charCount} number of characters in 244 * if {@code charCount < 0}. 252 public long skip(long charCount) throws IOException { 253 if (charCount < 0) { 254 throw new IllegalArgumentException("charCount < 0: " + charCount); 257 for (int i = 0; i < charCount; i++) { 262 return charCount;
|
StringReader.java | 201 * Moves {@code charCount} characters in the source string. Unlike the {@link 207 * @param charCount 221 public long skip(long charCount) throws IOException { 228 if (maxSkip == 0 || charCount > maxSkip) { 229 charCount = maxSkip; // no rewinding if we're at the end 230 } else if (charCount < minSkip) { 231 charCount = minSkip; 234 pos += charCount; 235 return charCount;
|
/libcore/luni/src/main/java/java/nio/ |
CharArrayBuffer.java | 110 @Override public final CharBuffer get(char[] dst, int srcOffset, int charCount) { 111 if (charCount > remaining()) { 114 System.arraycopy(backingArray, arrayOffset + position, dst, srcOffset, charCount); 115 position += charCount; 155 @Override public CharBuffer put(char[] src, int srcOffset, int charCount) { 159 if (charCount > remaining()) { 162 System.arraycopy(src, srcOffset, backingArray, arrayOffset + position, charCount); 163 position += charCount;
|
ByteBufferAsCharBuffer.java | 100 public CharBuffer get(char[] dst, int dstOffset, int charCount) { 104 ((DirectByteBuffer) byteBuffer).get(dst, dstOffset, charCount); 106 ((ByteArrayBuffer) byteBuffer).get(dst, dstOffset, charCount); 108 this.position += charCount; 156 public CharBuffer put(char[] src, int srcOffset, int charCount) { 160 ((DirectByteBuffer) byteBuffer).put(src, srcOffset, charCount); 162 ((ByteArrayBuffer) byteBuffer).put(src, srcOffset, charCount); 164 this.position += charCount;
|
CharSequenceAdapter.java | 79 public final CharBuffer get(char[] dst, int dstOffset, int charCount) { 80 Arrays.checkOffsetAndCount(dst.length, dstOffset, charCount); 81 if (charCount > remaining()) { 84 int newPosition = position + charCount; 128 public final CharBuffer put(char[] src, int srcOffset, int charCount) {
|
/libcore/include/ |
ScopedJavaUnicodeString.h | 33 const int32_t charCount = env->GetStringLength(mString); 34 mUnicodeString.setTo(false, mChars, charCount);
|