/cts/tests/tests/content/src/android/content/res/cts/ |
RawResourceTest.java | 46 int readCount; 48 while ((readCount = is.read(buffer, 0, buffer.length)) > 0) { 49 for (int i = 0; i < readCount; i++) { 58 readCount = is.read(buffer, 0, buffer.length); 59 assertEquals("Reading end of buffer: expected readCount=-1 but got " + readCount, 60 -1, readCount); 62 readCount = is.read(buffer, buffer.length, 0); 63 assertEquals("Reading end of buffer length 0: expected readCount=0 but got " + readCount, [all...] |
ResourcesTest.java | 592 int readCount; 594 while ((readCount = is.read(buffer, 0, buffer.length)) > 0) { 595 for (int i = 0; i < readCount; i++) { 604 readCount = is.read(buffer, 0, buffer.length); 605 assertEquals("Reading end of buffer: expected readCount=-1 but got " + readCount, 606 -1, readCount); 608 readCount = is.read(buffer, buffer.length, 0); 609 assertEquals("Reading end of buffer length 0: expected readCount=0 but got " + readCount, [all...] |
/frameworks/base/core/tests/coretests/src/android/content/ |
AssetTest.java | 39 int readCount; 41 while ((readCount = is.read(buffer, 0, buffer.length)) > 0) { 42 for (int i = 0; i < readCount; i++) { 51 readCount = is.read(buffer, 0, buffer.length); 52 assertEquals("Reading end of buffer: expected readCount=-1 but got " + readCount, 53 -1, readCount); 55 readCount = is.read(buffer, buffer.length, 0); 56 assertEquals("Reading end of buffer length 0: expected readCount=0 but got " + readCount, [all...] |
/libcore/luni/src/main/java/java/nio/channels/ |
Channels.java | 303 int readCount = 0; 306 readCount = inputStream.read(bytes); 308 end(readCount >= 0); 310 if (readCount > 0) { 311 target.put(bytes, 0, readCount); 313 return readCount;
|
/libcore/luni/src/main/java/java/nio/ |
DatagramChannelImpl.java | 326 int readCount; 328 readCount = readImpl(target); 332 readCount = readImpl(readBuffer); 333 if (readCount > 0) { 334 target.put(readArray, 0, readCount); 337 return readCount; 354 int readCount; 355 readCount = readImpl(readBuffer); 356 int left = readCount; 362 targets[index].put(readArray, readCount - left, putLength) [all...] |
SocketChannelImpl.java | 317 int readCount; 319 readCount = readImpl(readBuffer); 321 if (readCount > 0) { 322 int left = readCount; 327 targets[index].put(readArray, readCount - left, putLength); 332 return readCount; 337 int readCount = 0; 342 readCount = IoBridge.recvfrom(true, fd, dst, 0, null, false); 345 end(readCount > 0); 348 return readCount; [all...] |
/art/runtime/jdwp/ |
jdwp_adb.cc | 298 int readCount; 382 readCount = read(clientSock, input_buffer_ + input_count_, sizeof(input_buffer_) - input_count_); 383 if (readCount < 0) { 390 } else if (readCount == 0) { 400 input_count_ += readCount;
|
jdwp_socket.cc | 349 int readCount; 439 readCount = read(clientSock, input_buffer_ + input_count_, sizeof(input_buffer_) - input_count_); 440 if (readCount < 0) { 447 } else if (readCount == 0) { 457 input_count_ += readCount;
|
/external/qemu/android/filesystems/ |
ramdisk_extractor.cpp | 136 size_t readCount = 0; 137 if (!tryRead(buffer, len, &readCount)) { 140 if (readCount < len) {
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/ |
ByteArrayOutputStream.java | 194 int readCount = 0; 198 readCount += n; 207 return readCount;
|
/build/libs/host/ |
CopyFile.c | 119 ssize_t readCount, writeCount; 125 readCount = read(srcFd, buf, sizeof(buf)); 126 if (readCount < 0) { 132 if (readCount > 0) { 133 writeCount = write(dstFd, buf, readCount); 139 if (writeCount != readCount) { 141 dst, writeCount, readCount); 146 if (readCount < (ssize_t) sizeof(buf))
|
/external/guava/guava/src/com/google/common/collect/ |
HashMultiset.java | 93 int distinctElements = Serialization.readCount(stream);
|
LinkedHashMultiset.java | 101 int distinctElements = Serialization.readCount(stream);
|
HashBiMap.java | 106 int size = Serialization.readCount(stream);
|
ArrayListMultimap.java | 156 int distinctKeys = Serialization.readCount(stream);
|
HashMultimap.java | 134 int distinctKeys = Serialization.readCount(stream);
|
Serialization.java | 49 static int readCount(ObjectInputStream stream) throws IOException { 83 * prior call to {@link #readCount}. 128 * of distinct elements is determined by a prior call to {@link #readCount}. 177 * of distinct keys is determined by a prior call to {@link #readCount}.
|
LinkedHashMultimap.java | 379 int distinctKeys = Serialization.readCount(stream);
|
/libcore/luni/src/main/java/java/net/ |
PlainSocketImpl.java | 485 int readCount = IoBridge.recvfrom(true, fd, buffer, offset, byteCount, 0, null, false); 487 if (readCount == 0) { 491 if (readCount == -1) { 494 return readCount;
|
/frameworks/base/core/jni/android/graphics/pdf/ |
PdfRenderer.cpp | 65 const int readCount = pread(fd, outBuffer, size, position); 66 if (readCount < 0) {
|
PdfEditor.cpp | 72 const int readCount = pread(fd, outBuffer, size, position); 73 if (readCount < 0) {
|
/external/mdnsresponder/mDNSPosix/ |
mDNSPosix.c | [all...] |
/external/smack/src/org/jivesoftware/smack/util/ |
Cache.java | 157 cacheObject.readCount++; 461 public int readCount = 0;
|
/libcore/luni/src/main/java/java/util/ |
Scanner.java | [all...] |
/libcore/luni/src/main/java/libcore/io/ |
IoBridge.java | 472 int readCount = Libcore.os.read(fd, bytes, byteOffset, byteCount); 473 if (readCount == 0) { 476 return readCount;
|