Searched defs:buffer (Results 201 - 225 of 352) sorted by relevance

1234567891011>>

/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/packaging/mime/internet/
H A DBMMimeMultipart.java85 private byte[] buffer = new byte[BUFFER_SIZE]; field in class:BMMimeMultipart
364 int bufferLength = is.read(buffer, 0, patternLength);
384 buffer[i] = (byte)temp;
402 bufferLength = readNext(is, buffer, l, eof, posVector, sin);
415 if (buffer[i] != pattern[i]) {
428 int s = Math.max(i + 1 - bcs[buffer[i] & 0x7f], gss[i]);
452 prevBuffer = buffer;
453 buffer = tmp;
459 bufferLength = readNext(is, buffer, l, eof, posVector, sin);
482 out.write(buffer,
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/rngom/parse/compact/
H A DJavaCharStream.java108 /** Position in buffer. */
125 protected char[] buffer; field in class:JavaCharStream
144 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin);
145 System.arraycopy(buffer, 0, newbuffer, bufsize - tokenBegin, bufpos);
146 buffer = newbuffer;
160 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin);
161 buffer = newbuffer;
232 return buffer[bufpos];
311 return buffer[bufpos];
319 if ((buffer[bufpo
[all...]
H A DUCode_UCodeESC_CharStream.java124 private char[] buffer; field in class:UCode_UCodeESC_CharStream
135 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin);
136 System.arraycopy(buffer, 0, newbuffer,
138 buffer = newbuffer;
151 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin);
152 buffer = newbuffer;
204 return buffer[tokenBegin = (bufpos == bufsize - 1) ? (bufpos = 0)
260 return buffer[(bufpos == bufsize - 1) ? (bufpos = 0) : ++bufpos];
288 buffer[bufpos] = c;
318 buffer[bufpo
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/stream/buffer/
H A DXMLStreamBuffer.java26 package com.sun.xml.internal.stream.buffer;
28 import com.sun.xml.internal.stream.buffer.sax.SAXBufferProcessor;
29 import com.sun.xml.internal.stream.buffer.stax.StreamReaderBufferProcessor;
30 import com.sun.xml.internal.stream.buffer.stax.StreamWriterBufferProcessor;
52 * An immutable stream-based buffer of an XML infoset.
69 * of a buffer using SAX and StAX-based creators, and from which may be
72 * buffer that is being created or processed. This allows a subtree of
78 * where the buffer represents multiple adjacent XML elements, although
90 * True if the buffer was created from a parser that interns Strings
120 * Number of trees in this stream buffer
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/
H A DXMLHTTPBindingCodec.java175 public ContentType encode(Packet packet, WritableByteChannel buffer) { argument
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/
H A DPolicy.java622 * A helper method that appends indented string representation of this instance to the input string buffer.
625 * @param buffer buffer to be used for appending string representation of this instance
626 * @return modified buffer containing new string representation of the instance
628 StringBuffer toString(final int indentLevel, final StringBuffer buffer) { argument
633 buffer.append(indent).append(toStringName).append(" {").append(PolicyUtils.Text.NEW_LINE);
634 buffer.append(innerIndent).append("namespace version = '").append(nsVersion.name()).append('\'').append(PolicyUtils.Text.NEW_LINE);
635 buffer.append(innerIndent).append("id = '").append(policyId).append('\'').append(PolicyUtils.Text.NEW_LINE);
636 buffer.append(innerIndent).append("name = '").append(name).append('\'').append(PolicyUtils.Text.NEW_LINE);
638 buffer
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/sourcemodel/
H A DAssertionData.java380 * A helper method that appends indented string representation of this instance to the input string buffer.
383 * @param buffer buffer to be used for appending string representation of this instance
384 * @return modified buffer containing new string representation of the instance
386 public StringBuffer toString(final int indentLevel, final StringBuffer buffer) { argument
391 buffer.append(indent);
393 buffer.append("assertion data {");
395 buffer.append("assertion parameter data {");
397 buffer.append(PolicyUtils.Text.NEW_LINE);
399 buffer
[all...]
H A DModelNode.java521 * A helper method that appends indented string representation of this instance to the input string buffer.
524 * @param buffer buffer to be used for appending string representation of this instance
525 * @return modified buffer containing new string representation of the instance
527 public StringBuffer toString(final int indentLevel, final StringBuffer buffer) { argument
531 buffer.append(indent).append(type).append(" {").append(PolicyUtils.Text.NEW_LINE);
534 buffer.append(innerIndent).append("no assertion data set");
536 nodeData.toString(indentLevel + 1, buffer);
538 buffer.append(PolicyUtils.Text.NEW_LINE);
541 buffer
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/xsom/impl/scd/
H A DSimpleCharStream.java52 protected char[] buffer; field in class:SimpleCharStream
71 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin);
72 System.arraycopy(buffer, 0, newbuffer,
74 buffer = newbuffer;
88 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin);
89 buffer = newbuffer;
137 if ((i = inputStream.read(buffer, maxNextCharInd,
214 return buffer[bufpos];
220 char c = buffer[bufpos];
275 buffer
[all...]
/openjdk7/jdk/src/solaris/native/com/sun/media/sound/
H A DPLATFORM_API_BsdOS_ALSA_MidiUtils.c217 char buffer[300]; local
231 buffer[0]=' '; buffer[1]='[';
232 getDeviceStringFromDeviceID(&buffer[2], deviceID, usePlugHw, ALSA_RAWMIDI);
233 strcat(buffer, "]");
238 desc->strLen - strlen(buffer));
239 strncat(desc->name, buffer, desc->strLen - strlen(desc->name));
H A DPLATFORM_API_LinuxOS_ALSA_MidiUtils.c217 char buffer[300]; local
231 buffer[0]=' '; buffer[1]='[';
232 getDeviceStringFromDeviceID(&buffer[2], deviceID, usePlugHw, ALSA_RAWMIDI);
233 strcat(buffer, "]");
238 desc->strLen - strlen(buffer));
239 strncat(desc->name, buffer, desc->strLen - strlen(desc->name));
/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dswing_GTKEngine.c310 gint *buffer = (gint*) (*env)->GetPrimitiveArrayCritical(env, dest, 0); local
312 transparency = gtk2_copy_image(buffer, width, height);
314 (*env)->ReleasePrimitiveArrayCritical(env, dest, buffer, 0);
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DThemeReader.java112 public native static void paintBackground(int[] buffer, long theme, int part, int state, argument
115 public static void paintBackground(int[] buffer, String widget, argument
119 paintBackground(buffer, getTheme(widget), part, state, x, y, w, h, stride);
/openjdk7/jdk/src/windows/classes/sun/nio/fs/
H A DWindowsWatchService.java97 // buffer for change events
98 private NativeBuffer buffer; field in class:WindowsWatchService.WindowsWatchKey
100 // pointer to bytes returned (in buffer)
103 // pointer to overlapped structure (in buffer)
120 NativeBuffer buffer,
128 this.buffer = buffer;
151 NativeBuffer buffer() { method in class:WindowsWatchService.WindowsWatchKey
152 return buffer;
171 // close directory and release buffer
117 init(long handle, Set<? extends WatchEvent.Kind<?>> events, boolean watchSubtree, NativeBuffer buffer, long countAddress, long overlappedAddress, int completionKey) argument
[all...]
/openjdk7/jdk/src/windows/classes/sun/security/mscapi/
H A DRSACipher.java85 // buffer for the data
86 private byte[] buffer; field in class:RSACipher
87 // offset into the buffer (number of bytes buffered)
249 buffer = new byte[outputSize];
257 if (bufOfs + inLen > (buffer.length - paddingLength)) {
258 bufOfs = buffer.length + 1;
261 System.arraycopy(in, inOfs, buffer, bufOfs, inLen);
268 if (bufOfs > buffer.length) {
270 + "than " + (buffer.length - paddingLength) + " bytes");
274 byte[] data = buffer;
[all...]
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_Debug.cpp72 char* buffer = (char *)safe_Malloc(size); local
73 memset(buffer, 0, size);
74 LPRGNDATA rgndata = (LPRGNDATA)buffer;
79 RECT* r = (RECT*)(buffer + rgndata->rdh.dwSize);
87 free(buffer);
169 (LPSTR)&msgBuffer, // it's an output parameter when allocate buffer is used
/openjdk7/jdk/src/windows/transport/shmem/
H A Dshmem_md.c56 sys_shmem_t *mem, void **buffer)
61 sysAssert(buffer);
92 *buffer = mappedMemory;
97 sysSharedMemOpen(const char *name, sys_shmem_t *mem, void **buffer) argument
103 sysAssert(buffer);
125 *buffer = mappedMemory;
130 sysSharedMemClose(sys_shmem_t mem, void *buffer) argument
132 if (buffer != NULL) {
133 if (!UnmapViewOfFile(buffer)) {
55 sysSharedMemCreate(const char *name, int length, sys_shmem_t *mem, void **buffer) argument
/openjdk7/jdk/test/tools/pack200/pack200-verifier/src/sun/tools/pack/verify/
H A DGlobals.java247 static void dumpToHex(byte[] buffer) { argument
250 for (int i = 0; i < buffer.length; i += 16) {
251 if (buffer.length - i > 16) {
252 System.arraycopy(buffer, i, b, 0, 16);
256 System.arraycopy(buffer, i, b, 0, buffer.length - i);
257 for (int n = buffer.length - (i + 1); n < 16; n++) {
267 static void print16Bytes(byte[] buffer, int linecount) { argument
271 for (int i = 0; i < buffer.length; i += 2) {
272 int iOut = pack2Bytes2Int(buffer[
[all...]
/openjdk7/jdk/src/share/native/sun/awt/image/jpeg/
H A Djccoefct.c12 * This file contains the coefficient buffer controller for compression.
14 * The coefficient buffer lies between forward-DCT and entropy encoding steps.
22 /* We use a full-image coefficient buffer when doing Huffman optimization,
36 /* Private buffer controller object */
46 /* For single-pass compression, it's sufficient to buffer just one MCU
51 * when a large coefficient buffer is necessary.)
231 * This amount of data is read from the source buffer, DCT'd and quantized,
257 JBLOCKARRAY buffer; local
262 /* Align the virtual buffer for this component. */
263 buffer
351 JBLOCKARRAY buffer[MAX_COMPS_IN_SCAN]; local
442 JBLOCKROW buffer; local
[all...]
H A Djctrans.c186 /* We need a special coefficient buffer controller. */
204 * buffer controller. This is similar to jccoefct.c, but it handles only
210 /* Private buffer controller object */
290 JBLOCKARRAY buffer[MAX_COMPS_IN_SCAN]; local
298 buffer[ci] = (*cinfo->mem->access_virt_barray)
320 buffer_ptr = buffer[ci][yindex+yoffset] + start_col;
359 * Initialize coefficient buffer controller.
371 JBLOCKROW buffer; local
385 buffer = (JBLOCKROW)
388 jzero_far((void FAR *) buffer, C_MAX_BLOCKS_IN_MC
[all...]
H A Djdmainct.c12 * This file contains the main buffer controller for decompression.
13 * The main buffer lies between the JPEG decompressor proper and the
17 * supplies the equivalent of the main buffer in that case.
26 * In the current system design, the main buffer need never be a full-image
27 * buffer; any full-height buffers will be found inside the coefficient or
57 * When need_context_rows is TRUE, this controller guarantees that the buffer
61 * the passed buffer. At the top and bottom of the image, the required
78 * We could do this most simply by copying data around in our buffer, but
116 /* Private buffer controller object */
122 JSAMPARRAY buffer[MAX_COMPONENT member in struct:__anon712
[all...]
H A Djpegdecoder.c85 * longjmp(). But we need to make the setjmp buffer accessible to the
130 char buffer[JMSG_LENGTH_MAX]; local
133 (*cinfo->err->format_message) (cinfo, buffer);
136 fprintf(stderr, "%s\n", buffer);
147 * buffer and 5 methods which perform all buffer management. The library
153 * Java array being used as an input buffer so that it is not moved or
183 * the need to copy buffer elements.
258 * into the buffer (ignoring the current state of next_input_byte and
260 * buffer, an
536 char buffer[JMSG_LENGTH_MAX]; local
[all...]
/openjdk7/jdk/src/share/native/sun/font/layout/
H A DSunLayoutEngine.cpp186 jchar buffer[256]; local
187 jchar* chars = buffer;
220 if (chars != buffer) {
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/
H A DP11Signature.java111 // buffer, for update(byte) or DSA
112 private final byte[] buffer; field in class:P11Signature
139 byte[] buffer = null;
151 buffer = new byte[1];
156 buffer = new byte[1];
161 buffer = new byte[1];
170 buffer = new byte[20];
179 buffer = new byte[RAW_ECDSA_MAX];
226 this.buffer = buffer;
[all...]
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DInputRecord.java153 // the capacity of the buffer.
212 // maximum buffer for every record. We need a change here if
213 // we use small buffer size in the future.
217 "Internal buffer capacity error");
223 // buffer so that we don't need to construct a new byte buffer.
237 * Please DON'T change the content of the byte buffer parameter!
239 static boolean checkMacTags(byte contentType, byte[] buffer, argument
244 contentType, buffer, offset, contentLen, isSimulated);
250 int[] results = compareMacTags(buffer, offse
259 compareMacTags( byte[] buffer, int offset, byte[] tag) argument
[all...]

Completed in 78 milliseconds

1234567891011>>