Home
last modified time | relevance | path

Searched refs:workingSet (Results 1 – 4 of 4) sorted by relevance

/external/mockito/src/test/java/org/mockito/internal/util/collections/
DHashCodeAndEqualsSafeSetTest.java67 HashCodeAndEqualsSafeSet workingSet = new HashCodeAndEqualsSafeSet(); in can_add_a_collection() local
69 workingSet.addAll(mocks); in can_add_a_collection()
71 assertThat(workingSet.containsAll(mocks)).isTrue(); in can_add_a_collection()
80 HashCodeAndEqualsSafeSet workingSet = new HashCodeAndEqualsSafeSet(); in can_retain_a_collection() local
82 workingSet.addAll(mocks); in can_retain_a_collection()
83 workingSet.add(mock(List.class)); in can_retain_a_collection()
85 assertThat(workingSet.retainAll(mocks)).isTrue(); in can_retain_a_collection()
86 assertThat(workingSet.containsAll(mocks)).isTrue(); in can_retain_a_collection()
95 HashCodeAndEqualsSafeSet workingSet = new HashCodeAndEqualsSafeSet(); in can_remove_a_collection() local
97 workingSet.addAll(mocks); in can_remove_a_collection()
[all …]
/external/libchrome/base/test/android/javatests/src/org/chromium/base/test/util/
DAnnotationProcessingUtils.java149 Queue<Annotation> workingSet = new LinkedList<>(); in getMatchingAnnotations() local
154 queueAnnotations(currentAnnotationLayer.getAnnotations(), workingSet); in getMatchingAnnotations() local
156 while (!workingSet.isEmpty()) { in getMatchingAnnotations()
157 sweepAnnotations(collectedAnnotations, workingSet, visited); in getMatchingAnnotations()
166 private void queueAnnotations(List<Annotation> annotations, Queue<Annotation> workingSet) { in queueAnnotations() argument
168 workingSet.addAll(annotations); in queueAnnotations()
172 Queue<Annotation> workingSet, Set<Class<? extends Annotation>> visited) { in sweepAnnotations() argument
174 Annotation annotation = workingSet.remove(); in sweepAnnotations()
187 workingSet); in sweepAnnotations()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/changes/
DChangeSetPerformer.java116 final Set<Change> workingSet = new LinkedHashSet<>(changes); in perform() local
118 for (final Iterator<Change> it = workingSet.iterator(); it.hasNext();) { in perform()
132 for (final Iterator<Change> it = workingSet.iterator(); it.hasNext();) { in perform()
155 && !isDeletedLater(workingSet, entry) in perform()
163 for (final Iterator<Change> it = workingSet.iterator(); it.hasNext();) { in perform()
187 private boolean isDeletedLater(final Set<Change> workingSet, final ArchiveEntry entry) { in isDeletedLater() argument
190 if (!workingSet.isEmpty()) { in isDeletedLater()
191 for (final Change change : workingSet) { in isDeletedLater()
/external/skqp/experimental/Networking/
DSkSockets.cpp268 fd_set workingSet; in acceptConnections() local
269 FD_ZERO(&workingSet); in acceptConnections()
270 FD_SET(fSockfd, &workingSet); in acceptConnections()
274 int sel = select(fSockfd + 1, &workingSet, NULL, NULL, &timeout); in acceptConnections()