Home
last modified time | relevance | path

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

12345678910>>...81

/external/webrtc/talk/session/media/
Drtcpmuxfilter_unittest.cc34 cricket::RtcpMuxFilter filter; in TEST() local
39 EXPECT_FALSE(filter.DemuxRtcp(data, len)); in TEST()
41 filter.SetOffer(true, cricket::CS_LOCAL); in TEST()
42 EXPECT_TRUE(filter.DemuxRtcp(data, len)); in TEST()
44 filter.SetAnswer(true, cricket::CS_REMOTE); in TEST()
45 EXPECT_TRUE(filter.DemuxRtcp(data, len)); in TEST()
49 cricket::RtcpMuxFilter filter; in TEST() local
54 EXPECT_FALSE(filter.DemuxRtcp(data, len)); in TEST()
56 filter.SetOffer(true, cricket::CS_REMOTE); in TEST()
57 EXPECT_FALSE(filter.DemuxRtcp(data, len)); in TEST()
[all …]
/external/vixl/
DCPPLINT.cfg3 filter=+build/class
4 filter=+build/deprecated
5 filter=+build/endif_comment
6 filter=+build/forward_decl
7 filter=+build/include_order
8 filter=+build/printf_format
9 filter=+build/storage_class
10 filter=+legal/copyright
11 filter=+readability/boost
12 filter=+readability/braces
[all …]
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_matrix_filter.c49 create_vert_shader(struct vl_matrix_filter *filter) in create_vert_shader() argument
68 return ureg_create_shader_and_destroy(shader, filter->pipe); in create_vert_shader()
78 create_frag_shader(struct vl_matrix_filter *filter, unsigned num_offsets, in create_frag_shader() argument
147 return ureg_create_shader_and_destroy(shader, filter->pipe); in create_frag_shader()
151 vl_matrix_filter_init(struct vl_matrix_filter *filter, struct pipe_context *pipe, in vl_matrix_filter_init() argument
163 assert(filter && pipe); in vl_matrix_filter_init()
167 memset(filter, 0, sizeof(*filter)); in vl_matrix_filter_init()
168 filter->pipe = pipe; in vl_matrix_filter_init()
173 filter->rs_state = pipe->create_rasterizer_state(pipe, &rs_state); in vl_matrix_filter_init()
174 if (!filter->rs_state) in vl_matrix_filter_init()
[all …]
Dvl_median_filter.c47 create_vert_shader(struct vl_median_filter *filter) in create_vert_shader() argument
66 return ureg_create_shader_and_destroy(shader, filter->pipe); in create_vert_shader()
76 create_frag_shader(struct vl_median_filter *filter, in create_frag_shader() argument
80 struct pipe_screen *screen = filter->pipe->screen; in create_frag_shader()
154 return ureg_create_shader_and_destroy(shader, filter->pipe); in create_frag_shader()
238 vl_median_filter_init(struct vl_median_filter *filter, struct pipe_context *pipe, in vl_median_filter_init() argument
249 assert(filter && pipe); in vl_median_filter_init()
253 memset(filter, 0, sizeof(*filter)); in vl_median_filter_init()
254 filter->pipe = pipe; in vl_median_filter_init()
259 filter->rs_state = pipe->create_rasterizer_state(pipe, &rs_state); in vl_median_filter_init()
[all …]
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dbuffer_level_filter_unittest.cc22 BufferLevelFilter* filter = new BufferLevelFilter(); in TEST() local
23 EXPECT_EQ(0, filter->filtered_current_level()); in TEST()
24 delete filter; in TEST()
28 BufferLevelFilter filter; in TEST() local
31 filter.Reset(); in TEST()
32 filter.SetTargetBufferLevel(1); // Makes filter coefficient 251/256. in TEST()
37 filter.Update(value, 0 /* time_stretched_samples */, in TEST()
49 EXPECT_NEAR(expected_value, filter.filtered_current_level() >> 8, 1); in TEST()
56 BufferLevelFilter filter; in TEST() local
61 filter.SetTargetBufferLevel(3); // Makes filter coefficient 252/256. in TEST()
[all …]
/external/minijail/
Dbpf.c14 size_t bpf_validate_arch(struct sock_filter *filter) in bpf_validate_arch() argument
16 struct sock_filter *curr_block = filter; in bpf_validate_arch()
21 return curr_block - filter; in bpf_validate_arch()
25 size_t bpf_allow_syscall(struct sock_filter *filter, int nr) in bpf_allow_syscall() argument
27 struct sock_filter *curr_block = filter; in bpf_allow_syscall()
30 return curr_block - filter; in bpf_allow_syscall()
33 size_t bpf_allow_syscall_args(struct sock_filter *filter, in bpf_allow_syscall_args() argument
36 struct sock_filter *curr_block = filter; in bpf_allow_syscall_args()
39 return curr_block - filter; in bpf_allow_syscall_args()
44 size_t bpf_load_arg(struct sock_filter *filter, int argidx) in bpf_load_arg() argument
[all …]
/external/proguard/src/proguard/
DClassPathEntry.java42 private List filter; field in ClassPathEntry
222 return filter != null || in isFiltered()
237 return filter; in getFilter()
243 public void setFilter(List filter) in setFilter() argument
245 this.filter = filter == null || filter.size() == 0 ? null : filter; in setFilter()
260 public void setApkFilter(List filter) in setApkFilter() argument
262 this.apkFilter = filter == null || filter.size() == 0 ? null : filter; in setApkFilter()
277 public void setJarFilter(List filter) in setJarFilter() argument
279 this.jarFilter = filter == null || filter.size() == 0 ? null : filter; in setJarFilter()
294 public void setAarFilter(List filter) in setAarFilter() argument
[all …]
/external/strace/
Dseccomp.c112 decode_bpf_stmt(const struct bpf_filter *filter) in decode_bpf_stmt() argument
116 decode_bpf_code(filter->code); in decode_bpf_stmt()
118 if (BPF_CLASS(filter->code) == BPF_RET) { in decode_bpf_stmt()
119 unsigned int action = SECCOMP_RET_ACTION & filter->k; in decode_bpf_stmt()
120 unsigned int data = filter->k & ~action; in decode_bpf_stmt()
128 tprintf("%#x)", filter->k); in decode_bpf_stmt()
131 tprintf("BPF_STMT(%#x, %#x)", filter->code, filter->k); in decode_bpf_stmt()
136 decode_bpf_jump(const struct bpf_filter *filter) in decode_bpf_jump() argument
140 decode_bpf_code(filter->code); in decode_bpf_jump()
142 filter->k, filter->jt, filter->jf); in decode_bpf_jump()
[all …]
/external/proguard/src/proguard/gui/
DFilterDialog.java196 public void setFilter(List filter) in setFilter() argument
198 …filterTextField.setText(filter != null ? ListUtil.commaSeparatedString(filter, true) : DEFAULT_FIL… in setFilter()
207 String filter = filterTextField.getText(); in getFilter() local
209 return filter.equals(DEFAULT_FILTER) ? null : ListUtil.commaSeparatedList(filter); in getFilter()
216 public void setApkFilter(List filter) in setApkFilter() argument
218 …apkFilterTextField.setText(filter != null ? ListUtil.commaSeparatedString(filter, true) : DEFAULT_… in setApkFilter()
227 String filter = apkFilterTextField.getText(); in getApkFilter() local
229 return filter.equals(DEFAULT_APK_FILTER) ? null : ListUtil.commaSeparatedList(filter); in getApkFilter()
236 public void setJarFilter(List filter) in setJarFilter() argument
238 …jarFilterTextField.setText(filter != null ? ListUtil.commaSeparatedString(filter, true) : DEFAULT_… in setJarFilter()
[all …]
/external/webrtc/webrtc/base/
Dexp_filter_unittest.cc20 ExpFilter filter = ExpFilter(0.9f); in TEST() local
21 filter.Apply(100.0f, 10.0f); in TEST()
25 EXPECT_FLOAT_EQ(value, filter.filtered()); in TEST()
31 ExpFilter filter = ExpFilter(0.9f); in TEST() local
32 filter.Apply(100.0f, 10.0f); in TEST()
37 filter.Apply(10.0f, 20.0f); in TEST()
40 EXPECT_FLOAT_EQ(value, filter.filtered()); in TEST()
44 ExpFilter filter = ExpFilter(0.9f); in TEST() local
45 filter.Apply(100.0f, 10.0f); in TEST()
47 filter.Reset(0.8f); in TEST()
[all …]
/external/webrtc/webrtc/common_audio/
Dfir_filter_unittest.cc43 rtc::scoped_ptr<FIRFilter> filter( in TEST() local
45 filter->Filter(kInput, kInputLength, output); in TEST()
53 rtc::scoped_ptr<FIRFilter> filter( in TEST() local
55 filter->Filter(kInput, kInputLength, output); in TEST()
66 rtc::scoped_ptr<FIRFilter> filter( in TEST() local
68 filter->Filter(kInput, kInputLength, output); in TEST()
79 rtc::scoped_ptr<FIRFilter> filter( in TEST() local
81 filter->Filter(kInput, kInputLength, output); in TEST()
92 rtc::scoped_ptr<FIRFilter> filter( in TEST() local
94 filter->Filter(kInput, 2, output); in TEST()
[all …]
Dsparse_fir_filter_unittest.cc38 SparseFIRFilter filter(&kCoeff, kNumCoeff, kSparsity, kOffset); in TEST() local
39 filter.Filter(kInput, arraysize(kInput), output); in TEST()
70 SparseFIRFilter filter(&kCoeff, kNumCoeff, kSparsity, kOffset); in TEST() local
71 filter.Filter(kInput, arraysize(kInput), output); in TEST()
84 SparseFIRFilter filter(&kCoeff, kNumCoeff, kSparsity, kOffset); in TEST() local
85 filter.Filter(kInput, arraysize(kInput), output); in TEST()
97 SparseFIRFilter filter(kCoeffs, arraysize(kCoeffs), kSparsity, kOffset); in TEST() local
98 filter.Filter(kInput, arraysize(kInput), output); in TEST()
110 SparseFIRFilter filter(kCoeffs, arraysize(kCoeffs), kSparsity, kOffset); in TEST() local
111 filter.Filter(kInput, 2, output); in TEST()
[all …]
/external/squashfs-tools/squashfs-tools/
Dxz_wrapper.c386 struct filter *filter = malloc(filters * sizeof(struct filter)); in xz_init() local
389 if(filter == NULL) in xz_init()
396 stream->filter = filter; in xz_init()
399 memset(filter, 0, filters * sizeof(struct filter)); in xz_init()
404 filter[0].filter[0].id = LZMA_FILTER_LZMA2; in xz_init()
405 filter[0].filter[0].options = &stream->opt; in xz_init()
406 filter[0].filter[1].id = LZMA_VLI_UNKNOWN; in xz_init()
410 filter[j].buffer = malloc(block_size); in xz_init()
411 if(filter[j].buffer == NULL) in xz_init()
413 filter[j].filter[0].id = bcj[i].id; in xz_init()
[all …]
/external/iproute2/ip/
Dipneigh.c43 } filter; variable
87 if (rtnl_send_check(&rth, filter.flushb, filter.flushp) < 0) { in flush_update()
91 filter.flushp = 0; in flush_update()
215 if (filter.flushb && n->nlmsg_type != RTM_NEWNEIGH) in print_neigh()
218 if (filter.family && filter.family != r->ndm_family) in print_neigh()
220 if (filter.index && filter.index != r->ndm_ifindex) in print_neigh()
222 if (!(filter.state&r->ndm_state) && in print_neigh()
224 (r->ndm_state || !(filter.state&0x100)) && in print_neigh()
228 if (filter.master && !(n->nlmsg_flags & NLM_F_DUMP_FILTERED)) { in print_neigh()
239 if (filter.pfx.family) { in print_neigh()
[all …]
Dipmroute.c54 } filter; variable
89 if (filter.tb > 0 && filter.tb != table) in print_mroute()
94 if (filter.iif && filter.iif != iif) in print_mroute()
97 if (filter.af && filter.af != r->rtm_family) in print_mroute()
100 if (tb[RTA_DST] && filter.mdst.bitlen > 0) { in print_mroute()
106 if (inet_addr_match(&dst, &filter.mdst, filter.mdst.bitlen)) in print_mroute()
110 if (tb[RTA_SRC] && filter.msrc.bitlen > 0) { in print_mroute()
116 if (inet_addr_match(&src, &filter.msrc, filter.msrc.bitlen)) in print_mroute()
190 memset(&filter, 0, sizeof(filter)); in ipmroute_reset_filter()
191 filter.mdst.bitlen = -1; in ipmroute_reset_filter()
[all …]
Dipaddress.c63 } filter; variable
630 if (filter.ifindex && ifi->ifi_index != filter.ifindex) in print_linkinfo_brief()
632 if (filter.up && !(ifi->ifi_flags&IFF_UP)) in print_linkinfo_brief()
639 if (filter.label && in print_linkinfo_brief()
640 (!filter.family || filter.family == AF_PACKET) && in print_linkinfo_brief()
641 fnmatch(filter.label, RTA_DATA(tb[IFLA_IFNAME]), 0)) in print_linkinfo_brief()
646 if (filter.group != -1 && group != filter.group) in print_linkinfo_brief()
652 if (filter.master > 0 && master != filter.master) in print_linkinfo_brief()
655 else if (filter.master > 0) in print_linkinfo_brief()
658 if (filter.kind) { in print_linkinfo_brief()
[all …]
Diproute.c128 } filter; variable
132 if (rtnl_send_check(&rth, filter.flushb, filter.flushp) < 0) { in flush_update()
136 filter.flushp = 0; in flush_update()
158 if (filter.cloned == !(r->rtm_flags&RTM_F_CLONED)) in filter_nlmsg()
162 if (filter.tb) { in filter_nlmsg()
163 if (filter.tb == RT_TABLE_LOCAL) { in filter_nlmsg()
166 } else if (filter.tb == RT_TABLE_MAIN) { in filter_nlmsg()
174 if (filter.tb > 0 && filter.tb != table) in filter_nlmsg()
177 if ((filter.protocol^r->rtm_protocol)&filter.protocolmask) in filter_nlmsg()
179 if ((filter.scope^r->rtm_scope)&filter.scopemask) in filter_nlmsg()
[all …]
Dipnetconf.c31 } filter; variable
65 if (filter.family && filter.family != ncm->ncm_family) in print_netconf()
135 memset(&filter, 0, sizeof(filter)); in ipnetconf_reset_filter()
136 filter.ifindex = ifindex; in ipnetconf_reset_filter()
148 filter.family = preferred_family; in do_show()
149 if (filter.family == AF_UNSPEC) in do_show()
150 filter.family = AF_INET; in do_show()
155 filter.ifindex = ll_name_to_index(*argv); in do_show()
156 if (filter.ifindex <= 0) { in do_show()
166 if (filter.ifindex) { in do_show()
[all …]
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DSecurity2Test.java215 Map filter = new Hashtable(); in test_getProvidersLjava_util_Map() local
216 filter.put("KeyStore.BKS", ""); in test_getProvidersLjava_util_Map()
217 filter.put("Signature.SHA1withDSA", ""); in test_getProvidersLjava_util_Map()
218 Provider provTest[] = Security.getProviders(filter); in test_getProvidersLjava_util_Map()
221 0, getProvidersCount(filter)); in test_getProvidersLjava_util_Map()
224 getProvidersCount(filter), provTest.length); in test_getProvidersLjava_util_Map()
227 filter = new Hashtable(); in test_getProvidersLjava_util_Map()
228 filter.put("MessageDigest.MD2", ""); in test_getProvidersLjava_util_Map()
229 filter.put("CertificateFactory.X.509", ""); in test_getProvidersLjava_util_Map()
230 filter.put("KeyFactory.RSA", ""); in test_getProvidersLjava_util_Map()
[all …]
/external/autotest/client/site_tests/security_SeccompSyscallFilters/src/
Dseccomp_bpf_tests.c130 struct sock_filter filter[] = { in TEST() local
134 .len = (unsigned short)(sizeof(filter)/sizeof(filter[0])), in TEST()
135 .filter = filter, in TEST()
154 struct sock_filter filter[] = { in TEST() local
158 .len = (unsigned short)(sizeof(filter)/sizeof(filter[0])), in TEST()
159 .filter = filter, in TEST()
175 struct sock_filter filter[] = { in TEST() local
179 .len = (unsigned short)(sizeof(filter)/sizeof(filter[0])), in TEST()
180 .filter = filter, in TEST()
191 struct sock_filter filter[] = { in TEST() local
[all …]
/external/v8/test/webkit/
Darray-filter-expected.txt24 Tests for Array.prototype.filter
29 PASS [undefined].filter(passUndefined) is [undefined]
30 PASS (new Array(20)).filter(passUndefined) is []
31 PASS [0,1,2,3,4,5,6,7,8,9].filter(passEven) is [0,2,4,6,8]
32 PASS [0,1,2,3,4,5,6,7,8,9].filter(passAfter5) is [5,6,7,8,9]
33 PASS mixPartialAndFast.filter(passAfter5) is [5,6,7,8,9,sparseArrayLength-1]
34 PASS toObject([undefined]).filter(passUndefined) is [undefined]
35 PASS toObject(new Array(20)).filter(passUndefined) is []
36 PASS toObject([0,1,2,3,4,5,6,7,8,9]).filter(passEven) is [0,2,4,6,8]
37 PASS toObject([0,1,2,3,4,5,6,7,8,9]).filter(passAfter5) is [5,6,7,8,9]
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DFilteredCollectionsTest.java72 abstract C filter(C elements, Predicate<? super Integer> predicate); in filter() method in FilteredCollectionsTest.AbstractFilteredIterableTest
77 C filtered = filter(unfiltered, EVEN); in testIterationOrderPreserved()
97 C filterThenAdd = filter(unfiltered, EVEN); in testReadsThroughAdd()
102 C addThenFilter = filter(createUnfiltered(target), EVEN); in testReadsThroughAdd()
113 C filtered = filter(createUnfiltered(contents), EVEN); in testAdd()
128 filter(createUnfiltered(contents), EVEN).remove(toRemove)); in testRemove()
137 filter(createUnfiltered(contents), EVEN).contains(i)); in testContains()
144 assertFalse(filter(createUnfiltered(contents), EVEN).contains(new Object())); in testContainsOnDifferentType()
151 C filtered = filter(createUnfiltered(contents), EVEN); in testAddAllFailsAtomically()
152 C filteredToModify = filter(createUnfiltered(contents), EVEN); in testAddAllFailsAtomically()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICUCurrencyMetaInfo.java36 public List<CurrencyInfo> currencyInfo(CurrencyFilter filter) { in currencyInfo() argument
37 return collect(new InfoCollector(), filter); in currencyInfo()
41 public List<String> currencies(CurrencyFilter filter) { in currencies() argument
42 return collect(new CurrencyCollector(), filter); in currencies()
46 public List<String> regions(CurrencyFilter filter) { in regions() argument
47 return collect(new RegionCollector(), filter); in regions()
71 private <T> List<T> collect(Collector<T> collector, CurrencyFilter filter) { in collect() argument
76 if (filter == null) { in collect()
77 filter = CurrencyFilter.all(); in collect()
80 if (filter.region != null) { in collect()
[all …]
/external/icu/icu4j/main/classes/currdata/src/com/ibm/icu/impl/
DICUCurrencyMetaInfo.java34 public List<CurrencyInfo> currencyInfo(CurrencyFilter filter) { in currencyInfo() argument
35 return collect(new InfoCollector(), filter); in currencyInfo()
39 public List<String> currencies(CurrencyFilter filter) { in currencies() argument
40 return collect(new CurrencyCollector(), filter); in currencies()
44 public List<String> regions(CurrencyFilter filter) { in regions() argument
45 return collect(new RegionCollector(), filter); in regions()
69 private <T> List<T> collect(Collector<T> collector, CurrencyFilter filter) { in collect() argument
74 if (filter == null) { in collect()
75 filter = CurrencyFilter.all(); in collect()
78 if (filter.region != null) { in collect()
[all …]
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/
Dbwe_test_framework_unittest.cc212 LossFilter filter(NULL, 0); in TestLossFilter() local
213 filter.SetLoss(loss_percent); in TestLossFilter()
221 filter.RunFor(0, &packets); in TestLossFilter()
237 filter.RunFor(0, &packets); in TestLossFilter()
429 JitterFilter filter(NULL, 0); in TestJitterFilter() local
430 filter.SetMaxJitter(max_jitter_ms); in TestJitterFilter()
446 filter.RunFor(max_jitter_ms, &packets); in TestJitterFilter()
473 EXPECT_NEAR(filter.MeanUs(), jitter_us.GetMean(), in TestJitterFilter()
517 ReorderFilter filter(NULL, 0); in TestReorderFilter() local
518 filter.SetReorder(reorder_percent); in TestReorderFilter()
[all …]

12345678910>>...81