/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
|
/libcore/luni/src/main/java/java/io/ |
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...] |
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;
|
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;
|
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;
|
PushbackReader.java | 331 * Skips {@code charCount} characters in this reader. This implementation skips 336 * @throws IllegalArgumentException if {@code charCount < 0}. 341 public long skip(long charCount) throws IOException { 342 if (charCount < 0) { 343 throw new IllegalArgumentException("charCount < 0: " + charCount); 347 if (charCount == 0) { 353 long requiredFromIn = charCount - availableFromBuffer; 355 pos += charCount; 356 return charCount; [all...] |
CharArrayReader.java | 250 * Skips {@code charCount} characters in this reader. Subsequent calls to 252 * is used. This method does nothing and returns 0 if {@code charCount <= 0}. 259 public long skip(long charCount) throws IOException { 262 if (charCount <= 0) { 266 if (charCount < this.count - pos) { 267 pos = pos + (int) charCount; 268 skipped = charCount;
|
FilterReader.java | 173 * Skips {@code charCount} characters in this reader. Subsequent calls to {@code read} 186 public long skip(long charCount) throws IOException { 188 return in.skip(charCount);
|
BufferedReader.java | 461 * Skips at most {@code charCount} chars in this stream. Subsequent calls to 469 * @throws IllegalArgumentException if {@code charCount < 0}. 474 public long skip(long charCount) throws IOException { 475 if (charCount < 0) { 476 throw new IllegalArgumentException("charCount < 0: " + charCount); 480 if (end - pos >= charCount) { 481 pos += charCount; 482 return charCount; 487 while (read < charCount) { [all...] |
/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/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;
|
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) {
|
ByteBufferAsCharBuffer.java | 101 public CharBuffer get(char[] dst, int dstOffset, int charCount) { 105 ((DirectByteBuffer) byteBuffer).get(dst, dstOffset, charCount); 107 ((ByteArrayBuffer) byteBuffer).get(dst, dstOffset, charCount); 109 this.position += charCount; 157 public CharBuffer put(char[] src, int srcOffset, int charCount) { 161 ((DirectByteBuffer) byteBuffer).put(src, srcOffset, charCount); 163 ((ByteArrayBuffer) byteBuffer).put(src, srcOffset, charCount); 165 this.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; 313 * @param charCount 318 * if either {@code dstOffset} or {@code charCount} is invalid. 320 * if {@code charCount} is greater than {@code remaining()}. 322 public CharBuffer get(char[] dst, int dstOffset, int charCount) { [all...] |
/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);
|
/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/include/ |
ScopedJavaUnicodeString.h | 33 const int32_t charCount = env->GetStringLength(mString); 34 mUnicodeString.setTo(false, mChars, charCount);
|
/libnativehelper/include/nativehelper/ |
toStringArray.h | 56 int32_t charCount; 57 const jchar* chars = (*getter)(&charCount); 58 ScopedLocalRef<jstring> s(env, env->NewString(chars, charCount));
|