/external/compiler-rt/BlocksRuntime/tests/ |
byrefsanity.c | 55 struct byref_id *ref; member in struct:Block_basic2 64 struct byref_id *ref = bb->ref; local 65 if (ref->forwarding != ref) { 66 printf("forwarding pointer should be %p but is %p\n", ref, ref->forwarding);
|
/external/skia/bench/ |
RefCntBench.cpp | 30 SkRefCnt ref; local 32 ref.ref(); 33 ref.unref(); 68 PlacedRefCnt* ref = new (memory) PlacedRefCnt(); local 70 ref->ref(); 71 ref->unref(); 73 ref->unref(); 93 SkRefCnt* ref = new SkRefCnt() local 120 SkWeakRefCnt ref; local 151 PlacedWeakRefCnt* ref = new (memory) PlacedWeakRefCnt(); local 176 SkWeakRefCnt* ref = new SkWeakRefCnt(); local [all...] |
/frameworks/rs/ |
rsObjectBase.h | 99 ObjectBaseRef(const ObjectBaseRef &ref) { 100 mRef = ref.get(); 106 ObjectBaseRef(T *ref) { 107 mRef = ref; 109 ref->incSysRef(); 113 ObjectBaseRef & operator= (const ObjectBaseRef &ref) { 114 if (&ref != this) { 115 set(ref); 124 void set(T *ref) { 125 if (mRef != ref) { [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/crypto/serialization/ |
SHA1PRNG_SecureRandomTest.java | 111 private void testingSame(SecureRandom ref, SecureRandom test) { 123 ref.nextBytes(refBytes); 133 ref.setSeed(refBytes); 143 private void testingNotSame(SecureRandom ref, SecureRandom test) { 160 ref.nextBytes(refBytes); 184 ref.setSeed(refBytes); 198 SecureRandom ref = (SecureRandom) reference; 209 ref.setSeed(zero); 211 testingSame(ref, tst); 215 ref.setSeed(seed) [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
SortedMapTestBase.java | 44 SortedMap<Integer, Integer> ref; field in class:SortedMapTestBase 51 ref.put(rnd.nextInt(N) * 2, rnd.nextBoolean() ? null : rnd.nextInt(N) * 2); 63 assertEquals(ref.containsKey(key), map.containsKey(key)); 71 assertEquals(ref.containsValue(value), map.containsValue(value)); 77 Set<Map.Entry<Integer,Integer>> refSet = ref.entrySet(); 85 assertEquals(ref.entrySet(), map.entrySet()); 92 assertEquals(ref.get(key), map.get(key)); 98 assertEquals(ref.keySet(), map.keySet()); 99 Iterator<Integer> i = ref.keySet().iterator(); 115 assertEquals(ref.put(key, value), map.put(key, value)) [all...] |
TreeMapRndTest.java | 24 ref = new RefSortedMap<Integer, Integer>(); 26 map = new TreeMap<Integer, Integer>(ref);
|
/external/liblzf/ |
lzf_d.c | 106 u8 *ref = op - ((ctrl & 0x1f) << 8) - 1; local 127 ref -= *ip++; 135 if (ref < (u8 *)out_data) 143 lzf_movsb (op, ref, len); 150 if (op >= ref + len) 153 memcpy (op, ref, len); 160 *op++ = *ref++; 166 case 9: *op++ = *ref++; 167 case 8: *op++ = *ref++; 168 case 7: *op++ = *ref++ [all...] |
/external/clang/test/Analysis/diagnostics/ |
deref-track-symbolic-region.cpp | 19 int &ref = *ptr; // expected-note {{'ref' initialized here}} local 25 extern void use(int &ref); 26 use(ref); // expected-warning{{Forming reference to null pointer}}
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/ |
ExtractStringWizard.java | 35 * @param ref The instance of {@link ExtractStringRefactoring} to associate to the wizard. 39 public ExtractStringWizard(ExtractStringRefactoring ref, IProject project) { 40 super(ref, DIALOG_BASED_USER_INTERFACE | PREVIEW_EXPAND_FIRST_NODE); 42 setDefaultPageTitle(ref.getName());
|
/dalvik/vm/mterp/c/ |
OP_CHECK_CAST.cpp | 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);
|
OP_INSTANCE_OF.cpp | 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);
|
/external/eigen/test/ |
commainitializer.cpp | 24 Matrix3d ref = Map<Matrix<double,3,3,RowMajor> >(data); local 28 VERIFY_IS_APPROX(m3, ref ); 36 VERIFY_IS_APPROX(m3, ref); 45 VERIFY_IS_APPROX(m3, ref);
|
/external/eigen/test/eigen2/ |
eigen2_commainitializer.cpp | 24 Matrix3d ref = Map<Matrix<double,3,3,RowMajor> >(data); local 28 VERIFY_IS_APPROX(m3, ref ); 36 VERIFY_IS_APPROX(m3, ref); 45 VERIFY_IS_APPROX(m3, ref);
|
/external/webkit/Source/WebCore/platform/graphics/android/ |
BitmapAllocatorAndroid.cpp | 59 SkPixelRef* ref; local 62 ref = new SkImageRef_ashmem(fStream, bitmap->config(), fSampleSize); 65 ref = new SkImageRef_GlobalPool(fStream, bitmap->config(), fSampleSize); 67 bitmap->setPixelRef(ref)->unref();
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/function.objects/refwrap/refwrap.helpers/ |
ref_1.fail.cpp | 14 // template <ObjectType T> reference_wrapper<T> ref(T& t); 26 std::reference_wrapper<const A> r = std::ref(source());
|
ref_1.pass.cpp | 14 // template <ObjectType T> reference_wrapper<T> ref(T& t); 22 std::reference_wrapper<int> r = std::ref(i);
|
/sdk/emulator/opengl/tests/ut_renderer/ |
RendererObject.h | 24 void ref() { m_count++; } function in class:RendererObject
|
/frameworks/base/libs/hwui/ |
ResourceCache.cpp | 31 ResourceReference* ref = mCache->valueAt(i); local 32 ALOGD(" ResourceCache: mCache(%d): resource, ref = 0x%p, 0x%p", 35 i, ref->refCount, ref->recycled, ref->destroyed, ref->resourceType); 88 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : NULL; local 89 if (ref == NULL || mCache->size() == 0) { 90 ref = new ResourceReference(resourceType); 91 mCache->add(resource, ref); 151 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : NULL; local 193 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : NULL; local 215 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : NULL; local 237 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : NULL; local 256 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : NULL; local 288 ResourceReference* ref = mCache->valueAt(index); local [all...] |
/external/skia/tests/ |
RefCntTest.cpp | 75 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 = static_cast<SkWeakRefCnt*>(data) local 111 SkWeakRefCnt* ref = static_cast<SkWeakRefCnt*>(data); local 119 SkWeakRefCnt* ref = new SkWeakRefCnt(); local [all...] |
/external/webkit/Source/JavaScriptGlue/ |
JavaScriptGlue.h | 79 JSTypeRef JSRetain(JSTypeRef ref) DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER; 80 void JSRelease(JSTypeRef ref) DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER; 81 JSTypeID JSGetTypeID(JSTypeRef ref) DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER; 82 CFIndex JSGetRetainCount(JSTypeRef ref) DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER; 83 CFStringRef JSCopyDescription(JSTypeRef ref) DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER; 88 CFTypeRef JSObjectCopyCFValue(JSObjectRef ref) DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER; 89 void *JSObjectGetData(JSObjectRef ref) DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER; 91 CFArrayRef JSObjectCopyPropertyNames(JSObjectRef ref) DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER; 92 JSObjectRef JSObjectCopyProperty(JSObjectRef ref, CFStringRef propertyName) DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER; 93 void JSObjectSetProperty(JSObjectRef ref, CFStringRef propertyName, JSObjectRef value) DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER [all...] |
/external/chromium/chrome/browser/sync/syncable/ |
syncable-inl.h | 16 return a->ref(field_index) < b->ref(field_index);
|
/external/guava/guava/src/com/google/common/base/ |
FinalizablePhantomReference.java | 19 import java.lang.ref.PhantomReference; 20 import java.lang.ref.ReferenceQueue;
|
FinalizableSoftReference.java | 19 import java.lang.ref.ReferenceQueue; 20 import java.lang.ref.SoftReference;
|
FinalizableWeakReference.java | 19 import java.lang.ref.ReferenceQueue; 20 import java.lang.ref.WeakReference;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
UnwrapWizard.java | 22 public UnwrapWizard(UnwrapRefactoring ref, LayoutEditorDelegate editor) { 23 super(ref, editor);
|