/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/impl/encoding/ |
H A D | CDRInputStream_1_1.java | 48 return bbwi.position() + fragmentOffset; 58 int alignment = computeAlignment(bbwi.position(), align); 60 if (bbwi.position() + n + alignment > bbwi.buflen) { 65 if (bbwi.position() + alignment == bbwi.buflen) 67 bbwi.position(bbwi.position() + alignment); 73 // fragmentation since the new bbwi.position() (after the header) 76 alignment = computeAlignment(bbwi [all...] |
H A D | CDROutputStream_1_2.java | 91 if (inBlock && requiredSize + bbwi.position() > bbwi.buflen) { 96 int oldSize = bbwi.position(); 97 bbwi.position(blockSizeIndex - 4); 101 bbwi.position(oldSize); 197 bbwi.position(bbwi.position() + computeAlignment(align)); 199 if (bbwi.position() + n > bbwi.buflen) 206 int oldSize = bbwi [all...] |
H A D | CDROutputStream_1_1.java | 34 // to the current bbwi.position(), the result is the current position 60 if (bbwi.position() + n + alignment > bbwi.buflen) { 73 bbwi.position(bbwi.position() + alignment); 78 int oldSize = bbwi.position(); 85 if (bbwi.fragmented) { 88 bbwi.fragmented = false; 92 // previous buffer. bbwi.position() is the length of the 94 fragmentOffset += (oldSize - bbwi [all...] |
H A D | BufferManagerWriteCollect.java | 77 // queue, and allocate a new bbwi. 78 public void overflow (ByteBufferWithInfo bbwi) argument 81 MessageBase.setFlag(bbwi.byteBuffer, Message.MORE_FRAGMENTS_BIT); 84 queue.enqueue(bbwi); 86 // Create a new bbwi 134 ByteBufferWithInfo bbwi = (ByteBufferWithInfo)bufs.next(); 135 ((CDROutputObject)outputObject).setByteBufferWithInfo(bbwi); 146 int bbAddress = System.identityHashCode(bbwi.byteBuffer); 153 byteBufferPool.releaseByteBuffer(bbwi.byteBuffer); 154 bbwi [all...] |
H A D | CDROutputStream_1_0.java | 106 ByteBufferWithInfo bbwi; field in class:CDROutputStream_1_0 176 this.bbwi = new ByteBufferWithInfo(orb, bufferManager, usePooledByteBuffers); 204 it = new byte[bbwi.position()]; 208 for (int i = 0; i < bbwi.position(); i++) 209 it[i] = bbwi.byteBuffer.get(i); 236 int incr = bbwi.position() & (align - 1); 246 bbwi.position(bbwi.position() + computeAlignment(align)); 248 if (bbwi.position() + n > bbwi 1277 setByteBufferWithInfo(ByteBufferWithInfo bbwi) argument 1714 printBuffer(ByteBufferWithInfo bbwi) argument [all...] |
H A D | CDRInputStream_1_2.java | 94 int alignIncr = computeAlignment(bbwi.position(),align); 95 bbwi.position(bbwi.position() + alignIncr); 97 if (bbwi.position() + n > bbwi.buflen) {
|
H A D | CDRInputStream_1_0.java | 144 protected ByteBufferWithInfo bbwi; field in class:CDRInputStream_1_0 229 this.bbwi.byteBuffer, 230 this.bbwi.buflen, 234 ((CDRInputStream_1_0)result).bbwi.position(this.bbwi.position()); 235 // To ensure we keep bbwi.byteBuffer.limit in sync with bbwi.buflen. 236 ((CDRInputStream_1_0)result).bbwi.byteBuffer.limit(this.bbwi.buflen); 257 this.bbwi 1886 printBuffer(ByteBufferWithInfo bbwi) argument 1962 setByteBufferWithInfo(ByteBufferWithInfo bbwi) argument [all...] |
H A D | BufferManagerWriteStream.java | 66 public void overflow (ByteBufferWithInfo bbwi) argument 69 MessageBase.setFlag(bbwi.byteBuffer, Message.MORE_FRAGMENTS_BIT); 84 bbwi.position(0); 85 bbwi.buflen = bbwi.byteBuffer.limit(); 86 bbwi.fragmented = true;
|
H A D | BufferManagerRead.java | 73 public ByteBufferWithInfo underflow (ByteBufferWithInfo bbwi); argument 94 public void close(ByteBufferWithInfo bbwi); argument
|
H A D | BufferManagerReadStream.java | 75 ByteBufferWithInfo bbwi = 89 fragmentQueue.enqueue(bbwi); 95 public ByteBufferWithInfo underflow (ByteBufferWithInfo bbwi) argument 146 // Release bbwi.byteBuffer to the ByteBufferPool only if 148 if (markEngaged == false && bbwi != null && bbwi.byteBuffer != null) 155 int bbAddress = System.identityHashCode(bbwi.byteBuffer); 163 byteBufferPool.releaseByteBuffer(bbwi.byteBuffer); 164 bbwi.byteBuffer = null; 165 bbwi 181 close(ByteBufferWithInfo bbwi) argument [all...] |
H A D | BufferManagerWriteGrow.java | 54 public void overflow (ByteBufferWithInfo bbwi) argument 60 bbwi.growBuffer(orb); 63 bbwi.fragmented = false;
|
H A D | CDROutputObject.java | 179 ByteBufferWithInfo bbwi = getByteBufferWithInfo(); 181 getMessageHeader().setSize(bbwi.byteBuffer, bbwi.getSize()); 188 CDROutputStream_1_0.printBuffer(bbwi); 191 bbwi.byteBuffer.position(0).limit(bbwi.getSize()); 192 connection.write(bbwi.byteBuffer); 222 public final void setByteBufferWithInfo(ByteBufferWithInfo bbwi) { argument 223 super.setByteBufferWithInfo(bbwi);
|
H A D | BufferManagerReadGrow.java | 61 public ByteBufferWithInfo underflow (ByteBufferWithInfo bbwi) argument 98 public void close(ByteBufferWithInfo bbwi) {} argument
|
H A D | ByteBufferWithInfo.java | 131 public ByteBufferWithInfo (ByteBufferWithInfo bbwi) argument 133 this.orb = bbwi.orb; 134 this.debug = bbwi.debug; 135 this.byteBuffer = bbwi.byteBuffer; 136 this.buflen = bbwi.buflen; 138 position(bbwi.position()); 139 this.needed = bbwi.needed; 140 this.fragmented = bbwi.fragmented;
|
H A D | BufferManagerWrite.java | 78 * bbwi.buf contains a byte array which needs to grow by bbwi.needed bytes. 82 * 1. Resize the bbwi.buf like the current implementation of 86 * this.bufQ.put(bbwi); 87 * return new ByteBufferWithInfo(bbwi.length); 90 * Backpatch fragment size field in bbwi.buf. 91 * Set more fragments bit in bbwi.buf. 92 * this.connection.send(bbwi); 93 * return reinitialized bbwi.buf with fragment header 95 * All cases should adjust the returned bbwi 100 overflow(ByteBufferWithInfo bbwi) argument [all...] |
H A D | CDROutputStreamBase.java | 154 public abstract void setByteBufferWithInfo(ByteBufferWithInfo bbwi); argument
|
H A D | CDRInputStream.java | 422 protected final void setByteBufferWithInfo(ByteBufferWithInfo bbwi) { argument 423 impl.setByteBufferWithInfo(bbwi);
|
H A D | CDROutputStream.java | 377 protected void setByteBufferWithInfo(ByteBufferWithInfo bbwi) { argument 378 impl.setByteBufferWithInfo(bbwi);
|
H A D | CDRInputStreamBase.java | 175 public abstract void setByteBufferWithInfo(ByteBufferWithInfo bbwi); argument
|
H A D | IDLJavaSerializationOutputStream.java | 635 public void setByteBufferWithInfo(ByteBufferWithInfo bbwi) { argument
|
H A D | IDLJavaSerializationInputStream.java | 961 public void setByteBufferWithInfo(ByteBufferWithInfo bbwi) { argument
|
/openjdk10/hotspot/test/compiler/c2/ |
H A D | Test6852078.java | 48 ByteBufferWithInfo bbwi = new ByteBufferWithInfo( CorbaUtils.getOrb(null, -1, new Hashtable()), bb); 50 tmpBuf = new byte[bbwi.buflen]; 53 tmpBuf[i] = bbwi.byteBuffer.get(i);
|
/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/impl/protocol/ |
H A D | SharedCDRClientRequestDispatcherImpl.java | 159 ByteBufferWithInfo bbwi = cdrOutputObject.getByteBufferWithInfo(); 160 cdrOutputObject.getMessageHeader().setSize(bbwi.byteBuffer, bbwi.getSize()); 162 final ByteBuffer inBuffer = bbwi.byteBuffer; 202 bbwi = cdrOutputObject.getByteBufferWithInfo(); 203 cdrOutputObject.getMessageHeader().setSize(bbwi.byteBuffer, bbwi.getSize()); 205 final ByteBuffer inBuffer2 = bbwi.byteBuffer;
|
/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/impl/protocol/giopmsgheaders/ |
H A D | MessageBase.java | 146 ByteBufferWithInfo bbwi = new ByteBufferWithInfo(orb,viewBuffer); 147 bbwi.buflen = GIOPMessageHeaderLength; 148 CDRInputStream_1_0.printBuffer(bbwi); 444 ByteBufferWithInfo bbwi = new ByteBufferWithInfo(orb, viewBuffer); 445 CDRInputStream_1_0.printBuffer(bbwi);
|