/openjdk7/hotspot/test/compiler/7100757/ |
H A D | Test7100757.java | 41 BitSet bs = new BitSet(NBITS); 50 test(ra, bs); 54 static void test(long[] ra, BitSet bs) { argument 55 bs.clear(); 60 bs.set(i); 69 int check_bits = bs.cardinality(); 71 String bs_str = bs.toString(); 72 System.err.printf("cardinality bits: %d != %d bs: %s\n", check_bits, bits_set, bs_str); 77 for (int i = bs.nextSetBit(0); i >= 0; i = bs [all...] |
/openjdk7/jdk/src/share/classes/sun/awt/image/ |
H A D | VSyncedBSManager.java | 51 abstract boolean checkAllowed(BufferStrategy bs); argument 52 abstract void relinquishVsync(BufferStrategy bs); argument 58 * @return true if the bs is allowed to be v-synced, false otherwise 60 public static boolean vsyncAllowed(BufferStrategy bs) { argument 62 return bsm.checkAllowed(bs); 69 public static synchronized void releaseVsync(BufferStrategy bs) { argument 72 bsm.relinquishVsync(bs); 82 boolean checkAllowed(BufferStrategy bs) { argument 87 void relinquishVsync(BufferStrategy bs) { argument 99 public synchronized boolean checkAllowed(BufferStrategy bs) { argument 111 relinquishVsync(BufferStrategy bs) argument [all...] |
/openjdk7/jdk/test/sun/security/util/DerValue/ |
H A D | BadValue.java | 42 byte[] bs = IOUtils.readFully(in, 4, true); 43 if (bs.length != 4 || in.available() != 6) { 47 bs = IOUtils.readFully(in, 10, false); 48 if (bs.length != 6 || in.available() != 0) { 53 bs = IOUtils.readFully(in, Integer.MAX_VALUE, true); 54 if (bs.length != 10 || in.available() != 0) { 59 bs = IOUtils.readFully(in, Integer.MAX_VALUE, false); 60 if (bs.length != 10 || in.available() != 0) { 66 bs = IOUtils.readFully(in, 20, true); 72 bs [all...] |
/openjdk7/jdk/src/share/classes/sun/reflect/generics/tree/ |
H A D | FormalTypeParameter.java | 35 private FormalTypeParameter(String n, FieldTypeSignature[] bs) { argument 37 bounds = bs; 44 * @param bs - the bounds of the type variable to be created by this method. 47 public static FormalTypeParameter make(String n, FieldTypeSignature[] bs){ argument 48 return new FormalTypeParameter(n,bs);
|
/openjdk7/jdk/src/share/classes/sun/nio/ch/ |
H A D | ChannelInputStream.java | 71 private byte[] bs = null; // Invoker's previous array field in class:ChannelInputStream 87 public synchronized int read(byte[] bs, int off, int len) argument 90 if ((off < 0) || (off > bs.length) || (len < 0) || 91 ((off + len) > bs.length) || ((off + len) < 0)) { 96 ByteBuffer bb = ((this.bs == bs) 98 : ByteBuffer.wrap(bs)); 102 this.bs = bs;
|
/openjdk7/jdk/src/solaris/classes/sun/java2d/jules/ |
H A D | JulesRenderingEngine.java | 39 BasicStroke bs, boolean thin, 43 return new JulesAATileGenerator(s, at, clip, bs, thin, 46 return super.getAATileGenerator(s, at, clip, bs, thin, 38 getAATileGenerator(Shape s, AffineTransform at, Region clip, BasicStroke bs, boolean thin, boolean normalize, int[] bbox) argument
|
H A D | JulesShapePipe.java | 60 BasicStroke bs; 63 bs = (BasicStroke) sg2d.stroke; 66 bs = null; 70 (bs != null && sg2d.strokeHint != SunHints.INTVAL_STROKE_PURE); 74 buf.tesselateStroke(s, bs, thin, adjust, true,
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/ |
H A D | Name.java | 77 byte[] bs = new byte[len + n.getByteLength()]; 78 getBytes(bs, 0); 79 n.getBytes(bs, len); 80 return table.fromUtf(bs, 0, bs.length); 88 byte[] bs = new byte[len + 1 + n.getByteLength()]; 89 getBytes(bs, 0); 90 bs[len] = (byte) c; 91 n.getBytes(bs, len+1); 92 return table.fromUtf(bs, [all...] |
H A D | ByteBuffer.java | 79 public void appendBytes(byte[] bs, int start, int len) { argument 81 System.arraycopy(bs, start, elems, length, len); 87 public void appendBytes(byte[] bs) { argument 88 appendBytes(bs, 0, bs.length);
|
/openjdk7/jdk/test/java/lang/reflect/Generics/ |
H A D | TestC1.java | 94 Type[] bs = tv.getBounds(); 96 bs.length == 1 : 99 bs[0] == Object.class : 136 Type[] bs = tv.getBounds(); 138 bs.length == 1 : 141 bs[0] == Object.class : 170 bs = tv.getBounds(); 172 bs.length == 1 : 175 bs[0] == Object.class : 201 bs [all...] |
H A D | TestC2.java | 137 Type[] bs = tv.getBounds(); 139 bs.length == 1 : 141 t = bs[0]; 281 Type[] bs = tv.getBounds(); 283 bs.length == 1 : 286 bs[0] instanceof ParameterizedType : 290 bs = tv.getBounds(); 292 bs.length == 1 : 295 bs[0] instanceof ParameterizedType : 299 bs [all...] |
/openjdk7/jdk/src/share/classes/java/nio/channels/ |
H A D | Channels.java | 148 private byte[] bs = null; // Invoker's previous array 158 public synchronized void write(byte[] bs, int off, int len) 161 if ((off < 0) || (off > bs.length) || (len < 0) || 162 ((off + len) > bs.length) || ((off + len) < 0)) { 167 ByteBuffer bb = ((this.bs == bs) 169 : ByteBuffer.wrap(bs)); 173 this.bs = bs; 204 private byte[] bs [all...] |
/openjdk7/hotspot/test/compiler/6851282/ |
H A D | Test.java | 52 List<B> bs = new ArrayList<B>(); 54 bs.add(new B(j)); 55 as.add(new A(bs.toArray(new B[0]))); 62 final B[] bs; field in class:A 64 public A(B[] bs) { argument 65 this.bs = bs; 69 return new BoxedArray<B>(bs).filter(new Function<B, Boolean>() { 71 for (B b : a.bs) {
|
/openjdk7/hotspot/src/share/vm/memory/ |
H A D | genRemSet.hpp | 49 GenRemSet(BarrierSet * bs) : _bs(bs) {} argument 60 BarrierSet* bs() { return _bs; } function in class:GenRemSet 63 void set_bs(BarrierSet* bs) { _bs = bs; } argument
|
/openjdk7/jdk/test/java/awt/FullScreen/BufferStrategyExceptionTest/ |
H A D | BufferStrategyExceptionTest.java | 117 BufferStrategy bs = getBufferStrategy(); 119 Graphics g = bs.getDrawGraphics(); 129 bs.show(); 130 } while (bs.contentsLost()||bs.contentsRestored());
|
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | BasicStroke.java | 413 BasicStroke bs = (BasicStroke) obj; 414 if (width != bs.width) { 418 if (join != bs.join) { 422 if (cap != bs.cap) { 426 if (miterlimit != bs.miterlimit) { 431 if (dash_phase != bs.dash_phase) { 435 if (!java.util.Arrays.equals(dash, bs.dash)) { 439 else if (bs.dash != null) {
|
/openjdk7/jdk/test/javax/management/remote/mandatory/connection/ |
H A D | RMISerializeTest.java | 55 byte[] bs = baos.toByteArray(); 58 ByteArrayInputStream bais = new ByteArrayInputStream(bs);
|
/openjdk7/jdk/src/share/classes/sun/reflect/generics/reflectiveObjects/ |
H A D | TypeVariableImpl.java | 55 private TypeVariableImpl(D decl, String n, FieldTypeSignature[] bs, argument 60 boundASTs = bs; 79 * @param bs - an array of ASTs representing the bounds for the type 88 FieldTypeSignature[] bs, 90 return new TypeVariableImpl<T>(decl, name, bs, f); 87 make(T decl, String name, FieldTypeSignature[] bs, GenericsFactory f) argument
|
/openjdk7/jdk/test/sun/nio/cs/ |
H A D | StrCodingBenchmarkUTF8.java | 60 final byte[] bs = Arrays.copyOf(bytes, sz); 61 final String str = new String(bs, csn); 66 new String(bs, csn); 72 new String(bs, cs);
|
/openjdk7/jdk/make/tools/src/build/tools/charsetmapping/ |
H A D | EUC_TW.java | 111 if (e.bs >= 0x10000) { 112 plane = ((e.bs >> 16) & 0xff) - 1; 115 e.bs = e.bs & 0xffff; 117 db[plane][e.bs] = e.cp; 122 suppFlag[e.bs] |= (1 << plane);
|
H A D | HKSCS.java | 108 supp[e.bs] = (char)e.cp; 109 b2cSupp[e.bs>>8] = true; 112 bmp[e.bs] = (char)e.cp; 113 b2cBmp[e.bs>>8] = true; 117 pua[e.cp2 - 0xE000] = (char)e.bs; 125 pua[e.cp - 0xE000] = (char)e.bs;
|
/openjdk7/jdk/test/java/lang/String/ |
H A D | Encodings.java | 53 /* String(byte[] bs, String enc) */ 57 /* String(byte[] bs, Charset charset) */ 61 /* String(byte[] bs, int off, int len, Charset charset) */ 100 byte[] bs = str.getBytes(enc); 101 if (!equals(bs, bytes)) 105 bs = str.getBytes(charset); 106 if (!equals(bs, bytes)) 140 bs = bo.toByteArray(); 141 if (!equals(bs, bytes))
|
/openjdk7/jdk/test/sun/java2d/DirectX/RenderingToCachedGraphicsTest/ |
H A D | RenderingToCachedGraphicsTest.java | 89 BufferStrategy bs = renderCanvas.getBufferStrategy(); 91 Graphics bsg = bs.getDrawGraphics(); 95 } while (bs.contentsLost() || bs.contentsRestored()); 102 bs.dispose(); 103 bs = null;
|
/openjdk7/jdk/test/java/security/Identity/ |
H A D | EqualsHashCodeContract.java | 86 ByteArrayOutputStream bs = new ByteArrayOutputStream(); 87 DataOutputStream ds = new DataOutputStream(bs); 93 e = bs.toByteArray();
|
/openjdk7/jdk/src/windows/classes/sun/tools/attach/ |
H A D | WindowsVirtualMachine.java | 144 public synchronized int read(byte[] bs, int off, int len) throws IOException { argument 145 if ((off < 0) || (off > bs.length) || (len < 0) || 146 ((off + len) > bs.length) || ((off + len) < 0)) { 151 return WindowsVirtualMachine.readPipe(hPipe, bs, off, len);
|