Searched defs:length (Results 126 - 150 of 839) sorted by relevance

1234567891011>>

/openjdk7/hotspot/src/share/vm/interpreter/
H A Drewriter.hpp44 void init_cp_map(int length) { argument
45 _cp_map.initialize(length, -1);
48 _cp_cache_map.initialize(length / 2);
51 bool has_cp_cache(int i) { return (uint)i < (uint)_cp_map.length() && _cp_map[i] >= 0; }
62 assert(main_cpc_entry < _cp_cache_map.length(), "must be earlier CP cache entry");
/openjdk7/hotspot/src/share/vm/oops/
H A DarrayOop.hpp39 // length // shares klass memory or allocated after declared fields.
48 // The header is considered the oop part of this type plus the length.
83 bool is_within_bounds(int index) const { return 0 <= index && index < length(); }
87 int length() const { function in class:arrayOopDesc
90 void set_length(int length) { argument
91 *(int*)(((intptr_t)this) + length_offset_in_bytes()) = length;
105 // Return the maximum length of an array of BasicType. The length can passed
106 // to typeArrayOop::object_size(scale, length, header_size) without causing an
H A DtypeArrayKlass.hpp59 typeArrayOop allocate_common(int length, bool do_zero, TRAPS);
60 typeArrayOop allocate(int length, TRAPS) { return allocate_common(length, true, THREAD); } argument
61 typeArrayOop allocate_permanent(int length, TRAPS); // used for class file structures
65 void copy_array(arrayOop s, int src_pos, arrayOop d, int dst_pos, int length, TRAPS);
/openjdk7/jdk/src/share/back/
H A DoutStream.h38 int length; member in struct:PacketData
76 jdwpError outStream_writeByteArray(PacketOutputStream*stream, jint length, jbyte *bytes);
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/common/
H A DSubImageInputStream.java37 int length; field in class:SubImageInputStream
39 public SubImageInputStream(ImageInputStream stream, int length) argument
43 this.startingLength = this.length = length;
47 if (length == 0) { // Local EOF
50 --length;
56 if (length == 0) { // Local EOF
60 len = Math.min(len, length);
62 length -= bytes;
66 public long length() { method in class:SubImageInputStream
[all...]
/openjdk7/hotspot/src/share/vm/utilities/
H A Darray.hpp53 ResourceArray(size_t esize, int length) { argument
55 initialize(esize, length);
58 void initialize(size_t esize, int length) { argument
59 assert(length >= 0, "illegal length");
61 _length = length;
62 _data = resource_allocate_bytes(esize * length);
77 int length() const { return _length; } function in class:ResourceArray
78 bool is_empty() const { return length() == 0; }
94 CHeapArray(size_t esize, int length) { argument
111 int length() const { return _length; } function in class:CHeapArray
[all...]
/openjdk7/jaxp/src/org/xml/sax/
H A DDocumentHandler.java196 * @param length The number of characters to read from the array.
202 public abstract void characters (char ch[], int start, int length) argument
225 * @param length The number of characters to read from the array.
230 public abstract void ignorableWhitespace (char ch[], int start, int length) argument
/openjdk7/jaxp/src/org/xml/sax/ext/
H A DLexicalHandler.java228 * @param length The number of characters to use from the array.
231 public abstract void comment (char ch[], int start, int length) argument
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/util/
H A DStringCutter.java57 s = s.substring(r.length());
65 return new ParseException(original,original.length()-s.length());
94 public int length() { method in class:StringCutter
95 return s.length();
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/fastinfoset/
H A DEncodingAlgorithm.java36 public Object decodeFromBytes(byte[] b, int start, int length) throws EncodingAlgorithmException; argument
44 public Object convertFromCharacters(char[] ch, int start, int length) throws EncodingAlgorithmException; argument
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/fastinfoset/sax/
H A DEncodingAlgorithmContentHandler.java77 * they may split it into several chunks providing that the length of
78 * each chunk is of the required length to successfully apply the
85 * @param length the number of byte to read from the array
90 public void octets(String URI, int algorithm, byte[] b, int start, int length) throws SAXException; argument
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/
H A DFileData.java39 private final int length; field in class:FileData
45 FileData(DataFile file, long pointer, int length) { argument
48 this.length = length;
52 byte[] buf = new byte[length];
53 file.read(pointer, buf, 0, length);
65 return length;
/openjdk7/jdk/src/windows/classes/sun/security/mscapi/
H A DKey.java47 // Key length
84 * Return bit length of the key.
87 public int length() method in class:Key
/openjdk7/jdk/test/java/rmi/MarshalledObject/compare/
H A DCompare.java50 if (args.length == 1)
96 static MarshalledObject marshalledList(int length) throws Throwable { argument
99 for (int i = 0; i < length; i++) {
/openjdk7/langtools/src/share/classes/com/sun/tools/classfile/
H A DLineNumberTable_attribute.java39 LineNumberTable_attribute(ClassReader cr, int name_index, int length) throws IOException { argument
40 super(name_index, length);
53 super(name_index, 2 + line_number_table.length * Entry.length());
54 this.line_number_table_length = line_number_table.length;
71 public static int length() { method in class:LineNumberTable_attribute.Entry
H A DLocalVariableTable_attribute.java39 LocalVariableTable_attribute(ClassReader cr, int name_index, int length) throws IOException { argument
40 super(name_index, length);
53 super(name_index, 2 + local_variable_table.length * Entry.length());
54 this.local_variable_table_length = local_variable_table.length;
68 length = cr.readUnsignedShort();
74 public static int length() { method in class:LocalVariableTable_attribute.Entry
79 public final int length; field in class:LocalVariableTable_attribute.Entry
H A DLocalVariableTypeTable_attribute.java39 LocalVariableTypeTable_attribute(ClassReader cr, int name_index, int length) throws IOException { argument
40 super(name_index, length);
53 super(name_index, 2 + local_variable_table.length * Entry.length());
54 this.local_variable_table_length = local_variable_table.length;
68 length = cr.readUnsignedShort();
74 public static int length() { method in class:LocalVariableTypeTable_attribute.Entry
79 public final int length; field in class:LocalVariableTypeTable_attribute.Entry
/openjdk7/jdk/src/share/native/sun/awt/utility/
H A Drect.c48 int length; local
79 length = pThis - pLine;
80 if (pPrevLine && pLine - pPrevLine == length) {
81 for (i = 0; i < length && RECT_EQ_X(pPrevLine[i], pLine[i]); ++i) {
85 for (i = 0; i < length; i++) {
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/ktab/
H A DKeyTabInputStream.java70 if (index < 0) { //in native implementation, when one of the entries is deleted, the entry length turns to be negative, and
120 byte[] readKey(int length) throws IOException { argument
121 byte[] bytes = new byte[length];
122 read(bytes, 0, length);
133 int length = read(2); //length of the realm name or service name
135 byte[] bytes = new byte[length];
136 read(bytes, 0, length);
137 index -= length;
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/util/
H A DKerberosFlags.java63 public KerberosFlags(int length) throws IllegalArgumentException { argument
64 bits = new BitArray(length);
67 public KerberosFlags(int length, byte[] a) throws IllegalArgumentException { argument
68 bits = new BitArray(length, a);
69 if (length != Krb5.KRB_FLAGS_MAX+1) {
75 bits = new BitArray((bools.length==Krb5.KRB_FLAGS_MAX+1)?
/openjdk7/jdk/src/share/classes/sun/tools/java/
H A DClassFile.java153 * Get length of file
155 public long length() { method in class:ClassFile
156 return file != null ? file.length() : zipEntry.getSize();
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
H A DGlyphListPipe.java83 char data[], int offset, int length,
90 sg2d, data, offset, length, ix, iy);
103 if (gl.setFromChars(info, data, offset, length, x, y)) {
108 TextLayout tl = new TextLayout(new String(data, offset, length),
82 drawChars(SunGraphics2D sg2d, char data[], int offset, int length, int ix, int iy) argument
/openjdk7/jdk/src/share/classes/sun/misc/
H A DUCEncoder.java56 * per line is 48 which keeps the total line length under 80 chars)
62 * (LLSS) - 8 bit length (high byte), and sequence number
64 * (DDDD) - Data byte atoms, if length is odd, last data
66 * (CRC) - 16 bit CRC for the line, includes length,
68 * zero pad byte (odd length) it is _NOT_
145 * the sequence number and the length are encoded in the first
148 protected void encodeLinePrefix(OutputStream outStream, int length) throws IOException { argument
151 tmp[0] = (byte) length;
H A DUUEncoder.java55 * are always four characters, even if length is not a multiple of three
61 * length of zero. This is immediately followed by a line which contains
164 protected void encodeLinePrefix(OutputStream outStream, int length) argument
166 outStream.write((length & 0x3f) + ' ');
/openjdk7/jdk/src/share/classes/sun/net/idn/
H A DStringPrepDataReader.java82 for(int i=0;i<mappingTable.length;i++){
96 public int[] readIndexes(int length)throws IOException{ argument
97 int[] indexes = new int[length];
99 for (int i = 0; i <length ; i++) {

Completed in 125 milliseconds

1234567891011>>