OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:toRead
(Results
1 - 15
of
15
) sorted by null
/libcore/luni/src/main/java/java/io/
Reader.java
232
int
toRead
= count < 512 ? (int) count : 512;
233
char[] charsSkipped = new char[
toRead
];
235
int read = read(charsSkipped, 0,
toRead
);
240
if (read <
toRead
) {
243
if (count - skipped <
toRead
) {
244
toRead
= (int) (count - skipped);
/libcore/luni/src/main/java/libcore/base/
Streams.java
54
int
toRead
= (int) Math.min(byteCount - skipped, buffer.length);
55
int read = in.read(buffer, 0,
toRead
);
60
if (read <
toRead
) {
/frameworks/base/libs/utils/
StreamingZipInflater.cpp
120
size_t
toRead
= min_of(count, size_t(mOutTotalSize - mOutCurPosition));
121
while (
toRead
> 0) {
123
size_t deliverable = min_of(
toRead
, mOutLastDecoded - mOutDeliverable);
130
toRead
-= deliverable;
134
if (
toRead
> 0) {
192
size_t
toRead
= min_of(mInBufSize, mInTotalSize - mInNextChunkOffset);
193
if (
toRead
> 0) {
194
ssize_t didRead = ::read(mFd, mInBuf,
toRead
);
195
//LOGD("Reading input chunk, size %08x didread %08x",
toRead
, didRead);
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/
DefiniteLengthInputStream.java
73
int
toRead
= Math.min(len, _remaining);
74
int numRead = _in.read(buf, off,
toRead
);
/external/srec/shared/src/
CircularBuffer.c
80
int
toRead
= bufSize - nbRead;
81
memcpy(((unsigned char *) data) + nbRead, bufferData + buffer->readIdx,
toRead
);
82
buffer->size -=
toRead
;
83
buffer->readIdx +=
toRead
;
/external/webkit/WebCore/platform/graphics/chromium/
FontCustomPlatformData.cpp
159
size_t
toRead
= (left > size) ? size : left;
160
std::memcpy(buffer, m_buffer->data() + m_offset,
toRead
);
161
m_offset +=
toRead
;
162
return
toRead
;
/libcore/luni/src/main/java/java/util/zip/
ZipInputStream.java
323
int
toRead
= length > (len - lastRead) ? len - lastRead : length;
324
if ((csize - inRead) <
toRead
) {
325
toRead
= csize - inRead;
327
System.arraycopy(buf, lastRead, buffer, start,
toRead
);
328
lastRead +=
toRead
;
329
inRead +=
toRead
;
330
crc.update(buffer, start,
toRead
);
331
return
toRead
;
/libcore/luni/src/test/java/tests/api/java/io/
BufferedInputStreamTest.java
472
int
toRead
= len;
473
if (
toRead
> available()) {
474
toRead
= available();
476
System.arraycopy(contents, pos, buf, off,
toRead
);
477
pos +=
toRead
;
478
return
toRead
;
BufferedReaderTest.java
309
int
toRead
= len;
310
if (
toRead
> (size - pos))
311
toRead
= size - pos;
312
System.arraycopy(contents, pos, buf, off,
toRead
);
313
pos +=
toRead
;
314
return
toRead
;
/frameworks/base/core/java/android/os/
RecoverySystem.java
264
long
toRead
= fileLen - commentSize - 2;
269
while (soFar <
toRead
) {
273
if (soFar + size >
toRead
) {
274
size = (int)(
toRead
- soFar);
282
int p = (int)(soFar * 100 /
toRead
);
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/
BufferedReaderTest.java
312
int
toRead
= len;
313
if (
toRead
> (size - pos))
314
toRead
= size - pos;
315
System.arraycopy(contents, pos, buf, off,
toRead
);
316
pos +=
toRead
;
317
return
toRead
;
/packages/apps/Browser/src/com/android/browser/
BrowserBackupAgent.java
284
private long copyBackupToFile(BackupDataInput data, File file, int
toRead
)
292
while (
toRead
> 0) {
296
toRead
-= numRead;
/frameworks/base/voip/jni/rtp/
AudioGroup.cpp
828
int
toRead
= (mode == MUTED) ? 0 : sampleCount;
831
while (--chances > 0 && (toWrite > 0 ||
toRead
> 0)) {
848
if (
toRead
> 0) {
850
buffer.frameCount =
toRead
;
854
int offset = sampleCount -
toRead
;
856
toRead
-= buffer.frameCount;
/libcore/luni/src/test/java/libcore/javax/net/ssl/
SSLSocketTest.java
[
all
...]
/prebuilt/common/commons-compress/
commons-compress-1.0.jar
Completed in 724 milliseconds