/external/webrtc/talk/session/media/ |
D | rtcpmuxfilter_unittest.cc | 34 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/ |
D | vl_deint_filter.c | 64 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 …]
|
D | vl_matrix_filter.c | 49 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 …]
|
D | vl_median_filter.c | 47 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 …]
|
D | vl_bicubic_filter.c | 50 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/ |
D | filter.c | 12 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/vixl/ |
D | CPPLINT.cfg | 3 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/webrtc/webrtc/modules/audio_coding/neteq/ |
D | buffer_level_filter_unittest.cc | 22 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/proguard/src/proguard/ |
D | ClassPathEntry.java | 42 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/ImageMagick/MagickCore/ |
D | resample-private.h | 28 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/ |
D | bpf.c | 15 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/webrtc/webrtc/base/ |
D | exp_filter_unittest.cc | 20 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/proguard/src/proguard/gui/ |
D | FilterDialog.java | 196 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/strace/ |
D | seccomp.c | 121 decode_bpf_stmt(const struct bpf_filter *filter) in decode_bpf_stmt() argument 125 decode_bpf_code(filter->code); in decode_bpf_stmt() 127 if (BPF_CLASS(filter->code) == BPF_RET) { in decode_bpf_stmt() 128 unsigned int action = SECCOMP_RET_ACTION & filter->k; in decode_bpf_stmt() 129 unsigned int data = filter->k & ~action; in decode_bpf_stmt() 137 tprintf("%#x)", filter->k); in decode_bpf_stmt() 140 tprintf("BPF_STMT(%#x, %#x)", filter->code, filter->k); in decode_bpf_stmt() 145 decode_bpf_jump(const struct bpf_filter *filter) in decode_bpf_jump() argument 149 decode_bpf_code(filter->code); in decode_bpf_jump() 151 filter->k, filter->jt, filter->jf); in decode_bpf_jump() [all …]
|
/external/webrtc/webrtc/common_audio/ |
D | fir_filter_unittest.cc | 43 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/mockito/src/test/java/org/mockito/internal/exceptions/stacktrace/ |
D | StackTraceFilterTest.java | 18 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/squashfs-tools/squashfs-tools/ |
D | xz_wrapper.c | 386 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/ |
D | ipneigh.c | 43 } 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 …]
|
D | ipmroute.c | 54 } 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 …]
|
D | iproute.c | 128 } 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 …]
|
D | ipaddress.c | 63 } 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 …]
|
/external/autotest/client/site_tests/security_SeccompSyscallFilters/src/ |
D | seccomp_bpf_tests.c | 130 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/ImageMagick/PerlMagick/ |
D | MANIFEST | 42 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/guava/guava-tests/test/com/google/common/collect/ |
D | FilteredCollectionsTest.java | 72 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/linux-kselftest/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 157 struct sock_filter filter[] = { in TEST() local 161 .len = (unsigned short)ARRAY_SIZE(filter), in TEST() 162 .filter = filter, in TEST() 191 struct sock_filter *filter; in TEST() local 195 filter = calloc(count, sizeof(*filter)); in TEST() 196 ASSERT_NE(NULL, filter); in TEST() 199 filter[i] = allow[0]; in TEST() 204 prog.filter = filter; in TEST() 228 struct sock_filter *filter; in TEST() local 232 filter = calloc(count, sizeof(*filter)); in TEST() [all …]
|