Searched refs:readCount (Results 1 – 15 of 15) sorted by relevance
/external/mdnsresponder/mDNSPosix/ |
D | mDNSPosix.c | 1036 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/ |
D | HashMultiset.java | 93 int distinctElements = Serialization.readCount(stream); in readObject()
|
D | LinkedHashMultiset.java | 101 int distinctElements = Serialization.readCount(stream); in readObject()
|
D | HashBiMap.java | 106 int size = Serialization.readCount(stream); in readObject()
|
D | HashMultimap.java | 134 int distinctKeys = Serialization.readCount(stream); in readObject()
|
D | ArrayListMultimap.java | 156 int distinctKeys = Serialization.readCount(stream); in readObject()
|
D | Serialization.java | 49 static int readCount(ObjectInputStream stream) throws IOException { in readCount() method in Serialization
|
D | LinkedHashMultimap.java | 379 int distinctKeys = Serialization.readCount(stream);
|
D | MapMakerInternalMap.java | 2124 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/ |
D | CacheTesting.java | 285 assertEquals(0, segment.readCount.get());
|
D | LocalCacheTest.java | 1591 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/ |
D | DatagramChannelTest.java | 1950 int readCount = this.channel2.read(targetBuf); in testReadWrite_Block_Zero() local 1952 assertEquals(0, readCount); in testReadWrite_Block_Zero()
|
D | FileChannelTest.java | 1306 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/ |
D | LocalCache.java | 2118 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/ |
D | MapMakerInternalMapTest.java | 1068 segment.readCount.incrementAndGet(); in testClear() 1079 assertEquals(0, segment.readCount.get()); in testClear()
|