/external/guava/android/guava-tests/test/com/google/common/cache/ |
D | AbstractLoadingCacheTest.java | 36 final AtomicReference<Object> valueRef = new AtomicReference<>(); in testGetUnchecked_checked() local 41 Object v = valueRef.get(); in testGetUnchecked_checked() 50 return valueRef.get(); in testGetUnchecked_checked() 62 valueRef.set(newValue); in testGetUnchecked_checked() 68 final AtomicReference<Object> valueRef = new AtomicReference<>(); in testGetUnchecked_unchecked() local 73 Object v = valueRef.get(); in testGetUnchecked_unchecked() 82 return valueRef.get(); in testGetUnchecked_unchecked() 94 valueRef.set(newValue); in testGetUnchecked_unchecked() 100 final AtomicReference<Object> valueRef = new AtomicReference<>(); in testGetUnchecked_error() local 105 Object v = valueRef.get(); in testGetUnchecked_error() [all …]
|
D | LocalCacheTest.java | 633 DummyValueReference<Object, Object> valueRef = DummyValueReference.create(value); in testComputePartiallyCollectedKey() local 634 entry.setValueReference(valueRef); in testComputePartiallyCollectedKey() 662 DummyValueReference<Object, Object> valueRef = DummyValueReference.create(value); in testComputePartiallyCollectedValue() local 663 entry.setValueReference(valueRef); in testComputePartiallyCollectedValue() 671 valueRef.clear(); in testComputePartiallyCollectedValue() 875 DummyValueReference<Object, Object> valueRef = DummyValueReference.create(null); in testSegmentRefresh_duplicate() local 876 valueRef.setLoading(true); in testSegmentRefresh_duplicate() 877 entry.setValueReference(valueRef); in testSegmentRefresh_duplicate() 1137 ValueReference<Object, Object> valueRef = map.newValueReference(entry, value, 1); in testSegmentGetAndContains() local 1138 entry.setValueReference(valueRef); in testSegmentGetAndContains() [all …]
|
D | AbstractCacheTest.java | 36 final AtomicReference<Object> valueRef = new AtomicReference<>(); in testGetIfPresent() local 41 return valueRef.get(); in testGetIfPresent() 48 valueRef.set(newValue); in testGetIfPresent()
|
D | CacheTesting.java | 67 ValueReference<K, V> valueRef = entry.getValueReference(); in simulateValueReclamation() local 69 Preconditions.checkState(valueRef instanceof Reference); in simulateValueReclamation() 70 Reference<V> ref = (Reference<V>) valueRef; in simulateValueReclamation()
|
/external/guava/guava-tests/test/com/google/common/cache/ |
D | AbstractLoadingCacheTest.java | 36 final AtomicReference<Object> valueRef = new AtomicReference<>(); in testGetUnchecked_checked() local 41 Object v = valueRef.get(); in testGetUnchecked_checked() 50 return valueRef.get(); in testGetUnchecked_checked() 62 valueRef.set(newValue); in testGetUnchecked_checked() 68 final AtomicReference<Object> valueRef = new AtomicReference<>(); in testGetUnchecked_unchecked() local 73 Object v = valueRef.get(); in testGetUnchecked_unchecked() 82 return valueRef.get(); in testGetUnchecked_unchecked() 94 valueRef.set(newValue); in testGetUnchecked_unchecked() 100 final AtomicReference<Object> valueRef = new AtomicReference<>(); in testGetUnchecked_error() local 105 Object v = valueRef.get(); in testGetUnchecked_error() [all …]
|
D | LocalCacheTest.java | 630 DummyValueReference<Object, Object> valueRef = DummyValueReference.create(value); in testComputePartiallyCollectedKey() local 631 entry.setValueReference(valueRef); in testComputePartiallyCollectedKey() 659 DummyValueReference<Object, Object> valueRef = DummyValueReference.create(value); in testComputePartiallyCollectedValue() local 660 entry.setValueReference(valueRef); in testComputePartiallyCollectedValue() 668 valueRef.clear(); in testComputePartiallyCollectedValue() 888 DummyValueReference<Object, Object> valueRef = DummyValueReference.create(null); in testSegmentRefresh_duplicate() local 889 valueRef.setLoading(true); in testSegmentRefresh_duplicate() 890 entry.setValueReference(valueRef); in testSegmentRefresh_duplicate() 1150 ValueReference<Object, Object> valueRef = map.newValueReference(entry, value, 1); in testSegmentGetAndContains() local 1151 entry.setValueReference(valueRef); in testSegmentGetAndContains() [all …]
|
D | AbstractCacheTest.java | 36 final AtomicReference<Object> valueRef = new AtomicReference<>(); in testGetIfPresent() local 41 return valueRef.get(); in testGetIfPresent() 48 valueRef.set(newValue); in testGetIfPresent()
|
D | CacheTesting.java | 67 ValueReference<K, V> valueRef = entry.getValueReference(); in simulateValueReclamation() local 69 Preconditions.checkState(valueRef instanceof Reference); in simulateValueReclamation() 70 Reference<V> ref = (Reference<V>) valueRef; in simulateValueReclamation()
|
/external/eigen/Eigen/src/SparseCore/ |
D | SparseCwiseUnaryOp.h | 69 Scalar& valueRef(); 116 EIGEN_STRONG_INLINE Scalar& valueRef() { return m_functor(Base::valueRef()); } 132 i.valueRef() *= other; 144 i.valueRef() /= other;
|
D | SparseCompressedBase.h | 220 inline Scalar& valueRef() { return const_cast<Scalar&>(m_values[m_id]); } 288 inline Scalar& valueRef() { return const_cast<Scalar&>(m_values[m_id-1]); }
|
/external/robolectric/resources/src/main/java/org/robolectric/res/android/ |
D | AttributeResolution.java | 83 Ref<Res_value> valueRef = new Ref<>(null); in ResolveAttrs() local 84 if (theme.GetAttribute(defStyleAttr, valueRef, defStyleBagTypeSetFlags) >= 0) { in ResolveAttrs() 85 value = valueRef.get(); in ResolveAttrs() 144 Ref<Res_value> valueRef = new Ref<>(value); in ResolveAttrs() local 150 int newBlock = theme.resolveAttributeReference(valueRef, block, in ResolveAttrs() 152 value = valueRef.get(); in ResolveAttrs() 163 int newBlock = theme.GetAttribute(curIdent, valueRef, typeSetFlagsRef); in ResolveAttrs() 164 value = valueRef.get(); in ResolveAttrs() 171 newBlock = res.resolveReference(valueRef, newBlock, residRef, typeSetFlagsRef, configRef); in ResolveAttrs() 172 value = valueRef.get(); in ResolveAttrs()
|
D | AttributeResolution9.java | 107 final Ref<Res_value> valueRef = new Ref<>(null); in ResolveAttrs() local 108 … if (theme.GetAttribute(def_style_attr, valueRef, def_style_flags).intValue() != kInvalidCookie) { in ResolveAttrs() 109 value = valueRef.get(); in ResolveAttrs() 165 final Ref<Res_value> valueRef = new Ref<>(value); in ResolveAttrs() local 172 … theme.ResolveAttributeReference(cookie, valueRef, configRef, type_set_flagsRef, residRef); in ResolveAttrs() 181 ApkAssetsCookie new_cookie = theme.GetAttribute(cur_ident, valueRef, type_set_flagsRef); in ResolveAttrs() 187 … assetmanager.ResolveReference(new_cookie, valueRef, configRef, type_set_flagsRef, residRef); in ResolveAttrs() 196 value = valueRef.get(); in ResolveAttrs()
|
D | AttributeResolution10.java | 110 final Ref<Res_value> valueRef = new Ref<>(null); in ResolveAttrs() local 111 … if (theme.GetAttribute(def_style_attr, valueRef, def_style_flags).intValue() != kInvalidCookie) { in ResolveAttrs() 112 value = valueRef.get(); in ResolveAttrs() 168 final Ref<Res_value> valueRef = new Ref<>(value); in ResolveAttrs() local 175 … theme.ResolveAttributeReference(cookie, valueRef, configRef, type_set_flagsRef, residRef); in ResolveAttrs() 184 … ApkAssetsCookie new_cookie = theme.GetAttribute(cur_ident, valueRef, type_set_flagsRef); in ResolveAttrs() 190 … assetmanager.ResolveReference(new_cookie, valueRef, configRef, type_set_flagsRef, residRef); in ResolveAttrs() 199 value = valueRef.get(); in ResolveAttrs()
|
D | CppAssetManager2.java | 1023 final Ref<Res_value> valueRef = new Ref<>(new_entry_.value); in GetBag() local 1024 int err = entry.dynamic_ref_table.lookupResourceValue(valueRef); in GetBag() 1025 new_entry_.value = valueRef.get(); in GetBag() 1106 final Ref<Res_value> valueRef = new Ref<>(new_entry_.value); in GetBag() local 1107 int err = entry.dynamic_ref_table.lookupResourceValue(valueRef); in GetBag() 1108 new_entry_.value = valueRef.get(); in GetBag() 1154 final Ref<Res_value> valueRef = new Ref<>(new_entry_.value); in GetBag() local 1155 int err = entry.dynamic_ref_table.lookupResourceValue(valueRef); in GetBag() 1156 new_entry_.value = valueRef.get(); in GetBag()
|
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/ |
D | AttributeResolution.java | 82 Ref<Res_value> valueRef = new Ref<>(null); in ResolveAttrs() local 83 if (theme.GetAttribute(defStyleAttr, valueRef, defStyleBagTypeSetFlags) >= 0) { in ResolveAttrs() 84 value = valueRef.get(); in ResolveAttrs() 143 Ref<Res_value> valueRef = new Ref<>(value); in ResolveAttrs() local 149 int newBlock = theme.resolveAttributeReference(valueRef, block, in ResolveAttrs() 151 value = valueRef.get(); in ResolveAttrs() 162 int newBlock = theme.GetAttribute(curIdent, valueRef, typeSetFlagsRef); in ResolveAttrs() 163 value = valueRef.get(); in ResolveAttrs() 170 newBlock = res.resolveReference(valueRef, newBlock, residRef, typeSetFlagsRef, configRef); in ResolveAttrs() 171 value = valueRef.get(); in ResolveAttrs()
|
D | AttributeResolution9.java | 107 final Ref<Res_value> valueRef = new Ref<>(null); in ResolveAttrs() local 108 … if (theme.GetAttribute(def_style_attr, valueRef, def_style_flags).intValue() != kInvalidCookie) { in ResolveAttrs() 109 value = valueRef.get(); in ResolveAttrs() 165 final Ref<Res_value> valueRef = new Ref<>(value); in ResolveAttrs() local 172 … theme.ResolveAttributeReference(cookie, valueRef, configRef, type_set_flagsRef, residRef); in ResolveAttrs() 181 ApkAssetsCookie new_cookie = theme.GetAttribute(cur_ident, valueRef, type_set_flagsRef); in ResolveAttrs() 187 … assetmanager.ResolveReference(new_cookie, valueRef, configRef, type_set_flagsRef, residRef); in ResolveAttrs() 196 value = valueRef.get(); in ResolveAttrs()
|
D | AttributeResolution10.java | 111 final Ref<Res_value> valueRef = new Ref<>(null); in ResolveAttrs() local 112 … if (theme.GetAttribute(def_style_attr, valueRef, def_style_flags).intValue() != kInvalidCookie) { in ResolveAttrs() 113 value = valueRef.get(); in ResolveAttrs() 169 final Ref<Res_value> valueRef = new Ref<>(value); in ResolveAttrs() local 176 … theme.ResolveAttributeReference(cookie, valueRef, configRef, type_set_flagsRef, residRef); in ResolveAttrs() 185 … ApkAssetsCookie new_cookie = theme.GetAttribute(cur_ident, valueRef, type_set_flagsRef); in ResolveAttrs() 191 … assetmanager.ResolveReference(new_cookie, valueRef, configRef, type_set_flagsRef, residRef); in ResolveAttrs() 200 value = valueRef.get(); in ResolveAttrs()
|
D | CppAssetManager2.java | 1020 final Ref<Res_value> valueRef = new Ref<>(new_entry_.value); in GetBag() local 1021 int err = entry.dynamic_ref_table.lookupResourceValue(valueRef); in GetBag() 1022 new_entry_.value = valueRef.get(); in GetBag() 1100 final Ref<Res_value> valueRef = new Ref<>(new_entry_.value); in GetBag() local 1101 int err = entry.dynamic_ref_table.lookupResourceValue(valueRef); in GetBag() 1102 new_entry_.value = valueRef.get(); in GetBag() 1148 final Ref<Res_value> valueRef = new Ref<>(new_entry_.value); in GetBag() local 1149 int err = entry.dynamic_ref_table.lookupResourceValue(valueRef); in GetBag() 1150 new_entry_.value = valueRef.get(); in GetBag()
|
/external/eigen/unsupported/Eigen/src/IterativeSolvers/ |
D | IncompleteLU.h | 53 k_it.valueRef() /= diag(k); in compute() 62 j_it.valueRef() -= k_it.value() * kj_it.value(); in compute()
|
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowArscAssetManager.java | 635 final Ref<Res_value> valueRef = new Ref<>(null); in loadResourceBagValueInternal() local 645 valueRef.set(entry.map.value); in loadResourceBagValueInternal() 657 block = res.resolveReference(valueRef, block, ref, typeSpecFlags); in loadResourceBagValueInternal() 665 return copyValue(outValue, res, valueRef.get(), ref.get(), block, typeSpecFlags.get()); in loadResourceBagValueInternal() 1112 final Ref<Res_value> valueRef = new Ref<>(null); in getArrayStringResource() local 1116 valueRef.set(bag[i].map.value); in getArrayStringResource() 1120 int block = res.resolveReference(valueRef, bag[i].stringBlock, null); in getArrayStringResource() 1126 if (valueRef.get().dataType == DataType.STRING.code()) { in getArrayStringResource() 1128 str = pool.stringAt(valueRef.get().data); in getArrayStringResource() 1230 final Ref<Res_value> valueRef = new Ref<>(null); in getArrayIntResource() local [all …]
|
D | ShadowXmlBlock.java | 307 final Ref<Res_value> valueRef = new Ref<>(new Res_value()); in nativeGetStyleAttribute() local 308 if (resXMLParser.getAttributeValue(idx, valueRef) < 0) { in nativeGetStyleAttribute() 311 Res_value value = valueRef.get(); in nativeGetStyleAttribute()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowArscAssetManager.java | 634 final Ref<Res_value> valueRef = new Ref<>(null); in loadResourceBagValueInternal() local 644 valueRef.set(entry.map.value); in loadResourceBagValueInternal() 656 block = res.resolveReference(valueRef, block, ref, typeSpecFlags); in loadResourceBagValueInternal() 664 return copyValue(outValue, res, valueRef.get(), ref.get(), block, typeSpecFlags.get()); in loadResourceBagValueInternal() 1111 final Ref<Res_value> valueRef = new Ref<>(null); in getArrayStringResource() local 1115 valueRef.set(bag[i].map.value); in getArrayStringResource() 1119 int block = res.resolveReference(valueRef, bag[i].stringBlock, null); in getArrayStringResource() 1125 if (valueRef.get().dataType == DataType.STRING.code()) { in getArrayStringResource() 1127 str = pool.stringAt(valueRef.get().data); in getArrayStringResource() 1229 final Ref<Res_value> valueRef = new Ref<>(null); in getArrayIntResource() local [all …]
|
D | ShadowXmlBlock.java | 301 final Ref<Res_value> valueRef = new Ref<>(new Res_value()); in nativeGetStyleAttribute() local 302 if (resXMLParser.getAttributeValue(idx, valueRef) < 0) { in nativeGetStyleAttribute() 305 Res_value value = valueRef.get(); in nativeGetStyleAttribute()
|
/external/eigen/unsupported/Eigen/src/LevenbergMarquardt/ |
D | LMqrsolv.h | 155 itk.valueRef() = givens.c() * itk.value() + givens.s() * sdiag(k); in lmqrsolv() 166 itk.valueRef() = temp; in lmqrsolv()
|
/external/eigen/unsupported/Eigen/src/Skyline/ |
D | SkylineInplaceLU.h | 133 lIt.valueRef() /= pivot; in compute() 147 uIt.valueRef() -= uItPivot.value() * coef; in compute()
|