/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/stream/buffer/sax/ |
H A D | SAXBufferProcessor.java | 26 package com.sun.xml.internal.stream.buffer.sax; 28 import com.sun.xml.internal.stream.buffer.AbstractProcessor; 29 import com.sun.xml.internal.stream.buffer.AttributesHolder; 30 import com.sun.xml.internal.stream.buffer.XMLStreamBuffer; 97 public SAXBufferProcessor(XMLStreamBuffer buffer) { argument 98 setXMLStreamBuffer(buffer); 106 public SAXBufferProcessor(XMLStreamBuffer buffer, boolean produceFragmentEvent) { argument 107 setXMLStreamBuffer(buffer,produceFragmentEvent); 228 public final void process(XMLStreamBuffer buffer) throws SAXException { argument 229 setXMLStreamBuffer(buffer); 240 process(XMLStreamBuffer buffer, boolean produceFragmentEvent) argument 251 setXMLStreamBuffer(XMLStreamBuffer buffer) argument 262 setXMLStreamBuffer(XMLStreamBuffer buffer, boolean produceFragmentEvent) argument [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/dom/ |
H A D | NodeCounter.java | 307 final StringBuilder buffer = _tempBuffer; 310 if (_separFirst) buffer.append((String)_separToks.elementAt(0)); 316 if (!isFirst) buffer.append((String) _separToks.elementAt(s++)); 317 formatValue(value, (String)_formatToks.elementAt(t++), buffer); 326 if (_separLast) buffer.append((String)_separToks.lastElement()); 327 return buffer.toString(); 335 private void formatValue(int value, String format, StringBuilder buffer) { argument 341 StringBuilder temp = buffer; 360 buffer.append(_groupSep); 362 buffer [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/dtm/ref/ |
H A D | ChunkedIntArray.java | 176 /** Disard the highest-numbered record. This is used in the string-buffer 240 * Retrieve the contents of a record into a user-supplied buffer array. 244 * @param buffer int[] Integer array provided by user, must be large enough 247 void readSlot(int position, int[] buffer) argument 252 System.arraycopy(fastArray, position*slotsize, buffer, 0, slotsize); 266 System.arraycopy(chunk,slotpos,buffer,0,slotsize);
|
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/encoding/ |
H A D | CodeSetConversion.java | 153 // Char buffer to hold the input. 166 private ByteBuffer buffer; field in class:CodeSetConversion.JavaCTBConverter 240 // Note that you can't use buffer.length since the buffer might 243 return buffer.array(); 249 // Possible optimization of directly converting into the CDR buffer. 253 // fit everything in the buffer but needed to know the 262 buffer = ctb.encode(CharBuffer.wrap(chars,0,numChars)); 266 numBytes = buffer.limit(); 320 private char[] buffer; field in class:CodeSetConversion.JavaBTCConverter [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/text/html/ |
H A D | FormView.java | 649 * @param buffer the buffer that contains that data to submit 653 private void getFormData(StringBuilder buffer) { argument 672 loadElementDataIntoBuffer(next, buffer); 681 * associated with the element into the buffer. 687 private void loadElementDataIntoBuffer(Element elem, StringBuilder buffer) { argument 703 loadSelectData(attr, buffer); 707 appendBuffer(buffer, name, value); 777 * Loads the buffer with the data associated with the Select 779 * and have their name attribute set are added to the buffer 781 loadSelectData(AttributeSet attr, StringBuilder buffer) argument 812 appendBuffer(StringBuilder buffer, String name, String value) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/font/ |
H A D | CMap.java | 398 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...] |
H A D | Type1Font.java | 58 * 1. If a global buffer is used rather than one allocated in the calling 62 * 2. It is not clear whether to free the buffer when the file is closed. 64 * The mmapped buffer doesn't need it. 65 * Also regular GC is what frees the buffer. So closing the file and nulling 66 * out the reference still needs to wait for the buffer to be GC'd to 68 * If the contents of the buffer are persistent there's no need 228 /* called from native code to read file into a direct byte buffer */ 229 void readFile(ByteBuffer buffer) { argument 245 while (buffer.remaining() > 0 && fc.read(buffer) ! [all...] |
/openjdk7/hotspot/src/share/vm/compiler/ |
H A D | compileLog.cpp | 65 // Use the buffer if necessary. 66 static const char* split_attrs(const char* &kind, char* buffer) { argument 71 } else if (kind == buffer) { 75 // park it in the buffer, so we can put a null on the end 76 assert(!(kind >= buffer && kind < buffer+100), "not obviously in buffer"); 78 strncpy(buffer, kind, klen); 79 buffer[klen] = 0; 80 kind = buffer; // retur [all...] |
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/ |
H A D | satbQueue.cpp | 35 // The buffer might contain refs into the CSet. We have to filter it 37 // enqueued buffer with refs into the CSet which breaks our invariants. 42 // This method removes entries from an SATB buffer that will not be 55 // the top of the buffer. Note that, because we do not allow old 82 // NULL the entry so that unused parts of the buffer contain NULLs 90 assert(new_index > 0, "we should not have already filled up the buffer"); 116 // This method will first apply the above filtering to the buffer. If 117 // post-filtering a large enough chunk of the buffer has been cleared 118 // we can re-use the buffer (instead of enqueueing it) and we can just 119 // allow the mutator to carry on executing using the same buffer 374 char buffer[SATB_PRINTER_BUFFER_SIZE]; local [all...] |
/openjdk7/hotspot/src/share/vm/memory/ |
H A D | filemap.cpp | 244 void FileMapInfo::write_bytes(const void* buffer, int nbytes) { argument 246 int n = ::write(_fd, buffer, nbytes); 281 void FileMapInfo::write_bytes_aligned(const void* buffer, int nbytes) { argument 283 write_bytes(buffer, nbytes);
|
/openjdk7/hotspot/src/share/vm/opto/ |
H A D | idealGraphPrinter.hpp | 95 char buffer[128]; member in class:IdealGraphPrinter
|
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/IPAcl/ |
H A D | ASCII_CharStream.java | 52 private char[] buffer; field in class:ASCII_CharStream 66 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); 67 System.arraycopy(buffer, 0, newbuffer, 69 buffer = newbuffer; 83 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); 84 buffer = newbuffer; 132 if ((i = inputStream.read(buffer, maxNextCharInd, 205 return (char)((char)0xff & buffer[(bufpos == bufsize - 1) ? (bufpos = 0) : ++bufpos]); 211 char c = (char)((char)0xff & buffer[bufpos]); 266 buffer [all...] |
/openjdk7/jdk/src/share/classes/com/sun/media/sound/ |
H A D | ModelAbstractChannelMixer.java | 35 public abstract boolean process(float[][] buffer, int offset, int len); argument
|
H A D | ModelAbstractOscillator.java | 70 public int read(float[][] buffer, int offset, int len) throws IOException { 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...] |
H A D | ModelByteBufferWavetable.java | 61 byte[] buff1 = buffer.array(); 63 pos += buffer.arrayOffset(); 80 pos -= buffer.arrayOffset(); 113 return (int)buffer.capacity() + (int)buffer8.capacity() - pos - pos2; 130 private final ModelByteBuffer buffer; field in class:ModelByteBufferWavetable 137 public ModelByteBufferWavetable(ModelByteBuffer buffer) { argument 138 this.buffer = buffer; 141 public ModelByteBufferWavetable(ModelByteBuffer buffer, argument 143 this.buffer 147 ModelByteBufferWavetable(ModelByteBuffer buffer, AudioFormat format) argument 152 ModelByteBufferWavetable(ModelByteBuffer buffer, AudioFormat format, float pitchcorrection) argument 159 set8BitExtensionBuffer(ModelByteBuffer buffer) argument [all...] |
H A D | SoftAbstractResampler.java | 257 public int read(float[][] buffer, int offset, int len) argument 313 if (buffer[i] != null) { 318 pitchstep, buffer[i], ox, ox_end); 357 if (buffer[i] != null) { 362 pitchstep, buffer[i], ox, ox_end);
|
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/expr/ |
H A D | ASCII_UCodeESC_CharStream.java | 110 private char[] buffer; field in class:ASCII_UCodeESC_CharStream 125 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); 126 System.arraycopy(buffer, 0, newbuffer, 128 buffer = newbuffer; 142 System.arraycopy(buffer, tokenBegin, newbuffer, 0, bufsize - tokenBegin); 143 buffer = newbuffer; 208 return buffer[tokenBegin = (bufpos == bufsize - 1) ? (bufpos = 0) 283 return buffer[(bufpos == bufsize - 1) ? (bufpos = 0) : ++bufpos]; 291 if (((buffer[bufpos] = c = (char)((char)0xff & ReadByte())) == '\\')) 304 if ((buffer[bufpo [all...] |
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/ |
H A D | CImage.java | 35 private static native long nativeCreateNSImageFromArray(int[] buffer, int w, int h); argument 40 private static native void nativeCopyNSImageIntoArray(long image, int[] buffer, int w, int h); argument 132 int[] buffer = imageToArray(image, false); 134 if (buffer == null) { 138 return new CImage(nativeCreateNSImageFromArray(buffer, image.getWidth(null), 144 int[] buffer = imageToArray(image, true); 145 if (buffer == null) { 148 return new CImage(nativeCreateNSImageFromArray(buffer, image.getWidth(null), image.getHeight(null))); 177 final int[] buffer = SunWritableRaster.stealData(dbi, 0); 178 nativeCopyNSImageIntoArray(ptr, buffer, [all...] |
/openjdk7/jdk/src/macosx/native/jobjc/src/core/java/com/apple/jobjc/ |
H A D | NativeBuffer.java | 36 public final ByteBuffer buffer; field in class:NativeBuffer 46 public NativeBuffer(ByteBuffer buffer){ argument 47 this.buffer = buffer; 48 this.bufferPtr = getPtrOfBuffer(buffer); 49 assert buffer != null; 51 this.buffer.order(ByteOrder.nativeOrder()); 54 public byte get() { return buffer.get(); } 55 public char getChar() { return buffer.getChar(); } 56 public double getDouble() { return buffer [all...] |
/openjdk7/jdk/src/share/bin/ |
H A D | parse_manifest.c | 50 * Upon success, it returns a pointer to a NUL-terminated malloc'd buffer 52 * this buffer should be released by a call to free(). Upon failure, 120 * eb: Pointer to a buffer to receive a copy of the END header. 134 Byte *buffer; local 151 * Allocate and fill a buffer with enough of the zip file 159 if ((buffer = malloc(END_MAXLEN)) == NULL) 161 if ((bytes = read(fd, buffer, len)) < 0) { 162 free(buffer); 172 endpos = &buffer[bytes]; 173 for (cp = &buffer[byte 224 Byte *buffer; local [all...] |
/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/ |
H A D | CipherCore.java | 57 * internal buffer 59 private byte[] buffer = null; field in class:CipherCore 62 * internal buffer 72 * index of the content size left in the buffer 77 * minimum number of bytes in the buffer required for 79 * update() must buffer this many bytes before before starting 135 * The buffer should be usable for all cipher mode and padding 139 buffer = new byte[blockSize*2]; 254 * Returns the length in bytes that an output buffer would need to be in 268 * @return the required output buffer siz [all...] |
H A D | RSACipher.java | 97 // buffer for the data 98 private byte[] buffer; field in class:RSACipher 99 // offset into the buffer (number of bytes buffered) 278 buffer = new byte[n]; 289 buffer = new byte[k]; 291 buffer = new byte[n]; 313 buffer = new byte[k]; 315 buffer = new byte[n]; 325 if (bufOfs + inLen > buffer.length) { 326 bufOfs = buffer [all...] |
/openjdk7/hotspot/src/share/vm/runtime/ |
H A D | signature.cpp | 373 char* buffer = NEW_RESOURCE_ARRAY(char, end - begin); local 375 buffer[index - begin] = _signature->byte_at(index); 377 Symbol* result = SymbolTable::probe(buffer, end - begin);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/unmarshaller/ |
H A D | SAXConnector.java | 49 * so use this buffer to perform buffering. 51 private final StringBuilder buffer = new StringBuilder(); field in class:SAXConnector 149 buffer.append(buf,start,len); 165 if( predictor.expectText() && (!ignorable || !WhiteSpaceProcessor.isWhiteSpace(buffer))) 166 next.text(buffer); 167 buffer.setLength(0);
|