/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 128 return ureg_create_shader_and_destroy(shader, filter->pipe); in create_frag_shader() 132 vl_matrix_filter_init(struct vl_matrix_filter *filter, struct pipe_context *pipe, in vl_matrix_filter_init() argument 144 assert(filter && pipe); in vl_matrix_filter_init() 148 memset(filter, 0, sizeof(*filter)); in vl_matrix_filter_init() 149 filter->pipe = pipe; in vl_matrix_filter_init() 155 filter->rs_state = pipe->create_rasterizer_state(pipe, &rs_state); in vl_matrix_filter_init() 156 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() 159 return ureg_create_shader_and_destroy(shader, filter->pipe); in create_frag_shader() 244 vl_median_filter_init(struct vl_median_filter *filter, struct pipe_context *pipe, in vl_median_filter_init() argument 255 assert(filter && pipe); in vl_median_filter_init() 259 memset(filter, 0, sizeof(*filter)); in vl_median_filter_init() 260 filter->pipe = pipe; in vl_median_filter_init() 266 filter->rs_state = pipe->create_rasterizer_state(pipe, &rs_state); in vl_median_filter_init() [all …]
|
D | vl_bicubic_filter.c | 51 create_vert_shader(struct vl_bicubic_filter *filter) in create_vert_shader() argument 70 return ureg_create_shader_and_destroy(shader, filter->pipe); in create_vert_shader() 151 create_frag_shader(struct vl_bicubic_filter *filter, unsigned video_width, in create_frag_shader() argument 154 struct pipe_screen *screen = filter->pipe->screen; in create_frag_shader() 242 return ureg_create_shader_and_destroy(shader, filter->pipe); in create_frag_shader() 246 vl_bicubic_filter_init(struct vl_bicubic_filter *filter, struct pipe_context *pipe, in vl_bicubic_filter_init() argument 256 assert(filter && pipe); in vl_bicubic_filter_init() 259 memset(filter, 0, sizeof(*filter)); in vl_bicubic_filter_init() 260 filter->pipe = pipe; in vl_bicubic_filter_init() 266 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/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/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/libaom/libaom/aom_dsp/x86/ |
D | convolve.h | 23 uint32_t output_height, const int16_t *filter); 25 #define FUN_CONV_1D(name, step_q4, filter, dir, src_start, avg, opt) \ argument 34 assert((-128 <= filter[3]) && (filter[3] <= 127)); \ 36 if (((filter[0] | filter[1] | filter[6] | filter[7]) == 0) && \ 37 (filter[2] | filter[5])) { \ 40 dst_stride, h, filter); \ 47 dst_stride, h, filter); \ 54 dst_stride, h, filter); \ 59 } else if (filter[0] | filter[1] | filter[2]) { \ 62 dst_stride, h, filter); \ [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/oj-libjdwp/src/share/back/ |
D | eventFilter.c | 160 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/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/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/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/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/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/iproute2/ip/ |
D | ipneigh.c | 43 } 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 …]
|
D | ipmroute.c | 53 } 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/ |
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/autotest/client/site_tests/security_SeccompSyscallFilters/src/ |
D | seccomp_bpf_tests.c | 122 struct sock_filter filter[] = { in TEST() local 126 .len = (unsigned short)(sizeof(filter)/sizeof(filter[0])), in TEST() 127 .filter = filter, in TEST() 146 struct sock_filter filter[] = { in TEST() local 150 .len = (unsigned short)(sizeof(filter)/sizeof(filter[0])), in TEST() 151 .filter = filter, in TEST() 167 struct sock_filter filter[] = { in TEST() local 171 .len = (unsigned short)(sizeof(filter)/sizeof(filter[0])), in TEST() 172 .filter = filter, in TEST() 183 struct sock_filter filter[] = { in TEST() local [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/libxkbcommon/xkbcommon/src/ |
D | state.c | 71 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/ |
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/tensorflow/tensorflow/lite/kernels/ |
D | fully_connected.cc | 97 const TfLiteTensor* filter = GetInput(context, node, kWeightsTensor); in Prepare() local 108 TF_LITE_ENSURE_EQ(context, NumDimensions(filter), 2); in Prepare() 109 const int batch_size = input_size / filter->dims->data[1]; in Prepare() 110 const int num_units = filter->dims->data[0]; in Prepare() 112 TF_LITE_ENSURE_EQ(context, input_size, batch_size * filter->dims->data[1]); in Prepare() 114 TF_LITE_ENSURE_EQ(context, NumElements(bias), SizeOfDimension(filter, 0)); in Prepare() 123 context, input, filter, bias, output, &real_multiplier)); in Prepare() 136 (filter->type == kTfLiteUInt8 || filter->type == kTfLiteInt8)) { in Prepare() 142 input_quantized->type = filter->type; in Prepare() 175 const TfLiteTensor* input, const TfLiteTensor* filter, in EvalPie() argument [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 …]
|