/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 | 672 int readCount; 674 while ((readCount = is.read(buffer, 0, buffer.length)) > 0) { 675 for (int i = 0; i < readCount; i++) { 684 readCount = is.read(buffer, 0, buffer.length); 685 assertEquals("Reading end of buffer: expected readCount=-1 but got " + readCount, 686 -1, readCount); 688 readCount = is.read(buffer, buffer.length, 0); 689 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...] |
/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 | 376 int readCount; 466 readCount = 468 if (readCount < 0) { 475 } else if (readCount == 0) { 485 input_count_ += readCount;
|
/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 | 105 int distinctElements = Serialization.readCount(stream);
|
ArrayListMultimap.java | 160 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}.
|
HashBiMap.java | 660 int size = Serialization.readCount(stream);
|
/external/okhttp/okio/okio/src/main/java/okio/ |
RealBufferedSink.java | 102 for (long readCount; (readCount = source.read(buffer, Segment.SIZE)) != -1; ) { 103 totalBytesRead += readCount;
|
Buffer.java | 956 for (long readCount; (readCount = source.read(this, Segment.SIZE)) != -1; ) { 957 totalBytesRead += readCount; [all...] |
/frameworks/base/core/jni/android/graphics/pdf/ |
PdfRenderer.cpp | 66 const int readCount = pread(fd, outBuffer, size, position); 67 if (readCount < 0) {
|
PdfEditor.cpp | 74 const int readCount = pread(fd, outBuffer, size, position); 75 if (readCount < 0) {
|
/external/mdnsresponder/mDNSPosix/ |
mDNSPosix.c | [all...] |
/external/opencv3/modules/cudalegacy/src/cuda/ |
NCVHaarObjectDetection.cu | [all...] |
/cts/tests/tests/net/src/android/net/cts/ |
LocalSocketTest.java | 334 int readCount; 335 while ((readCount = is.read(buffer)) >= 0) { 336 bytesRead += readCount;
|
/libcore/luni/src/main/java/libcore/io/ |
IoBridge.java | 471 int readCount = Libcore.os.read(fd, bytes, byteOffset, byteCount); 472 if (readCount == 0) { 475 return readCount;
|
/external/guava/guava-tests/test/com/google/common/cache/ |
CacheTesting.java | 290 assertEquals(0, segment.readCount.get());
|
/prebuilts/tools/common/m2/repository/com/squareup/okio/okio/1.6.0/ |
okio-1.6.0.jar | |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.core.contenttype_3.4.100.v20100505-1235.jar | |
/external/guava/guava/src/com/google/common/cache/ |
LocalCache.java | [all...] |