/external/libchrome/base/mac/ |
scoped_cffiledescriptorref.h | 19 static void Free(CFFileDescriptorRef ref) { 20 CFFileDescriptorInvalidate(ref); 21 CFRelease(ref);
|
/external/srtp/test/ |
roc_driver.c | 86 xtd_seq_num_t local, est, ref; local 94 index_init(&ref); 99 delta = index_guess(&local, &est, (uint16_t) ref); 101 printf("%lld, %lld, %d\n", ref, est, i); 103 if (ref != est) { 109 index_advance(&ref, 1); 122 index_init(&ref); 131 /* set ref to value of ircvd */ 132 ref = ircvd; 135 delta = index_guess(&local, &est, (uint16_t) ref); [all...] |
/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...] |
/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 | 78 SkRefCnt ref; variable 80 ref.ref(); 81 ref.unref(); 113 PlacedRefCnt* ref = new (memory) PlacedRefCnt(); variable 115 ref->ref(); 116 ref->unref(); 118 ref->unref(); 139 SkRefCnt* ref = new SkRefCnt() variable 167 SkWeakRefCnt ref; variable 199 PlacedWeakRefCnt* ref = new (memory) PlacedWeakRefCnt(); variable 225 SkWeakRefCnt* ref = new SkWeakRefCnt(); variable [all...] |
/art/compiler/dex/ |
verification_results.cc | 49 MethodReference ref = method_verifier->GetMethodReference(); local 50 bool compile = IsCandidateForCompilation(ref, method_verifier->GetAccessFlags()); 58 auto it = verified_methods_.find(ref); 62 << PrettyMethod(ref.dex_method_index, *ref.dex_file); 73 verified_methods_.Put(ref, verified_method); 74 DCHECK(verified_methods_.find(ref) != verified_methods_.end()); 77 const VerifiedMethod* VerificationResults::GetVerifiedMethod(MethodReference ref) { 79 auto it = verified_methods_.find(ref); 83 void VerificationResults::AddRejectedClass(ClassReference ref) { [all...] |
/frameworks/rs/ |
rsObjectBase.h | 107 ObjectBaseRef(const ObjectBaseRef &ref) { 108 mRef = ref.get(); 114 ObjectBaseRef(T *ref) { 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 | 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/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
SharedObject.java | 98 private T ref; field in class:SharedObject.Reference 101 ref = r; 117 if(ref != null) { 118 ref.addRef(); 123 public T readOnly() { return ref; } 132 T r = ref; 137 ref = r2; 143 if(ref != null) { 144 ref.removeRef(); 145 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 | 11 import java.lang.ref.Reference; 12 import java.lang.ref.SoftReference; 13 import java.lang.ref.WeakReference; 45 Reference<Map<K, V>> ref = cacheRef; local 46 if (ref != null) { 47 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/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/impl/ |
SimpleCache.java | 10 import java.lang.ref.Reference; 11 import java.lang.ref.SoftReference; 12 import java.lang.ref.WeakReference; 41 Reference<Map<K, V>> ref = cacheRef; local 42 if (ref != null) { 43 Map<K, V> map = ref.get(); 52 Reference<Map<K, V>> ref = cacheRef; local 54 if (ref != null) { 55 map = ref.get(); 60 ref = new WeakReference<Map<K, V>>(map) [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
SimpleCache.java | 10 import java.lang.ref.Reference; 11 import java.lang.ref.SoftReference; 12 import java.lang.ref.WeakReference; 41 Reference<Map<K, V>> ref = cacheRef; local 42 if (ref != null) { 43 Map<K, V> map = ref.get(); 52 Reference<Map<K, V>> ref = cacheRef; local 54 if (ref != null) { 55 map = ref.get(); 60 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 31 void ref() const { function in class:GrNonAtomicRef 32 // Once the ref cnt reaches zero it should never be ref'ed again. 52 template<typename T> inline void GrTDeleteNonAtomicRef(const T* ref) { 53 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/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/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); 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);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/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());
|