Searched refs:filter (Results 76 - 100 of 1025) sorted by relevance

1234567891011>>

/openjdk10/jdk/test/java/io/Serializable/serialFilter/
H A DGlobalFilterTest.java58 * DataProvider of patterns and objects derived from the configured process-wide filter.
97 * Test that the process-wide filter is set when the properties are set
105 ObjectInputFilter filter = ObjectInputFilter.Config.getSerialFilter();
106 System.out.printf("global pattern: %s, filter: %s%n", pattern, filter);
107 Assert.assertEquals(pattern, Objects.toString(filter, null),
108 "process-wide filter pattern does not match");
112 * If the Global filter is already set, it should always refuse to be
121 ObjectInputFilter filter = new SerialFilterTest.Validator();
126 ObjectInputFilter.Config.setSerialFilter(filter);
[all...]
H A DSerialFilterTest.java65 * @param <V> Boolean for if the filter should allow or reject
146 * available to the filter.
218 * Test each object and verify the classes identified by the filter,
219 * the count of calls to the filter, the max array size, max refs, max depth,
221 * This test ignores/is not dependent on the global filter settings.
224 * @param count the expected count of calls to the filter
251 * A filter is created from the pattern and used to serialize and
253 * This test ignores/is not dependent on the global filter settings.
263 * Test that the filter on a OIS can be set only on a fresh OIS,
265 * This test is agnostic the global filter bein
409 validate(byte[] bytes, ObjectInputFilter filter) argument
460 checkInput(FilterInfo filter) argument
740 checkInput(FilterInfo filter) argument
[all...]
/openjdk10/jdk/test/tools/jlink/bindservices/src/m1/p1/
H A DMain.java37 .filter(mn -> !mn.equals("java.base"))
40 Set<String> notLinked = Stream.of(args).filter(mn -> !modules.contains(mn))
/openjdk10/nashorn/samples/
H A Darray_mapreduce.js35 // filter, reduce, reduceRight, every, some are generic.
38 // So, you can do map/filter/reduce with Java streams or
46 var filter = Array.prototype.filter; variable
H A Dlist_mapreduce.js35 // filter, reduce, reduceRight, every, some are generic.
38 // So, you can do map/filter/reduce with Java streams or
51 var filter = Array.prototype.filter; variable
61 // filter use to filter out "j*" and concatenate rest with ":"
66 filter.call(list, function(x) !x.startsWith("j")),
/openjdk10/nashorn/test/examples/
H A Darray-micro.js114 bench("filter all", function() {
115 array.filter(all);
118 bench("filter none", function() {
119 array.filter(none);
/openjdk10/langtools/src/jdk.jdeps/share/classes/com/sun/tools/jdeps/
H A DDepsAnalyzer.java51 * source filter: -include <pattern>
52 * target filter: -package, -regex, --require
56 * 2. observable modules matching the source filter
57 * 3. classpath archives matching the source filter or target filter
62 final JdepsFilter filter; field in class:DepsAnalyzer
75 JdepsFilter filter,
80 this.filter = filter;
85 this.finder = new DependencyFinder(config, filter);
74 DepsAnalyzer(JdepsConfiguration config, JdepsFilter filter, JdepsWriter writer, Analyzer.Type verbose, boolean apiOnly) argument
[all...]
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.test/src/org/graalvm/compiler/core/test/ea/
H A DCountUppercaseParallelTest.java30 return sentence.chars().parallel().filter(c -> Character.isUpperCase(c)).count();
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.test/src/org/graalvm/compiler/core/test/
H A DPhiCreationTests.java46 Assert.assertFalse(graph.getNodes().filter(ValuePhiNode.class).iterator().hasNext());
59 Assert.assertFalse(graph.getNodes().filter(ValuePhiNode.class).iterator().hasNext());
74 Assert.assertFalse(graph.getNodes().filter(ValuePhiNode.class).iterator().hasNext());
91 Assert.assertFalse(graph.getNodes().filter(ValuePhiNode.class).iterator().hasNext());
H A DGuardedIntrinsicTest.java151 Assert.assertEquals(1, parsedForCompile.getNodes().filter(LoadMethodNode.class).count());
152 Assert.assertEquals(1, parsedForCompile.getNodes().filter(LoadHubNode.class).count());
155 Assert.assertEquals(1, parsedForCompile.getNodes().filter(OpaqueNode.class).count());
158 List<Node> invokes = graph.getNodes().filter(n -> n instanceof Invoke).snapshot();
167 Assert.assertEquals(0, parsedForCompile.getNodes().filter(LoadMethodNode.class).count());
168 Assert.assertEquals(0, parsedForCompile.getNodes().filter(LoadHubNode.class).count());
170 Assert.assertEquals(0, parsedForCompile.getNodes().filter(InvokeNode.class).count());
178 Assert.assertEquals(0, parsedForCompile.getNodes().filter(LoadMethodNode.class).count());
179 Assert.assertEquals(0, parsedForCompile.getNodes().filter(LoadHubNode.class).count());
190 Assert.assertEquals(1, parsedForCompile.getNodes().filter(LoadMethodNod
[all...]
/openjdk10/hotspot/test/gc/arguments/
H A DGCTypes.java37 .filter(Objects::nonNull)
44 .filter(e -> e.getGCName().equals(name))
51 .filter(bean -> Arrays.stream(type.getEnumConstants())
52 .filter(enumName -> enumName.getGCName().equals(bean.getName()))
/openjdk10/jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/fastinfoset/stax/events/
H A DStAXFilteredEvent.java45 public StAXFilteredEvent(XMLEventReader reader, EventFilter filter) throws XMLStreamException argument
48 _filter = filter;
55 public void setFilter(EventFilter filter) { argument
56 _filter = filter;
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xml/internal/serializer/
H A DDOM3Serializer.java92 * Sets a LSSerializerFilter on the DOM Level 3 Serializer to filter nodes
97 * @param filter the Level 3 LSSerializerFilter
99 public void setNodeFilter(LSSerializerFilter filter); argument
102 * Returns a LSSerializerFilter set on the DOM Level 3 Serializer to filter nodes
/openjdk10/jdk/src/java.desktop/share/classes/java/awt/image/
H A DRasterOp.java44 * operation are not used as input to the filter operation.
58 * of Rasters allowed by the class implementing this filter.
64 public WritableRaster filter(Raster src, WritableRaster dest); method in interface:RasterOp
70 * by the class implementing this filter.
83 * by the class implementing this filter.
H A DBufferedImageOp.java44 * filter operations where the source object is equal to the destination
50 * not used as input to the filter operation.
73 * allowed by the class implementing this filter.
82 * implementing this filter.
84 public BufferedImage filter(BufferedImage src, BufferedImage dest); method in interface:BufferedImageOp
90 * by the class implementing this filter.
104 * by the class implementing this filter.
H A DFilteredImageSource.java37 * takes an existing image and a filter object and uses them to produce
56 ImageFilter filter; field in class:FilteredImageSource
60 * and a filter object.
68 filter = imgf;
78 * (using the filter's {@code getFilterInstance} method)
81 * The newly created filter instance
100 ImageFilter imgf = filter.getFilterInstance(ic);
157 * (using the filter's {@code getFilterInstance} method)
160 * The filter instance for the {@code ImageConsumer}
180 imgf = filter
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/java/awt/
H A DImage.java170 ImageFilter filter;
172 filter = new AreaAveragingScaleFilter(width, height);
174 filter = new ReplicateScaleFilter(width, height);
177 prod = new FilteredImageSource(getSource(), filter);
204 * The {@code Image} object is free to substitute a different filter
214 * image object is free to substitute a different filter that
/openjdk10/jdk/src/java.desktop/share/native/libfontmanager/layout/
H A DAlternateSubstSubtables.h61 le_uint32 process(const LEReferenceTo<AlternateSubstitutionSubtable> &base, GlyphIterator *glyphIterator, LEErrorCode &success, const LEGlyphFilter *filter = NULL) const;
H A DMultipleSubstSubtables.h60 le_uint32 process(const LETableReference &base, GlyphIterator *glyphIterator, LEErrorCode& success, const LEGlyphFilter *filter = NULL) const;
/openjdk10/jdk/src/java.management/share/classes/javax/management/
H A DStandardEmitterMBean.java250 NotificationFilter filter,
253 emitter.removeNotificationListener(listener, filter, handback);
257 NotificationFilter filter,
259 emitter.addNotificationListener(listener, filter, handback);
249 removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) argument
256 addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) argument
/openjdk10/jdk/test/sun/java2d/cmm/ColorConvertOp/ColorSpaceCvtCrashTest/
H A DColorSpaceCvtCrashTest.java46 theOp.filter(srcImg, dstImg);
/openjdk10/nashorn/test/script/basic/
H A DJDK-8046026.js38 .filter(function() {
/openjdk10/jaxws/src/jdk.xml.bind/share/classes/com/sun/codemodel/internal/writer/
H A DZipCodeWriter.java51 filter = new FilterOutputStream(zip){
59 private final OutputStream filter; field in class:ZipCodeWriter
65 return filter;
/openjdk10/jdk/src/java.base/share/classes/java/util/
H A DCollection.java399 * @param filter a predicate which returns {@code true} for elements to be
402 * @throws NullPointerException if the specified filter is null
409 default boolean removeIf(Predicate<? super E> filter) { argument
410 Objects.requireNonNull(filter);
414 if (filter.test(each.next())) {
/openjdk10/jdk/test/java/awt/image/Raster/
H A DTestChildRasterOp.java65 dstRaster = rop.filter(srcRaster, null);
81 dstRaster = rop.filter(srcRaster, null);
97 dstRaster = rop.filter(srcRaster, null);

Completed in 202 milliseconds

1234567891011>>