Home
last modified time | relevance | path

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

12345678910

/external/webrtc/talk/media/webrtc/
Dwebrtcmediaengine_unittest.cc114 std::vector<webrtc::RtpExtension> filtered = in TEST() local
116 EXPECT_EQ(0, filtered.size()); in TEST()
121 std::vector<webrtc::RtpExtension> filtered = in TEST() local
123 EXPECT_EQ(2, filtered.size()); in TEST()
124 EXPECT_EQ("c", filtered[0].name); in TEST()
125 EXPECT_EQ("i", filtered[1].name); in TEST()
130 std::vector<webrtc::RtpExtension> filtered = in TEST() local
132 EXPECT_EQ(12, filtered.size()); in TEST()
133 EXPECT_TRUE(IsSorted(filtered)); in TEST()
138 std::vector<webrtc::RtpExtension> filtered = in TEST() local
[all …]
/external/mockito/src/test/java/org/mockito/internal/exceptions/stacktrace/
DStackTraceFilterTest.java27 StackTraceElement[] filtered = filter.filter(t, false); in shouldFilterOutCglibGarbage() local
29 Assertions.assertThat(filtered).has(onlyThoseClasses("MockitoExampleTest")); in shouldFilterOutCglibGarbage()
39 StackTraceElement[] filtered = filter.filter(t, false); in shouldFilterOutByteBuddyGarbage() local
41 Assertions.assertThat(filtered).has(onlyThoseClasses("MockitoExampleTest")); in shouldFilterOutByteBuddyGarbage()
52 StackTraceElement[] filtered = filter.filter(t, false); in shouldFilterOutMockitoPackage() local
54 Assertions.assertThat(filtered).has(onlyThoseClasses("org.test.MockitoSampleTest")); in shouldFilterOutMockitoPackage()
67 StackTraceElement[] filtered = filter.filter(t, false); in shouldNotFilterOutTracesMiddleGoodTraces() local
69 …Assertions.assertThat(filtered).has(onlyThoseClasses("org.test.TestSupport", "org.test.TestSupport… in shouldNotFilterOutTracesMiddleGoodTraces()
81 StackTraceElement[] filtered = filter.filter(t, false); in shouldKeepRunners() local
83 …Assertions.assertThat(filtered).has(onlyThoseClasses("org.test.MockitoSampleTest", "junit.stuff", … in shouldKeepRunners()
[all …]
/external/webrtc/webrtc/modules/video_coding/utility/
Dframe_dropper.cc78 if (frameSizeKbits > _keyFrameSizeAvgKbits.filtered()) { in Fill()
82 frameSizeKbits -= _keyFrameSizeAvgKbits.filtered(); in Fill()
87 if (_keyFrameRatio.filtered() > 1e-5 && in Fill()
88 1 / _keyFrameRatio.filtered() < _keyFrameSpreadFrames) { in Fill()
94 static_cast<int32_t>(1 / _keyFrameRatio.filtered() + 0.5); in Fill()
126 if (_keyFrameRatio.filtered() > 0 && in Leak()
127 1 / _keyFrameRatio.filtered() < _keyFrameSpreadFrames) { in Leak()
128 T -= _keyFrameSizeAvgKbits.filtered() * _keyFrameRatio.filtered(); in Leak()
130 T -= _keyFrameSizeAvgKbits.filtered() / _keyFrameSpreadFrames; in Leak()
192 if (_dropRatio.filtered() >= 0.5f) { // Drops per keep in DropFrame()
[all …]
/external/xz-java/src/org/tukaani/xz/
DSimpleInputStream.java24 private int filtered = 0; field in SimpleInputStream
72 int copySize = Math.min(filtered, len); in read()
75 filtered -= copySize; in read()
83 if (pos + filtered + unfiltered == FILTER_BUF_SIZE) { in read()
85 filtered + unfiltered); in read()
92 assert filtered == 0; in read()
95 int inSize = FILTER_BUF_SIZE - (pos + filtered + unfiltered); in read()
96 inSize = in.read(filterBuf, pos + filtered + unfiltered, in read()
103 filtered = unfiltered; in read()
108 filtered = simpleFilter.code(filterBuf, pos, unfiltered); in read()
[all …]
DSimpleOutputStream.java67 int filtered = simpleFilter.code(filterBuf, pos, unfiltered); in write() local
68 assert filtered <= unfiltered; in write() local
69 unfiltered -= filtered; in write()
73 out.write(filterBuf, pos, filtered); in write()
79 pos += filtered; in write()
/external/guava/guava-tests/test/com/google/common/collect/
DFilteredCollectionsTest.java77 C filtered = filter(unfiltered, EVEN); in testIterationOrderPreserved() local
79 Iterator<Integer> filteredItr = filtered.iterator(); in testIterationOrderPreserved()
113 C filtered = filter(createUnfiltered(contents), EVEN); in testAdd() local
115 assertEquals(expectedResult, filtered.add(toAdd)); in testAdd()
151 C filtered = filter(createUnfiltered(contents), EVEN); in testAddAllFailsAtomically() local
160 assertThat(filteredToModify).has().exactlyAs(filtered); in testAddAllFailsAtomically()
219 C filtered = filter(createUnfiltered(contents), EVEN); in testFirst() local
222 Integer first = filtered.first(); in testFirst()
223 assertFalse(filtered.isEmpty()); in testFirst()
224 assertEquals(Ordering.natural().min(filtered), first); in testFirst()
[all …]
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 …]
DMapsTest.java1350 Map<String, Integer> filtered = Maps.filterKeys(unfiltered, NOT_LENGTH_3); in testFilteredKeysIllegalPut() local
1351 filtered.put("a", 1); in testFilteredKeysIllegalPut()
1352 filtered.put("b", 2); in testFilteredKeysIllegalPut()
1353 assertEquals(ImmutableMap.of("a", 1, "b", 2), filtered); in testFilteredKeysIllegalPut()
1356 filtered.put("yyy", 3); in testFilteredKeysIllegalPut()
1363 Map<String, Integer> filtered = Maps.filterKeys(unfiltered, NOT_LENGTH_3); in testFilteredKeysIllegalPutAll() local
1364 filtered.put("a", 1); in testFilteredKeysIllegalPutAll()
1365 filtered.put("b", 2); in testFilteredKeysIllegalPutAll()
1366 assertEquals(ImmutableMap.of("a", 1, "b", 2), filtered); in testFilteredKeysIllegalPutAll()
1369 filtered.putAll(ImmutableMap.of("c", 3, "zzz", 4, "b", 5)); in testFilteredKeysIllegalPutAll()
[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/swiftshader/third_party/llvm-7.0/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/swiftshader/third_party/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/xz-embedded/linux/lib/xz/
Dxz_dec_bcj.c57 size_t filtered; member
348 size_t filtered; in bcj_apply() local
356 filtered = bcj_x86(s, buf, size); in bcj_apply()
361 filtered = bcj_powerpc(s, buf, size); in bcj_apply()
366 filtered = bcj_ia64(s, buf, size); in bcj_apply()
371 filtered = bcj_arm(s, buf, size); in bcj_apply()
376 filtered = bcj_armthumb(s, buf, size); in bcj_apply()
381 filtered = bcj_sparc(s, buf, size); in bcj_apply()
386 filtered = 0; in bcj_apply()
390 *pos += filtered; in bcj_apply()
[all …]
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DMapsTest.java1042 Map<String, Integer> filtered = Maps.filterKeys(unfiltered, NOT_LENGTH_3); in testFilteredKeysIllegalPut() local
1043 filtered.put("a", 1); in testFilteredKeysIllegalPut()
1044 filtered.put("b", 2); in testFilteredKeysIllegalPut()
1045 assertEquals(ImmutableMap.of("a", 1, "b", 2), filtered); in testFilteredKeysIllegalPut()
1048 filtered.put("yyy", 3); in testFilteredKeysIllegalPut()
1055 Map<String, Integer> filtered = Maps.filterKeys(unfiltered, NOT_LENGTH_3); in testFilteredKeysIllegalPutAll() local
1056 filtered.put("a", 1); in testFilteredKeysIllegalPutAll()
1057 filtered.put("b", 2); in testFilteredKeysIllegalPutAll()
1058 assertEquals(ImmutableMap.of("a", 1, "b", 2), filtered); in testFilteredKeysIllegalPutAll()
1061 filtered.putAll(ImmutableMap.of("c", 3, "zzz", 4, "b", 5)); in testFilteredKeysIllegalPutAll()
[all …]
/external/proguard/src/proguard/
DConfigurationWriter.java196 boolean filtered = false; in writeJarOptions()
200 filtered = writeFilter(filtered, entry.getAarFilter()); in writeJarOptions()
201 filtered = writeFilter(filtered, entry.getApkFilter()); in writeJarOptions()
202 filtered = writeFilter(filtered, entry.getZipFilter()); in writeJarOptions()
203 filtered = writeFilter(filtered, entry.getEarFilter()); in writeJarOptions()
204 filtered = writeFilter(filtered, entry.getWarFilter()); in writeJarOptions()
205 filtered = writeFilter(filtered, entry.getJarFilter()); in writeJarOptions()
206 filtered = writeFilter(filtered, entry.getFilter()); in writeJarOptions()
208 if (filtered) in writeJarOptions()
219 private boolean writeFilter(boolean filtered, List filter) in writeFilter() argument
[all …]
/external/webrtc/webrtc/base/
Dexp_filter_unittest.cc25 EXPECT_FLOAT_EQ(value, filter.filtered()); in TEST()
40 EXPECT_FLOAT_EQ(value, filter.filtered()); in TEST()
52 EXPECT_FLOAT_EQ(value, filter.filtered()); in TEST()
64 EXPECT_EQ(value, filter.filtered()); in TEST()
68 EXPECT_FLOAT_EQ(value, filter.filtered()); in TEST()
/external/kmod/testsuite/
Dtest-blacklist.c41 struct kmod_list *list = NULL, *l, *filtered; in blacklist_1() local
61 &filtered); in blacklist_1()
66 if (filtered == NULL) { in blacklist_1()
71 kmod_list_foreach(l, filtered) { in blacklist_1()
84 kmod_module_unref_list(filtered); in blacklist_1()
/external/linux-kselftest/tools/testing/selftests/seccomp/
Dseccomp_benchmark.c71 unsigned long long native, filtered; in main() local
89 filtered = timing(CLOCK_PROCESS_CPUTIME_ID, samples) / samples; in main()
90 printf("getpid RET_ALLOW: %llu ns\n", filtered); in main()
93 filtered - native); in main()
95 if (filtered == native) in main()
/external/autotest/cli/
Dtest_unittest.py88 filtered = [val for val in self.values if val['name'] in ['test3']]
92 True, filtered)],
99 filtered = [val for val in self.values
104 True, filtered)],
111 filtered = [val for val in self.values
116 True, filtered)],
/external/webrtc/webrtc/common_audio/signal_processing/
Dfilter_ar.c28 int16_t* filtered, in WebRtcSpl_FilterAR() argument
36 int16_t* filteredFINAL_ptr = filtered; in WebRtcSpl_FilterAR()
43 int16_t* 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/mockito/src/main/java/org/mockito/internal/exceptions/stacktrace/
DStackTraceFilter.java31 final List<StackTraceElement> filtered = new ArrayList<StackTraceElement>(); in filter() local
34 filtered.add(element); in filter()
37 StackTraceElement[] result = new StackTraceElement[filtered.size()]; in filter()
38 return filtered.toArray(result); in filter()
/external/clang/tools/scan-build-py/tests/unit/
Dtest_compilation.py93 def filtered(flags): function
102 filtered([])
103 filtered(['-lclien', '-L/opt/me/lib', '-L', '/opt/you/lib'])
104 filtered(['-static'])
105 filtered(['-MD', '-MT', 'something'])
106 filtered(['-MMD', '-MF', 'something'])
/external/mockito/src/test/java/org/mockito/internal/util/collections/
DListUtilTest.java24 List<String> filtered = ListUtil.filter(list, new Filter<String>() { in shouldFilterList() local
30 Assertions.assertThat(filtered).containsSequence("one", "two", "three"); in shouldFilterList()
36 List<Object> filtered = ListUtil.filter(list, null); in shouldReturnEmptyIfEmptyListGiven() local
37 assertTrue(filtered.isEmpty()); in shouldReturnEmptyIfEmptyListGiven()
/external/skqp/tests/
DColorMatrixTest.cpp118 SkColor filtered = filter->filterColor(0xff0a0b0c); in DEF_TEST() local
119 REPORTER_ASSERT(r, SkColorGetA(filtered) == 0xff); in DEF_TEST()
120 REPORTER_ASSERT(r, SkColorGetR(filtered) == 0x0a); in DEF_TEST()
121 REPORTER_ASSERT(r, SkColorGetG(filtered) == 0xff); in DEF_TEST()
122 REPORTER_ASSERT(r, SkColorGetB(filtered) == 0x0c); in DEF_TEST()
/external/skia/tests/
DColorMatrixTest.cpp118 SkColor filtered = filter->filterColor(0xff0a0b0c); in DEF_TEST() local
119 REPORTER_ASSERT(r, SkColorGetA(filtered) == 0xff); in DEF_TEST()
120 REPORTER_ASSERT(r, SkColorGetR(filtered) == 0x0a); in DEF_TEST()
121 REPORTER_ASSERT(r, SkColorGetG(filtered) == 0xff); in DEF_TEST()
122 REPORTER_ASSERT(r, SkColorGetB(filtered) == 0x0c); in DEF_TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objcopy/
Dllvm-objcopy.cpp572 for (auto Arg : InputArgs.filtered(OBJCOPY_UNKNOWN)) in ParseObjcopyOptions()
575 for (auto Arg : InputArgs.filtered(OBJCOPY_INPUT)) in ParseObjcopyOptions()
594 for (auto Arg : InputArgs.filtered(OBJCOPY_redefine_symbol)) { in ParseObjcopyOptions()
602 for (auto Arg : InputArgs.filtered(OBJCOPY_rename_section)) { in ParseObjcopyOptions()
610 for (auto Arg : InputArgs.filtered(OBJCOPY_remove_section)) in ParseObjcopyOptions()
612 for (auto Arg : InputArgs.filtered(OBJCOPY_keep)) in ParseObjcopyOptions()
614 for (auto Arg : InputArgs.filtered(OBJCOPY_only_keep)) in ParseObjcopyOptions()
616 for (auto Arg : InputArgs.filtered(OBJCOPY_add_section)) in ParseObjcopyOptions()
631 for (auto Arg : InputArgs.filtered(OBJCOPY_localize_symbol)) in ParseObjcopyOptions()
633 for (auto Arg : InputArgs.filtered(OBJCOPY_globalize_symbol)) in ParseObjcopyOptions()
[all …]

12345678910