/libcore/benchmarks/src/benchmarks/ |
ReferenceGetBenchmark.java | 20 import java.lang.ref.Reference; 21 import java.lang.ref.SoftReference; 22 import java.lang.ref.WeakReference;
|
/packages/apps/Camera2/src_pd/com/android/camera/stats/ |
UsageStatistics.java | 45 public void mediaInteraction(String ref, int interactionType, int cause, float age) { 48 public void mediaView(String ref, long modifiedMillis, float zoom) { 68 public void videoCaptureDoneEvent(String ref, long durationMsec, boolean front,
|
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-powerpc/ |
aix-ref-1.s | 24 .ref foo4 , foo6 43 .ref foo3 53 .ref foo2
|
/art/runtime/gc/collector/ |
concurrent_copying.cc | 410 // objects, aside from weak ref accesses with read barriers (Reference::GetReferent() and system 417 // call above. At the same time, disable weak ref accesses using a per-thread flag. It's 419 // won't newly gray objects and push new refs onto the mark stack due to weak ref accesses and 421 // the thread-local mark stacks), without a race. This is why we use a thread-local weak ref 455 // Re-enable weak ref accesses. 476 // Iterate all threads (don't need to or can't use a checkpoint) and re-enable weak ref access. 539 // still in the middle of a read barrier which may have a from-space ref cached in a local 576 for (auto& ref : temp) { 577 gc_mark_stack_->PushBack(ref.AsMirrorPtr()); 635 << "ref=" << to_re 706 mirror::Object* ref = variable 709 visitor(ref); variable 838 mirror::Object* ref = variable 841 visitor(ref); variable 1560 << "Unmarked immune space ref. obj=" << obj << " ref=" << ref; local 1577 << "obj=" << obj << " ref=" << ref; local 1629 mirror::Object* ref = obj->GetFieldObject< local 1653 mirror::Object* ref = *root; local 1672 mirror::Object* const ref = root->AsMirrorPtr(); member in class:art::gc::collector::mirror [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/ |
h264bsd_interpolate_ver_half.s | 33 ref RN 0 label 126 ADD ref,sp,#0x28 ;// ref = p1 135 ADD ref, ref, tmp6 ;// ref += y0*width+x0 150 LDR tmp1, [ref], width ;// |a4|a3|a2|a1| 151 LDR tmp2, [ref], width ;// |c4|c3|c2|c1| 152 LDR tmp3, [ref], width ;// |g4|g3|g2|g1| 153 LDR tmp4, [ref], width ;// |m4|m3|m2|m1 [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
sad_halfpel.cpp | 19 Int HalfPel1_SAD_MB(UChar *ref,UChar *blk,Int dmin,Int width,Int ih,Int jh) 20 Int HalfPel2_SAD_MB(UChar *ref,UChar *blk,Int dmin,Int width) 21 Int HalfPel1_SAD_Blk(UChar *ref,UChar *blk,Int dmin,Int width,Int ih,Int jh) 22 Int HalfPel2_SAD_Blk(UChar *ref,UChar *blk,Int dmin,Int width) 24 Int SAD_MB_HalfPel_C(UChar *ref,UChar *blk,Int dmin,Int width,Int rx,Int xh,Int yh,void *extra_info) 25 Int SAD_MB_HP_HTFM_Collect(UChar *ref,UChar *blk,Int dmin,Int width,Int rx,Int xh,Int yh,void *extra_info) 26 Int SAD_MB_HP_HTFM(UChar *ref,UChar *blk,Int dmin,Int width,Int rx,Int xh,Int yh,void *extra_info) 27 Int SAD_Blk_HalfPel_C(UChar *ref,UChar *blk,Int dmin,Int width,Int rx,Int xh,Int yh,void *extra_info) 59 Purpose: Compute SAD 16x16 between blk and ref in halfpel 64 Int HalfPel1_SAD_MB(UChar *ref, UChar *blk, Int dmin, Int width, Int ih, Int jh [all...] |
/external/clang/test/Analysis/ |
reference.cpp | 19 char& ref(); 23 ref() = 'c'; 36 char& r = ref(); 122 clang_analyzer_eval(&ref() != 0); // expected-warning{{TRUE}} 166 extern void use(int &ref);
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
GcFinalization.java | 23 import java.lang.ref.WeakReference; 248 * return ref.get() == null; 254 public static void awaitClear(final WeakReference<?> ref) { 257 return ref.get() == null; 286 WeakReference<Object> ref = new WeakReference<Object>( local 292 awaitClear(ref);
|
/external/mesa3d/src/gallium/drivers/nv50/ |
nv50_winsys.h | 30 struct nouveau_bufref *ref = local 32 ref->priv = res; 33 ref->priv_data = flags; 45 struct nouveau_pushbuf_refn ref = { bo, flags }; local 46 nouveau_pushbuf_refn(push, &ref, 1);
|
/external/skia/include/core/ |
SkRefCnt.h | 18 objects. When an existing owner wants to share a reference, it calls ref(). 60 void ref() const { function in class:SkRefCntBase 79 // A release here acts in place of all releases we "should" have been doing in ref(). 109 * Called when the ref count goes to 0. 136 null in on each side of the assignment, and ensuring that ref() is called 141 if (src) src->ref(); \ 147 /** Call obj->ref() and return obj. The obj must not be nullptr. 151 obj->ref(); 155 /** Check if the argument is non-null, and if so, call obj->ref() and return obj. 159 obj->ref(); 217 void ref() const { (void)sk_atomic_fetch_add(&fRefCnt, +1, sk_memory_order_relaxed); } function in class:SkNVRefCnt [all...] |
/external/skia/tests/ |
DrawTextTest.cpp | 27 /** Assumes that the ref draw was completely inside ref canvas -- 30 ref is "bgColor". 32 static bool compare(const SkBitmap& ref, const SkIRect& iref, 38 SkAutoLockPixels alpRef(ref); 47 if (refX >= 0 && refX < ref.width() && 48 refY >= 0 && refY < ref.height()) 50 refColor = ref.getColor(refX, refY);
|
FontHostStreamTest.cpp | 31 /** Assumes that the ref draw was completely inside ref canvas -- 34 ref is "bgColor". 36 static bool compare(const SkBitmap& ref, const SkIRect& iref, 42 SkAutoLockPixels alpRef(ref); 51 if (refX >= 0 && refX < ref.width() && 52 refY >= 0 && refY < ref.height()) 54 refColor = ref.getColor(refX, refY);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ref/ |
PhantomReferenceTest.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 libcore.java.lang.ref.FinalizationTester; 36 * java.lang.ref.PhantomReference#get() 110 * java.lang.ref.PhantomReference#PhantomReference(java.lang.Object, 111 * java.lang.ref.ReferenceQueue)
|
/art/runtime/ |
reference_table.cc | 128 // change during the sorting process. The classes are forwarded by ref->GetClass(). 166 mirror::Object* ref = entries[idx].Read(); local 167 if (ref == nullptr) { 170 if (runtime->IsClearedJniWeakGlobal(ref)) { 174 if (ref->GetClass() == nullptr) { 176 size_t size = ref->SizeOf(); 177 os << StringPrintf(" %5d: %p (raw) (%zd bytes)\n", idx, ref, size); 181 std::string className(PrettyTypeOf(ref)); 184 size_t element_count = GetElementCount(ref); 187 } else if (ref->GetClass()->IsStringClass()) [all...] |
java_vm_ext.h | 135 mirror::Object* DecodeGlobal(IndirectRef ref) 138 void UpdateGlobal(Thread* self, IndirectRef ref, mirror::Object* result) 141 mirror::Object* DecodeWeakGlobal(Thread* self, IndirectRef ref) 145 mirror::Object* DecodeWeakGlobalLocked(Thread* self, IndirectRef ref) 151 mirror::Object* DecodeWeakGlobalDuringShutdown(Thread* self, IndirectRef ref) 155 // Checks if the weak global ref has been cleared by the GC without decode (read barrier.) 156 bool IsWeakGlobalCleared(Thread* self, IndirectRef ref) 164 void UpdateWeakGlobal(Thread* self, IndirectRef ref, mirror::Object* result)
|
/development/perftests/panorama/feature_stab/src/dbregtest/ |
dbregtest.cpp | 155 PgmImage ref(file_name); 157 if ( ref.GetDataPointer() == NULL ) 163 cout << ref << endl; 166 int format = ref.GetFormat(); 171 w = ref.GetWidth(); 172 h = ref.GetHeight(); 185 color_ref = ref; 189 ref.ConvertToGray(); 202 reg.AddFrame(ref.GetRowPointers(),H,false,false); 215 reg.UpdateReference(ref.GetRowPointers()) [all...] |
/packages/apps/LegacyCamera/jni/feature_stab/src/dbregtest/ |
dbregtest.cpp | 155 PgmImage ref(file_name); 157 if ( ref.GetDataPointer() == NULL ) 163 cout << ref << endl; 166 int format = ref.GetFormat(); 171 w = ref.GetWidth(); 172 h = ref.GetHeight(); 185 color_ref = ref; 189 ref.ConvertToGray(); 202 reg.AddFrame(ref.GetRowPointers(),H,false,false); 215 reg.UpdateReference(ref.GetRowPointers()) [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
DebugInfoItem.java | 43 private final CstMethodRef ref; field in class:DebugInfoItem 45 public DebugInfoItem(DalvCode code, boolean isStatic, CstMethodRef ref) { 55 this.ref = ref; 80 "...while placing debug info for " + ref.toHuman()); 148 DebugInfoDecoder.validateEncode(result, file, ref, code, 183 file, codeSize, regSize, isStatic, ref);
|
/dalvik/dx/src/com/android/dx/dex/file/ |
DebugInfoItem.java | 40 private final CstMethodRef ref; field in class:DebugInfoItem 42 public DebugInfoItem(DalvCode code, boolean isStatic, CstMethodRef ref) { 52 this.ref = ref; 77 "...while placing debug info for " + ref.toHuman()); 145 DebugInfoDecoder.validateEncode(result, file, ref, code, 180 file, codeSize, regSize, isStatic, ref);
|
/external/clang/test/OpenMP/ |
simd_ast_print.cpp | 15 N &ref = i; local 18 #pragma omp simd private(myind, g_ind), linear(ind), aligned(arr), linear(uval(ref)) 19 // CHECK-NEXT: #pragma omp simd private(myind,g_ind) linear(ind) aligned(arr) linear(uval(ref)) 36 T &ref = res; local 40 // CHECK: T &ref = res; 41 #pragma omp simd private(val) safelen(7) linear(lin : -5) lastprivate(res) simdlen(5) linear(ref(ref)) 42 // CHECK-NEXT: #pragma omp simd private(val) safelen(7) linear(lin: -5) lastprivate(res) simdlen(5) linear(ref(ref)) 96 int &ref = b local [all...] |
/external/clang/test/SemaCXX/ |
constructor-initializer.cpp | 175 T &ref; member in struct:NDC 178 NDC(T &ref) : ref(ref) { } 182 X0(int &ref) : NDC<int>(ref), ndc(ref) { }
|
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
DebugInfoItem.java | 41 private final CstMethodRef ref; field in class:DebugInfoItem 43 public DebugInfoItem(DalvCode code, boolean isStatic, CstMethodRef ref) { 53 this.ref = ref; 78 "...while placing debug info for " + ref.toHuman()); 146 DebugInfoDecoder.validateEncode(result, file, ref, code, 181 file, codeSize, regSize, isStatic, ref);
|
/external/guice/core/test/com/google/inject/ |
Asserts.java | 41 import java.lang.ref.ReferenceQueue; 42 import java.lang.ref.WeakReference; 171 WeakReference ref = new WeakReference<Object>(new Object(), queue); 174 assertSame("queue didn't return ref in time", ref, queue.remove(5000)); 182 public static void awaitClear(WeakReference<?> ref) { 185 Object data = ref.get(); 193 GcFinalization.awaitClear(ref); 196 assertSame("queue didn't return ref in time", extraRef, queue.remove(5000));
|
/frameworks/base/tools/aapt2/process/ |
SymbolTable.h | 95 const Symbol* findByReference(const Reference& ref); 122 virtual std::unique_ptr<SymbolTable::Symbol> findByReference(const Reference& ref) { 123 if (ref.name) { 124 return findByName(ref.name.value()); 125 } else if (ref.id) { 126 return findById(ref.id.value()); 162 std::unique_ptr<SymbolTable::Symbol> findByReference(const Reference& ref) override;
|
/external/libvpx/libvpx/vpx_dsp/ |
sad.c | 44 int height, const uint8_t *ref, int ref_stride) { 49 const int tmp = pred[j] + ref[j]; 54 ref += ref_stride; 64 uint16_t *ref = CONVERT_TO_SHORTPTR(ref8); local 67 const int tmp = pred[j] + ref[j]; 72 ref += ref_stride; 79 const uint8_t *ref, int ref_stride) { \ 80 return sad(src, src_stride, ref, ref_stride, m, n); \ 83 const uint8_t *ref, int ref_stride, \ 86 avg_pred(comp_pred, second_pred, m, n, ref, ref_stride); [all...] |