/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 | 869 int readCount; 871 while ((readCount = is.read(buffer, 0, buffer.length)) > 0) { 872 for (int i = 0; i < readCount; i++) { 881 readCount = is.read(buffer, 0, buffer.length); 882 assertEquals("Reading end of buffer: expected readCount=-1 but got " + readCount, 883 -1, readCount); 885 readCount = is.read(buffer, buffer.length, 0); 886 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/org/apache/harmony/nio/internal/ |
SocketChannelImpl.java | 302 int readCount; 304 readCount = readImpl(target); 305 if (readCount > 0) { 306 target.position(target.position() + readCount); 313 readCount = readImpl(readBuffer); 314 if (readCount > 0) { 315 target.put(readArray, 0, readCount); 318 return readCount; 334 int readCount; 337 readCount = readImpl(readBuffer) [all...] |
DatagramChannelImpl.java | 379 int readCount = 0; 381 readCount = readImpl(target); 382 if (readCount > 0) { 383 target.position(target.position() + readCount); 389 readCount = readImpl(readBuffer); 390 if (readCount > 0) { 391 target.put(readArray, 0, readCount); 394 return readCount; 413 int readCount; 414 readCount = readImpl(readBuffer) [all...] |
/packages/apps/Email/src/org/apache/commons/io/output/ |
ByteArrayOutputStream.java | 192 int readCount = 0;
196 readCount += n;
205 return readCount;
|
/libcore/luni/src/main/java/java/nio/channels/ |
Channels.java | 347 int readCount = 0; 350 readCount = inputStream.read(bytes); 352 end(readCount >= 0); 354 if (readCount > 0) { 355 target.put(bytes, 0, readCount); 357 return readCount;
|
/build/libs/host/ |
CopyFile.c | 102 ssize_t readCount, writeCount; 108 readCount = read(srcFd, buf, sizeof(buf)); 109 if (readCount < 0) { 115 if (readCount > 0) { 116 writeCount = write(dstFd, buf, readCount); 122 if (writeCount != readCount) { 124 dst, writeCount, readCount); 129 if (readCount < (ssize_t) sizeof(buf))
|
/external/guava/src/com/google/common/collect/ |
HashMultiset.java | 88 int distinctElements = Serialization.readCount(stream);
|
LinkedHashMultiset.java | 96 int distinctElements = Serialization.readCount(stream);
|
HashBiMap.java | 102 int size = Serialization.readCount(stream);
|
ArrayListMultimap.java | 153 int distinctKeys = Serialization.readCount(stream);
|
HashMultimap.java | 131 int distinctKeys = Serialization.readCount(stream);
|
Serialization.java | 54 public static int readCount(ObjectInputStream stream) throws IOException { 90 * prior call to {@link #readCount}. 138 * of distinct elements is determined by a prior call to {@link #readCount}. 190 * of distinct keys is determined by a prior call to {@link #readCount}.
|
LinkedHashMultimap.java | 366 int distinctKeys = Serialization.readCount(stream);
|
/dalvik/vm/jdwp/ |
JdwpAdb.c | 508 int readCount; 595 readCount = read(netState->clientSock, 598 if (readCount < 0) { 604 } else if (readCount == 0) { 613 netState->inputCount += readCount;
|
JdwpSocket.c | 664 int readCount; 753 readCount = read(netState->clientSock, 756 if (readCount < 0) { 762 } else if (readCount == 0) { 771 netState->inputCount += readCount;
|
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/ |
SyncService.java | 782 int readCount = 0; 784 readCount = fis.read(mBuffer, 8, SYNC_DATA_MAX); 789 if (readCount == -1) { 796 ArrayHelper.swap32bitsToArray(readCount, mBuffer, 4); 800 AdbHelper.write(mChannel, mBuffer, readCount+8, timeOut); 808 monitor.advance(readCount); [all...] |
/libcore/luni/src/main/java/java/util/ |
Scanner.java | [all...] |
/prebuilt/common/ddmlib/ |
ddmlib-prebuilt.jar | |