Searched refs:length (Results 26 - 50 of 231) sorted by relevance

12345678910

/art/test/430-live-register-slow-path/src/
H A DMain.java24 assertEquals(0, o.length);
/art/test/472-type-propagation/src/
H A DMain.java25 if (array.length > 3) {
/art/test/527-checker-array-access-split/src/
H A DMain.java246 for (int i = 0; i < array.length; i++) {
249 return array[array.length - 1];
312 for (int i = 0; i < array.length - 1; i++) {
315 return array[array.length - 1];
/art/test/559-bce-ssa/src/
H A DMain.java21 array[i] = array2[array.length] + 1;
/art/runtime/native/
H A Dlibcore_util_CharsetUtils.cc111 jint length, jcharArray javaChars) {
124 for (int i = length - 1; i >= 0; --i) {
131 jint offset, jint length, jcharArray javaChars) {
143 for (int i = length - 1; i >= 0; --i) {
153 static jbyteArray charsToBytes(JNIEnv* env, jstring java_string, jint offset, jint length, argument
162 jbyteArray javaBytes = env->NewByteArray(length);
170 for (int i = length - 1; i >= 0; --i) {
182 jint length) {
183 return charsToBytes(env, java_string, offset, length, 0x7f);
187 jint offset, jint length) {
110 CharsetUtils_asciiBytesToChars(JNIEnv* env, jclass, jbyteArray javaBytes, jint offset, jint length, jcharArray javaChars) argument
130 CharsetUtils_isoLatin1BytesToChars(JNIEnv* env, jclass, jbyteArray javaBytes, jint offset, jint length, jcharArray javaChars) argument
181 CharsetUtils_toAsciiBytes(JNIEnv* env, jclass, jstring java_string, jint offset, jint length) argument
186 CharsetUtils_toIsoLatin1Bytes(JNIEnv* env, jclass, jstring java_string, jint offset, jint length) argument
191 CharsetUtils_toUtf8Bytes(JNIEnv* env, jclass, jstring java_string, jint offset, jint length) argument
[all...]
H A Djava_lang_reflect_Array.cc49 static jobject Array_createObjectArray(JNIEnv* env, jclass, jclass javaElementClass, jint length) { argument
52 if (UNLIKELY(length < 0)) {
53 ThrowNegativeArraySizeException(length);
66 soa.Self(), array_class, length, runtime->GetHeap()->GetCurrentAllocator());
/art/runtime/interpreter/mterp/arm/
H A Dop_aget.S21 ldr r3, [r0, #MIRROR_ARRAY_LENGTH_OFFSET] @ r3<- arrayObj->length
23 cmp r1, r3 @ compare unsigned index, length
24 bcs common_errArrayIndex @ index >= length, bail
H A Dop_aput.S21 ldr r3, [r0, #MIRROR_ARRAY_LENGTH_OFFSET] @ r3<- arrayObj->length
23 cmp r1, r3 @ compare unsigned index, length
24 bcs common_errArrayIndex @ index >= length, bail
H A Dop_aput_wide.S15 ldr r3, [r0, #MIRROR_ARRAY_LENGTH_OFFSET] @ r3<- arrayObj->length
17 cmp r1, r3 @ compare unsigned index, length
19 bcs common_errArrayIndex @ index >= length, bail
H A Dop_aget_wide.S16 ldr r3, [r0, #MIRROR_ARRAY_LENGTH_OFFSET] @ r3<- arrayObj->length
18 cmp r1, r3 @ compare unsigned index, length
19 bcs common_errArrayIndex @ index >= length, bail
/art/runtime/interpreter/mterp/mips/
H A Dop_aput_wide.S15 LOAD_base_offMirrorArray_length(a3, a0) # a3 <- arrayObj->length
18 # compare unsigned index, length
19 bgeu a1, a3, common_errArrayIndex # index >= length, bail
H A Dop_aget.S21 LOAD_base_offMirrorArray_length(a3, a0) # a3 <- arrayObj->length
28 bgeu a1, a3, common_errArrayIndex # index >= length, bail
H A Dop_aget_wide.S15 LOAD_base_offMirrorArray_length(a3, a0) # a3 <- arrayObj->length
17 bgeu a1, a3, common_errArrayIndex # index >= length, bail
H A Dop_aput.S19 LOAD_base_offMirrorArray_length(a3, a0) # a3 <- arrayObj->length
25 bgeu a1, a3, common_errArrayIndex # index >= length, bail
/art/test/094-pattern/src/
H A DMain.java87 StringBuilder sb = new StringBuilder(text.length() * 4);
89 for (int i = 0; i < text.length(); i++) {
/art/test/102-concurrent-gc/src/
H A DMain.java54 for (int j = 0; j < l.length; ++j) {
55 int a = l.length - i - 1;
/art/tools/ahat/src/
H A DHtmlDoc.java82 if (columns.length == 0) {
88 for (int i = 0; i < columns.length - 1; i++) {
94 ps.format("<th align=\"left\">%s</th>", columns[columns.length - 1].heading.html());
136 if (mCurrentTableColumns.length != values.length) {
139 mCurrentTableColumns.length, values.length));
143 for (int i = 0; i < values.length; i++) {
/art/test/002-sleep/src/
H A DMain.java5 if (args.length > 1) {
/art/test/108-check-cast/src/
H A DMain.java28 if (1 == args.length) {
/art/test/022-interface/src/
H A DMain.java58 public int length() {
59 return toString().length();
75 public int length() { method in class:Main.SubInterfaceImpl
/art/runtime/mirror/
H A Dstring.cc83 int32_t length = string->GetLength(); local
86 SetStringCountVisitor visitor(length + length2);
87 String* new_string = Alloc<true>(self, length + length2, allocator_type, visitor);
92 memcpy(new_value, string->GetValue(), length * sizeof(uint16_t));
93 memcpy(new_value + length, string2->GetValue(), length2 * sizeof(uint16_t));
142 // Quick length inequality test
170 const int32_t length = GetLength(); local
172 while (i < length) {
184 if (i == length) {
197 const int32_t length local
[all...]
/art/test/449-checker-bce/src/
H A DMain.java74 if (offset < array.length) {
75 // offset is in range [0, array.length-1].
80 // biased_offset1 is in range [1, array.length].
81 if (biased_offset1 < array.length) {
82 // biased_offset1 is in range [1, array.length-1].
88 // biased_offset2 is in range [0x70000000, array.length-1+0x70000000].
90 if (biased_offset2 < array.length) {
616 for (int i = 0; i < array.length; i++) {
620 for (int i = 1; i < array.length; i++) {
624 for (int i = 1; i < array.length
[all...]
/art/runtime/gc/allocator/
H A Ddlmalloc.cc68 size_t length = reinterpret_cast<uint8_t*>(end) - reinterpret_cast<uint8_t*>(start); local
69 int rc = madvise(start, length, MADV_DONTNEED);
75 *reclaimed += length;
/art/runtime/interpreter/mterp/mips64/
H A Dop_aget.S17 lw a3, MIRROR_ARRAY_LENGTH_OFFSET(a0) # a3 <- arrayObj->length
24 bgeu a1, a3, common_errArrayIndex # unsigned compare: index >= length, bail
H A Dop_aget_wide.S12 lw a3, MIRROR_ARRAY_LENGTH_OFFSET(a0) # a3 <- arrayObj->length
14 bgeu a1, a3, common_errArrayIndex # unsigned compare: index >= length, bail

Completed in 653 milliseconds

12345678910