Searched defs:buffer (Results 101 - 125 of 352) sorted by relevance

1234567891011>>

/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/stream/buffer/sax/
H A DDefaultWithLexicalHandler.java26 package com.sun.xml.internal.stream.buffer.sax;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/stream/buffer/stax/
H A DStreamBufferCreator.java26 package com.sun.xml.internal.stream.buffer.stax;
28 import com.sun.xml.internal.stream.buffer.AbstractCreator;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/xml/
H A DXMLCodec.java79 public ContentType encode(Packet packet, WritableByteChannel buffer) { argument
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/message/stream/
H A DStreamAttachment.java58 public StreamAttachment(ByteArrayBuffer buffer, String contentId, String contentType) { argument
61 this.byteArrayBuffer = buffer;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/sourcemodel/
H A DPolicyReferenceData.java112 * A helper method that appends indented string representation of this instance to the input string buffer.
115 * @param buffer buffer to be used for appending string representation of this instance
116 * @return modified buffer containing new string representation of the instance
118 public StringBuffer toString(final int indentLevel, final StringBuffer buffer) { argument
122 buffer.append(indent).append("reference data {").append(PolicyUtils.Text.NEW_LINE);
123 buffer.append(innerIndent).append("referenced policy model URI = '").append(referencedModelUri).append('\'').append(PolicyUtils.Text.NEW_LINE);
125 buffer.append(innerIndent).append("no digest specified").append(PolicyUtils.Text.NEW_LINE);
127 buffer.append(innerIndent).append("digest algorith URI = '").append(digestAlgorithmUri).append('\'').append(PolicyUtils.Text.NEW_LINE);
128 buffer
[all...]
/openjdk7/jdk/src/windows/back/
H A Dlinker_md.c41 static void dll_build_name(char* buffer, size_t buflen, argument
57 (void)_snprintf(buffer, buflen, "%.*s%s.dll", (p - pathname),
60 (void)_snprintf(buffer, buflen, "%.*s\\%s.dll", (p - pathname),
63 if (_access(buffer, 0) == 0) {
67 *buffer = '\0';
116 /* Quietly truncates on buffer overflow. Should be an error. */
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_TextComponent.h67 INLINE virtual int GetText(LPTSTR buffer, int size) { argument
68 return ::GetWindowText(GetHWnd(), buffer, size);
/openjdk7/jdk/test/sun/text/resources/
H A DLocaleDataTest.java363 if (buffer != null) {
364 String b = buffer.toString();
367 buffer = new StringBuffer(b.substring(1));
369 buffer = null;
377 buffer = new StringBuffer();
379 buffer.append((char)result);
385 buffer.append((char)result);
387 String number = buffer.toString().substring(1);
389 buffer = null;
412 private StringBuffer buffer field in class:EscapeReader
[all...]
/openjdk7/jdk/test/sun/tools/jhat/
H A DHatRun.java43 private StringBuffer buffer; field in class:MyInputStream
49 buffer = new StringBuffer(4096);
55 /* Dump the buffer */
57 String str = buffer.toString();
58 x.println("<beginning of " + name + " buffer>");
60 x.println("<end of buffer>");
65 String str = buffer.toString();
80 buffer.append(str);
/openjdk7/jdk/src/share/native/sun/awt/image/jpeg/
H A Djcmainct.c12 * This file contains the main buffer controller for compression.
13 * The main buffer lies between the pre-processor and the JPEG
22 /* Note: currently, there is no operating mode in which a full-image buffer
30 /* Private buffer controller object */
40 /* If using just a strip buffer, this points to the entire set of buffers
44 JSAMPARRAY buffer[MAX_COMPONENTS]; member in struct:__anon693
113 * where we have only a strip buffer.
124 /* Read input data if we haven't filled the main buffer yet */
128 _main->buffer, &_main->rowgroup_ctr,
139 if (! (*cinfo->coef->compress_data) (cinfo, _main->buffer)) {
[all...]
H A Djdpostct.c28 /* Private buffer controller object */
33 /* Color quantization source buffer: this holds output data from
35 * For two-pass color quantization, we need a full-image buffer;
36 * for one-pass operation, a strip buffer is sufficient.
39 JSAMPARRAY buffer; /* strip buffer, or current strip of virtual */ member in struct:__anon719
40 JDIMENSION strip_height; /* buffer size in rows */
88 * allocate a strip buffer. Use the virtual-array buffer as workspace.
90 if (post->buffer
[all...]
/openjdk7/jdk/src/share/classes/sun/security/jgss/
H A DGSSToken.java169 * @param buffer the buffer to store the bytes into
174 public static final void readFully(InputStream is, byte[] buffer) argument
176 readFully(is, buffer, 0, buffer.length);
184 * @param buffer the buffer to store the bytes into
192 byte[] buffer, int offset, int len)
196 temp = is.read(buffer, offset, len);
191 readFully(InputStream is, byte[] buffer, int offset, int len) argument
/openjdk7/jdk/src/share/classes/sun/security/provider/
H A DDigestBase.java61 // buffer to store partial blocks, blockSize bytes large
64 final byte[] buffer; field in class:DigestBase
65 // offset into buffer
83 buffer = new byte[blockSize];
93 this.buffer = base.buffer.clone();
124 // if buffer is not empty, we need to fill it before proceeding
127 System.arraycopy(b, ofs, buffer, bufOfs, n);
133 implCompress(buffer, 0);
143 // copy remainder to buffer
[all...]
/openjdk7/jdk/src/share/classes/sun/security/util/
H A DManifestEntryVerifier.java159 public void update(byte buffer) { argument
163 digests.get(i).update(buffer);
170 public void update(byte buffer[], int off, int len) { argument
174 digests.get(i).update(buffer, off, len);
/openjdk7/jdk/src/share/classes/sun/tools/tree/
H A DAddExpression.java91 StringBuffer buffer = inlineValueSB(env, ctx, new StringBuffer());
92 if (buffer != null) {
94 return new StringExpression(where, buffer.toString());
104 * yields a value, append it to the StringBuffer `buffer'.
149 StringBuffer buffer) {
153 return super.inlineValueSB(env, ctx, buffer);
156 buffer = left.inlineValueSB(env, ctx, buffer);
157 if (buffer != null) {
158 buffer
147 inlineValueSB(Environment env, Context ctx, StringBuffer buffer) argument
[all...]
H A DExprExpression.java109 StringBuffer buffer) {
110 return right.inlineValueSB(env, ctx, buffer);
107 inlineValueSB(Environment env, Context ctx, StringBuffer buffer) argument
/openjdk7/jdk/test/javax/sound/sampled/DataLine/
H A DDataLine_ArrayIndexOutOfBounds.java21 // shared buffer for all tests
22 static final byte[] buffer = new byte[5000000]; field in class:DataLine_ArrayIndexOutOfBounds
24 // the class describes different test scenarios (buffer properties)
45 return "offset is less than buffer.length, length is large";
48 return buffer.length / 10;
174 line.write(buffer, offset, len);
213 line.read(buffer, offset, len);
/openjdk7/jdk/src/share/classes/sun/jvmstat/perfdata/monitor/
H A DPerfDataBufferImpl.java37 * PerfData instrumentation buffer.
46 * The buffer containing the instrumentation data.
48 protected ByteBuffer buffer; field in class:PerfDataBufferImpl
51 * A Map of monitor objects found in the instrumentation buffer.
56 * The Local Java Virtual Machine Identifier for this buffer.
75 * @param buffer the ByteBuffer containing the instrumentation data.
77 * instrumentation buffer.
79 protected PerfDataBufferImpl(ByteBuffer buffer, int lvmid) { argument
80 this.buffer = buffer;
[all...]
/openjdk7/jdk/src/share/classes/sun/management/counter/perf/
H A DPerfInstrumentation.java34 private ByteBuffer buffer; field in class:PerfInstrumentation
43 buffer = b;
44 buffer.order(prologue.getByteOrder());
72 buffer.rewind();
73 buffer.position(prologue.getEntryOffset());
74 nextEntry = buffer.position();
94 if (nextEntry < 0 || nextEntry > buffer.limit()) {
98 ", limit = " + buffer.limit());
101 buffer.position(nextEntry);
102 PerfDataEntry entry = new PerfDataEntry(buffer);
[all...]
/openjdk7/jdk/src/share/classes/sun/misc/
H A DCharacterDecoder.java52 * Of course in the simplest encoding schemes, the buffer has no
57 * chunk of data is referred to as a <i>buffer</i>. Encoded buffers
96 /** decode the beginning of the buffer, by default this is a NOP. */
99 /** decode the buffer suffix, again by default it is a NOP. */
133 protected int readFully(InputStream in, byte buffer[], int offset, int len) argument
139 buffer[i+offset] = (byte)q;
183 * buffer and returns a byte array containing the data.
199 * Decode the contents of the inputstream into a buffer.
H A DCharacterEncoder.java53 * chunk of data is referred to as a <i>buffer</i>. Encoded buffers
88 * Encode the prefix for the entire buffer. By default is simply
96 * Encode the suffix for the entire buffer.
124 protected int readFully(InputStream in, byte buffer[]) argument
126 for (int i = 0; i < buffer.length; i++) {
130 buffer[i] = (byte)q;
132 return buffer.length;
173 * Encode the buffer in <i>aBuffer</i> and write the encoded
183 * A 'streamless' version of encode that simply takes a buffer of
184 * bytes and returns a string containing the encoded buffer
[all...]
/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...]
H A DMultiplexOutputStream.java32 * internal buffer is full or the flush() method is called, at which
35 * requested by the remote endpoint (to prevent receive buffer from
50 /** output buffer */
51 private byte buffer[]; field in class:MultiplexOutputStream
53 /** current position to write to in output buffer */
77 * @param bufferLength length of output buffer
87 buffer = new byte[bufferLength];
97 while (pos >= buffer.length)
99 buffer[pos ++] = (byte) b;
114 // if enough free space in output buffer, jus
[all...]
/openjdk7/jdk/src/share/sample/nio/chatserver/
H A DClient.java74 * Enqueues a write of the buffer to the channel.
75 * The call is asynchronous so the buffer is not safe to modify after
76 * passing the buffer here.
78 * @param buffer the buffer to send to the channel
80 private void writeMessage(final ByteBuffer buffer) { argument
84 queue.add(buffer);
98 ByteBuffer buffer;
101 buffer = queue.poll();
102 if (buffer
113 writeBuffer(ByteBuffer buffer) argument
[all...]
/openjdk7/jdk/src/solaris/back/
H A Dlinker_md.c57 static void dll_build_name(char* buffer, size_t buflen, argument
72 (void)snprintf(buffer, buflen, "%.*s/lib%s." LIB_SUFFIX, (p - pathname),
75 if (access(buffer, F_OK) == 0) {
79 *buffer = '\0';
106 /* Quietly truncate on buffer overflow. Should be an error. */

Completed in 82 milliseconds

1234567891011>>