Searched refs:buffer (Results 76 - 100 of 668) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DLinuxNativeDispatcher.java71 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 DBufferClassLoader.java52 byte[] buffer = fBuffers[x].getBuffer();
54 buffer,
56 buffer.length,
/openjdk7/jdk/test/sun/security/tools/jarsigner/
H A DTest4431684.java45 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 DSigningCertificateInfo.java95 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 DSlowStream.java42 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 DMultiplexInputStream.java32 * 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 DMessageReader.java44 * 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 DWindowsNativeDispatcher.java58 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 DWindowsAclFileAttributeView.java83 // 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 DXmlReader.java82 // 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 DSynchronizedSymbolTable.java87 * @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 DAudioDataStream.java47 super(data.buffer);
/openjdk7/jdk/src/share/classes/java/io/
H A DBufferedInputStream.java32 * 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 DPipedInputStream.java39 * 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&lt;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 DStringBufferInputStream.java51 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 DModelChannelMixer.java45 public boolean process(float[][] buffer, int offset, int len); argument
H A DModelByteBuffer.java46 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 DSOFMarkerSegment.java74 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 DFeatures.java29 package com.sun.xml.internal.stream.buffer.sax;
/openjdk7/jdk/test/java/io/BufferedInputStream/
H A DCountUpdate.java77 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 DSkipTest.java36 * 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 DDontCareFieldPosition.java39 int end, StringBuffer buffer) {
42 int start, int end, StringBuffer buffer) {
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/bdi/
H A DLineBreakpointSpec.java121 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 DStruct.java43 * 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 DCompressedReadStream.java30 /** 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);

Completed in 108 milliseconds

1234567891011>>