/openjdk7/jdk/src/share/sample/nio/server/ |
H A D | Content.java | 54 long length(); method in interface:Content
|
/openjdk7/hotspot/src/share/vm/utilities/ |
H A D | errorReporter.cpp | 30 void ErrorReporter::call(FILE* fd, char* buffer, int length) { argument
|
/openjdk7/jdk/test/java/io/File/ |
H A D | Create.java | 33 static final int length = 512; field in class:Create 36 String fileName = createFileName(length); 52 public static String createFileName(int length){ argument 53 char[] array = new char[length]; 54 for(int i = 0 ; i < length ; i++)
|
/openjdk7/jdk/src/share/classes/sun/security/util/ |
H A D | Length.java | 29 * The Length interface defines the length of an object 34 * Gets the length of this object 37 * the length should be measured in bits. 39 * @return the length of this object 42 public int length(); method in interface:Length
|
/openjdk7/jdk/src/share/classes/sun/audio/ |
H A D | AudioTranslatorStream.java | 37 private final int length = 0; field in class:AudioTranslatorStream 46 return length;
|
/openjdk7/jdk/src/share/classes/sun/awt/ |
H A D | CharsetString.java | 29 * chars for this string. See also offset, length. 41 public int length; field in class:CharsetString 51 public CharsetString(char charsetChars[], int offset, int length, argument 56 this.length = length;
|
/openjdk7/hotspot/src/share/vm/oops/ |
H A D | arrayOop.cpp | 36 julong length = max_array_length(type); local 38 julong bytes = length * bytes_per_element + header_size_in_bytes();
|
/openjdk7/jdk/src/macosx/native/sun/font/ |
H A D | CoreTextSupport.h | 62 CFIndex length; member in struct:CTS_ProviderStruct
|
/openjdk7/jdk/src/share/native/sun/font/layout/ |
H A D | SubtableProcessor.h | 57 le_int16 length; member in class:SubtableProcessor
|
H A D | SubtableProcessor2.h | 57 le_uint32 length; member in class:SubtableProcessor2
|
/openjdk7/jdk/src/share/classes/sun/misc/ |
H A D | IOUtils.java | 40 * Read up to <code>length</code> of bytes from <code>in</code> 43 * @param length number of bytes to read, -1 or Integer.MAX_VALUE means 46 * bytes are read. Ignored when length is -1 or Integer.MAX_VALUE 50 public static byte[] readFully(InputStream is, int length, boolean readAll) argument 53 if (length == -1) length = Integer.MAX_VALUE; 55 while (pos < length) { 57 if (pos >= output.length) { // Only expand when there's no room 58 bytesToRead = Math.min(length - pos, output.length [all...] |
/openjdk7/corba/src/share/classes/org/omg/CORBA/ |
H A D | DynSequence.java | 39 * Returns the length of the sequence represented by this 42 * @return the length of the sequence 44 public int length(); method in interface:DynSequence 47 * Sets the length of the sequence represented by this 50 * @param arg the length of the sequence 52 public void length(int arg); method in interface:DynSequence
|
/openjdk7/jdk/src/share/classes/java/io/ |
H A D | OptionalDataException.java | 35 * length field is set to the number of bytes of primitive data 41 * OptionalDataException's eof field is set to true, and the length field 53 * Create an <code>OptionalDataException</code> with a length. 57 length = len; 65 length = 0; 75 public int length; field in class:OptionalDataException
|
/openjdk7/jdk/src/share/classes/java/lang/ |
H A D | CharSequence.java | 55 * Returns the length of this character sequence. The length is the number 60 int length(); method in interface:CharSequence 64 * to <tt>length() - 1</tt>. The first <code>char</code> value of the sequence is at 78 * <tt>length()</tt> 85 * ends with the <code>char</code> value at index <tt>end - 1</tt>. The length 97 * if <tt>end</tt> is greater than <tt>length()</tt>, 104 * order as this sequence. The length of the string will be the length of
|
/openjdk7/jdk/src/share/classes/java/nio/channels/ |
H A D | GatheringByteChannel.java | 39 * or more fixed-length headers followed by a variable-length body. Similar 64 * + ... + srcs[offset+length-1].remaining()</pre></blockquote> 68 * <p> Suppose that a byte sequence of length <i>n</i> is written, where 95 * larger than <tt>srcs.length</tt> 97 * @param length 100 * <tt>srcs.length</tt> - <tt>offset</tt> 105 * If the preconditions on the <tt>offset</tt> and <tt>length</tt> 127 public long write(ByteBuffer[] srcs, int offset, int length) argument 138 * c.write(srcs, 0, srcs.length);</pr [all...] |
H A D | ScatteringByteChannel.java | 39 * or more fixed-length headers followed by a variable-length body. Similar 64 * + ... + dsts[offset+length-1].remaining()</pre></blockquote> 68 * <p> Suppose that a byte sequence of length <i>n</i> is read, where 90 * larger than <tt>dsts.length</tt> 92 * @param length 95 * <tt>dsts.length</tt> - <tt>offset</tt> 101 * If the preconditions on the <tt>offset</tt> and <tt>length</tt> 123 public long read(ByteBuffer[] dsts, int offset, int length) argument 133 * c.read(dsts, 0, dsts.length);</pr [all...] |
/openjdk7/jdk/src/share/classes/com/sun/jdi/ |
H A D | ArrayType.java | 45 * The array is created with the given length and each component 48 * @param length the number of components in the new array 54 ArrayReference newInstance(int length); argument
|
/openjdk7/jdk/src/share/classes/com/sun/media/sound/ |
H A D | FastSysexMessage.java | 39 if (data.length==0 || (((data[0] & 0xFF) != 0xF0) && ((data[0] & 0xFF) != 0xF7))) { 40 super.setMessage(data, data.length); // will throw Exception 46 * Use getLength() to get the real length of the message. 54 public void setMessage(byte[] data, int length) throws InvalidMidiDataException { argument 55 if ((data.length == 0) || (((data[0] & 0xFF) != 0xF0) && ((data[0] & 0xFF) != 0xF7))) { 56 super.setMessage(data, data.length); // will throw Exception 58 this.length = length; 59 this.data = new byte[this.length]; 60 System.arraycopy(data, 0, this.data, 0, length); [all...] |
/openjdk7/hotspot/src/share/vm/runtime/ |
H A D | stackValueCollection.hpp | 38 StackValueCollection(int length) { _values = new GrowableArray<StackValue*>(length); } argument 41 int size() const { return _values->length(); }
|
/openjdk7/jdk/test/java/beans/XMLDecoder/spec/ |
H A D | TestArray.java | 40 + " <array length=\"3\">\n" 73 private static <T> T[] getArray(Class<T> component, int length, Object object) { argument 81 if (length != Array.getLength(object)) { 82 throw new Error("unexpected array length");
|
/openjdk7/jdk/test/java/beans/XMLEncoder/ |
H A D | Test4625418.java | 357 private static String createString(int length) { argument 358 StringBuilder sb = new StringBuilder(length); 359 while (0 < length--) 360 sb.append((char) length);
|
/openjdk7/langtools/src/share/classes/com/sun/tools/classfile/ |
H A D | RuntimeAnnotations_attribute.java | 39 protected RuntimeAnnotations_attribute(ClassReader cr, int name_index, int length) argument 41 super(name_index, length); 44 for (int i = 0; i < annotations.length; i++) 49 super(name_index, length(annotations)); 53 private static int length(Annotation[] annos) { method in class:RuntimeAnnotations_attribute 56 n += anno.length();
|
H A D | RuntimeParameterAnnotations_attribute.java | 39 RuntimeParameterAnnotations_attribute(ClassReader cr, int name_index, int length) argument 41 super(name_index, length); 44 for (int p = 0; p < parameter_annotations.length; p++) { 54 super(name_index, length(parameter_annotations)); 58 private static int length(Annotation[][] anno_arrays) { method in class:RuntimeParameterAnnotations_attribute 63 n += anno.length();
|
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/classfile/ |
H A D | AttributeReader.java | 80 @param length The length of the data contained in the attribute. This 82 factory expects the length to be. 97 int length, 96 createAttribute(int name_index, int length, java.io.DataInputStream file, ConstantPool constant_pool) argument
|
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/dtd/models/ |
H A D | ContentModelValidator.java | 79 * @param length 86 public int validate(QName[] children, int offset, int length); argument
|