Home
last modified time | relevance | path

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

12345678910>>...58

/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/jmonkeyengine/engine/src/test/jme3test/post/
DSSAOUI.java47 SSAOFilter filter; field in SSAOUI
49 public SSAOUI(InputManager inputManager, SSAOFilter filter) { in SSAOUI() argument
50 this.filter = filter; in SSAOUI()
82 filter.setEnabled(!filter.isEnabled()); in init()
84 System.out.println("use AO : " + filter.isEnabled()); in init()
87 filter.setUseOnlyAo(!filter.isUseOnlyAo()); in init()
88 System.out.println("use Only AO : " + filter.isUseOnlyAo()); in init()
92 …rintln("new SSAOFilter(" + filter.getSampleRadius() + "f," + filter.getIntensity() + "f," + filter in init()
101 filter.setSampleRadius(filter.getSampleRadius() + 0.01f); in init()
102 System.out.println("Sample Radius : " + filter.getSampleRadius()); in init()
[all …]
DLightScatteringUI.java47 private LightScatteringFilter filter; field in LightScatteringUI
49 filter=proc; in LightScatteringUI()
79 filter.setNbSamples(filter.getNbSamples()+1); in LightScatteringUI()
80 System.out.println("Nb Samples : "+filter.getNbSamples()); in LightScatteringUI()
83 filter.setNbSamples(filter.getNbSamples()-1); in LightScatteringUI()
84 System.out.println("Nb Samples : "+filter.getNbSamples()); in LightScatteringUI()
87 … System.out.println("lightScatteringFilter.setNbSamples("+filter.getNbSamples()+");"); in LightScatteringUI()
88 … System.out.println("lightScatteringFilter.setBlurStart("+filter.getBlurStart()+"f);"); in LightScatteringUI()
89 … System.out.println("lightScatteringFilter.setBlurWidth("+filter.getBlurWidth()+"f);"); in LightScatteringUI()
90 … System.out.println("lightScatteringFilter.setLightDensity("+filter.getLightDensity()+"f);"); in LightScatteringUI()
[all …]
DBloomUI.java46 public BloomUI(InputManager inputManager, final BloomFilter filter) { in BloomUI() argument
69 filter.setBlurScale(filter.getBlurScale() + 0.01f); in BloomUI()
70 System.out.println("blurScale : " + filter.getBlurScale()); in BloomUI()
73 filter.setBlurScale(filter.getBlurScale() - 0.01f); in BloomUI()
74 System.out.println("blurScale : " + filter.getBlurScale()); in BloomUI()
77 filter.setExposurePower(filter.getExposurePower() + 0.01f); in BloomUI()
78 System.out.println("exposurePower : " + filter.getExposurePower()); in BloomUI()
81 filter.setExposurePower(filter.getExposurePower() - 0.01f); in BloomUI()
82 System.out.println("exposurePower : " + filter.getExposurePower()); in BloomUI()
85filter.setExposureCutOff(Math.min(1.0f, Math.max(0.0f, filter.getExposureCutOff() + 0.001f))); in BloomUI()
[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 …]
DClassPathPanel.java384 StringBuffer filter = null; in getListCellRendererComponent() local
385 filter = appendFilter(filter, entry.getZipFilter()); in getListCellRendererComponent()
386 filter = appendFilter(filter, entry.getEarFilter()); in getListCellRendererComponent()
387 filter = appendFilter(filter, entry.getWarFilter()); in getListCellRendererComponent()
388 filter = appendFilter(filter, entry.getAarFilter()); in getListCellRendererComponent()
389 filter = appendFilter(filter, entry.getJarFilter()); in getListCellRendererComponent()
390 filter = appendFilter(filter, entry.getApkFilter()); in getListCellRendererComponent()
391 filter = appendFilter(filter, entry.getFilter()); in getListCellRendererComponent()
393 if (filter != null) in getListCellRendererComponent()
395 filter.append(')'); in getListCellRendererComponent()
[all …]
/external/iproute2/ip/
Dipneigh.c42 } filter; variable
86 if (rtnl_send_check(&rth, filter.flushb, filter.flushp) < 0) { in flush_update()
90 filter.flushp = 0; in flush_update()
204 if (filter.flushb && n->nlmsg_type != RTM_NEWNEIGH) in print_neigh()
207 if (filter.family && filter.family != r->ndm_family) in print_neigh()
209 if (filter.index && filter.index != r->ndm_ifindex) in print_neigh()
211 if (!(filter.state&r->ndm_state) && in print_neigh()
213 (r->ndm_state || !(filter.state&0x100)) && in print_neigh()
220 if (filter.pfx.family) { in print_neigh()
225 if (inet_addr_match(&dst, &filter.pfx, filter.pfx.bitlen)) in print_neigh()
[all …]
Diproute.c115 } filter; variable
119 if (rtnl_send_check(&rth, filter.flushb, filter.flushp) < 0) { in flush_update()
123 filter.flushp = 0; in flush_update()
142 if (filter.cloned == !(r->rtm_flags&RTM_F_CLONED)) in filter_nlmsg()
146 if (filter.tb) { in filter_nlmsg()
147 if (filter.tb == RT_TABLE_LOCAL) { in filter_nlmsg()
150 } else if (filter.tb == RT_TABLE_MAIN) { in filter_nlmsg()
158 if (filter.tb > 0 && filter.tb != table) in filter_nlmsg()
161 if ((filter.protocol^r->rtm_protocol)&filter.protocolmask) in filter_nlmsg()
163 if ((filter.scope^r->rtm_scope)&filter.scopemask) in filter_nlmsg()
[all …]
Dipaddress.c54 } filter; variable
376 if (filter.ifindex && ifi->ifi_index != filter.ifindex) in print_linkinfo()
378 if (filter.up && !(ifi->ifi_flags&IFF_UP)) in print_linkinfo()
385 if (filter.label && in print_linkinfo()
386 (!filter.family || filter.family == AF_PACKET) && in print_linkinfo()
387 fnmatch(filter.label, RTA_DATA(tb[IFLA_IFNAME]), 0)) in print_linkinfo()
392 if (group != filter.group) in print_linkinfo()
432 if (filter.showqueue) in print_linkinfo()
435 if (!filter.family || filter.family == AF_PACKET) { in print_linkinfo()
486 if (rtnl_send_check(&rth, filter.flushb, filter.flushp) < 0) { in flush_update()
[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/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 …]
DSecurityTest.java211 String filter = "MyService.MyAlgorithm"; in test_getProvidersLjava_lang_String() local
212 assertTrue(filter, Arrays.equals(new Provider[] { p }, Security in test_getProvidersLjava_lang_String()
213 .getProviders(filter))); in test_getProvidersLjava_lang_String()
215 filter = "MyService.MyAlgorithm KeySize:512"; in test_getProvidersLjava_lang_String()
216 assertTrue(filter, Arrays.equals(new Provider[] { p }, Security in test_getProvidersLjava_lang_String()
217 .getProviders(filter))); in test_getProvidersLjava_lang_String()
219 filter = "MyService.MyAlgorithm KeySize:1025"; in test_getProvidersLjava_lang_String()
220 assertNull(filter, Security.getProviders(filter)); in test_getProvidersLjava_lang_String()
223 filter = "MyService.MyAlgorithm imPLementedIn:softWARE"; in test_getProvidersLjava_lang_String()
224 assertTrue(filter, Arrays.equals(new Provider[] { p }, Security in test_getProvidersLjava_lang_String()
[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/linux-tools-perf/src/tools/lib/traceevent/
Dparse-filter.c125 find_filter_type(struct event_filter *filter, int id) in find_filter_type() argument
132 filter_type = bsearch(&key, filter->event_filters, in find_filter_type()
133 filter->filters, in find_filter_type()
134 sizeof(*filter->event_filters), in find_filter_type()
141 add_filter_type(struct event_filter *filter, int id) in add_filter_type() argument
146 filter_type = find_filter_type(filter, id); in add_filter_type()
150 filter->event_filters = realloc(filter->event_filters, in add_filter_type()
151 sizeof(*filter->event_filters) * in add_filter_type()
152 (filter->filters + 1)); in add_filter_type()
153 if (!filter->event_filters) in add_filter_type()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DFilteredCollectionsTest.java71 abstract C filter(C elements, Predicate<? super Integer> predicate); in filter() method in FilteredCollectionsTest.AbstractFilteredIterableTest
76 C filtered = filter(unfiltered, EVEN); in testIterationOrderPreserved()
96 C filterThenAdd = filter(unfiltered, EVEN); in testReadsThroughAdd()
101 C addThenFilter = filter(createUnfiltered(target), EVEN); in testReadsThroughAdd()
112 C filtered = filter(createUnfiltered(contents), EVEN); in testAdd()
127 filter(createUnfiltered(contents), EVEN).remove(toRemove)); in testRemove()
136 filter(createUnfiltered(contents), EVEN).contains(i)); in testContains()
143 assertFalse(filter(createUnfiltered(contents), EVEN).contains(new Object())); in testContainsOnDifferentType()
150 C filtered = filter(createUnfiltered(contents), EVEN); in testAddAllFailsAtomically()
151 C filteredToModify = filter(createUnfiltered(contents), EVEN); in testAddAllFailsAtomically()
[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/aac/libAACdec/src/
Daacdec_tns.cpp163 CFilter *filter = &pTnsData->Filter[window][index]; in CTns_Read() local
171 filter->StartBand = nextstopband - length; in CTns_Read()
172 filter->StopBand = nextstopband; in CTns_Read()
173 nextstopband = filter->StartBand; in CTns_Read()
176 filter->Order = order = (UCHAR) FDKreadBits(bs, isLongFlag ? 5 : 3); in CTns_Read()
179 if (filter->Order > TNS_MAXIMUM_ORDER){ in CTns_Read()
180 filter->Order = order = TNS_MAXIMUM_ORDER; in CTns_Read()
191 filter->Direction = FDKreadBits(bs,1) ? -1 : 1; in CTns_Read()
195 filter->Resolution = coef_res + 3; in CTns_Read()
202 coef = (UCHAR) FDKreadBits(bs,filter->Resolution - coef_compress); in CTns_Read()
[all …]
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/filter/
DIterativeFilter.java30 package com.jme3.terrain.noise.filter;
44 private Filter filter; field in IterativeFilter
54 margin = this.filter.getMargin(size, margin); in getMargin()
69 public IterativeFilter addPostIterateFilter(Filter filter) { in addPostIterateFilter() argument
70 this.postIterateFilters.add(filter); in addPostIterateFilter()
74 public IterativeFilter addPreIterateFilter(Filter filter) { in addPreIterateFilter() argument
75 this.preIterateFilters.add(filter); in addPreIterateFilter()
79 public void setFilter(Filter filter) { in setFilter() argument
80 this.filter = filter; in setFilter()
84 public FloatBuffer filter(float sx, float sy, float base, FloatBuffer data, int size) { in filter() method in IterativeFilter
[all …]
/external/iproute2/examples/diffserv/
DEdge32-ca-u3257 $TC filter add dev $INDEV parent ffff: protocol ip prio 1 u32 \
61 $TC filter add dev $INDEV parent ffff: protocol ip prio 2 u32 \
70 $TC filter add dev $INDEV parent ffff: protocol ip prio 3 u32 \
74 $TC filter add dev $INDEV parent ffff: protocol ip prio 4 u32 \
82 $TC filter add dev $INDEV parent ffff: protocol ip prio 5 u32 \
86 $TC filter add dev $INDEV parent ffff: protocol ip prio 6 u32 \
97 $TC filter add dev $INDEV parent ffff: protocol ip prio 8 u32 \
101 $TC filter add dev $INDEV parent ffff: protocol ip prio 9 u32 \
109 $TC filter add dev $INDEV parent ffff: protocol ip prio 10 u32 \
113 $TC filter add dev $INDEV parent ffff: protocol ip prio 11 u32 \
[all …]
/external/proguard/src/proguard/ant/
DFilterElement.java36 private String filter; field in FilterElement
45 public void appendTo(List filter, boolean internal) in appendTo() argument
53 String filterString = filterElement.filter; in appendTo()
58 filter.clear(); in appendTo()
68 filter.addAll(ListUtil.commaSeparatedList(filterString)); in appendTo()
77 this.filter = name; in setName()
81 public void setFilter(String filter) in setFilter() argument
83 this.filter = filter; in setFilter()
/external/skia/samplecode/
DSampleFilterFuzz.cpp260 SkImageFilter* filter = 0; in make_image_filter() local
263 if (canBeNull && (R(3) == 1)) { return filter; } in make_image_filter()
272 filter = SkAlphaThresholdFilter::Create(make_region(), make_scalar(), make_scalar()); in make_image_filter()
275filter = SkMergeImageFilter::Create(make_image_filter(), make_image_filter(), make_xfermode()); in make_image_filter()
282 filter = cf.get() ? SkColorFilterImageFilter::Create(cf, make_image_filter()) : 0; in make_image_filter()
290 filter = cf.get() ? SkColorFilterImageFilter::Create(cf, make_image_filter()) : 0; in make_image_filter()
294filter = SkBlurImageFilter::Create(make_scalar(true), make_scalar(true), make_image_filter()); in make_image_filter()
297 filter = SkMagnifierImageFilter::Create(make_rect(), make_scalar(true)); in make_image_filter()
300 filter = SkDownSampleImageFilter::Create(make_scalar()); in make_image_filter()
305 filter = SkXfermodeImageFilter::Create(mode, make_image_filter(), make_image_filter()); in make_image_filter()
[all …]
/external/boringssl/
Drules.mk44 LOCAL_SRC_FILES := $(filter-out android_compat_hacks.c,$(LOCAL_SRC_FILES))
45 LOCAL_SRC_FILES := $(filter-out src/crypto/bio/connect.c,$(LOCAL_SRC_FILES))
46 LOCAL_SRC_FILES := $(filter-out src/crypto/bio/fd.c,$(LOCAL_SRC_FILES))
47 LOCAL_SRC_FILES := $(filter-out src/crypto/bio/file.c,$(LOCAL_SRC_FILES))
48 LOCAL_SRC_FILES := $(filter-out src/crypto/bio/socket.c,$(LOCAL_SRC_FILES))
49 LOCAL_SRC_FILES := $(filter-out src/crypto/bio/socket_helper.c,$(LOCAL_SRC_FILES))
50 LOCAL_SRC_FILES := $(filter-out src/crypto/directory_posix.c,$(LOCAL_SRC_FILES))
51 LOCAL_SRC_FILES := $(filter-out src/crypto/rand/urandom.c,$(LOCAL_SRC_FILES))
52 LOCAL_SRC_FILES := $(filter-out src/crypto/time_support.c,$(LOCAL_SRC_FILES))
53 LOCAL_SRC_FILES := $(filter-out src/crypto/x509/by_dir.c,$(LOCAL_SRC_FILES))
[all …]

12345678910>>...58