/art/test/023-many-interfaces/src/ |
H A D | Main.java | 3 boolean timing = (args.length >= 1) && args[0].equals("--timing");
|
/art/test/022-interface/classes/ |
H A D | Main$1.class | ... hashCode () public java.lang.String toString () public int length () public char charAt (int) public java.lang.CharSequence ... |
H A D | Main$SubInterfaceImpl.class | ... 5.0.0_r2/s?defs= " () public int length () public char charAt (int) public java.lang.CharSequence ... |
/art/test/096-array-copy-concurrent-gc/src/ |
H A D | Main.java | 54 for (int i = 0; i < array.length; i+=2) { 62 for (int j = 0; j < array.length; j++) { 63 Object obj = array[array.length - 1]; 64 System.arraycopy(array, 0, array, 1, array.length - 1); 72 for (int j = 0; j < array.length; j++) { 74 System.arraycopy(array, 1, array, 0, array.length - 1); 75 array[array.length - 1] = obj;
|
/art/runtime/native/ |
H A D | org_apache_harmony_dalvik_ddmc_DdmServer.cc | 25 jbyteArray javaData, jint offset, jint length) { 28 DCHECK_LE(offset + length, static_cast<int32_t>(data.size())); 29 Dbg::DdmSendChunk(type, length, reinterpret_cast<const uint8_t*>(&data[offset])); 24 DdmServer_nativeSendChunk(JNIEnv* env, jclass, jint type, jbyteArray javaData, jint offset, jint length) argument
|
H A D | java_lang_reflect_Array.cc | 46 static jobject Array_createObjectArray(JNIEnv* env, jclass, jclass javaElementClass, jint length) { argument 49 if (UNLIKELY(length < 0)) { 50 ThrowNegativeArraySizeException(length); 62 mirror::Array* new_array = mirror::Array::Alloc<true>(soa.Self(), array_class, length,
|
/art/runtime/entrypoints/portable/ |
H A D | portable_alloc_entrypoints.cc | 42 uint32_t length, 45 return AllocArrayFromCode<false, true>(type_idx, referrer, length, self, 51 uint32_t length, 54 return AllocArrayFromCode<true, true>(type_idx, referrer, length, self, 60 uint32_t length, 63 return CheckAndAllocArrayFromCodeInstrumented(type_idx, referrer, length, thread, false, 69 uint32_t length, 72 return CheckAndAllocArrayFromCodeInstrumented(type_idx, referrer, length, thread, true,
|
/art/test/117-nopatchoat/src/ |
H A D | Main.java | 33 for (int i = 0; i < arr.length; i++) { 36 return ret.substring(0, ret.length() - 1);
|
/art/test/021-string2/src/junit/framework/ |
H A D | ComparisonFailure.java | 34 int end= Math.min(fExpected.length(), fActual.length()); 41 int j= fExpected.length()-1; 42 int k= fActual.length()-1; 61 if (j < fExpected.length()-1) 63 if (k < fActual.length()-1)
|
/art/test/082-inline-execute/src/junit/framework/ |
H A D | ComparisonFailure.java | 34 int end= Math.min(fExpected.length(), fActual.length()); 41 int j= fExpected.length()-1; 42 int k= fActual.length()-1; 61 if (j < fExpected.length()-1) 63 if (k < fActual.length()-1)
|
/art/test/011-array-copy/src/ |
H A D | Main.java | 32 for (int i = 0; i < stringArray.length; i++) 36 System.arraycopy(stringArray, 0, objectArray, 0, stringArray.length); 38 System.arraycopy(objectArray, 0, stringArray, 0, stringArray.length); 42 System.arraycopy(objectArray, 0, stringArray, 0,stringArray.length); 76 static void makeCopies(int srcPos, int dstPos, int length) { argument 87 System.arraycopy(byteArray, srcPos, byteArray, dstPos, length); 88 System.arraycopy(shortArray, srcPos, shortArray, dstPos, length); 89 System.arraycopy(intArray, srcPos, intArray, dstPos, length); 90 System.arraycopy(longArray, srcPos, longArray, dstPos, length); 108 System.out.println("copy: " + srcPos + "," + dstPos + "," + length [all...] |
/art/test/020-string/src/ |
H A D | Main.java | 31 testStr = baseStr.substring(4, baseStr.length() - 3); 35 for (i = 0; i < testStr.length(); i++) 40 if (testStr.length() != testStr2.length()) 41 System.out.println("WARNING: stringTest length mismatch"); 62 subStr = baseStr.substring(5, baseStr.length() - 4);
|
/art/runtime/base/ |
H A D | stringprintf.cc | 50 int length = result+1; local 51 char* buf = new char[length]; 55 result = vsnprintf(buf, length, format, backup_ap); 58 if (result >= 0 && result < length) {
|
/art/runtime/mirror/ |
H A D | dex_cache.cc | 58 size_t length = resolved_methods->GetLength(); local 59 for (size_t i = 0; i < length; i++) { 69 size_t length = resolved_methods->GetLength(); local 70 for (size_t i = 0; i < length; i++) {
|
/art/test/094-pattern/src/ |
H A D | Main.java | 87 StringBuilder sb = new StringBuilder(text.length() * 4); 89 for (int i = 0; i < text.length(); i++) {
|
/art/test/102-concurrent-gc/src/ |
H A D | Main.java | 54 for (int j = 0; j < l.length; ++j) { 55 int a = l.length - i - 1;
|
/art/test/002-sleep/src/ |
H A D | Main.java | 5 if (args.length != 0) {
|
/art/test/108-check-cast/src/ |
H A D | Main.java | 28 if (1 == args.length) {
|
/art/runtime/gc/allocator/ |
H A D | dlmalloc.cc | 62 size_t length = reinterpret_cast<uint8_t*>(end) - reinterpret_cast<uint8_t*>(start); local 63 int rc = madvise(start, length, MADV_DONTNEED); 69 *reclaimed += length;
|
/art/runtime/verifier/ |
H A D | instruction_flags.h | 32 void SetLengthInCodeUnits(size_t length) { argument 33 DCHECK_LT(length, 65536u); 34 length_ = length;
|
/art/test/022-interface/src/ |
H A D | Main.java | 58 public int length() { 59 return toString().length(); 75 public int length() { method in class:Main.SubInterfaceImpl
|
/art/test/114-ParallelGC/src/ |
H A D | Main.java | 47 CyclicBarrier barrier = new CyclicBarrier(threads.length); 49 threads.length); 50 for (int i = 0; i < threads.length; i++) { 54 for (int i = 0; i < threads.length; i++) { 55 threads[i] = new Thread(new Main(i, queues.get(i), queues.get((i + 1) % threads.length),
|
/art/test/037-inherit/src/ |
H A D | Main.java | 5 for (i = 0; i < magicArray.length; i++)
|
/art/test/049-show-object/src/ |
H A D | Main.java | 32 for (int i = 0; i < foo.length; i++) {
|
/art/test/101-fibonacci/src/ |
H A D | Main.java | 46 String arg = (args.length > 0) ? args[0] : "10";
|