Searched refs:length (Results 326 - 350 of 6515) sorted by relevance

<<11121314151617181920>>

/openjdk7/hotspot/src/share/vm/utilities/
H A Dutf8.cpp33 int length = -1; /* bad length */ local
38 length = 1;
51 length = 2;
64 length = 3;
70 if (length <= 0) {
78 // assert(UNICODE::utf8_size(result) == length, "checking reverse computation");
79 return (char *)(ptr + length);
167 const jbyte* UTF8::strrchr(const jbyte* base, int length, jbyte c) { argument
168 assert(length >
204 utf8_length(jchar* base, int length) argument
215 as_utf8(jchar* base, int length) argument
227 as_utf8(jchar* base, int length, char* buf, int buflen) argument
239 convert_to_utf8(const jchar* base, int length, char* utf8_buffer) argument
[all...]
/openjdk7/jaxws/src/share/jaf_classes/javax/activation/
H A DMimeTypeParameterList.java79 int length = parameterList.length();
80 if (length <= 0)
86 i < length && (c = parameterList.charAt(i)) == ';';
101 if (i >= length)
106 while ((i < length) && isTokenChar(parameterList.charAt(i)))
115 if (i >= length || parameterList.charAt(i) != '=')
124 if (i >= length)
133 if (i >= length)
140 while (i < length) {
[all...]
/openjdk7/jdk/test/javax/sound/midi/Gervill/AudioFloatConverter/
H A DToFloatArray.java53 byte[] buff = new byte[testarray.length * frm.getFrameSize()];
54 float[] testarray2 = new float[testarray.length];
58 for (int i = 0; i < testarray2.length; i++) {
69 byte[] buff = new byte[testarray.length * frm.getFrameSize()];
70 float[] testarray2 = new float[testarray.length];
74 for (int i = 0; i < testarray2.length; i++) {
85 byte[] buff = new byte[testarray.length * frm.getFrameSize()];
88 byte[] buff2 = new byte[testarray.length * frm.getFrameSize()];
90 for (int i = 0; i < buff2.length; i+=fs) {
95 float[] testarray2 = new float[testarray.length];
[all...]
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/copyobject/
H A DJavaOutputStream.sjava181 public final void write_boolean_array(boolean[] value, int offset, int length) {
182 impl.write_boolean_array(value, offset, length);
184 public final void write_char_array(char[] value, int offset, int length) {
185 impl.write_char_array(value, offset, length);
187 public final void write_wchar_array(char[] value, int offset, int length) {
188 impl.write_wchar_array(value, offset, length);
190 public final void write_octet_array(byte[] value, int offset, int length) {
191 impl.write_octet_array(value, offset, length);
193 public final void write_short_array(short[] value, int offset, int length) {
194 impl.write_short_array(value, offset, length);
[all...]
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/encoding/
H A DCDROutputStreamBase.java82 public abstract void write_boolean_array(boolean[] value, int offset, int length); argument
83 public abstract void write_char_array(char[] value, int offset, int length); argument
84 public abstract void write_wchar_array(char[] value, int offset, int length); argument
85 public abstract void write_octet_array(byte[] value, int offset, int length); argument
86 public abstract void write_short_array(short[] value, int offset, int length); argument
87 public abstract void write_ushort_array(short[] value, int offset, int length); argument
88 public abstract void write_long_array(int[] value, int offset, int length); argument
89 public abstract void write_ulong_array(int[] value, int offset, int length); argument
90 public abstract void write_longlong_array(long[] value, int offset, int length); argument
91 public abstract void write_ulonglong_array(long[] value, int offset, int length); argument
92 write_float_array(float[] value, int offset, int length) argument
93 write_double_array(double[] value, int offset, int length) argument
134 write_any_array(org.omg.CORBA.Any[] seq, int offset, int length) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/java/util/jar/pack/
H A DInstruction.java42 protected int length; // bytes in this instruction field in class:Instruction
46 protected Instruction(byte[] bytes, int pc, int bc, int w, int length) { argument
47 reset(bytes, pc, bc, w, length);
49 private void reset(byte[] bytes, int pc, int bc, int w, int length) { argument
54 this.length = length;
70 return length;
73 return pc + length;
77 int npc = pc + length;
78 if (npc == bytes.length)
88 setNonstandardLength(int length) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/
H A DSnmpString.java64 value = new byte[v.length] ;
65 for (int i = 0 ; i < v.length ; i++) {
108 char value[] = new char[bin.length()/8];
109 int binLength = value.length;
121 char value[] = new char[hex.length()/2];
122 int hexLength = value.length;
141 Byte[] result = new Byte[value.length] ;
142 for (int i = 0 ; i < value.length ; i++) {
161 long[] ids = new long[value.length] ;
162 for (int i = 0 ; i < value.length ;
[all...]
/openjdk7/hotspot/test/compiler/6431242/
H A DTest.java53 for (int i=0; i<_arr_i.length; i++) {
68 for(int i=0; i<src.length; i++) {
74 for (int i=0; i<src.length; i++) {
80 for(int i=0; i<src.length; i++) {
86 for(int i=0; i<src.length; i++) {
92 for (int i=0; i<src.length; i++) {
98 for(int i=0; i<src.length; i++) {
124 for (int j=0; j< _arr_i.length; j++) {
131 for (int j=0; j< _arr_i.length; j++) {
137 for (int j=0; j< _arr_i.length;
[all...]
/openjdk7/jdk/test/com/sun/security/sasl/digest/
H A DIntegrity.java53 if (args.length == 0) {
63 if (args.length > i) {
66 if (args.length > i) {
69 if (args.length > i) {
138 for (int i = 0; i < clntStrs.length; i++) {
140 byte[] wrapped = clnt.wrap(clntdata[i], 0, clntdata[i].length);
141 byte[] unwrapped = srv.unwrap(wrapped, 0, wrapped.length);
148 byte[] swrapped = srv.wrap(srvdata[i], 0, srvdata[i].length);
149 byte[] sunwrapped = clnt.unwrap(swrapped, 0, swrapped.length);
197 clntdata = new byte[clntStrs.length][];
[all...]
H A DPrivacy.java53 if (args.length == 0) {
63 if (args.length > i) {
66 if (args.length > i) {
69 if (args.length > i) {
138 for (int i = 0; i < clntStrs.length; i++) {
140 byte[] wrapped = clnt.wrap(clntdata[i], 0, clntdata[i].length);
141 byte[] unwrapped = srv.unwrap(wrapped, 0, wrapped.length);
148 byte[] swrapped = srv.wrap(srvdata[i], 0, srvdata[i].length);
149 byte[] sunwrapped = clnt.unwrap(swrapped, 0, swrapped.length);
198 clntdata = new byte[clntStrs.length][];
[all...]
H A DPrivacyRc4.java54 if (args.length == 0) {
64 if (args.length > i) {
67 if (args.length > i) {
70 if (args.length > i) {
140 for (int i = 0; i < clntStrs.length; i++) {
142 byte[] wrapped = clnt.wrap(clntdata[i], 0, clntdata[i].length);
143 byte[] unwrapped = srv.unwrap(wrapped, 0, wrapped.length);
150 byte[] swrapped = srv.wrap(srvdata[i], 0, srvdata[i].length);
151 byte[] sunwrapped = clnt.unwrap(swrapped, 0, swrapped.length);
200 clntdata = new byte[clntStrs.length][];
[all...]
/openjdk7/jdk/src/share/native/sun/awt/medialib/
H A Dmlib_ImageColormap.h142 mlib_s32 length,
148 mlib_s32 length,
154 mlib_s32 length,
160 mlib_s32 length,
166 mlib_s32 length,
172 mlib_s32 length,
178 mlib_s32 length,
184 mlib_s32 length,
190 mlib_s32 length,
196 mlib_s32 length,
[all...]
/openjdk7/jdk/src/share/classes/sun/text/normalizer/
H A DRuleCharacterIterator.java137 if (text == null || pos.getIndex() > text.length()) {
150 return buf == null && pos.getIndex() == text.length();
171 String name = sym.parseReference(text, pos, text.length());
184 if (buf.length == 0) {
304 return new String(buf, bufPos, buf.length - bufPos);
321 if (bufPos > buf.length) {
324 if (bufPos == buf.length) {
330 if (i > text.length()) {
343 return UTF16.charAt(buf, 0, buf.length, bufPos);
346 return (i < text.length())
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/generic/
H A DSelect.java77 protected int fixed_length; // fixed length defined by subclasses
89 * `Match' and `targets' must have the same length of course.
100 for(int i=0; i < targets.length; i++) {
106 if((match_length = match.length) != targets.length)
107 throw new ClassGenException("Match and target array have not the same length");
113 * Since this is a variable length instruction, it may shift the following
117 * instruction. In the presence of variable length instructions `setPositions'
121 * @param offset additional offset caused by preceding (variable length) instructions
123 * @return additional offset caused by possible change of this instruction's length
[all...]
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/dynamicany/
H A DDynArrayImpl.java66 int length = getBound();
76 components = new DynAny[length];
77 anys = new Any[length];
79 for (int i=0; i<length; i++) {
99 int length = getBound();
102 components = new DynAny[length];
103 anys = new Any[length];
105 for (int i=0; i<length; i++) {
134 if (value == null || value.length != getBound()) {
/openjdk7/jdk/src/share/classes/java/security/
H A DSignatureSpi.java157 int chunk = Math.min(len, b.length);
210 * than the actual signature length, this method will throw a
213 * the actual signature length.
220 * than the actual signature length.
227 if (len < sig.length) {
231 if (outbuf.length - offset < sig.length) {
236 System.arraycopy(sig, 0, outbuf, offset, sig.length);
237 return sig.length;
264 * @param length th
274 engineVerify(byte[] sigBytes, int offset, int length) argument
[all...]
/openjdk7/hotspot/src/share/vm/oops/
H A DconstMethodOop.cpp66 // linenumber table - note that length is unknown until decompression,
116 // will not work. Only set bit in header if length is positive.
143 u2 length = *addr; local
144 assert(length > 0, "should only be called if table is present");
145 addr -= length * sizeof(CheckedExceptionElement) / sizeof(u2);
157 u2 length = *addr; local
158 assert(length > 0, "should only be called if table is present");
159 addr -= length * sizeof(LocalVariableTableElement) / sizeof(u2);
169 u2 length = *addr; local
170 assert(length >
[all...]
/openjdk7/hotspot/src/share/vm/runtime/
H A DreflectionUtils.hpp55 virtual int length() const = 0;
84 int length() const { return methods()->length(); } function in class:MethodStream
89 _index = length();
110 int length() const { return _klass->java_fields_count(); } function in class:FieldStream
115 _index = length();
160 for (int i=0; i < _filtered_fields->length(); i++) {
170 for (int i=0; i < _filtered_fields->length(); i++) {
181 for (int i = 0; i < _filtered_fields->length(); i++) {
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/util/
H A DByteArrayBuffer.java87 this(data,data.length);
90 public ByteArrayBuffer(byte[] data, int length) { argument
92 this.count = length;
104 int cap = buf.length-count; // the remaining buffer space
111 ensureCapacity(buf.length*2); // buffer filled up.
130 if (newcount > buf.length) {
131 byte newbuf[] = new byte[Math.max(buf.length << 1, newcount)];
199 public final InputStream newInputStream(int start, int length) { argument
200 return new ByteArrayInputStream(buf,start,length);
/openjdk7/jdk/test/com/sun/crypto/provider/Cipher/KeyWrap/
H A DNISTWrapKAT.java70 System.arraycopy(val, 0, keyVal, keyVal.length-val.length,
71 val.length);
74 System.arraycopy(val, 0, dataVal, dataVal.length-val.length,
75 val.length);
85 int offset = expectedVal.length - wrapped.length;
86 for (int i=0; i<wrapped.length; i++) {
/openjdk7/langtools/src/share/classes/com/sun/tools/classfile/
H A DCode_attribute.java56 Code_attribute(ClassReader cr, int name_index, int length) argument
58 super(name_index, length);
72 if (offset < 0 || offset >= code.length)
78 if (offset < 0 || offset >= code.length)
84 if (offset < 0 || offset + 1 >= code.length)
90 if (offset < 0 || offset + 1 >= code.length)
96 if (offset < 0 || offset + 3 >= code.length)
119 pc += current.length();
120 next = (pc < code.length ? new Instruction(code, pc) : null);
/openjdk7/jdk/src/share/instrument/
H A DEncodingSupport.c28 * Determine length of this Standard UTF-8 in Modified UTF-8.
30 * length (no change) when errors are detected in the UTF encoding.
36 modifiedUtf8LengthOfUtf8(char* string, int length) { argument
41 for ( i = 0 ; i < length ; i++ ) {
48 new_length++; /* We gain one byte in length on NULL bytes */
52 if ( (i+1) >= length || (string[i+1] & 0xC0) != 0x80 ) {
59 if ( (i+2) >= length || (string[i+1] & 0xC0) != 0x80
67 if ( (i+3) >= length || (string[i+1] & 0xC0) != 0x80
78 if ( i != length ) {
79 /* Error in finding new length, retur
94 convertUtf8ToModifiedUtf8(char *string, int length, char *new_string, int new_length) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/
H A DAuthorizationData.java65 entry = new AuthorizationDataEntry[new_entries.length];
66 for (int i = 0; i < new_entries.length; i++) {
86 new AuthorizationDataEntry[entry.length];
87 for (int i = 0; i < entry.length; i++) {
123 DerValue der[] = new DerValue[entry.length];
124 for (int i = 0; i < entry.length; i++) {
164 for (int i = 0; i < entry.length; i++) {
171 for (int i = 0; i < entry.length; i++) {
178 return entry.length;
/openjdk7/jdk/src/share/classes/sun/security/util/
H A DDerValue.java38 * <P>All DER-encoded data are triples <em>{type, length, data}</em>. This
73 private int length; field in class:DerValue
210 for (int i = 0; i < value.length(); i++) {
238 length = data.length;
252 length = DerInputStream.getLength((lenByte & 0xff), in);
253 if (length == -1) { // indefinite length encoding found
256 int offset = 2; // for tag and length bytes
267 ("Indefinite length encodin
853 public int length() { method in class:DerValue
[all...]
/openjdk7/jdk/test/java/text/Bidi/
H A DBug6665028.java55 if (args.length == 1) {
60 for (int i = 0; i < tests.length; i++) {
73 for (int i = 0; i < tests.length; i++) {
94 int limit = start + target.length();
104 byte[] embs = new byte[str.length() + 3];
109 Bidi bidi2 = new Bidi(str.toCharArray(), 0, embs, 1, str.length(), Bidi.DIRECTION_DEFAULT_LEFT_TO_RIGHT);
117 int length = str.length();
119 int limit = start + target.length();

Completed in 53 milliseconds

<<11121314151617181920>>