Home
last modified time | relevance | path

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

1234

/external/guava/guava-tests/test/com/google/common/collect/
DFilteredMultimapTest.java61 Multimap<String, Integer> filtered = Multimaps.filterKeys(unfiltered, KEY_PREDICATE); in testFilterKeys() local
62 assertEquals(1, filtered.size()); in testFilterKeys()
63 assertTrue(filtered.containsEntry("foo", 55556)); in testFilterKeys()
77 Multimap<String, Integer> filtered = Multimaps.filterValues(unfiltered, VALUE_PREDICATE); in testFilterValues() local
78 assertEquals(1, filtered.size()); in testFilterValues()
79 assertFalse(filtered.containsEntry("foo", 55556)); in testFilterValues()
80 assertTrue(filtered.containsEntry("badkey", 1)); in testFilterValues()
89 Multimap<String, Integer> filtered = Multimaps.filterValues(keyFiltered, VALUE_PREDICATE); in testFilterFiltered() local
90 assertEquals(1, filtered.size()); in testFilterFiltered()
91 assertTrue(filtered.containsEntry("foo", 1)); in testFilterFiltered()
[all …]
DFilteredCollectionsTest.java76 C filtered = filter(unfiltered, EVEN); in testIterationOrderPreserved() local
78 Iterator<Integer> filteredItr = filtered.iterator(); in testIterationOrderPreserved()
112 C filtered = filter(createUnfiltered(contents), EVEN); in testAdd() local
114 assertEquals(expectedResult, filtered.add(toAdd)); in testAdd()
150 C filtered = filter(createUnfiltered(contents), EVEN); in testAddAllFailsAtomically() local
159 ASSERT.that(filteredToModify).has().exactlyAs(filtered); in testAddAllFailsAtomically()
218 C filtered = filter(createUnfiltered(contents), EVEN); in testFirst() local
221 Integer first = filtered.first(); in testFirst()
222 assertFalse(filtered.isEmpty()); in testFirst()
223 assertEquals(Ordering.natural().min(filtered), first); in testFirst()
[all …]
DMapsTest.java1220 Map<String, Integer> filtered = Maps.filterKeys(unfiltered, NOT_LENGTH_3);
1221 filtered.put("a", 1);
1222 filtered.put("b", 2);
1223 assertEquals(ImmutableMap.of("a", 1, "b", 2), filtered);
1226 filtered.put("yyy", 3);
1233 Map<String, Integer> filtered = Maps.filterKeys(unfiltered, NOT_LENGTH_3);
1234 filtered.put("a", 1);
1235 filtered.put("b", 2);
1236 assertEquals(ImmutableMap.of("a", 1, "b", 2), filtered);
1239 filtered.putAll(ImmutableMap.of("c", 3, "zzz", 4, "b", 5));
[all …]
/external/llvm/utils/Misc/
Dzkill231 filtered = ps = getProcessTable()
235 filtered = [p for p in filtered
238 filtered = [p for p in filtered
242 filtered = [p for p in filtered
245 filtered = [p for p in filtered
247 filtered = [p for p in filtered
249 filtered = [p for p in filtered
251 filtered = [p for p in filtered
253 filtered = [p for p in filtered
256 if len(filtered) == len(ps):
[all …]
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DMapsTest.java1073 Map<String, Integer> filtered = Maps.filterKeys(unfiltered, NOT_LENGTH_3);
1074 filtered.put("a", 1);
1075 filtered.put("b", 2);
1076 assertEquals(ImmutableMap.of("a", 1, "b", 2), filtered);
1079 filtered.put("yyy", 3);
1086 Map<String, Integer> filtered = Maps.filterKeys(unfiltered, NOT_LENGTH_3);
1087 filtered.put("a", 1);
1088 filtered.put("b", 2);
1089 assertEquals(ImmutableMap.of("a", 1, "b", 2), filtered);
1092 filtered.putAll(ImmutableMap.of("c", 3, "zzz", 4, "b", 5));
[all …]
/external/proguard/src/proguard/
DConfigurationWriter.java189 boolean filtered = false; in writeJarOptions()
193 filtered = writeFilter(filtered, entry.getAarFilter()); in writeJarOptions()
194 filtered = writeFilter(filtered, entry.getApkFilter()); in writeJarOptions()
195 filtered = writeFilter(filtered, entry.getZipFilter()); in writeJarOptions()
196 filtered = writeFilter(filtered, entry.getEarFilter()); in writeJarOptions()
197 filtered = writeFilter(filtered, entry.getWarFilter()); in writeJarOptions()
198 filtered = writeFilter(filtered, entry.getJarFilter()); in writeJarOptions()
199 filtered = writeFilter(filtered, entry.getFilter()); in writeJarOptions()
201 if (filtered) in writeJarOptions()
212 private boolean writeFilter(boolean filtered, List filter) in writeFilter() argument
[all …]
/external/webrtc/src/common_audio/signal_processing/
Dfilter_ar.c28 WebRtc_Word16* filtered, in WebRtcSpl_FilterAR() argument
36 WebRtc_Word16* filteredFINAL_ptr = filtered; in WebRtcSpl_FilterAR()
43 WebRtc_Word16* filtered_ptr = &filtered[i - 1]; in WebRtcSpl_FilterAR()
72 WebRtcSpl_CopyFromEndW16(filtered, x_length, a_length - 1, state); in WebRtcSpl_FilterAR()
83 state[state_length - x_length + i] = filtered[i]; in WebRtcSpl_FilterAR()
/external/valgrind/gdbserver_tests/
Dfilter_make_empty8 ps -lf -p $PPID >> garbage.filtered.out
9 date >> garbage.filtered.out
10 cat >> garbage.filtered.out
Dsimulate_control_c22 (while ! $GUARDCMD >> garbage.filtered.out 2>&1
/external/mockito/src/org/mockito/internal/util/collections/
DListUtil.java14 LinkedList<T> filtered = new LinkedList<T>(); in filter() local
17 filtered.add(t); in filter()
20 return filtered; in filter()
/external/mockito/src/org/mockito/internal/debugging/
DLocationImpl.java29 … StackTraceElement[] filtered = stackTraceFilter.filter(stackTraceHolder.getStackTrace(), false); in toString() local
30 if (filtered.length == 0) { in toString()
33 return "-> at " + filtered[0].toString(); in toString()
/external/mockito/src/org/mockito/internal/exceptions/stacktrace/
DStackTraceFilter.java53 List<StackTraceElement> filtered = new ArrayList<StackTraceElement>(top); in filter() local
54 filtered.addAll(bottom); in filter()
55 return filtered.toArray(new StackTraceElement[]{}); in filter()
DConditionalStackTraceFilter.java23 StackTraceElement[] filtered = filter.filter(throwable.getStackTrace(), true); in filter() local
24 throwable.setStackTrace(filtered); in filter()
/external/v8/tools/testrunner/local/
Dtestsuite.py112 filtered = []
145 filtered.append(t)
146 self.tests = filtered
159 filtered = []
174 filtered.append(t)
176 self.tests = filtered
/external/doclava/res/assets/templates/assets/
Dsearch_autocomplete.js32 var filtered = document.getElementById("search_filtered");
37 filtered.onmouseover = function() {
47 var r = filtered.insertRow(-1);
76 r = filtered.rows[i];
86 r = filtered.rows[i];
/external/deqp/scripts/
Dtestset.py164 filtered = []
167 filtered.append(case)
168 return filtered
183 filtered = []
186 filtered.append(case)
187 return filtered
/external/skia/tools/
Dnanobench_flags.py94 filtered = [line for line in not_run if line > cov_start and line < cov_end]
95 if filtered:
96 print 'Lines not covered by test cases: ', filtered
Ddm_flags.py204 filtered = [line for line in not_run if line > cov_start and line < cov_end]
205 if filtered:
206 print 'Lines not covered by test cases: ', filtered
/external/linux-tools-perf/src/tools/perf/util/
Dhist.c175 if (!n->filtered) in hists__output_recalc_col_len()
238 if (!he->filtered) in hists__decay_entry()
326 if (!h->filtered) { in hists__inc_nr_entries()
427 .filtered = symbol__parent_filter(sym_parent), in __hists__add_mem_entry()
457 .filtered = symbol__parent_filter(sym_parent), in __hists__add_branch_entry()
486 .filtered = symbol__parent_filter(sym_parent), in __hists__add_entry()
750 h->filtered &= ~(1 << filter); in hists__remove_entry_filter()
751 if (h->filtered) in hists__remove_entry_filter()
770 he->filtered |= (1 << HIST_FILTER__DSO); in hists__filter_entry_by_dso()
803 he->filtered |= (1 << HIST_FILTER__THREAD); in hists__filter_entry_by_thread()
[all …]
/external/libvpx/libvpx/build/make/
Drtcd.pl192 my @filtered;
193 foreach (@_) { push @filtered, $_ unless $disabled{$_}; }
194 return @filtered;
/external/junit/src/org/junit/internal/runners/
DJUnit38ClassRunner.java133 TestSuite filtered= new TestSuite(suite.getName()); in filter() local
138 filtered.addTest(test); in filter()
140 setTest(filtered); in filter()
/external/toybox/toys/pending/
Dxzcat.c457 size_t filtered; member
765 size_t filtered; in bcj_apply() local
773 filtered = bcj_x86(s, buf, size); in bcj_apply()
778 filtered = bcj_powerpc(s, buf, size); in bcj_apply()
783 filtered = bcj_ia64(s, buf, size); in bcj_apply()
788 filtered = bcj_arm(s, buf, size); in bcj_apply()
793 filtered = bcj_armthumb(s, buf, size); in bcj_apply()
798 filtered = bcj_sparc(s, buf, size); in bcj_apply()
803 filtered = 0; in bcj_apply()
807 *pos += filtered; in bcj_apply()
[all …]
/external/conscrypt/src/main/java/org/conscrypt/
DOpenSSLX509CertificateFactory.java329 final List<X509Certificate> filtered = new ArrayList<X509Certificate>(certificates.size()); in engineGenerateCertPath() local
337 filtered.add((X509Certificate) c); in engineGenerateCertPath()
340 return new OpenSSLX509CertPath(filtered); in engineGenerateCertPath()
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DFeatureSpecificTestSuiteBuilder.java306 TestSuite filtered = new TestSuite(suite.getName()); in filterSuite() local
311 filtered.addTest(test); in filterSuite()
314 return filtered; in filterSuite()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DSets.java717 FilteredSet<E> filtered = (FilteredSet<E>) unfiltered;
719 = Predicates.<E>and(filtered.predicate, predicate);
721 (Set<E>) filtered.unfiltered, combinedPredicate);
782 FilteredSet<E> filtered = (FilteredSet<E>) unfiltered;
784 = Predicates.<E>and(filtered.predicate, predicate);
786 (SortedSet<E>) filtered.unfiltered, combinedPredicate);

1234