HomeSort by relevance Sort by last modified time
    Searched refs:ref (Results 26 - 50 of 3742) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/libchrome/base/mac/
scoped_cffiledescriptorref.h 19 static void Free(CFFileDescriptorRef ref) {
20 CFFileDescriptorInvalidate(ref);
21 CFRelease(ref);
  /external/mockito/src/test/java/org/mockitousage/bugs/creation/
PublicMethodInParentWithNonPublicTypeInSignatureTest.java 11 private Object ref; field in class:PublicMethodInParentWithNonPublicTypeInSignatureTest
15 ref = new PublicClass();
20 ref = Mockito.mock(PublicClass.class);
  /frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/
TestUtils.java 19 import java.lang.ref.WeakReference;
25 WeakReference ref = new WeakReference<>(obj); local
28 while (ref.get() != null) {
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/lib/gcc/x86_64-w64-mingw32/4.8.3/plugin/include/
ipa-ref-inline.h 21 /* Return callgraph node REF is referring. */
23 ipa_ref_node (struct ipa_ref *ref)
25 return cgraph (ref->referred);
28 /* Return varpool node REF is referring. */
31 ipa_ref_varpool_node (struct ipa_ref *ref)
33 return varpool (ref->referred);
36 /* Return cgraph node REF is in. */
39 ipa_ref_referring_node (struct ipa_ref *ref)
41 return cgraph (ref->referring);
44 /* Return varpool node REF is in. *
    [all...]
  /art/runtime/gc/
reference_queue.cc 32 void ReferenceQueue::AtomicEnqueueIfNotEnqueued(Thread* self, ObjPtr<mirror::Reference> ref) {
33 DCHECK(ref != nullptr);
35 if (ref->IsUnprocessed()) {
36 EnqueueReference(ref);
40 void ReferenceQueue::EnqueueReference(ObjPtr<mirror::Reference> ref) {
41 DCHECK(ref != nullptr);
42 CHECK(ref->IsUnprocessed());
44 // 1 element cyclic queue, ie: Reference ref = ..; ref.pendingNext = ref;
59 ObjPtr<mirror::Reference> ref = list_->GetPendingNext<kWithoutReadBarrier>(); local
134 ObjPtr<mirror::Reference> ref = DequeuePendingReference(); local
156 ObjPtr<mirror::FinalizerReference> ref = DequeuePendingReference()->AsFinalizerReference(); local
183 ObjPtr<mirror::Reference> ref = head; local
    [all...]
  /art/runtime/
obj_ptr-inl.h 43 uintptr_t ref = reinterpret_cast<uintptr_t>(ptr); local
44 DCHECK_ALIGNED(ref, kObjectAlignment);
45 if (kObjPtrPoisoning && ref != 0) {
46 DCHECK_LE(ref, 0xFFFFFFFFU);
47 ref >>= kObjectAlignmentShift;
51 ref |= self->GetPoisonObjectCookie() << kCookieShift;
53 return ref;
gc_root-inl.h 37 inline GcRoot<MirrorType>::GcRoot(MirrorType* ref)
38 : root_(mirror::CompressedReference<mirror::Object>::FromMirrorPtr(ref)) { }
41 inline GcRoot<MirrorType>::GcRoot(ObjPtr<MirrorType> ref)
42 : GcRoot(ref.Ptr()) { }
  /external/compiler-rt/test/BlocksRuntime/
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 54 SkRefCnt ref; variable
56 ref.ref();
57 ref.unref();
89 PlacedRefCnt* ref = new (memory) PlacedRefCnt(); variable
91 ref->ref();
92 ref->unref();
94 ref->unref();
115 SkRefCnt* ref = new SkRefCnt() variable
143 SkWeakRefCnt ref; variable
175 PlacedWeakRefCnt* ref = new (memory) PlacedWeakRefCnt(); variable
201 SkWeakRefCnt* ref = new SkWeakRefCnt(); variable
    [all...]
  /frameworks/rs/
rsObjectBase.h 107 ObjectBaseRef(const ObjectBaseRef &ref) {
108 mRef = ref.get();
114 ObjectBaseRef(T *ref) { // NOLINT, implicit
115 mRef = ref;
117 ref->incSysRef();
121 ObjectBaseRef & operator= (const ObjectBaseRef &ref) {
122 if (&ref != this) {
123 set(ref);
132 void set(T *ref) {
133 if (mRef != ref) {
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/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...]
  /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/icu/android_icu4j/src/main/java/android/icu/impl/coll/
SharedObject.java 102 private T ref; field in class:SharedObject.Reference
105 ref = r;
121 if(ref != null) {
122 ref.addRef();
127 public T readOnly() { return ref; }
136 T r = ref;
141 ref = r2;
147 if(ref != null) {
148 ref.removeRef();
149 ref = null
    [all...]
  /external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
SharedObject.java 100 private T ref; field in class:SharedObject.Reference
103 ref = r;
119 if(ref != null) {
120 ref.addRef();
125 public T readOnly() { return ref; }
134 T r = ref;
139 ref = r2;
145 if(ref != null) {
146 ref.removeRef();
147 ref = null
    [all...]
  /external/mesa3d/src/gallium/drivers/llvmpipe/
lp_bld_alpha.c 55 LLVMValueRef ref,
78 ref = lp_build_clamp(&bld, ref, bld.zero, bld.one);
81 ref = lp_build_clamped_float_to_unsigned_norm(gallivm, type, dst_width, ref);
87 test = lp_build_cmp(&bld, func, alpha, ref);
  /art/compiler/utils/
intrusive_forward_list_test.cc 76 std::forward_list<int> ref({ 1, 2, 7 });
77 std::vector<IFLTestValue> storage(ref.begin(), ref.end());
79 ASSERT_LISTS_EQUAL(ref, ifl);
97 std::forward_list<int> ref; local
99 ASSERT_LISTS_EQUAL(ref, ifl);
100 ref.push_front(3);
102 ASSERT_LISTS_EQUAL(ref, ifl);
104 ref.push_front(7);
106 ASSERT_LISTS_EQUAL(ref, ifl)
122 std::forward_list<int> ref; local
153 std::forward_list<int> ref; local
    [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}}
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
SimpleCache.java 13 import java.lang.ref.Reference;
14 import java.lang.ref.SoftReference;
15 import java.lang.ref.WeakReference;
48 Reference<Map<K, V>> ref = cacheRef; local
49 if (ref != null) {
50 Map<K, V> map = ref.get();
60 Reference<Map<K, V>> ref = cacheRef; local
62 if (ref != null) {
63 map = ref.get();
68 ref = new WeakReference<Map<K, V>>(map)
    [all...]
  /external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/impl/
SimpleCache.java 12 import java.lang.ref.Reference;
13 import java.lang.ref.SoftReference;
14 import java.lang.ref.WeakReference;
43 Reference<Map<K, V>> ref = cacheRef; local
44 if (ref != null) {
45 Map<K, V> map = ref.get();
54 Reference<Map<K, V>> ref = cacheRef; local
56 if (ref != null) {
57 map = ref.get();
62 ref = new WeakReference<Map<K, V>>(map)
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
SimpleCache.java 12 import java.lang.ref.Reference;
13 import java.lang.ref.SoftReference;
14 import java.lang.ref.WeakReference;
44 Reference<Map<K, V>> ref = cacheRef; local
45 if (ref != null) {
46 Map<K, V> map = ref.get();
56 Reference<Map<K, V>> ref = cacheRef; local
58 if (ref != null) {
59 map = ref.get();
64 ref = new WeakReference<Map<K, V>>(map)
    [all...]
  /external/skia/src/gpu/
GrNonAtomicRef.h 15 * A simple non-atomic ref used in the GrBackend when we don't want to pay for the overhead of a
16 * threadsafe ref counted object
33 void ref() const { function in class:GrNonAtomicRef
34 // Once the ref cnt reaches zero it should never be ref'ed again.
54 template<typename T> inline void GrTDeleteNonAtomicRef(const T* ref) {
55 delete ref;
  /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());
  /external/compiler-rt/test/profile/Inputs/
instrprof-icall-promo_1.cc 7 int ref(A* ap) { return ap->A::foo(); } function
  /external/guava/guava/src/com/google/common/base/
Platform.java 21 import java.lang.ref.WeakReference;
42 WeakReference<? extends Enum<?>> ref = Enums.getEnumConstants(enumClass).get(value); local
43 return ref == null
45 : Optional.of(enumClass.cast(ref.get()));
  /external/libcxx/test/std/utilities/function.objects/refwrap/refwrap.helpers/
ref_1.fail.cpp 14 // template <ObjectType T> reference_wrapper<T> ref(T& t);
28 std::reference_wrapper<const A> r = std::ref(source());

Completed in 1726 milliseconds

12 3 4 5 6 7 8 91011>>