/external/icu4c/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);
|
UnicodeReader.h | 28 static const UChar *readFile(const char *fileName, GUISupport *guiSupport, int32_t &charCount);
|
ucreader.h | 15 const UChar *uc_readFile(const char *fileName, gs_guiSupport *guiSupport, int32_t *charCount);
|
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
|
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);
|
/libcore/luni/src/main/java/java/io/ |
Reader.java | 202 * Skips {@code charCount} characters in this reader. Subsequent calls of 205 * charCount} characters. 209 * if {@code charCount < 0}. 216 public long skip(long charCount) throws IOException { 217 if (charCount < 0) { 218 throw new IllegalArgumentException("charCount < 0: " + charCount); 222 int toRead = charCount < 512 ? (int) charCount : 512; 224 while (skipped < charCount) { [all...] |
StringReader.java | 211 * Moves {@code charCount} characters in the source string. Unlike the {@link 217 * @param charCount 231 public long skip(long charCount) throws IOException { 238 if (maxSkip == 0 || charCount > maxSkip) { 239 charCount = maxSkip; // no rewinding if we're at the end 240 } else if (charCount < minSkip) { 241 charCount = minSkip; 244 pos += charCount; 245 return charCount;
|
LineNumberReader.java | 245 * Skips {@code charCount} characters in this reader. Subsequent calls to 247 * is used. This implementation skips {@code charCount} number of characters in 253 * if {@code charCount < 0}. 261 public long skip(long charCount) throws IOException { 262 if (charCount < 0) { 263 throw new IllegalArgumentException("charCount < 0: " + charCount); 266 for (int i = 0; i < charCount; i++) { 271 return charCount;
|
StringBufferInputStream.java | 128 * Skips {@code charCount} characters in the source string. It does nothing and 129 * returns 0 if {@code charCount} is negative. Less than {@code charCount} characters are 136 public synchronized long skip(long charCount) { 137 if (charCount <= 0) { 142 if (this.count - pos < charCount) { 146 numskipped = (int) charCount; 147 pos += charCount;
|
PushbackReader.java | 342 * Skips {@code charCount} characters in this reader. This implementation skips 347 * @throws IllegalArgumentException if {@code charCount < 0}. 352 public long skip(long charCount) throws IOException { 353 if (charCount < 0) { 354 throw new IllegalArgumentException("charCount < 0: " + charCount); 358 if (charCount == 0) { 364 long requiredFromIn = charCount - availableFromBuffer; 366 pos += charCount; 367 return charCount; [all...] |
CharArrayReader.java | 261 * Skips {@code charCount} characters in this reader. Subsequent calls to 263 * is used. This method does nothing and returns 0 if {@code charCount <= 0}. 270 public long skip(long charCount) throws IOException { 273 if (charCount <= 0) { 277 if (charCount < this.count - pos) { 278 pos = pos + (int) charCount; 279 skipped = charCount;
|
FilterReader.java | 182 * Skips {@code charCount} characters in this reader. Subsequent calls to {@code read} 195 public long skip(long charCount) throws IOException { 197 return in.skip(charCount);
|
/external/icu4c/layout/ |
CanonShaping.cpp | 34 void CanonShaping::reorderMarks(const LEUnicode *inChars, le_int32 charCount, le_bool rightToLeft, 39 le_int32 *combiningClasses = LE_NEW_ARRAY(le_int32, charCount); 40 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) {
|
CanonShaping.h | 22 static void reorderMarks(const LEUnicode *inChars, le_int32 charCount, le_bool rightToLeft,
|
MPreFixups.h | 27 MPreFixups(le_int32 charCount);
|
/libcore/include/ |
ScopedJavaUnicodeString.h | 30 const int32_t charCount = env->GetStringLength(mString); 31 mUnicodeString.setTo(false, mChars, charCount);
|
/external/icu4c/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);
|
/libcore/luni/src/main/java/java/nio/ |
CharArrayBuffer.java | 67 public final CharBuffer get(char[] dst, int srcOffset, int charCount) { 68 if (charCount > remaining()) { 71 System.arraycopy(backingArray, offset + position, dst, srcOffset, charCount); 72 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; 131 public final CharBuffer put(char[] src, int srcOffset, int charCount) {
|
CharToByteBufferAdapter.java | 101 public CharBuffer get(char[] dst, int dstOffset, int charCount) { 105 ((DirectByteBuffer) byteBuffer).get(dst, dstOffset, charCount); 107 ((HeapByteBuffer) byteBuffer).get(dst, dstOffset, charCount); 109 this.position += charCount; 160 public CharBuffer put(char[] src, int srcOffset, int charCount) { 164 ((ReadWriteDirectByteBuffer) byteBuffer).put(src, srcOffset, charCount); 166 ((ReadWriteHeapByteBuffer) byteBuffer).put(src, srcOffset, charCount); 168 this.position += charCount;
|
ReadWriteCharArrayBuffer.java | 110 public CharBuffer put(char[] src, int srcOffset, int charCount) { 111 if (charCount > remaining()) { 114 System.arraycopy(src, srcOffset, backingArray, offset + position, charCount); 115 position += charCount;
|
CharBuffer.java | 75 * {@code start + charCount}, capacity will be the length of the array. 82 * @param charCount 87 * if either {@code start} or {@code charCount} is invalid. 89 public static CharBuffer wrap(char[] array, int start, int charCount) { 90 Arrays.checkOffsetAndCount(array.length, start, charCount); 93 buf.limit = start + charCount; 315 * @param charCount 320 * if either {@code dstOffset} or {@code charCount} is invalid. 322 * if {@code charCount} is greater than {@code remaining()}. 324 public CharBuffer get(char[] dst, int dstOffset, int charCount) { [all...] |
/libcore/luni/src/main/native/ |
toStringArray.h | 51 int32_t charCount; 52 const jchar* chars = (*getter)(&charCount); 53 ScopedLocalRef<jstring> s(env, env->NewString(chars, charCount));
|