Home
last modified time | relevance | path

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

12345678910>>...102

/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/mesa3d/src/gallium/auxiliary/vl/
Dvl_deint_filter.c64 create_vert_shader(struct vl_deint_filter *filter) in create_vert_shader() argument
83 return ureg_create_shader_and_destroy(shader, filter->pipe); in create_vert_shader()
87 create_copy_frag_shader(struct vl_deint_filter *filter, unsigned field) in create_copy_frag_shader() argument
119 return ureg_create_shader_and_destroy(shader, filter->pipe); in create_copy_frag_shader()
123 create_deint_frag_shader(struct vl_deint_filter *filter, unsigned field, in create_deint_frag_shader() argument
232 return ureg_create_shader_and_destroy(shader, filter->pipe); in create_deint_frag_shader()
236 vl_deint_filter_init(struct vl_deint_filter *filter, struct pipe_context *pipe, in vl_deint_filter_init() argument
247 assert(filter && pipe); in vl_deint_filter_init()
250 memset(filter, 0, sizeof(*filter)); in vl_deint_filter_init()
251 filter->pipe = pipe; in vl_deint_filter_init()
[all …]
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()
174 filter->rs_state = pipe->create_rasterizer_state(pipe, &rs_state); in vl_matrix_filter_init()
175 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()
239 vl_median_filter_init(struct vl_median_filter *filter, struct pipe_context *pipe, in vl_median_filter_init() argument
250 assert(filter && pipe); in vl_median_filter_init()
254 memset(filter, 0, sizeof(*filter)); in vl_median_filter_init()
255 filter->pipe = pipe; in vl_median_filter_init()
261 filter->rs_state = pipe->create_rasterizer_state(pipe, &rs_state); in vl_median_filter_init()
[all …]
Dvl_bicubic_filter.c50 create_vert_shader(struct vl_bicubic_filter *filter) in create_vert_shader() argument
69 return ureg_create_shader_and_destroy(shader, filter->pipe); in create_vert_shader()
150 create_frag_shader(struct vl_bicubic_filter *filter, unsigned video_width, in create_frag_shader() argument
153 struct pipe_screen *screen = filter->pipe->screen; in create_frag_shader()
236 return ureg_create_shader_and_destroy(shader, filter->pipe); in create_frag_shader()
240 vl_bicubic_filter_init(struct vl_bicubic_filter *filter, struct pipe_context *pipe, in vl_bicubic_filter_init() argument
250 assert(filter && pipe); in vl_bicubic_filter_init()
253 memset(filter, 0, sizeof(*filter)); in vl_bicubic_filter_init()
254 filter->pipe = pipe; in vl_bicubic_filter_init()
260 filter->rs_state = pipe->create_rasterizer_state(pipe, &rs_state); in vl_bicubic_filter_init()
[all …]
/external/libnetfilter_conntrack/src/conntrack/
Dfilter.c12 static void filter_attr_l4proto(struct nfct_filter *filter, const void *value) in filter_attr_l4proto() argument
14 if (filter->l4proto_len >= __FILTER_L4PROTO_MAX) in filter_attr_l4proto()
17 set_bit(*((int *) value), filter->l4proto_map); in filter_attr_l4proto()
18 filter->l4proto_len++; in filter_attr_l4proto()
22 filter_attr_l4proto_state(struct nfct_filter *filter, const void *value) in filter_attr_l4proto_state() argument
26 set_bit_u16(this->state, &filter->l4proto_state[this->proto].map); in filter_attr_l4proto_state()
27 filter->l4proto_state[this->proto].len++; in filter_attr_l4proto_state()
30 static void filter_attr_src_ipv4(struct nfct_filter *filter, const void *value) in filter_attr_src_ipv4() argument
34 if (filter->l3proto_elems[0] >= __FILTER_ADDR_MAX) in filter_attr_src_ipv4()
37 filter->l3proto[0][filter->l3proto_elems[0]].addr = this->addr; in filter_attr_src_ipv4()
[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/vixl/
DCPPLINT.cfg3 filter=+build/class
4 filter=+build/deprecated
5 filter=+build/forward_decl
6 filter=+build/include_order
7 filter=+build/printf_format
8 filter=+build/storage_class
9 filter=+legal/copyright
10 filter=+readability/boost
11 filter=+readability/braces
12 filter=+readability/casting
[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/oj-libjdwp/src/share/back/
DeventFilter.c160 Filter *filter; in eventFilterRestricted_alloc() local
168 for (i = 0, filter = FILTERS_ARRAY(node); in eventFilterRestricted_alloc()
170 i++, filter++) { in eventFilterRestricted_alloc()
171 filter->modifier = JDWP_REQUEST_NONE; in eventFilterRestricted_alloc()
188 Filter *filter = FILTERS_ARRAY(node); in clearFilters() local
190 for (i = 0; i < FILTER_COUNT(node); ++i, ++filter) { in clearFilters()
191 switch (filter->modifier) { in clearFilters()
193 if ( filter->u.ThreadOnly.thread != NULL ) { in clearFilters()
194 tossGlobalRef(env, &(filter->u.ThreadOnly.thread)); in clearFilters()
198 tossGlobalRef(env, &(filter->u.LocationOnly.clazz)); in clearFilters()
[all …]
/external/ImageMagick/MagickCore/
Dresample-private.h28 ResampleFilter **filter) in DestroyResampleFilterThreadSet() argument
33 assert(filter != (ResampleFilter **) NULL); in DestroyResampleFilterThreadSet()
35 if (filter[i] != (ResampleFilter *) NULL) in DestroyResampleFilterThreadSet()
36 filter[i]=DestroyResampleFilter(filter[i]); in DestroyResampleFilterThreadSet()
37 filter=(ResampleFilter **) RelinquishMagickMemory(filter); in DestroyResampleFilterThreadSet()
38 return(filter); in DestroyResampleFilterThreadSet()
49 **filter; in AcquireResampleFilterThreadSet() local
55 filter=(ResampleFilter **) AcquireQuantumMemory(number_threads, in AcquireResampleFilterThreadSet()
56 sizeof(*filter)); in AcquireResampleFilterThreadSet()
57 if (filter == (ResampleFilter **) NULL) in AcquireResampleFilterThreadSet()
[all …]
/external/minijail/
Dbpf.c15 size_t bpf_validate_arch(struct sock_filter *filter) in bpf_validate_arch() argument
17 struct sock_filter *curr_block = filter; in bpf_validate_arch()
22 return curr_block - filter; in bpf_validate_arch()
26 size_t bpf_allow_syscall(struct sock_filter *filter, int nr) in bpf_allow_syscall() argument
28 struct sock_filter *curr_block = filter; in bpf_allow_syscall()
31 return curr_block - filter; in bpf_allow_syscall()
34 size_t bpf_allow_syscall_args(struct sock_filter *filter, int nr, in bpf_allow_syscall_args() argument
37 struct sock_filter *curr_block = filter; in bpf_allow_syscall_args()
40 return curr_block - filter; in bpf_allow_syscall_args()
45 size_t bpf_load_arg(struct sock_filter *filter, int argidx) in bpf_load_arg() argument
[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/libvpx/libvpx/vpx_dsp/x86/
Dconvolve.h21 uint32_t output_height, const int16_t *filter);
28 const int16_t *filter = filter_kernel[offset]; \
33 assert(filter[3] != 128); \
35 if (filter[0] | filter[1] | filter[2]) { \
38 dst_stride, h, filter); \
45 dst_stride, h, filter); \
48 dst_stride, h, filter); \
53 dst_stride, h, filter); \
60 dst_stride, h, filter); \
63 dst_stride, h, filter); \
[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 …]
/external/iproute2/ip/
Dipneigh.c43 } filter; variable
89 if (rtnl_send_check(&rth, filter.flushb, filter.flushp) < 0) { in flush_update()
93 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.c53 } filter; variable
88 if (filter.tb > 0 && filter.tb != table) in print_mroute()
93 if (filter.iif && filter.iif != iif) in print_mroute()
96 if (filter.af && filter.af != r->rtm_family) in print_mroute()
99 if (tb[RTA_DST] && filter.mdst.bitlen > 0) { in print_mroute()
103 if (inet_addr_match(&dst, &filter.mdst, filter.mdst.bitlen)) in print_mroute()
107 if (tb[RTA_SRC] && filter.msrc.bitlen > 0) { in print_mroute()
111 if (inet_addr_match(&src, &filter.msrc, filter.msrc.bitlen)) in print_mroute()
182 if (table && (table != RT_TABLE_MAIN || show_details > 0) && !filter.tb) in print_mroute()
193 memset(&filter, 0, sizeof(filter)); in ipmroute_reset_filter()
[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/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/mockito/src/test/java/org/mockito/internal/exceptions/stacktrace/
DStackTraceFilterTest.java18 private final StackTraceFilter filter = new StackTraceFilter(); field in StackTraceFilterTest
27 StackTraceElement[] filtered = filter.filter(t, false); in shouldFilterOutCglibGarbage()
39 StackTraceElement[] filtered = filter.filter(t, false); in shouldFilterOutByteBuddyGarbage()
52 StackTraceElement[] filtered = filter.filter(t, false); in shouldFilterOutMockitoPackage()
67 StackTraceElement[] filtered = filter.filter(t, false); in shouldNotFilterOutTracesMiddleGoodTraces()
81 StackTraceElement[] filtered = filter.filter(t, false); in shouldKeepRunners()
97 StackTraceElement[] filtered = filter.filter(t, false); in shouldNotFilterElementsAboveMockitoJUnitRule()
109 StackTraceElement[] filtered = filter.filter(t, false); in shouldKeepInternalRunners()
124 StackTraceElement[] filtered = filter.filter(t, true); in shouldStartFilteringAndKeepTop()
139 StackTraceElement[] filtered = filter.filter(t, true); in shouldKeepGoodTraceFromTheTopBecauseRealImplementationsOfSpiesSometimesThrowExceptions()
[all …]
/external/libxkbcommon/xkbcommon/src/
Dstate.c71 struct xkb_filter *filter,
240 struct xkb_filter *filter = NULL, *iter; in xkb_filter_new() local
245 filter = iter; in xkb_filter_new()
249 if (!filter) { in xkb_filter_new()
251 filter = &darray_item(state->filters, darray_size(state->filters) -1); in xkb_filter_new()
254 filter->refcnt = 1; in xkb_filter_new()
255 return filter; in xkb_filter_new()
262 struct xkb_filter *filter, in xkb_filter_group_set_func() argument
266 if (key != filter->key) { in xkb_filter_group_set_func()
267 filter->action.group.flags &= ~ACTION_LOCK_CLEAR; in xkb_filter_group_set_func()
[all …]
/external/ImageMagick/PerlMagick/
DMANIFEST42 t/filter.t
173 t/reference/filter/AdaptiveThreshold.miff
174 t/reference/filter/Annotate.miff
175 t/reference/filter/Blur.miff
176 t/reference/filter/Border.miff
177 t/reference/filter/Channel.miff
178 t/reference/filter/Charcoal.miff
179 t/reference/filter/Chop.miff
180 t/reference/filter/ColorFloodfill.miff
181 t/reference/filter/Colorize.miff
[all …]
/external/strace/
Dbpf_filter.c100 print_bpf_filter_stmt(const struct bpf_filter_block *const filter, in print_bpf_filter_stmt() argument
104 print_bpf_filter_code(filter->code); in print_bpf_filter_stmt()
106 if (!print_k || !print_k(filter)) in print_bpf_filter_stmt()
107 tprintf("%#x", filter->k); in print_bpf_filter_stmt()
112 print_bpf_filter_jump(const struct bpf_filter_block *const filter) in print_bpf_filter_jump() argument
115 print_bpf_filter_code(filter->code); in print_bpf_filter_jump()
116 tprintf(", %#x, %#x, %#x)", filter->k, filter->jt, filter->jf); in print_bpf_filter_jump()
128 const struct bpf_filter_block *const filter = elem_buf; in print_bpf_filter_block() local
136 if (filter->jt || filter->jf) in print_bpf_filter_block()
137 print_bpf_filter_jump(filter); in print_bpf_filter_block()
[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 …]

12345678910>>...102