/external/opencv3/samples/winrt/ImageManipulations/ |
MainPage.xaml.cpp | 42 HiddenFrame = ref new Windows::UI::Xaml::Controls::Frame(); 48 this->SizeChanged += ref new SizeChangedEventHandler(this, &MainPage::MainPage_SizeChanged); 49 Scenarios->SelectionChanged += ref new SelectionChangedEventHandler(this, &MainPage::Scenarios_SelectionChanged); 64 MainPageSizeChangedEventArgs^ args = ref new MainPageSizeChangedEventArgs(); 146 ScenarioList = ref new Platform::Collections::Vector<Object^>(); 152 ListBoxItem^ item = ref new ListBoxItem(); 271 auto uri = ref new Uri((String^)((HyperlinkButton^)sender)->Tag);
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
MenuBuilder.java | 41 import java.lang.ref.WeakReference; 240 for (WeakReference<MenuPresenter> ref : mPresenters) { 241 final MenuPresenter item = ref.get(); 243 mPresenters.remove(ref); 252 for (WeakReference<MenuPresenter> ref : mPresenters) { 253 final MenuPresenter presenter = ref.get(); 255 mPresenters.remove(ref); 274 for (WeakReference<MenuPresenter> ref : mPresenters) { 275 final MenuPresenter presenter = ref.get(); 277 mPresenters.remove(ref); [all...] |
/frameworks/rs/ |
rsObjectBase.cpp | 89 ALOGV("ObjectBase %p incU ref %i, %i", this, mUserRefCount, mSysRefCount); 96 ALOGV("ObjectBase %p incS ref %i, %i", this, mUserRefCount, mSysRefCount); 107 bool ObjectBase::checkDelete(const ObjectBase *ref) { 108 if (!ref) { 114 // the ref counts. At this point we should be the only thread 116 if (ref->mUserRefCount || ref->mSysRefCount) { 121 ref->remove(); 124 ref->preDestroy(); 126 delete ref; [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/ |
MenuBuilder.java | 44 import java.lang.ref.WeakReference; 266 for (WeakReference<MenuPresenter> ref : mPresenters) { 267 final MenuPresenter item = ref.get(); 269 mPresenters.remove(ref); 278 for (WeakReference<MenuPresenter> ref : mPresenters) { 279 final MenuPresenter presenter = ref.get(); 281 mPresenters.remove(ref); 300 for (WeakReference<MenuPresenter> ref : mPresenters) { 301 final MenuPresenter presenter = ref.get(); 303 mPresenters.remove(ref); [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ref/ |
ReferenceQueueTest.java | 18 package org.apache.harmony.tests.java.lang.ref; 20 import java.lang.ref.PhantomReference; 21 import java.lang.ref.Reference; 22 import java.lang.ref.ReferenceQueue; 23 import java.lang.ref.SoftReference; 24 import java.lang.ref.WeakReference; 26 import libcore.java.lang.ref.FinalizationTester; 58 * java.lang.ref.ReferenceQueue#poll() 105 * java.lang.ref.ReferenceQueue#remove() 152 * java.lang.ref.ReferenceQueue#remove(long [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/ |
BitmapCache.java | 25 import java.lang.ref.WeakReference; 165 WeakReference<Bitmap> ref = list.get(i); local 166 if (ref.get() == bitmap) { 177 WeakReference<Bitmap> ref = null; local 180 ref = list.remove(0); 186 if (ref != null) { 187 bitmap = ref.get();
|
/external/eigen/test/eigen2/ |
eigen2_sparse_basic.cpp | 13 bool test_random_setter(SparseMatrix<Scalar,Options>& sm, const DenseType& ref, const std::vector<Vector2i>& nonzeroCoords) 23 w(remaining[i].x(),remaining[i].y()) = ref.coeff(remaining[i].x(),remaining[i].y()); 28 return sm.isApprox(ref); 32 bool test_random_setter(DynamicSparseMatrix<T>& sm, const DenseType& ref, const std::vector<Vector2i>& nonzeroCoords) 39 sm.coeffRef(remaining[i].x(),remaining[i].y()) = ref.coeff(remaining[i].x(),remaining[i].y()); 43 return sm.isApprox(ref); 46 template<typename SparseMatrixType> void sparse_basic(const SparseMatrixType& ref) 48 const int rows = ref.rows(); 49 const int cols = ref.cols();
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
vp9_mvref_common.c | 32 // This is used to figure out a context for the ref blocks. The code flattens 137 static INLINE int_mv scale_mv(const MB_MODE_INFO *mbmi, int ref, 140 int_mv mv = mbmi->mv[ref]; 141 if (ref_sign_bias[mbmi->ref_frame[ref]] != ref_sign_bias[this_ref_frame]) { 320 int block, int ref, int mi_row, int mi_col, 329 find_mv_refs_idx(cm, xd, tile, mi, mi->mbmi.ref_frame[ref], mv_list, block, 340 nearest->as_int = bmi[0].as_mv[ref].as_int; 349 candidates[0] = bmi[1].as_mv[ref]; 350 candidates[1] = bmi[0].as_mv[ref]; 354 nearest->as_int = bmi[2].as_mv[ref].as_int [all...] |
/external/clang/test/Analysis/inlining/ |
false-positive-suppression.cpp | 8 T *ref; member in class:rdar12676053::RefCount 11 return ref ? ref : 0;
|
/external/conscrypt/src/compat/native/ |
JNIHelp.h | 102 * Returns the reference from a java.lang.ref.Reference. 104 jobject jniGetReferent(C_JNIEnv* env, jobject ref); 167 inline jobject jniGetReferent(JNIEnv* env, jobject ref) { 168 return jniGetReferent(&env->functions, ref);
|
/external/doclava/src/com/google/doclava/ |
LinkReference.java | 139 String ref; local 142 ref = null; 145 ref = text.substring(0, pound); 148 ref = text.substring(0, linkend); 243 if (ref == null) { 244 if (DBG) System.out.println("-- ref == null"); 251 if (DBG) System.out.println("-- they provided ref = " + ref); 255 result.classInfo = cl.extendedFindClass(ref); 258 result.classInfo = cl.findClass(ref); [all...] |
/external/guava/guava-tests/test/com/google/common/base/ |
AbstractIteratorTest.java | 25 import java.lang.ref.WeakReference; 171 WeakReference<Object> ref = new WeakReference<Object>(itr.next()); local 172 GcFinalization.awaitClear(ref);
|
/external/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/make.heap/ |
make_heap_comp.pass.cpp | 51 std::make_heap(ia, ia+N, std::ref(pred)); 61 std::make_heap(ia, ia+N, std::ref(pred)); 70 std::make_heap(ia, ia+N, std::ref(pred));
|
/external/skia/src/gpu/vk/ |
GrVkResourceProvider.cpp | 48 renderPass->ref(); 56 renderPass->ref(); 68 cmdBuffer->ref();
|
/external/tpm2/ |
Policy_spt.c | 82 TPM2B_NONCE *ref, // IN: the reference data 108 if(ref != NULL) 109 CryptUpdateDigest2B(&hashState, &ref->b);
|
/external/v8/src/crankshaft/ |
hydrogen-dce.cc | 33 void HDeadCodeEliminationPhase::PrintLive(HValue* ref, HValue* instr) { 37 if (ref != NULL) { 38 os << *ref; local
|
/external/webrtc/webrtc/voice_engine/ |
voice_engine_impl.cc | 124 int ref = s->Release(); local 127 if (ref != 0) { 132 ref);
|
/frameworks/base/tools/aapt2/ |
StringPool.h | 52 class Ref { 54 Ref(); 55 Ref(const Ref&); 56 ~Ref(); 58 Ref& operator=(const Ref& rhs); 68 Ref(Entry* entry); 104 friend class Ref; 106 int ref; member in class:aapt::StringPool::Entry 124 int ref; member in class:aapt::StringPool::StyleEntry [all...] |
/frameworks/base/tools/aapt2/test/ |
Common.h | 66 ResourceNameRef ref; local 67 bool result = ResourceUtils::tryParseReference(str, &ref); 69 return ref.toResourceName();
|
/libnativehelper/include/nativehelper/ |
JNIHelp.h | 102 * Returns the reference from a java.lang.ref.Reference. 104 jobject jniGetReferent(C_JNIEnv* env, jobject ref); 167 inline jobject jniGetReferent(JNIEnv* env, jobject ref) { 168 return jniGetReferent(&env->functions, ref);
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ctypes/test/ |
test_python_api.py | 61 ref = grc(s) 66 self.assertEqual(grc(s), ref + 1) 68 self.assertEqual(grc(s), ref)
|
/prebuilts/gdb/linux-x86/lib/python2.7/ctypes/test/ |
test_python_api.py | 61 ref = grc(s) 66 self.assertEqual(grc(s), ref + 1) 68 self.assertEqual(grc(s), ref)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_python_api.py | 61 ref = grc(s) 66 self.assertEqual(grc(s), ref + 1) 68 self.assertEqual(grc(s), ref)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_python_api.py | 61 ref = grc(s) 66 self.assertEqual(grc(s), ref + 1) 68 self.assertEqual(grc(s), ref)
|
/external/e2fsprogs/misc/ |
e2image.c | 826 struct ext2_qcow2_refcount *ref; local 830 ref = &(img->refcount); 843 ref->refcount_table_offset = table_offset; 844 ref->refcount_table_clusters = table_clusters; 845 ref->refcount_table_index = 0; 846 ref->refcount_block_index = 0; 849 ret = ext2fs_get_arrayzero(ref->refcount_table_clusters, 850 img->cluster_size, &ref->refcount_table); 855 ret = ext2fs_get_arrayzero(1, img->cluster_size, &ref->refcount_block); 857 ext2fs_free_mem(&ref->refcount_table) 1067 struct ext2_qcow2_refcount *ref; local 1106 struct ext2_qcow2_refcount *ref; local [all...] |