Home
last modified time | relevance | path

Searched refs:readCount (Results 1 – 15 of 15) sorted by relevance

/external/mdnsresponder/mDNSPosix/
DmDNSPosix.c1036 ssize_t readCount; in ProcessRoutingNotification() local
1046 readCount = read(sd, buff, sizeof buff); in ProcessRoutingNotification()
1051 if (((char*) &pNLMsg[1] > (buff + readCount)) || // i.e. *pNLMsg extends off end of buffer in ProcessRoutingNotification()
1052 ((char*) pNLMsg + pNLMsg->nlmsg_len > (buff + readCount))) in ProcessRoutingNotification()
1057 readCount -= ((char*) pNLMsg - buff); in ProcessRoutingNotification()
1058 memmove(buff, pNLMsg, readCount); in ProcessRoutingNotification()
1062 readCount += read(sd, buff + readCount, sizeof buff - readCount); in ProcessRoutingNotification()
1082 ssize_t len = readCount - ((char*)pNLMsg - buff); in ProcessRoutingNotification()
1125 ssize_t readCount; in ProcessRoutingNotification() local
1130 readCount = read(sd, buff, sizeof buff); in ProcessRoutingNotification()
[all …]
/external/guava/guava/src/com/google/common/collect/
DHashMultiset.java93 int distinctElements = Serialization.readCount(stream); in readObject()
DLinkedHashMultiset.java101 int distinctElements = Serialization.readCount(stream); in readObject()
DHashBiMap.java106 int size = Serialization.readCount(stream); in readObject()
DHashMultimap.java134 int distinctKeys = Serialization.readCount(stream); in readObject()
DArrayListMultimap.java156 int distinctKeys = Serialization.readCount(stream); in readObject()
DSerialization.java49 static int readCount(ObjectInputStream stream) throws IOException { in readCount() method in Serialization
DLinkedHashMultimap.java379 int distinctKeys = Serialization.readCount(stream);
DMapMakerInternalMap.java2124 final AtomicInteger readCount = new AtomicInteger(); field in MapMakerInternalMap.Segment
2874 readCount.set(0); in clear()
3094 if ((readCount.incrementAndGet() & DRAIN_THRESHOLD) == 0) { in postReadCleanup()
3127 readCount.set(0); in runLockedCleanup()
/external/guava/guava-tests/test/com/google/common/cache/
DCacheTesting.java285 assertEquals(0, segment.readCount.get());
DLocalCacheTest.java1591 segment.readCount.incrementAndGet(); in testClear()
1603 assertEquals(0, segment.readCount.get()); in testClear()
1626 segment.readCount.incrementAndGet(); in testClear_notification()
1638 assertEquals(0, segment.readCount.get()); in testClear_notification()
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/
DDatagramChannelTest.java1950 int readCount = this.channel2.read(targetBuf); in testReadWrite_Block_Zero() local
1952 assertEquals(0, readCount); in testReadWrite_Block_Zero()
DFileChannelTest.java1306 long readCount = readOnlyFileChannel.read(readBuffers); in test_read$LByteBuffer() local
1307 assertEquals(CONTENT_AS_BYTES_LENGTH, readCount); in test_read$LByteBuffer()
/external/guava/guava/src/com/google/common/cache/
DLocalCache.java2118 final AtomicInteger readCount = new AtomicInteger(); field in LocalCache.Segment
3254 readCount.set(0); in clear()
3446 if ((readCount.incrementAndGet() & DRAIN_THRESHOLD) == 0) { in postReadCleanup()
3480 readCount.set(0); in runLockedCleanup()
/external/guava/guava-tests/test/com/google/common/collect/
DMapMakerInternalMapTest.java1068 segment.readCount.incrementAndGet(); in testClear()
1079 assertEquals(0, segment.readCount.get()); in testClear()