OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:charCount
(Results
1 - 25
of
135
) sorted by null
1
2
3
4
5
6
/external/chromium_org/third_party/icu/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
);
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
/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
);
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
);
/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
);
/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,
/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
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
;
/external/chromium_org/third_party/icu/source/test/letest/
xmlreader.h
20
le_int32
charCount
,
/external/chromium_org/third_party/icu/source/test/perf/leperf/
xmlreader.h
20
le_int32
charCount
,
/external/icu/icu4c/source/test/letest/
xmlreader.h
20
le_int32
charCount
,
/external/icu/icu4c/source/test/perf/leperf/
xmlreader.h
20
le_int32
charCount
,
/libcore/include/
ScopedJavaUnicodeString.h
33
const int32_t
charCount
= env->GetStringLength(mString);
34
mUnicodeString.setTo(false, mChars,
charCount
);
Completed in 348 milliseconds
1
2
3
4
5
6