/openjdk7/jdk/src/share/native/sun/misc/ |
H A D | MessageUtils.c | 38 int length; local 48 length = (*env)->GetStringLength(env, s); 49 sConverted = (char *) malloc(length + 1); 50 for(i = 0; i < length; i++) { 53 sConverted[length] = '\0';
|
/openjdk7/jdk/src/share/sample/nio/server/ |
H A D | FileContent.java | 81 private long length = -1; field in class:FileContent 84 public long length() { method in class:FileContent 85 return length; 91 length = fc.size(); 104 if (position >= length) { 108 position += cio.transferTo(fc, position, length - position); 109 return (position < length);
|
H A D | StringContent.java | 87 public long length() { method in class:StringContent
|
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/dtd/models/ |
H A D | MixedContentModel.java | 119 * @param length The child count. 122 public MixedContentModel(QName[] children, int[] type, int offset, int length , boolean ordered) { 124 fCount = length; 155 * @param length The number of entries in the <code>children</code> array. 163 public int validate(QName[] children, int offset, int length) { argument 168 for (int outIndex = 0; outIndex < length; outIndex++) { 207 for (int outIndex = 0; outIndex < length; outIndex++)
|
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/util/ |
H A D | SynchronizedSymbolTable.java | 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); 119 * @param length The length of the symbol in the buffer. 121 public boolean containsSymbol(char[] buffer, int offset, int length) { argument 124 return fSymbolTable.containsSymbol(buffer, offset, length);
|
H A D | XMLStringBuffer.java | 78 * <code>offset</code>, and <code>length</code> fields directly. 129 this(s.length()); 134 public XMLStringBuffer(char[] ch, int offset, int length) { argument 135 this(length); 136 append(ch, offset, length); 141 this(s.length); 152 length = 0; 161 if(this.length + 1 > this.ch.length){ 162 int newLength = this.ch.length * 202 append(char[] ch, int offset, int length) argument [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/xni/ |
H A D | XMLString.java | 25 * character buffer of the scanner. The offset and length fields allow the 31 * should also not modify the offset and length if this structure (or 58 /** The length of characters from the offset. */ 59 public int length; field in class:XMLString 75 * @param length The length of characters from the offset. 77 public XMLString(char[] ch, int offset, int length) { argument 78 setValues(ch, offset, length); 104 * @param length The length o 106 setValues(char[] ch, int offset, int length) argument 140 equals(char[] ch, int offset, int length) argument [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/serializer/ |
H A D | WriterToASCI.java | 63 * @param length Number of characters to write 69 public void write(char chars[], int start, int length) argument 73 int n = length+start; 106 int n = s.length();
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/cdbg/basic/ |
H A D | BasicFunctionSym.java | 34 public BasicFunctionSym(BlockSym parent, long length, Address addr, String name, argument 36 super(parent, length, addr, name);
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/gc_implementation/g1/ |
H A D | HeapRegionSeq.java | 72 public long length() { method in class:HeapRegionSeq 78 private long length; field in class:HeapRegionSeq.HeapRegionIterator 81 public boolean hasNext() { return index < length; } 91 length = length();
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/interpreter/ |
H A D | BytecodeTableswitch.java | 40 public int length() { return highKey()-lowKey()+1; } method in class:BytecodeTableswitch
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/jdi/ |
H A D | ArrayReferenceImpl.java | 41 private int length; field in class:ArrayReferenceImpl 44 length = (int) aRef.getLength(); 52 * Return array length. 54 public int length() { method in class:ArrayReferenceImpl 55 return length; 69 * length of -1 (meaning rest of array) has been converted 73 // because length can be computed from index, 75 if ((index < 0) || (index > length())) { 81 "Invalid array range length: " + len); 83 if (index + len > length()) { 158 setValues(int index, List values, int srcIndex, int length) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/sound/midi/ |
H A D | MetaMessage.java | 73 * The length of the actual message in the data array. 76 * type byte, and the variable-length-int describing the 77 * length of the message. 100 * @param length an amount of bytes in the {@code data} byte array; 102 * {@code data.length} 110 public MetaMessage(int type, byte[] data, int length) argument 113 setMessage(type, data, length); // can throw InvalidMidiDataException 127 if (data.length>=3) { 128 dataLength=data.length-3; 130 while (pos<data.length 155 setMessage(int type, byte[] data, int length) argument [all...] |
H A D | Track.java | 196 // Or: document that the ticks() length will not be reduced 242 * Obtains the length of the track, expressed in MIDI ticks. (The 269 public void setMessage(int type, byte[] data, int length) throws InvalidMidiDataException { argument
|
/openjdk7/jdk/src/share/classes/javax/swing/colorchooser/ |
H A D | ValueFormatter.java | 43 static void init(int length, boolean hex, JFormattedTextField text) { argument 44 ValueFormatter formatter = new ValueFormatter(length, hex); 45 text.setColumns(length); 54 public void remove(FilterBypass fb, int offset, int length) throws BadLocationException { 55 if (isValid(fb.getDocument().getLength() - length)) { 56 fb.remove(offset, length); 61 public void replace(FilterBypass fb, int offset, int length, String text, AttributeSet set) throws BadLocationException { 62 if (isValid(fb.getDocument().getLength() + text.length() - length) && isValid(text)) { 63 fb.replace(offset, length, tex 75 private final int length; field in class:ValueFormatter 80 ValueFormatter(int length, boolean hex) argument 137 isValid(int length) argument [all...] |
/openjdk7/jdk/src/share/classes/java/beans/ |
H A D | ChangeListenerMap.java | 54 * when {@code length} is equal to {@code 0}. 56 * @param length the array length 57 * @return an array with specified length 59 protected abstract L[] newArray(int length); argument 83 ? array.length 106 for (int i = 0; i < array.length; i++) { 108 int size = array.length - 1;
|
/openjdk7/jdk/src/share/classes/java/io/ |
H A D | ByteArrayInputStream.java | 84 * and not larger than the length of <code>buf</code>. 98 * of <code>count</code> is the length of 106 this.count = buf.length; 114 * of <code>count</code> is the minimum of <code>offset+length</code> 115 * and <code>buf.length</code>. 121 * @param length the maximum number of bytes to read from the buffer. 123 public ByteArrayInputStream(byte buf[], int offset, int length) { argument 126 this.count = Math.min(offset + length, buf.length); 174 * <code>b.length [all...] |
H A D | StringReader.java | 39 private int length; field in class:StringReader 50 this.length = s.length(); 70 if (next >= length) 91 if ((off < 0) || (off > cbuf.length) || (len < 0) || 92 ((off + len) > cbuf.length) || ((off + len) < 0)) { 97 if (next >= length) 99 int n = Math.min(length - next, len); 125 if (next >= length) 128 long n = Math.min(length [all...] |
/openjdk7/jdk/src/share/classes/java/sql/ |
H A D | Blob.java | 48 * length of an SQL <code>BLOB</code> (Binary Large Object) value, 65 * @return length of the <code>BLOB</code> in bytes 67 * length of the <code>BLOB</code> 72 long length() throws SQLException; method in interface:Blob 77 * bytes. This <code>byte</code> array contains up to <code>length</code> 83 * @param length the number of consecutive bytes to be copied; the value 84 * for length must be 0 or greater 85 * @return a byte array containing up to <code>length</code> 90 * <code>BLOB</code> value; if pos is less than 1 or length is 97 byte[] getBytes(long pos, int length) throw argument 303 getBinaryStream(long pos, long length) argument [all...] |
H A D | Clob.java | 42 * length of an SQL <code>CLOB</code> (Character Large Object) value, 65 * @return length of the <code>CLOB</code> in characters 67 * length of the <code>CLOB</code> value 72 long length() throws SQLException; method in interface:Clob 79 * <code>pos</code> and has up to <code>length</code> consecutive 84 * @param length the number of consecutive characters to be copied; 85 * the value for length must be 0 or greater 89 * <code>CLOB</code> value; if pos is less than 1 or length is 95 String getSubString(long pos, int length) throws SQLException; argument 174 * while writing the given string, then the length o 346 getCharacterStream(long pos, long length) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/imageio/stream/ |
H A D | FileImageInputStream.java | 125 * Returns the length of the underlying file, or <code>-1</code> 128 * @return the file length as a <code>long</code>, or 131 public long length() { method in class:FileImageInputStream 134 return raf.length();
|
H A D | FileImageOutputStream.java | 128 public long length() { method in class:FileImageOutputStream 131 return raf.length(); 141 * performed. The file length will not be increased until a write
|
H A D | MemoryCacheImageOutputStream.java | 83 if (off < 0 || len < 0 || off + len > b.length || off + len < 0) { 85 ("off < 0 || len < 0 || off+len > b.length || off+len < 0!"); 122 public long length() { method in class:MemoryCacheImageOutputStream 178 long length = cache.getLength(); 179 seek(length); 180 flushBefore(length);
|
/openjdk7/jdk/src/share/classes/javax/naming/ldap/ |
H A D | StartTlsRequest.java | 157 * including the tag and length of the response value. 164 * @param length The number of bytes in berValue to use. 172 int offset, int length) throws NamingException { 171 createExtendedResponse(String id, byte[] berValue, int offset, int length) argument
|
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/ |
H A D | g1GCPhaseTimes.hpp | 49 WorkerDataArray(uint length, const char* print_format, bool print_sum = true) : argument 50 _length(length), _print_format(print_format), _print_sum(print_sum), _has_new_data(true) { 51 assert(length > 0, "Must have some workers to store data for");
|