Home
last modified time | relevance | path

Searched refs:unfiltered (Results 1 – 25 of 25) sorted by relevance

/external/guava/guava-tests/test/com/google/common/collect/
DCollections2Test.java90 List<String> unfiltered = newArrayList(); in testsForFilter()
91 unfiltered.add("yyy"); in testsForFilter()
92 unfiltered.addAll(asList(elements)); in testsForFilter()
93 unfiltered.add("zzz"); in testsForFilter()
94 return Collections2.filter(unfiltered, NOT_YYY_ZZZ); in testsForFilter()
112 List<String> unfiltered = newArrayList();
113 unfiltered.addAll(asList(elements));
114 return Collections2.filter(unfiltered, NOT_YYY_ZZZ);
132 List<String> unfiltered = newLinkedList();
133 unfiltered.add("yyy");
[all …]
DSortedMapsTest.java104 SortedMap<Integer, String> unfiltered = Maps.newTreeMap(comparator); in testFilterKeys() local
105 unfiltered.put(1, "one"); in testFilterKeys()
106 unfiltered.put(2, "two"); in testFilterKeys()
107 unfiltered.put(3, "three"); in testFilterKeys()
108 unfiltered.put(4, "four"); in testFilterKeys()
109 unfiltered.put(5, "five"); in testFilterKeys()
110 unfiltered.put(6, "six"); in testFilterKeys()
111 unfiltered.put(7, "seven"); in testFilterKeys()
113 = SortedMaps.filterKeys(unfiltered, EVEN); in testFilterKeys()
133 SortedMap<Integer, String> unfiltered = Maps.newTreeMap(comparator); in testFilterValues() local
[all …]
DFilteredMultimapTest.java42 Multimap<String, Integer> unfiltered = HashMultimap.create(); in create() local
43 unfiltered.put("foo", 55556); in create()
44 unfiltered.put("badkey", 1); in create()
45 return Multimaps.filterEntries(unfiltered, ENTRY_PREDICATE); in create()
69 Multimap<String, Integer> unfiltered = HashMultimap.create(); in testFilterKeys() local
70 unfiltered.put("foo", 55556); in testFilterKeys()
71 unfiltered.put("badkey", 1); in testFilterKeys()
72 Multimap<String, Integer> filtered = Multimaps.filterKeys(unfiltered, KEY_PREDICATE); in testFilterKeys()
85 Multimap<String, Integer> unfiltered = HashMultimap.create(); in testFilterValues() local
86 unfiltered.put("foo", 55556); in testFilterValues()
[all …]
DMapsTest.java942 Map<String, Integer> unfiltered = Maps.newHashMap();
943 Map<String, Integer> filtered = Maps.filterKeys(unfiltered, NOT_LENGTH_3);
962 Map<String, Integer> unfiltered = Maps.newHashMap();
963 Map<String, Integer> filtered = Maps.filterKeys(unfiltered, NOT_LENGTH_3);
964 unfiltered.put("two", 2);
965 unfiltered.put("three", 3);
966 unfiltered.put("four", 4);
967 assertEquals(ImmutableMap.of("two", 2, "three", 3, "four", 4), unfiltered);
970 unfiltered.remove("three");
971 assertEquals(ImmutableMap.of("two", 2, "four", 4), unfiltered);
[all …]
DMultimapsFilterEntriesAsMapTest.java46 Multimap<String, Integer> unfiltered = HashMultimap.create(); in createMultimap() local
47 unfiltered.put("zero", 55556); in createMultimap()
48 unfiltered.put("one", 55556); in createMultimap()
49 unfiltered.put("badkey", 1); in createMultimap()
50 return Multimaps.filterEntries(unfiltered, PREDICATE); in createMultimap()
DSetsTest.java185 Set<String> unfiltered = Sets.newLinkedHashSet(); in testsForFilter()
186 unfiltered.add("yyy"); in testsForFilter()
187 unfiltered.addAll(Arrays.asList(elements)); in testsForFilter()
188 unfiltered.add("zzz"); in testsForFilter()
189 return Sets.filter(unfiltered, Collections2Test.NOT_YYY_ZZZ); in testsForFilter()
206 Set<String> unfiltered = Sets.newLinkedHashSet();
207 unfiltered.add("yyy");
208 unfiltered.addAll(ImmutableList.copyOf(elements));
209 unfiltered.add("zzz");
210 return Sets.filter(unfiltered, Collections2Test.LENGTH_1);
[all …]
DIteratorsTest.java228 Iterator<String> unfiltered = Lists.newArrayList("foo", "bar").iterator(); in testFilterSimple() local
229 Iterator<String> filtered = Iterators.filter(unfiltered, in testFilterSimple()
237 Iterator<String> unfiltered = Lists.newArrayList("foo", "bar").iterator(); in testFilterNoMatch() local
238 Iterator<String> filtered = Iterators.filter(unfiltered, in testFilterNoMatch()
246 Iterator<String> unfiltered = Lists.newArrayList("foo", "bar").iterator(); in testFilterMatchAll() local
247 Iterator<String> filtered = Iterators.filter(unfiltered, in testFilterMatchAll()
255 Iterator<String> unfiltered = Collections.<String>emptyList().iterator(); in testFilterNothing() local
256 Iterator<String> filtered = Iterators.filter(unfiltered, in testFilterNothing()
DIterablesTest.java214 Iterable<String> unfiltered = newArrayList("foo", "bar");
215 Iterable<String> filtered = Iterables.filter(unfiltered,
/external/guava/guava/src/com/google/common/collect/
DCollections2.java79 Collection<E> unfiltered, Predicate<? super E> predicate) { in filter() argument
80 if (unfiltered instanceof FilteredCollection) { in filter()
83 return ((FilteredCollection<E>) unfiltered).createCombined(predicate); in filter()
87 checkNotNull(unfiltered), checkNotNull(predicate)); in filter()
103 final Collection<E> unfiltered; field in Collections2.FilteredCollection
106 FilteredCollection(Collection<E> unfiltered, in FilteredCollection() argument
108 this.unfiltered = unfiltered; in FilteredCollection()
113 return new FilteredCollection<E>(unfiltered, in createCombined()
121 return unfiltered.add(element); in add()
129 return unfiltered.addAll(collection); in addAll()
[all …]
DSortedMaps.java220 SortedMap<K, V> unfiltered, final Predicate<? super K> keyPredicate) { in filterKeys() argument
230 return filterEntries(unfiltered, entryPredicate); in filterKeys()
264 SortedMap<K, V> unfiltered, final Predicate<? super V> valuePredicate) { in filterValues() argument
273 return filterEntries(unfiltered, entryPredicate); in filterValues()
307 SortedMap<K, V> unfiltered, in filterEntries() argument
310 return (unfiltered instanceof FilteredSortedMap) in filterEntries()
311 ? filterFiltered((FilteredSortedMap<K, V>) unfiltered, entryPredicate) in filterEntries()
312 : new FilteredSortedMap<K, V>(checkNotNull(unfiltered), entryPredicate); in filterEntries()
330 FilteredSortedMap(SortedMap<K, V> unfiltered, in FilteredSortedMap() argument
332 super(unfiltered, entryPredicate); in FilteredSortedMap()
[all …]
DMaps.java1313 Map<K, V> unfiltered, final Predicate<? super K> keyPredicate) {
1314 if (unfiltered instanceof SortedMap) {
1315 return filterKeys((SortedMap<K, V>) unfiltered, keyPredicate);
1325 return (unfiltered instanceof AbstractFilteredMap)
1326 ? filterFiltered((AbstractFilteredMap<K, V>) unfiltered, entryPredicate)
1328 checkNotNull(unfiltered), keyPredicate, entryPredicate);
1363 SortedMap<K, V> unfiltered, final Predicate<? super K> keyPredicate) {
1373 return filterEntries(unfiltered, entryPredicate);
1406 Map<K, V> unfiltered, final Predicate<? super V> valuePredicate) {
1407 if (unfiltered instanceof SortedMap) {
[all …]
DSets.java749 Set<E> unfiltered, Predicate<? super E> predicate) {
750 if (unfiltered instanceof SortedSet) {
751 return filter((SortedSet<E>) unfiltered, predicate);
753 if (unfiltered instanceof FilteredSet) {
756 FilteredSet<E> filtered = (FilteredSet<E>) unfiltered;
760 (Set<E>) filtered.unfiltered, combinedPredicate);
764 checkNotNull(unfiltered), checkNotNull(predicate));
769 FilteredSet(Set<E> unfiltered, Predicate<? super E> predicate) {
770 super(unfiltered, predicate);
814 SortedSet<E> unfiltered, Predicate<? super E> predicate) {
[all …]
DMultimaps.java2184 Multimap<K, V> unfiltered, final Predicate<? super K> keyPredicate) {
2193 return filterEntries(unfiltered, entryPredicate);
2229 Multimap<K, V> unfiltered, final Predicate<? super V> valuePredicate) {
2238 return filterEntries(unfiltered, entryPredicate);
2272 Multimap<K, V> unfiltered, Predicate<? super Entry<K, V>> entryPredicate) {
2274 return (unfiltered instanceof FilteredMultimap)
2275 ? filterFiltered((FilteredMultimap<K, V>) unfiltered, entryPredicate)
2276 : new FilteredMultimap<K, V>(checkNotNull(unfiltered), entryPredicate);
2290 return new FilteredMultimap<K, V>(map.unfiltered, predicate);
2294 final Multimap<K, V> unfiltered;
[all …]
DIterables.java579 final Iterable<T> unfiltered, final Predicate<? super T> predicate) {
580 checkNotNull(unfiltered);
585 return Iterators.filter(unfiltered.iterator(), predicate);
603 final Iterable<?> unfiltered, final Class<T> type) {
604 checkNotNull(unfiltered);
609 return Iterators.filter(unfiltered.iterator(), type);
DIterators.java642 final Iterator<T> unfiltered, final Predicate<? super T> predicate) {
643 checkNotNull(unfiltered);
647 while (unfiltered.hasNext()) {
648 T element = unfiltered.next();
671 Iterator<?> unfiltered, Class<T> type) {
673 filter(unfiltered, Predicates.instanceOf(type));
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DMaps.java1284 Map<K, V> unfiltered, final Predicate<? super K> keyPredicate) {
1285 if (unfiltered instanceof SortedMap) {
1286 return filterKeys((SortedMap<K, V>) unfiltered, keyPredicate);
1296 return (unfiltered instanceof AbstractFilteredMap)
1297 ? filterFiltered((AbstractFilteredMap<K, V>) unfiltered, entryPredicate)
1299 checkNotNull(unfiltered), keyPredicate, entryPredicate);
1334 SortedMap<K, V> unfiltered, final Predicate<? super K> keyPredicate) {
1344 return filterEntries(unfiltered, entryPredicate);
1377 Map<K, V> unfiltered, final Predicate<? super V> valuePredicate) {
1378 if (unfiltered instanceof SortedMap) {
[all …]
DSets.java737 Set<E> unfiltered, Predicate<? super E> predicate) {
738 if (unfiltered instanceof SortedSet) {
739 return filter((SortedSet<E>) unfiltered, predicate);
741 if (unfiltered instanceof FilteredSet) {
744 FilteredSet<E> filtered = (FilteredSet<E>) unfiltered;
748 (Set<E>) filtered.unfiltered, combinedPredicate);
752 checkNotNull(unfiltered), checkNotNull(predicate));
757 FilteredSet(Set<E> unfiltered, Predicate<? super E> predicate) {
758 super(unfiltered, predicate);
802 SortedSet<E> unfiltered, Predicate<? super E> predicate) {
[all …]
DMultimaps.java2073 return new FilteredMultimap<K, V>(map.unfiltered, predicate);
2077 final Multimap<K, V> unfiltered;
2080 FilteredMultimap(Multimap<K, V> unfiltered, Predicate<? super Entry<K, V>> predicate) {
2081 this.unfiltered = unfiltered;
2108 return unfiltered.containsEntry(key, value) && satisfiesPredicate(key, value);
2113 return unfiltered.put(key, value);
2117 return containsEntry(key, value) ? unfiltered.remove(key, value) : false;
2124 return unfiltered.putAll(key, values);
2131 return unfiltered.putAll(multimap);
2141 unfiltered.putAll(key, values);
[all …]
DIterators.java624 final Iterator<T> unfiltered, final Predicate<? super T> predicate) {
625 checkNotNull(unfiltered);
629 while (unfiltered.hasNext()) {
630 T element = unfiltered.next();
DIterables.java561 final Iterable<T> unfiltered, final Predicate<? super T> predicate) {
562 checkNotNull(unfiltered);
567 return Iterators.filter(unfiltered.iterator(), predicate);
/external/webkit/Source/JavaScriptCore/runtime/
DJSONObject.cpp616 JSValue walk(JSValue unfiltered);
618 JSValue callReviver(JSObject* thisObj, JSValue property, JSValue unfiltered) in callReviver() argument
620 JSValue args[] = { property, unfiltered }; in callReviver()
638 NEVER_INLINE JSValue Walker::walk(JSValue unfiltered) in walk() argument
647 JSValue inValue = unfiltered; in walk()
820 JSValue unfiltered = jsonParser.tryLiteralParse(); in JSONProtoFuncParse() local
821 if (!unfiltered) in JSONProtoFuncParse()
825 return JSValue::encode(unfiltered); in JSONProtoFuncParse()
831 return JSValue::encode(unfiltered); in JSONProtoFuncParse()
832 …ec, Local<JSObject>(exec->globalData(), asObject(function)), callType, callData).walk(unfiltered)); in JSONProtoFuncParse()
/external/v8/src/
Djson.js56 var unfiltered = %ParseJson(TO_STRING_INLINE(text));
58 return Revive({'': unfiltered}, '', reviver);
60 return unfiltered;
/external/valgrind/main/tests/
Dvg_regtest.in210 } elsif ($arg =~ /^--keep-unfiltered$/) {
/external/valgrind/main/gdbserver_tests/
DREADME_DEVELOPERS48 perl tests/vg_regtest --keep-unfiltered gdbserver_tests
/external/webkit/Source/WebCore/
DChangeLog-2010-12-06114684 …AbsoluteQuad(strokeBoundingBox()) in order to highlight the unclipped, unfiltered, etc.. region th…