/external/apache-commons-compress/src/test/java/org/apache/commons/compress/utils/ |
D | SeekableInMemoryByteChannelTest.java | 43 int readCount = c.read(readBuffer); in shouldReadContentsProperly() local 45 assertEquals(testData.length, readCount); in shouldReadContentsProperly() 57 int readCount = c.read(readBuffer); in shouldReadContentsWhenBiggerBufferSupplied() local 59 assertEquals(testData.length, readCount); in shouldReadContentsWhenBiggerBufferSupplied() 72 int readCount = c.read(readBuffer); in shouldReadDataFromSetPosition() local 74 assertEquals(4L, readCount); in shouldReadDataFromSetPosition() 87 int readCount = c.read(readBuffer); in shouldSignalEOFWhenPositionAtTheEnd() local 90 assertEquals(-1, readCount); in shouldSignalEOFWhenPositionAtTheEnd()
|
/external/mdnsresponder/mDNSPosix/ |
D | mDNSPosix.c | 1060 ssize_t readCount; in ProcessRoutingNotification() local 1070 readCount = read(sd, buff, sizeof buff); in ProcessRoutingNotification() 1075 if (((char*) &pNLMsg[1] > (buff + readCount)) || // i.e. *pNLMsg extends off end of buffer in ProcessRoutingNotification() 1076 ((char*) pNLMsg + pNLMsg->nlmsg_len > (buff + readCount))) in ProcessRoutingNotification() 1081 readCount -= ((char*) pNLMsg - buff); in ProcessRoutingNotification() 1082 memmove(buff, pNLMsg, readCount); in ProcessRoutingNotification() 1086 readCount += read(sd, buff + readCount, sizeof buff - readCount); in ProcessRoutingNotification() 1106 ssize_t len = readCount - ((char*)pNLMsg - buff); in ProcessRoutingNotification() 1149 ssize_t readCount; in ProcessRoutingNotification() local 1154 readCount = read(sd, buff, sizeof buff); in ProcessRoutingNotification() [all …]
|
/external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/ |
D | RealBufferedSink.java | 103 for (long readCount; (readCount = source.read(buffer, Segment.SIZE)) != -1; ) { in writeAll() 104 totalBytesRead += readCount; in writeAll()
|
D | Buffer.java | 958 for (long readCount; (readCount = source.read(this, Segment.SIZE)) != -1; ) { 959 totalBytesRead += readCount;
|
/external/okhttp/okio/okio/src/main/java/okio/ |
D | RealBufferedSink.java | 102 for (long readCount; (readCount = source.read(buffer, Segment.SIZE)) != -1; ) { in writeAll() 103 totalBytesRead += readCount; in writeAll()
|
D | Buffer.java | 956 for (long readCount; (readCount = source.read(this, Segment.SIZE)) != -1; ) { 957 totalBytesRead += readCount;
|
/external/guava/guava/src/com/google/common/collect/ |
D | HashMultiset.java | 93 int distinctElements = Serialization.readCount(stream); in readObject()
|
D | LinkedHashMultiset.java | 105 int distinctElements = Serialization.readCount(stream); in readObject()
|
D | HashMultimap.java | 134 int distinctKeys = Serialization.readCount(stream); in readObject()
|
D | ArrayListMultimap.java | 160 int distinctKeys = Serialization.readCount(stream); in readObject()
|
D | Serialization.java | 49 static int readCount(ObjectInputStream stream) throws IOException { in readCount() method in Serialization
|
D | HashBiMap.java | 660 int size = Serialization.readCount(stream);
|
D | MapMakerInternalMap.java | 2074 final AtomicInteger readCount = new AtomicInteger(); field in MapMakerInternalMap.Segment 2839 readCount.set(0); in clear() 3049 if ((readCount.incrementAndGet() & DRAIN_THRESHOLD) == 0) { in postReadCleanup() 3082 readCount.set(0); in runLockedCleanup()
|
/external/guava/guava-tests/test/com/google/common/cache/ |
D | CacheTesting.java | 290 assertEquals(0, segment.readCount.get());
|
D | LocalCacheTest.java | 1678 segment.readCount.incrementAndGet(); in testClear() 1690 assertEquals(0, segment.readCount.get()); in testClear() 1713 segment.readCount.incrementAndGet(); in testClear_notification() 1725 assertEquals(0, segment.readCount.get()); in testClear_notification()
|
/external/guava/guava/src/com/google/common/cache/ |
D | LocalCache.java | 2070 final AtomicInteger readCount = new AtomicInteger(); field in LocalCache.Segment 3235 readCount.set(0); in clear() 3416 if ((readCount.incrementAndGet() & DRAIN_THRESHOLD) == 0) { in postReadCleanup() 3450 readCount.set(0); in runLockedCleanup()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | MapMakerInternalMapTest.java | 1042 segment.readCount.incrementAndGet(); in testClear() 1053 assertEquals(0, segment.readCount.get()); in testClear()
|