Searched defs:ref (Results 51 - 75 of 342) sorted by relevance

1234567891011>>

/external/dexmaker/src/dx/java/com/android/dx/dex/file/
H A DFieldIdsSection.java119 * @param ref {@code non-null;} the reference to look up
122 public int indexOf(CstFieldRef ref) { argument
123 if (ref == null) {
124 throw new NullPointerException("ref == null");
129 FieldIdItem item = fieldIds.get(ref);
H A DMethodIdsSection.java119 * @param ref {@code non-null;} the reference to look up
122 public int indexOf(CstBaseMethodRef ref) { argument
123 if (ref == null) {
124 throw new NullPointerException("ref == null");
129 MethodIdItem item = methodIds.get(ref);
/external/llvm/lib/IR/
H A DUse.cpp139 const UserRef *ref = reinterpret_cast<const UserRef*>(End); local
140 return ref->getInt()
141 ? ref->getPointer()
/external/skia/legacy/src/images/
H A DSkImageRefPool.cpp30 void SkImageRefPool::justAddedPixels(SkImageRef* ref) { argument
33 ref->getURI(),
34 ref->fBitmap.width(), ref->fBitmap.height(),
35 ref->fBitmap.bytesPerPixel(),
36 ref->fBitmap.getSize(), (int)fRAMUsed);
38 fRAMUsed += ref->ramUsed();
42 void SkImageRefPool::canLosePixels(SkImageRef* ref) { argument
45 this->detach(ref);
46 this->addToHead(ref);
58 SkImageRef* ref = fTail; local
86 addToHead(SkImageRef* ref) argument
105 addToTail(SkImageRef* ref) argument
124 detach(SkImageRef* ref) argument
150 SkImageRef* ref = fHead; local
181 SkImageRef* ref = fHead; local
[all...]
/external/skia/src/images/
H A DSkImageRefPool.cpp30 void SkImageRefPool::justAddedPixels(SkImageRef* ref) { argument
33 ref->getURI(),
34 ref->fBitmap.width(), ref->fBitmap.height(),
35 ref->fBitmap.bytesPerPixel(),
36 ref->fBitmap.getSize(), (int)fRAMUsed);
38 fRAMUsed += ref->ramUsed();
42 void SkImageRefPool::canLosePixels(SkImageRef* ref) { argument
45 this->detach(ref);
46 this->addToHead(ref);
58 SkImageRef* ref = fTail; local
86 addToHead(SkImageRef* ref) argument
105 addToTail(SkImageRef* ref) argument
124 detach(SkImageRef* ref) argument
150 SkImageRef* ref = fHead; local
181 SkImageRef* ref = fHead; local
[all...]
/external/skia/tests/
H A DMetaDataTest.cpp12 SkRefCnt ref; local
13 REPORTER_ASSERT(reporter, 1 == ref.getRefCnt());
19 md0.setRefCnt(name, &ref);
21 REPORTER_ASSERT(reporter, md0.hasRefCnt(name, &ref));
22 REPORTER_ASSERT(reporter, 2 == ref.getRefCnt());
26 REPORTER_ASSERT(reporter, md1.hasRefCnt(name, &ref));
27 REPORTER_ASSERT(reporter, 3 == ref.getRefCnt());
31 REPORTER_ASSERT(reporter, !md0.hasRefCnt(name, &ref));
32 REPORTER_ASSERT(reporter, 2 == ref.getRefCnt());
34 REPORTER_ASSERT(reporter, 1 == ref
[all...]
H A DRefCntTest.cpp75 SkRefCnt* ref = static_cast<SkRefCnt*>(data); local
77 ref->ref();
78 ref->unref();
83 SkRefCnt* ref = new SkRefCnt(); local
85 SkThread thing1(bounce_ref, ref);
86 SkThread thing2(bounce_ref, ref);
97 REPORTER_ASSERT(reporter, ref->getRefCnt() == 1);
98 ref->unref();
102 SkWeakRefCnt* ref local
111 SkWeakRefCnt* ref = static_cast<SkWeakRefCnt*>(data); local
119 SkWeakRefCnt* ref = new SkWeakRefCnt(); local
[all...]
/external/webkit/Source/JavaScriptCore/bytecompiler/
H A DLabel.h67 void ref() { ++m_refCount; } function in class:JSC::Label
H A DRegisterID.h84 void ref() function in class:JSC::RegisterID
/external/webkit/Source/JavaScriptCore/dfg/
H A DDFGGraph.h70 void ref(NodeIndex nodeIndex) function in class:JSC::DFG::Graph
73 // If the value (before incrementing) was at refCount zero then we need to ref its children.
103 // When a node's refCount goes from 0 to 1, it must (logically) recursively ref all of its children, and vice versa.
/external/webkit/Source/JavaScriptCore/wtf/
H A DCrossThreadRefCounted.h45 // (like UString) that get ref/deref'ed a lot. This class has the benefit of doing fast ref
65 void ref();
108 void CrossThreadRefCounted<T>::ref() function in class:WTF::CrossThreadRefCounted
111 m_refCounter.ref();
113 // Store the threadId as soon as the ref count gets to 2.
114 // The class gets created with a ref count of 1 and then passed
115 // to another thread where to ref count get increased. This
132 // Clear the threadId when the ref goes to 1 because it
155 m_threadSafeRefCounter->ref();
[all...]
/external/webkit/Source/JavaScriptCore/yarr/
H A DYarrJIT.h64 void set(MacroAssembler::CodeRef ref) { m_ref = ref; } argument
/external/webkit/Source/WebCore/platform/
H A DTreeShared.h59 void ref() function in class:WebCore::TreeShared
/external/webkit/Source/WebCore/platform/haiku/
H A DFileSystemHaiku.cpp87 entry_ref ref; local
88 while (directory.GetNextRef(&ref) == B_OK)
89 entries.append(ref.name);
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ref/
H A DReferenceQueueTest.java18 package org.apache.harmony.luni.tests.java.lang.ref;
20 import java.lang.ref.Reference;
21 import java.lang.ref.ReferenceQueue;
22 import java.lang.ref.SoftReference;
57 * @tests java.lang.ref.ReferenceQueue#poll()
70 * @tests java.lang.ref.ReferenceQueue#remove()
83 * @tests java.lang.ref.ReferenceQueue#remove(long)
95 * @tests java.lang.ref.ReferenceQueue#ReferenceQueue()
H A DReferenceTest.java17 package org.apache.harmony.luni.tests.java.lang.ref;
19 import java.lang.ref.Reference;
20 import java.lang.ref.ReferenceQueue;
21 import java.lang.ref.SoftReference;
22 import java.lang.ref.WeakReference;
34 * @tests java.lang.ref.Reference#clear()
52 * @tests java.lang.ref.Reference#enqueue()
57 Reference ref = new SoftReference(obj, rq);
58 assertTrue("Enqueue failed.", (!ref.isEnqueued())
59 && ((ref
[all...]
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/crypto/serialization/
H A DSHA1PRNG_SecureRandomTest.java111 private void testingSame(SecureRandom ref, SecureRandom test) { argument
123 ref.nextBytes(refBytes);
133 ref.setSeed(refBytes);
143 private void testingNotSame(SecureRandom ref, SecureRandom test) { argument
160 ref.nextBytes(refBytes);
184 ref.setSeed(refBytes);
198 SecureRandom ref = (SecureRandom) reference;
209 ref.setSeed(zero);
211 testingSame(ref, tst);
215 ref
[all...]
/external/apache-xml/src/main/java/org/apache/xalan/transformer/
H A DKeyTable.java59 * Hold a cache of key() function result for each ref.
60 * Key is XMLString, the ref value
61 * Value is XNodeSet, the key() function result for the given ref value.
112 * @param ref The value that must match the value found by the 'match' attribute on xsl:key.
113 * @return a set of nodes referenced by the key named <CODE>name</CODE> and the reference <CODE>ref</CODE>. If no node is referenced by this key, an empty node set is returned.
115 public XNodeSet getNodeSetDTMByKey(QName name, XMLString ref) argument
118 XNodeSet refNodes = (XNodeSet) getRefsTable().get(ref);
233 * Add an association between a ref and a node in the m_refsTable.
236 * @param ref the value of the use clause of the current key for the given node
239 private void addValueInRefsTable(XPathContext xctxt, XMLString ref, in argument
[all...]
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
H A DCoroutineManager.java21 package org.apache.xml.dtm.ref;
H A DDTMAxisIteratorBase.java21 package org.apache.xml.dtm.ref;
H A DDTMNamedNodeMap.java21 package org.apache.xml.dtm.ref;
H A DDTMTreeWalker.java21 package org.apache.xml.dtm.ref;
H A DSecuritySupport.java22 package org.apache.xml.dtm.ref;
/external/chromium/base/memory/
H A Dweak_ptr.cc67 WeakPtrBase::WeakPtrBase(const WeakReference& ref) : ref_(ref) { argument
/external/clang/test/Analysis/
H A Dtemporaries.cpp57 const TrivialSubclass &ref = getTrivialSub(); local
58 clang_analyzer_eval(ref.value == 42); // expected-warning{{TRUE}}

Completed in 891 milliseconds

1234567891011>>