/openjdk10/jdk/src/java.desktop/share/classes/java/awt/image/ |
H A D | BufferedImageOp.java | 75 * @param src The {@code BufferedImage} to be filtered 84 public BufferedImage filter(BufferedImage src, BufferedImage dest); argument 92 * @param src The {@code BufferedImage} to be filtered 97 public Rectangle2D getBounds2D (BufferedImage src); argument 106 * @param src The {@code BufferedImage} to be filtered 112 public BufferedImage createCompatibleDestImage (BufferedImage src, argument
|
H A D | ShortLookupTable.java | 107 * @param src the source array. 109 * long as {@code src}. If {@code dst} is 111 * same length as {@code src}. 114 * @exception ArrayIndexOutOfBoundsException if {@code src} is 116 * {@code i} of {@code src}, 117 * {@code (src[i]&0xffff)-offset} is either less than 121 public int[] lookupPixel(int[] src, int[] dst){ argument 124 dst = new int[src.length]; 129 for (int i=0; i < src.length; i++) { 130 int s = (src[ 172 lookupPixel(short[] src, short[] dst) argument [all...] |
/openjdk10/jdk/test/javax/sound/midi/Gervill/ModelSource/ |
H A D | NewModelSourceModelIdentifierModelTransform.java | 41 ModelSource src = new ModelSource(ModelSource.SOURCE_NOTEON_KEYNUMBER, trans); 42 if(src.getIdentifier() != ModelSource.SOURCE_NOTEON_KEYNUMBER) 43 throw new RuntimeException("src.getIdentifier() doesn't return ModelSource.SOURCE_NOTEON_KEYNUMBER!"); 44 if(src.getTransform() != trans) 45 throw new RuntimeException("src.getTransform() doesn't return trans!");
|
H A D | SetTransform.java | 40 ModelSource src = new ModelSource(); 42 src.setTransform(trans); 43 if(src.getTransform() != trans) 44 throw new RuntimeException("src.getTransform() doesn't return trans!");
|
H A D | SetIdentifier.java | 40 ModelSource src = new ModelSource(); 41 src.setIdentifier(ModelSource.SOURCE_NOTEON_KEYNUMBER); 42 if(src.getIdentifier() != ModelSource.SOURCE_NOTEON_KEYNUMBER) 43 throw new RuntimeException("src.getIdentifier() doesn't return ModelSource.SOURCE_NOTEON_KEYNUMBER!");
|
H A D | NewModelSourceModelIdentifier.java | 40 ModelSource src = new ModelSource(ModelSource.SOURCE_NOTEON_KEYNUMBER); 41 if(src.getIdentifier() != ModelSource.SOURCE_NOTEON_KEYNUMBER) 42 throw new RuntimeException("src.getIdentifier() doesn't return ModelSource.SOURCE_NOTEON_KEYNUMBER!"); 43 if(!(src.getTransform() instanceof ModelStandardTransform)) 44 throw new RuntimeException("src.getTransform() doesn't return object which is instance of ModelStandardTransform!");
|
H A D | NewModelSource.java | 40 ModelSource src = new ModelSource(); 41 if(src.getIdentifier() != ModelSource.SOURCE_NONE) 42 throw new RuntimeException("src.getIdentifier() doesn't return ModelSource.SOURCE_NONE!"); 43 if(!(src.getTransform() instanceof ModelStandardTransform)) 44 throw new RuntimeException("src.getTransform() doesn't return object which is instance of ModelStandardTransform!");
|
H A D | NewModelSourceModelIdentifierBooleanBoolean.java | 40 ModelSource src = new ModelSource(ModelSource.SOURCE_NOTEON_KEYNUMBER,ModelStandardTransform.DIRECTION_MAX2MIN,ModelStandardTransform.POLARITY_BIPOLAR); 41 if(src.getIdentifier() != ModelSource.SOURCE_NOTEON_KEYNUMBER) 42 throw new RuntimeException("src.getIdentifier() doesn't return ModelSource.SOURCE_NOTEON_KEYNUMBER!"); 43 if(!(src.getTransform() instanceof ModelStandardTransform)) 44 throw new RuntimeException("src.getTransform() doesn't return object which is instance of ModelStandardTransform!"); 45 ModelStandardTransform trans = (ModelStandardTransform)src.getTransform();
|
H A D | NewModelSourceModelIdentifierBoolean.java | 40 ModelSource src = new ModelSource(ModelSource.SOURCE_NOTEON_KEYNUMBER,ModelStandardTransform.DIRECTION_MAX2MIN); 41 if(src.getIdentifier() != ModelSource.SOURCE_NOTEON_KEYNUMBER) 42 throw new RuntimeException("src.getIdentifier() doesn't return ModelSource.SOURCE_NOTEON_KEYNUMBER!"); 43 if(!(src.getTransform() instanceof ModelStandardTransform)) 44 throw new RuntimeException("src.getTransform() doesn't return object which is instance of ModelStandardTransform!"); 45 ModelStandardTransform trans = (ModelStandardTransform)src.getTransform();
|
/openjdk10/langtools/test/jdk/jshell/ |
H A D | KullaCompletenessStressTest.java | 40 String src = System.getProperty("test.src"); 42 if (src == null) { 43 file = new File("../src/jdk.jshell/share/classes"); 45 file = new File(src, "../../../src/jdk.jshell/share/classes");
|
/openjdk10/langtools/test/tools/sjavac/ |
H A D | PackagePathMismatch.java | 43 Path src = root.resolve("src"); 46 toolbox.writeFile(src.resolve("a/x/c/Test.java"), 52 src);
|
/openjdk10/jdk/test/javax/crypto/Cipher/ |
H A D | GCMAPI.java | 76 private static void updateAADPass(byte[] src) { argument 78 c.updateAAD(src); 89 private static void updateAADFail(byte[] src) { argument 91 c.updateAAD(src); 99 private static void updateAADPass(byte[] src, int offset, int len) { argument 101 c.updateAAD(src, offset, len); 112 private static void updateAADFail(byte[] src, int offset, int len) { argument 114 c.updateAAD(src, offset, len); 122 private static void updateAADPass(ByteBuffer src) { argument 124 c.updateAAD(src); 135 updateAADFail(ByteBuffer src) argument [all...] |
/openjdk10/hotspot/src/cpu/zero/vm/ |
H A D | javaFrameAnchor_zero.hpp | 49 void copy(JavaFrameAnchor* src) { argument 50 set(src->_last_Java_sp, src->_last_Java_pc, src->_last_Java_fp);
|
/openjdk10/hotspot/src/cpu/ppc/vm/ |
H A D | javaFrameAnchor_ppc.hpp | 50 void copy(JavaFrameAnchor* src) { argument 57 if (_last_Java_sp != src->_last_Java_sp) { 61 _last_Java_pc = src->_last_Java_pc; 64 _last_Java_sp = src->_last_Java_sp;
|
/openjdk10/jdk/src/java.base/share/classes/sun/text/ |
H A D | Normalizer.java | 51 * @param src The sequence of char values to normalize. 60 * @throws NullPointerException If <code>src</code> or <code>form</code> 63 public static String normalize(CharSequence src, argument 66 return NormalizerBase.normalize(src.toString(), form, option); 71 * @param src The sequence of char values to be checked. 81 * @throws NullPointerException If <code>src</code> or <code>form</code> 84 public static boolean isNormalized(CharSequence src, argument 87 return NormalizerBase.isNormalized(src.toString(), form, option);
|
/openjdk10/jdk/make/lib/ |
H A D | Lib-java.desktop.gmk | 29 $(eval $(call FillCacheFind, $(wildcard $(JDK_TOPDIR)/src/java.desktop/*/native \ 30 $(JDK_TOPDIR)/src/*/java.desktop/*/native)))
|
/openjdk10/jdk/test/java/nio/charset/RemovingSunIO/ |
H A D | TestCOMP.java | 42 String src = 50 byte[] ba = src.getBytes("COMPOUND_TEXT"); 67 if (!src.equals(dst)) { 68 System.out.printf("src=<%s>\n", src);
|
/openjdk10/jdk/test/sun/java2d/cmm/ColorConvertOp/ |
H A D | ColCvtIntARGB.java | 41 BufferedImage src 44 // Set src pixel value 46 src.setRGB(0, 0, pelColor.getRGB()); 58 op.filter(src, dst); 67 op.filter(src, dst);
|
H A D | RGBColorConvertTest.java | 37 BufferedImage src = 43 src.setRGB(i,0,i); 44 src.setRGB(i,1,i << 8); 45 src.setRGB(i,2,i << 16); 48 ColorSpace srcColorSpace = src.getColorModel().getColorSpace(); 52 op.filter(src, dst); 55 for (int i = 0; i < src.getWidth(); i++) { 56 for (int j = 0; j < src.getHeight(); j++) { 57 int scol = src.getRGB(i,j);
|
/openjdk10/jdk/test/java/util/zip/GZIP/ |
H A D | GZIPInputStreamRead.java | 44 byte[] src = new byte[rnd.nextInt(8192) + 1]; 45 rnd.nextBytes(src); 46 srcBAOS.write(src); 49 gzos.write(src); 75 private static void test(byte[] src, byte[] dst, argument 82 byte[] result = new byte[src.length + 10]; 92 if (off != src.length || gzis.available() != 0 || 93 !Arrays.equals(src, Arrays.copyOf(result, off))) { 96 ", src.len=" + src [all...] |
/openjdk10/jdk/src/java.base/share/classes/sun/nio/cs/ |
H A D | CESU_8.java | 70 private static final void updatePositions(Buffer src, int sp, argument 72 src.position(sp - src.arrayOffset()); 93 // only used when there is only one byte left in src buffer 110 // only used when there is less than 4 bytes left in src buffer 120 private static CoderResult malformedN(ByteBuffer src, int nb) { argument 126 int b1 = src.get(); 127 int b2 = src.get(); // no need to lookup b3 132 b1 = src.get() & 0xff; 133 b2 = src 148 malformed(ByteBuffer src, int sp, CharBuffer dst, int dp, int nb) argument 159 malformed(ByteBuffer src, int mark, int nb) argument 168 malformedForLength(ByteBuffer src, int sp, CharBuffer dst, int dp, int malformedNB) argument 178 malformedForLength(ByteBuffer src, int mark, int malformedNB) argument 187 xflow(Buffer src, int sp, int sl, Buffer dst, int dp, int nb) argument 194 xflow(Buffer src, int mark, int nb) argument 200 decodeArrayLoop(ByteBuffer src, CharBuffer dst) argument 263 decodeBufferLoop(ByteBuffer src, CharBuffer dst) argument 315 decodeLoop(ByteBuffer src, CharBuffer dst) argument 426 overflow(CharBuffer src, int sp, ByteBuffer dst, int dp) argument 432 overflow(CharBuffer src, int mark) argument 451 encodeArrayLoop(CharBuffer src, ByteBuffer dst) argument 508 encodeBufferLoop(CharBuffer src, ByteBuffer dst) argument 551 encodeLoop(CharBuffer src, ByteBuffer dst) argument [all...] |
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements.test/src/org/graalvm/compiler/replacements/test/ |
H A D | MonitorTest.java | 80 Chars src = new Chars("1234567890".toCharArray()); 81 Chars dst = new Chars(src.data.length); 82 test("copyObj", src, dst, 100); 90 char[] src = "1234567890".toCharArray(); 91 char[] dst = new char[src.length]; 92 test("copyArr", src, dst, 100); 100 Chars src = new Chars("1234567890".toCharArray()); 101 Chars dst = new Chars(src.data.length); 103 testN(n, "copyObj", src, dst, 100); 111 char[] src 179 copyObj(Chars src, Chars dst, int n) argument 196 copyArr(char[] src, char[] dst, int n) argument [all...] |
/openjdk10/jdk/test/javax/imageio/plugins/png/ |
H A D | PngPremultAlphaTest.java | 69 BufferedImage src = new BufferedImage(100, 100, 71 Graphics2D g = src.createGraphics(); 76 int[] samples = new int[src.getData().getNumBands()]; 77 src.getData().getPixels(0,0,1,1,samples); 83 ImageIO.write(src, format, baos); 90 isSameColors(src, dst); 97 private static boolean isSameColors(BufferedImage src, BufferedImage dst) { argument 99 Object srcPixel = src.getRaster().getDataElements(width/2, height/2, null); 102 if ( Math.abs(src.getColorModel().getRed(srcPixel) - dst.getColorModel().getRed(dstPixel)) > 1 103 || Math.abs(src 116 showPixel(BufferedImage src, int x, int y) argument [all...] |
/openjdk10/hotspot/src/cpu/x86/vm/ |
H A D | assembler_x86.hpp | 634 void prefix(Register dst, Register src, Prefix p); 644 void prefetch_prefix(Address src); 667 int simd_prefix_and_encode(XMMRegister dst, XMMRegister nds, XMMRegister src, VexSimdPrefix pre, 676 void emit_arith(int op1, int op2, Register dst, Register src); 780 void movss(XMMRegister dst, Address src); 781 void movss(XMMRegister dst, XMMRegister src); 782 void movss(Address dst, XMMRegister src); 785 void movsd(XMMRegister dst, Address src); 786 void movsd(XMMRegister dst, XMMRegister src); 787 void movsd(Address dst, XMMRegister src); [all...] |
/openjdk10/jdk/test/javax/crypto/spec/GCMParameterSpec/ |
H A D | GCMParameterSpecTest.java | 74 int tLen, byte[] src) { 76 GCMParameterSpec gcmps = new GCMParameterSpec(tLen, src); 80 if (!Arrays.equals(gcmps.getIV(), src)) { 90 int tLen, byte[] src) { 92 new GCMParameterSpec(tLen, src); 101 int tLen, byte[] src, int offset, int len) { 104 new GCMParameterSpec(tLen, src, offset, len); 109 Arrays.copyOfRange(src, offset, offset + len))) { 111 System.out.println(Arrays.copyOfRange(src, offset, len)[0]); 121 int tLen, byte[] src, in 73 newGCMParameterSpecPass( int tLen, byte[] src) argument 89 newGCMParameterSpecFail( int tLen, byte[] src) argument 100 newGCMParameterSpecPass( int tLen, byte[] src, int offset, int len) argument 120 newGCMParameterSpecFail( int tLen, byte[] src, int offset, int len) argument [all...] |