Searched refs:buffer (Results 101 - 125 of 668) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DSoftAudioPusher.java43 private final byte[] buffer; field in class:SoftAudioPusher
48 this.buffer = new byte[workbuffersizer];
74 byte[] buffer = SoftAudioPusher.this.buffer;
81 int count = ais.read(buffer);
83 // Write byte buffer to source output
84 sourceDataLine.write(buffer, 0, count);
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/dv/xs/
H A DAnyURIDV.java108 StringBuffer buffer = new StringBuffer(len*3);
118 buffer.append('%');
119 buffer.append(gAfterEscaping1[ch]);
120 buffer.append(gAfterEscaping2[ch]);
123 buffer.append((char)ch);
146 buffer.append('%');
147 buffer.append(gHexChs[ch >> 4]);
148 buffer.append(gHexChs[ch & 0xf]);
151 buffer.append('%');
152 buffer
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/
H A DXSParticleDecl.java134 StringBuffer buffer = new StringBuffer();
135 appendParticle(buffer);
138 buffer.append('{').append(fMinOccurs);
140 buffer.append("-UNBOUNDED");
142 buffer.append('-').append(fMaxOccurs);
143 buffer.append('}');
145 fDescription = buffer.toString();
151 * append the string description of this particle to the string buffer
154 void appendParticle(StringBuffer buffer) { argument
157 buffer
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/jdi/
H A DJNITypeParser.java46 StringBuffer buffer = new StringBuffer();
50 buffer.append('[');
59 buffer.append('Z');
61 buffer.append('B');
63 buffer.append('C');
65 buffer.append('S');
67 buffer.append('I');
69 buffer.append('J');
71 buffer.append('F');
73 buffer
[all...]
/openjdk7/jdk/src/share/classes/com/sun/tools/jdi/
H A DJNITypeParser.java47 StringBuffer buffer = new StringBuffer();
51 buffer.append('[');
60 buffer.append('Z');
62 buffer.append('B');
64 buffer.append('C');
66 buffer.append('S');
68 buffer.append('I');
70 buffer.append('J');
72 buffer.append('F');
74 buffer
[all...]
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/jpeg/
H A DSOSMarkerSegment.java70 SOSMarkerSegment(JPEGBuffer buffer) throws IOException { argument
71 super(buffer);
72 int numComponents = buffer.buf[buffer.bufPtr++];
75 componentSpecs[i] = new ScanComponentSpec(buffer);
77 startSpectralSelection = buffer.buf[buffer.bufPtr++];
78 endSpectralSelection = buffer.buf[buffer.bufPtr++];
79 approxHigh = buffer
196 ScanComponentSpec(JPEGBuffer buffer) argument
[all...]
H A DMarkerSegment.java56 MarkerSegment(JPEGBuffer buffer) throws IOException { argument
58 buffer.loadBuf(3); // tag plus length
59 tag = buffer.buf[buffer.bufPtr++] & 0xff;
60 length = (buffer.buf[buffer.bufPtr++] & 0xff) << 8;
61 length |= buffer.buf[buffer.bufPtr++] & 0xff;
63 buffer.bufAvail -= 3;
66 buffer
126 loadData(JPEGBuffer buffer) argument
[all...]
/openjdk7/jdk/src/share/classes/java/rmi/server/
H A DLogStream.java55 /** string buffer used for constructing log message prefixes */
56 private StringBuffer buffer = new StringBuffer(); field in class:LogStream
164 * the byte is appended to the internal buffer. If it is a newline,
178 buffer.setLength(0);;
179 buffer.append( // date/time stamp...
181 buffer.append(':');
182 buffer.append(name); // ...log name...
183 buffer.append(':');
184 buffer.append(Thread.currentThread().getName());
185 buffer
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/
H A DByteBuffer.java30 /** A byte buffer is a flexible array which grows when elements are
41 /** An array holding the bytes in this buffer; can be grown.
45 /** The current number of defined bytes in this buffer.
49 /** Create a new byte buffer.
55 /** Create a new byte buffer with an initial elements array
69 /** Append byte to this buffer.
114 ByteArrayOutputStream buffer = new ByteArrayOutputStream(8);
115 DataOutputStream bufout = new DataOutputStream(buffer);
118 appendBytes(buffer.toByteArray(), 0, 8);
127 ByteArrayOutputStream buffer
[all...]
/openjdk7/jdk/src/share/sample/nio/chatserver/
H A DNameReader.java51 private final StringBuilder buffer = new StringBuilder(); field in class:NameReader
84 public void onData(Client client, ByteBuffer buffer, int bytes) { argument
85 buffer.flip();
87 name = this.buffer.append(new String(buffer.array(), 0, bytes)).toString();
95 * and appends everything else to the clients message buffer.
110 * Appends the remaining parts to the clients message buffer
113 * @param strings the messages to append to the buffer
H A DClientReader.java69 public void completed(Integer result, ByteBuffer buffer) {
76 callback.onData(client, buffer, result);
83 public void failed(Throwable exc, ByteBuffer buffer) {
/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/
H A DAESWrapCipher.java115 * Returns the length in bytes that an output buffer would need to be
124 * @return the required output buffer size (in bytes)
245 * @param in the input buffer.
264 * @param in the input buffer.
268 * @param out the buffer for the result.
288 * @param in the input buffer
309 * @param in the input buffer.
313 * @param out the buffer for the result.
393 byte[] buffer = new byte[blksize];
397 System.arraycopy(out, 0, buffer,
[all...]
/openjdk7/jaxws/src/share/jaf_classes/javax/activation/
H A DMimeTypeParameterList.java243 StringBuffer buffer = new StringBuffer();
244 buffer.ensureCapacity(parameters.size() * 16);
250 buffer.append("; ");
251 buffer.append(key);
252 buffer.append('=');
253 buffer.append(quote((String)parameters.get(key)));
256 return buffer.toString();
292 StringBuffer buffer = new StringBuffer();
293 buffer.ensureCapacity((int)(length * 1.5));
296 buffer
[all...]
/openjdk7/hotspot/test/testlibrary/com/oracle/java/testlibrary/
H A DStreamPumper.java58 byte[] buffer = new byte[BUF_SIZE];
61 while (!Thread.interrupted() && (length = localIn.read(buffer)) > 0) {
62 localOut.write(buffer, 0, length);
/openjdk7/jdk/src/share/classes/sun/font/
H A DCMap.java398 static CMap createCMap(ByteBuffer buffer, int offset, char[] xlat) { argument
402 int subtableFormat = buffer.getChar(offset);
405 subtableLength = buffer.getChar(offset+2);
407 subtableLength = buffer.getInt(offset+4) & INTMASK;
409 if (offset+subtableLength > buffer.capacity()) {
411 FontUtilities.getLogger().warning("Cmap subtable overflows buffer.");
415 case 0: return new CMapFormat0(buffer, offset);
416 case 2: return new CMapFormat2(buffer, offset, xlat);
417 case 4: return new CMapFormat4(buffer, offset, xlat);
418 case 6: return new CMapFormat6(buffer, offse
620 CMapFormat0(ByteBuffer buffer, int offset) argument
734 CMapFormat2(ByteBuffer buffer, int offset, char[] xlat) argument
953 CMapFormat12(ByteBuffer buffer, int offset, char[] xlat) argument
[all...]
/openjdk7/jdk/test/java/util/jar/JarFile/
H A DScanSignedJar.java43 byte[] buffer = new byte[8192];
48 while (jis.read(buffer, 0, buffer.length) != -1) {
/openjdk7/jdk/test/lib/testlibrary/jdk/testlibrary/
H A DStreamPumper.java60 byte[] buffer = new byte[BUF_SIZE];
63 while ((length = localIn.read(buffer)) > 0 && !Thread.interrupted()) {
64 localOut.write(buffer, 0, length);
/openjdk7/jdk/src/share/transport/shmem/
H A DsysShmem.h31 int sysSharedMemCreate(const char *name, int length, sys_shmem_t *, void **buffer);
32 int sysSharedMemOpen(const char *name, sys_shmem_t *, void **buffer);
33 int sysSharedMemClose(sys_shmem_t, void *buffer);
/openjdk7/jdk/src/share/classes/java/io/
H A DPipedReader.java49 * The size of the pipe's circular input buffer.
54 * The circular buffer into which incoming data is placed.
56 char buffer[]; field in class:PipedReader
59 * The index of the position in the circular buffer at which the
61 * piped writer. <code>in&lt;0</code> implies the buffer is empty,
62 * <code>in==out</code> implies the buffer is full
67 * The index of the position in the circular buffer at which the next
88 * pipe size for the pipe's buffer. Data written to <code>src</code>
92 * @param pipeSize the size of the pipe's buffer.
117 * the specified pipe size for the pipe's buffer
[all...]
/openjdk7/jdk/src/share/classes/java/util/logging/
H A DMemoryHandler.java29 * <tt>Handler</tt> that buffers requests in a circular buffer in memory.
32 * into its memory buffer and discards earlier records. This buffering
34 * conditions, the <tt>MemoryHandler</tt> will push out its current buffer
38 * There are three main models for triggering a push of the buffer:
64 * defines the buffer size (defaults to 1000).
80 private LogRecord buffer[]; field in class:MemoryHandler
123 buffer = new LogRecord[size];
133 * argument and buffer size argument are used.
136 * @param size the number of log records to buffer (must be greater than zero)
158 * Store a <tt>LogRecord</tt> in an internal buffer
[all...]
/openjdk7/hotspot/src/cpu/sparc/vm/
H A DinterpreterRT_sparc.hpp55 SignatureHandlerGenerator(methodHandle method, CodeBuffer* buffer) : NativeSignatureIterator(method) { argument
56 _masm = new MacroAssembler(buffer);
/openjdk7/hotspot/test/compiler/6968348/
H A DTest6968348.java38 static final long[] buffer = new long[4096]; field in class:Test6968348
55 unsafe.putLong(buffer, i, Long.reverseBytes(i));
/openjdk7/jdk/src/solaris/native/com/sun/media/sound/
H A DPLATFORM_API_BsdOS_ALSA_CommonUtils.c101 void getDeviceString(char* buffer, int card, int device, int subdevice, argument
104 sprintf(buffer, "%s:%d,%d,%d",
108 sprintf(buffer, "%s:%d,%d",
115 void getDeviceStringFromDeviceID(char* buffer, UINT32 deviceID, argument
120 strcpy(buffer, ALSA_DEFAULT_DEVICE_NAME);
123 getDeviceString(buffer, card, device, subdevice, usePlugHw, isMidi);
132 void getALSAVersion(char* buffer, int len) { argument
178 strncpy(buffer, ALSAVersionString, len);
H A DPLATFORM_API_BsdOS_ALSA_CommonUtils.h76 void getDeviceStringFromDeviceID(char* buffer, UINT32 deviceID,
79 void getALSAVersion(char* buffer, int len);
H A DPLATFORM_API_BsdOS_ALSA_MidiOut.c125 char buffer[3]; local
137 buffer[0] = (char) status;
138 buffer[1] = (char) ((packedMsg >> 8) & 0xFF);
139 buffer[2] = (char) ((packedMsg >> 16) & 0xFF);
140 TRACE4("status: %d, data1: %d, data2: %d, length: %d\n", (int) buffer[0], (int) buffer[1], (int) buffer[2], getShortMessageLength(status));
141 err = snd_rawmidi_write((snd_rawmidi_t*) handle->deviceHandle, buffer, getShortMessageLength(status));

Completed in 89 milliseconds

1234567891011>>