/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/platform/ |
H A D | RuntimeMemorySpy.java | 19 import java.lang.ref.Reference; 29 Reference ref = notifyQueue.poll(); // non-blocking check 30 while (ref != null) { 31 orphanedMemory(ref); 32 ref = notifyQueue.poll();
|
H A D | AbstractMemorySpy.java | 21 import java.lang.ref.ReferenceQueue; 22 import java.lang.ref.Reference; 23 import java.lang.ref.PhantomReference; 104 protected void orphanedMemory(Reference ref) { argument 107 PlatformAddress shadow = refToShadow.remove(ref); 118 ref.clear();
|
/dalvik/vm/mterp/c/ |
H A D | OP_THROW_VERIFICATION_ERROR.c | 4 ref = FETCH(1); /* class/field/method ref */ 5 dvmThrowVerificationError(curMethod, vsrc1, ref);
|
H A D | OP_CONST_CLASS.c | 6 ref = FETCH(1); 7 ILOGV("|const-class v%d class@0x%04x", vdst, ref); 8 clazz = dvmDexGetResolvedClass(methodClassDex, ref); 11 clazz = dvmResolveClass(curMethod->clazz, ref, true);
|
H A D | OP_CONST_STRING.c | 6 ref = FETCH(1); 7 ILOGV("|const-string v%d string@0x%04x", vdst, ref); 8 strObj = dvmDexGetResolvedString(methodClassDex, ref); 11 strObj = dvmResolveString(curMethod->clazz, ref);
|
H A D | OP_CHECK_CAST.c | 9 ref = FETCH(1); /* class to check against */ 10 ILOGV("|check-cast v%d,class@0x%04x", vsrc1, ref); 18 clazz = dvmDexGetResolvedClass(methodClassDex, ref); 20 clazz = dvmResolveClass(curMethod->clazz, ref, false);
|
H A D | OP_INSTANCE_OF.c | 8 ref = FETCH(1); /* class to check against */ 9 ILOGV("|instance-of v%d,v%d,class@0x%04x", vdst, vsrc1, ref); 19 clazz = dvmDexGetResolvedClass(methodClassDex, ref); 22 clazz = dvmResolveClass(curMethod->clazz, ref, true);
|
H A D | OP_NEW_INSTANCE.c | 9 ref = FETCH(1); 10 ILOGV("|new-instance v%d,class@0x%04x", vdst, ref); 11 clazz = dvmDexGetResolvedClass(methodClassDex, ref); 13 clazz = dvmResolveClass(curMethod->clazz, ref, false);
|
H A D | OP_EXECUTE_INLINE.c | 25 ref = FETCH(1); /* inline call "ref" */ 28 vsrc1, ref, vdst); 51 if (!dvmPerformInlineOp4Dbg(arg0, arg1, arg2, arg3, &retval, ref)) 54 if (!dvmPerformInlineOp4Std(arg0, arg1, arg2, arg3, &retval, ref))
|
H A D | OP_EXECUTE_INLINE_RANGE.c | 9 ref = FETCH(1); /* inline call "ref" */ 12 vsrc1, ref, vdst, vdst+vsrc1-1); 35 if (!dvmPerformInlineOp4Dbg(arg0, arg1, arg2, arg3, &retval, ref)) 38 if (!dvmPerformInlineOp4Std(arg0, arg1, arg2, arg3, &retval, ref))
|
H A D | OP_NEW_ARRAY.c | 11 ref = FETCH(1); 13 vdst, vsrc1, ref, (s4) GET_REGISTER(vsrc1)); 19 arrayClass = dvmDexGetResolvedClass(methodClassDex, ref); 21 arrayClass = dvmResolveClass(curMethod->clazz, ref, false);
|
H A D | gotoTargets.c | 22 ref = FETCH(1); /* class ref */ 29 vsrc1, ref, vdst, vdst+vsrc1-1); 34 vsrc1, ref, vdst, arg5); 40 arrayClass = dvmDexGetResolvedClass(methodClassDex, ref); 42 arrayClass = dvmResolveClass(curMethod->clazz, ref, false); 112 ref = FETCH(1); /* method ref */ 122 vsrc1, ref, vdst, vdst+vsrc1-1); 127 vsrc1 >> 4, ref, vds [all...] |
/dalvik/libcore/luni/src/test/java/tests/api/java/lang/ref/ |
H A D | ReferenceTest.java | 17 package tests.api.java.lang.ref; 26 import java.lang.ref.PhantomReference; 27 import java.lang.ref.Reference; 28 import java.lang.ref.ReferenceQueue; 29 import java.lang.ref.SoftReference; 30 import java.lang.ref.WeakReference; 93 * @tests java.lang.ref.Reference#clear() 122 * @tests java.lang.ref.Reference#enqueue() 141 Reference ref = new SoftReference(obj, rq); 142 assertTrue("Enqueue failed.", (!ref [all...] |
H A D | SoftReferenceTest.java | 17 package tests.api.java.lang.ref; 26 import java.lang.ref.Reference; 27 import java.lang.ref.ReferenceQueue; 28 import java.lang.ref.SoftReference; 41 * @tests java.lang.ref.SoftReference#SoftReference(java.lang.Object, 42 * java.lang.ref.ReferenceQueue) 48 args = {java.lang.Object.class, java.lang.ref.ReferenceQueue.class} 71 * @tests java.lang.ref.SoftReference#SoftReference(java.lang.Object) 91 * @tests java.lang.ref.SoftReference#get() 133 Reference ref; [all...] |
H A D | WeakReferenceTest.java | 18 package tests.api.java.lang.ref; 25 import java.lang.ref.ReferenceQueue; 26 import java.lang.ref.WeakReference; 37 * @tests java.lang.ref.WeakReference#WeakReference(java.lang.Object, 38 * java.lang.ref.ReferenceQueue) 44 args = {java.lang.Object.class, java.lang.ref.ReferenceQueue.class} 70 * @tests java.lang.ref.WeakReference#WeakReference(java.lang.Object)
|
/dalvik/libcore/xml/src/main/java/org/apache/xml/dtm/ref/ |
H A D | DTMNodeListBase.java | 21 package org.apache.xml.dtm.ref;
|
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
H A D | HttpRetryExceptionTest.java | 44 HttpRetryException ref = (HttpRetryException) reference; 47 assertEquals("getLocation", ref.getLocation(), tst.getLocation()); 48 assertEquals("responseCode", ref.responseCode(), tst.responseCode()); 49 assertEquals("getReason", ref.getReason(), tst.getReason()); 50 assertEquals("getMessage", ref.getMessage(), tst.getMessage());
|
/dalvik/libcore/luni/src/test/java/tests/api/java/io/ |
H A D | InputStreamTest.java | 162 byte[] ref = testString.getBytes(); 172 equal &= (b[i] == ref[i]); 178 b = new byte[ref.length]; 181 bytesRead, ref.length - 10); 184 equal &= (b[i] == ref[i + 10]); 260 byte[] ref = testString.getBytes(); 270 equal &= (b[i] == ref[i]); 279 equal &= (b[i] == ref[i]); 285 b = new byte[ref.length]; 290 bytesRead, ref [all...] |
/dalvik/libcore/luni-kernel/src/main/java/java/lang/ref/ |
H A D | PhantomReference.java | 33 package java.lang.ref;
|
H A D | SoftReference.java | 33 package java.lang.ref; 43 * A set {@code ref} of references is determined. {@code ref} contains the 56 * All references in {@code ref} are atomically cleared. 60 * ref} will be enqueued with their corresponding reference queues, if any.
|
H A D | WeakReference.java | 33 package java.lang.ref; 43 * A set {@code ref} of references is determined. {@code ref} contains the 56 * All references in {@code ref} are atomically cleared. 59 * All objects formerly being referenced by {@code ref} become eligible for 63 * At some future point, all references in {@code ref} will be enqueued
|
/dalvik/tests/036-finalizer/src/ |
H A D | FinalizerTest.java | 3 import java.lang.ref.WeakReference;
|
/dalvik/vm/mterp/x86-atom/ |
H A D | OP_THROW_VERIFICATION_ERROR.S | 28 * Syntax: op vAA, ref@BBBB 35 movl %eax, -4(%esp) # push parameter BBBB; ref 39 call dvmThrowVerificationError # call: (const Method* method, int kind, int ref)
|
/dalvik/libcore/xml/src/main/java/org/apache/xalan/templates/ |
H A D | FuncKey.java | 99 XMLString ref = dtm.getStringValue(pos); 101 if (null == ref) 107 if (usedrefs.get(ref) != null) 115 usedrefs.put(ref, ISTRUE); 119 kmgr.getNodeSetDTMByKey(xctxt, docContext, keyname, ref, 142 XMLString ref = arg.xstr(); 144 ref,
|
/dalvik/libcore/xml/src/main/java/org/apache/xpath/functions/ |
H A D | FuncId.java | 62 String ref = null; 70 ref = tokenizer.nextToken(); 73 if ((null != usedrefs) && usedrefs.contains(ref)) 75 ref = null; 80 int node = dtm.getElementById(ref); 85 if ((null != ref) && (hasMore || mayBeMore)) 90 usedrefs.addElement(ref);
|