Searched refs:ref (Results 1 - 25 of 182) sorted by relevance

12345678

/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/platform/
H A DRuntimeMemorySpy.java19 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 DAbstractMemorySpy.java21 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 DOP_THROW_VERIFICATION_ERROR.c4 ref = FETCH(1); /* class/field/method ref */
5 dvmThrowVerificationError(curMethod, vsrc1, ref);
H A DOP_CONST_CLASS.c6 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 DOP_CONST_STRING.c6 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 DOP_CHECK_CAST.c9 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 DOP_INSTANCE_OF.c8 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 DOP_NEW_INSTANCE.c9 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 DOP_EXECUTE_INLINE.c25 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 DOP_EXECUTE_INLINE_RANGE.c9 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 DOP_NEW_ARRAY.c11 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 DgotoTargets.c22 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 DReferenceTest.java17 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 DSoftReferenceTest.java17 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 DWeakReferenceTest.java18 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 DDTMNodeListBase.java21 package org.apache.xml.dtm.ref;
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
H A DHttpRetryExceptionTest.java44 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 DInputStreamTest.java162 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 DPhantomReference.java33 package java.lang.ref;
H A DSoftReference.java33 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 DWeakReference.java33 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 DFinalizerTest.java3 import java.lang.ref.WeakReference;
/dalvik/vm/mterp/x86-atom/
H A DOP_THROW_VERIFICATION_ERROR.S28 * 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 DFuncKey.java99 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 DFuncId.java62 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);

Completed in 2610 milliseconds

12345678