/openjdk7/jdk/src/solaris/classes/sun/nio/fs/ |
H A D | LinuxNativeDispatcher.java | 71 NativeBuffer buffer = NativeBuffers.asNativeBuffer(name); 73 return fgetxattr0(filedes, buffer.address(), valueAddress, valueLen); 75 buffer.release(); 88 NativeBuffer buffer = NativeBuffers.asNativeBuffer(name); 90 fsetxattr0(filedes, buffer.address(), valueAddress, valueLen); 92 buffer.release(); 103 NativeBuffer buffer = NativeBuffers.asNativeBuffer(name); 105 fremovexattr0(filedes, buffer.address()); 107 buffer.release();
|
/openjdk7/jdk/test/java/lang/instrument/ |
H A D | BufferClassLoader.java | 52 byte[] buffer = fBuffers[x].getBuffer(); 54 buffer, 56 buffer.length,
|
/openjdk7/jdk/test/sun/security/tools/jarsigner/ |
H A D | Test4431684.java | 45 byte[] buffer = new byte[8192]; 48 while ((n = is.read(buffer, 0, buffer.length)) != -1) {
|
/openjdk7/jdk/src/share/classes/sun/security/pkcs/ |
H A D | SigningCertificateInfo.java | 95 StringBuffer buffer = new StringBuffer(); 96 buffer.append("[\n"); 98 buffer.append(certId[i].toString()); 101 buffer.append("\n]"); 103 return buffer.toString(); 154 StringBuffer buffer = new StringBuffer(); 155 buffer.append("[\n\tCertificate hash (SHA-1):\n"); 159 buffer.append(hexDumper.encode(certHash)); 161 buffer.append("\n\tIssuer: " + issuer + "\n"); 162 buffer [all...] |
/openjdk7/jdk/test/java/security/cert/CertificateFactory/ |
H A D | SlowStream.java | 42 byte[] buffer = new byte[4096]; 44 int len = fin.read(buffer); 46 System.out.write(buffer, 0, len);
|
/openjdk7/jdk/src/share/classes/sun/rmi/transport/tcp/ |
H A D | MultiplexInputStream.java | 32 * requesting more bytes of data as space in its internal buffer becomes 45 /** input buffer */ 46 private byte buffer[]; field in class:MultiplexInputStream 48 /** number of real data bytes present in buffer */ 51 /** current position to read from in input buffer */ 62 * buffer, present, pos, requested, & disconnected 81 * @param bufferLength length of input buffer 91 buffer = new byte[bufferLength]; 124 System.arraycopy(buffer, pos, buffer, [all...] |
/openjdk7/jdk/src/share/sample/nio/chatserver/ |
H A D | MessageReader.java | 44 * Writes all messages in our buffer to the other clients 45 * and appends new data read from the socket to our buffer 59 * Write all full messages in our buffer to 75 * Append the read buffer to the clients message buffer 77 * @param buffer the buffer we received from the socket 78 * @param bytes the number of bytes read into the buffer 81 public void onData(Client client, ByteBuffer buffer, int bytes) { argument 82 buffer [all...] |
/openjdk7/jdk/src/windows/classes/sun/nio/fs/ |
H A D | WindowsNativeDispatcher.java | 58 NativeBuffer buffer = asNativeBuffer(path); 60 return CreateFile0(buffer.address(), 67 buffer.release(); 101 NativeBuffer buffer = asNativeBuffer(path); 103 DeleteFile0(buffer.address()); 105 buffer.release(); 118 NativeBuffer buffer = asNativeBuffer(path); 120 CreateDirectory0(buffer.address(), lpSecurityAttributes); 122 buffer.release(); 134 NativeBuffer buffer [all...] |
H A D | WindowsAclFileAttributeView.java | 83 // invoke get to buffer size 92 // allocate buffer and re-invoke to get security information 93 NativeBuffer buffer = NativeBuffers.getNativeBuffer(size); 96 int newSize = GetFileSecurity(path, request, buffer.address(), size); 98 return buffer; 100 // buffer was insufficient 101 buffer.release(); 102 buffer = NativeBuffers.getNativeBuffer(newSize); 106 buffer.release(); 121 NativeBuffer buffer [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/dtdparser/ |
H A D | XmlReader.java | 82 // critical path. (So keep buffer length over 2 Kbytes to avoid 304 byte buffer [] = new byte[MAXPUSHBACK]; 315 len = pb.read(buffer, 0, buffer.length); 316 pb.unread(buffer, 0, len); 317 r = new InputStreamReader(new ByteArrayInputStream(buffer, 4, len), 439 * Reads the number of characters read into the buffer, or -1 on EOF. 525 protected byte buffer []; field in class:XmlReader.BaseReader 532 buffer = new byte[8192]; 546 buffer [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/util/ |
H A D | SynchronizedSymbolTable.java | 87 * @param buffer The buffer containing the new symbol. 88 * @param offset The offset into the buffer of the new symbol. 89 * @param length The length of the new symbol in the buffer. 91 public String addSymbol(char[] buffer, int offset, int length) { argument 94 return fSymbolTable.addSymbol(buffer, offset, length); 117 * @param buffer The buffer containing the symbol to look for. 118 * @param offset The offset into the buffer. 119 * @param length The length of the symbol in the buffer 121 containsSymbol(char[] buffer, int offset, int length) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/audio/ |
H A D | AudioDataStream.java | 47 super(data.buffer);
|
/openjdk7/jdk/src/share/classes/java/io/ |
H A D | BufferedInputStream.java | 32 * the ability to buffer the input and to 35 * is created, an internal buffer array is 37 * or skipped, the internal buffer is refilled 56 * The internal buffer array where the data is stored. When necessary, 75 * the buffer. 85 * The current position in the buffer. This is the index of the next 116 * in the buffer array (though they may be 117 * moved to another place in the buffer array, 156 * Check to make sure that buffer has not been nulled out due to 160 byte[] buffer [all...] |
H A D | PipedInputStream.java | 39 * The piped input stream contains a buffer, 65 * The default size of the pipe's circular input buffer. 74 * The circular buffer into which incoming data is placed. 77 protected byte buffer[]; field in class:PipedInputStream 80 * The index of the position in the circular buffer at which the 82 * piped output stream. <code>in<0</code> implies the buffer is empty, 83 * <code>in==out</code> implies the buffer is full 89 * The index of the position in the circular buffer at which the next 113 * the pipe's buffer. 118 * @param pipeSize the size of the pipe's buffer [all...] |
H A D | StringBufferInputStream.java | 51 protected String buffer; field in class:StringBufferInputStream 54 * The index of the next character to read from the input stream buffer. 56 * @see java.io.StringBufferInputStream#buffer 61 * The number of valid characters in the input stream buffer. 63 * @see java.io.StringBufferInputStream#buffer 70 * @param s the underlying input buffer. 73 this.buffer = s; 86 * low eight bits of the next character in this input stream's buffer. 92 return (pos < count) ? (buffer.charAt(pos++) & 0xFF) : -1; 101 * low eight bits from the characters in this input stream's buffer int [all...] |
/openjdk7/jdk/src/share/classes/com/sun/media/sound/ |
H A D | ModelChannelMixer.java | 45 public boolean process(float[][] buffer, int offset, int len); argument
|
H A D | ModelByteBuffer.java | 46 private byte[] buffer; field in class:ModelByteBuffer 156 buffer = root.buffer; 167 public ModelByteBuffer(byte[] buffer) { argument 168 this.buffer = buffer; 170 this.len = buffer.length; 173 public ModelByteBuffer(byte[] buffer, int offset, int len) { argument 174 this.buffer = buffer; [all...] |
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/jpeg/ |
H A D | SOFMarkerSegment.java | 74 SOFMarkerSegment(JPEGBuffer buffer) throws IOException{ argument 75 super(buffer); 76 samplePrecision = buffer.buf[buffer.bufPtr++]; 77 numLines = (buffer.buf[buffer.bufPtr++] & 0xff) << 8; 78 numLines |= buffer.buf[buffer.bufPtr++] & 0xff; 79 samplesPerLine = (buffer.buf[buffer 233 ComponentSpec(JPEGBuffer buffer) argument [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/stream/buffer/sax/ |
H A D | Features.java | 29 package com.sun.xml.internal.stream.buffer.sax;
|
/openjdk7/jdk/test/java/io/BufferedInputStream/ |
H A D | CountUpdate.java | 77 public static final byte[] buffer = {(byte)'a', field in class:BufferBreaker 91 if (len > buffer.length) len = buffer.length; 92 System.arraycopy(buffer, 0, b, off, len);
|
H A D | SkipTest.java | 36 * to recover data that was skipped over when the buffer did 50 // the skip must be longer than the buffer size 80 public static final byte[] buffer = {(byte)'a',(byte)'b',(byte)'c', field in class:DataSupplier 92 if (len > buffer.length) len = buffer.length; 93 System.arraycopy(buffer, aposition, b, off, len);
|
/openjdk7/jdk/src/share/classes/java/text/ |
H A D | DontCareFieldPosition.java | 39 int end, StringBuffer buffer) { 42 int start, int end, StringBuffer buffer) {
|
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/bdi/ |
H A D | LineBreakpointSpec.java | 121 StringBuffer buffer = new StringBuffer("breakpoint "); 122 buffer.append(refSpec.toString()); 123 buffer.append(':'); 124 buffer.append(lineNumber); 125 buffer.append(" ("); 126 buffer.append(getStatusString()); 127 buffer.append(')'); 128 return buffer.toString();
|
/openjdk7/jdk/src/macosx/native/jobjc/src/core/java/com/apple/jobjc/ |
H A D | Struct.java | 43 * Create a struct by taking ownership of an existing buffer. 47 protected Struct(final JObjCRuntime runtime, final NativeBuffer buffer, final int SIZEOF){ argument 50 this.raw = buffer;
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/code/ |
H A D | CompressedReadStream.java | 30 /** Equivalent to CompressedReadStream(buffer, 0) */ 31 public CompressedReadStream(Address buffer) { argument 32 this(buffer, 0); 35 public CompressedReadStream(Address buffer, int position) { argument 36 super(buffer, position); 126 return (short) buffer.getCIntegerAt(index, 1, true); 131 short retval = (short) buffer.getCIntegerAt(position, 1, true);
|