Home
last modified time | relevance | path

Searched refs:valueRef (Results 1 – 25 of 35) sorted by relevance

12

/external/guava/guava-tests/test/com/google/common/cache/
DAbstractLoadingCacheTest.java36 final AtomicReference<Object> valueRef = new AtomicReference<Object>(); in testGetUnchecked_checked() local
40 Object v = valueRef.get(); in testGetUnchecked_checked()
49 return valueRef.get(); in testGetUnchecked_checked()
61 valueRef.set(newValue); in testGetUnchecked_checked()
67 final AtomicReference<Object> valueRef = new AtomicReference<Object>(); in testGetUnchecked_unchecked() local
71 Object v = valueRef.get(); in testGetUnchecked_unchecked()
80 return valueRef.get(); in testGetUnchecked_unchecked()
92 valueRef.set(newValue); in testGetUnchecked_unchecked()
98 final AtomicReference<Object> valueRef = new AtomicReference<Object>(); in testGetUnchecked_error() local
102 Object v = valueRef.get(); in testGetUnchecked_error()
[all …]
DLocalCacheTest.java519 DummyValueReference<Object, Object> valueRef = DummyValueReference.create(value); in testComputePartiallyCollectedKey() local
520 entry.setValueReference(valueRef); in testComputePartiallyCollectedKey()
548 DummyValueReference<Object, Object> valueRef = DummyValueReference.create(value); in testComputePartiallyCollectedValue() local
549 entry.setValueReference(valueRef); in testComputePartiallyCollectedValue()
557 valueRef.clear(); in testComputePartiallyCollectedValue()
757 DummyValueReference<Object, Object> valueRef = DummyValueReference.create(null); in testSegmentRefresh_duplicate() local
758 valueRef.setLoading(true); in testSegmentRefresh_duplicate()
759 entry.setValueReference(valueRef); in testSegmentRefresh_duplicate()
1019 ValueReference<Object, Object> valueRef = map.newValueReference(entry, value, 1); in testSegmentGetAndContains() local
1020 entry.setValueReference(valueRef); in testSegmentGetAndContains()
[all …]
DAbstractCacheTest.java38 final AtomicReference<Object> valueRef = new AtomicReference<Object>(); in testGetIfPresent() local
42 return valueRef.get(); in testGetIfPresent()
49 valueRef.set(newValue); in testGetIfPresent()
DCacheTesting.java68 ValueReference<K, V> valueRef = entry.getValueReference(); in simulateValueReclamation() local
70 Preconditions.checkState(valueRef instanceof Reference); in simulateValueReclamation()
71 Reference<V> ref = (Reference<V>) valueRef; in simulateValueReclamation()
/external/eigen/Eigen/src/SparseCore/
DSparseCwiseUnaryOp.h68 Scalar& valueRef();
114 EIGEN_STRONG_INLINE Scalar& valueRef() { return m_functor(Base::valueRef()); }
130 i.valueRef() *= other;
142 i.valueRef() /= other;
DSparseCompressedBase.h190 inline Scalar& valueRef() { return const_cast<Scalar&>(m_values[m_id]); }
250 inline Scalar& valueRef() { return const_cast<Scalar&>(m_values[m_id-1]); }
DSparseTriangularView.h169 Scalar& valueRef();
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DAttributeResolution.java82 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()
DAttributeResolution9.java107 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()
DAttributeResolution10.java111 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()
DCppAssetManager2.java1020 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()
DResTableTheme.java76 public int GetAttribute(int resID, Ref<Res_value> valueRef, in GetAttribute() argument
131 valueRef.set(te.value); in GetAttribute()
/external/guava/guava-tests/test/com/google/common/collect/
DComputingConcurrentHashMapTest.java177 DummyValueReference<Object, Object> valueRef = DummyValueReference.create(value, entry); in testComputePartiallyCollectedKey() local
178 entry.setValueReference(valueRef); in testComputePartiallyCollectedKey()
206 DummyValueReference<Object, Object> valueRef = DummyValueReference.create(value, entry); in testComputePartiallyCollectedValue() local
207 entry.setValueReference(valueRef); in testComputePartiallyCollectedValue()
215 valueRef.clear(null); in testComputePartiallyCollectedValue()
DMapMakerInternalMapTest.java503 ValueReference<Object, Object> valueRef = map.newValueReference(entry, value); in testSegmentGetAndContains() local
504 entry.setValueReference(valueRef); in testSegmentGetAndContains()
850 ValueReference<Object, Object> valueRef = map.newValueReference(entry, value); in testExpand() local
851 entry.setValueReference(valueRef); in testExpand()
986 ValueReference<Object, Object> valueRef = DummyValueReference.create(value, entry); in testExpand_cleanup() local
987 entry.setValueReference(valueRef); in testExpand_cleanup()
1106 DummyValueReference<Object, Object> valueRef = DummyValueReference.create(value, entry); in testReclaimValue() local
1107 entry.setValueReference(valueRef); in testReclaimValue()
1110 assertFalse(segment.reclaimValue(key, hash, valueRef)); in testReclaimValue()
1116 assertTrue(segment.reclaimValue(key, hash, valueRef)); in testReclaimValue()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowArscAssetManager.java634 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 …]
DShadowXmlBlock.java301 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/IterativeSolvers/
DIncompleteLU.h53 k_it.valueRef() /= diag(k); in compute()
62 j_it.valueRef() -= k_it.value() * kj_it.value(); in compute()
DScaling.h121 it.valueRef() = it.value()/( Dr(it.row()) * Dc(it.col()) ); in compute()
/external/pdfium/fxjs/xfa/
Dcjx_binditems.h21 JS_PROP(valueRef);
Dcjx_binditems.cpp27 void CJX_BindItems::valueRef(CFXJSE_Value* pValue, in valueRef() function in CJX_BindItems
/external/eigen/unsupported/Eigen/src/LevenbergMarquardt/
DLMqrsolv.h155 itk.valueRef() = givens.c() * itk.value() + givens.s() * sdiag(k); in lmqrsolv()
166 itk.valueRef() = temp; in lmqrsolv()
/external/eigen/unsupported/Eigen/src/Skyline/
DSkylineInplaceLU.h133 lIt.valueRef() /= pivot; in compute()
147 uIt.valueRef() -= uItPivot.value() * coef; in compute()
/external/eigen/Eigen/src/OrderingMethods/
DOrdering.h34 it.valueRef() = 0.0; in ordering_helper_at_plus_a()
/external/catch2/include/external/
Dclara.hpp938 auto valueRef = static_cast<detail::BoundValueRefBase*>( m_ref.get() ); in parse() local
940 auto result = valueRef->setValue( remainingTokens->token ); in parse()
1021 auto valueRef = static_cast<detail::BoundValueRefBase*>( m_ref.get() ); in parse() local
1028 auto result = valueRef->setValue( argToken.token ); in parse()
/external/catch2/third_party/
Dclara.hpp938 auto valueRef = static_cast<detail::BoundValueRefBase*>( m_ref.get() ); in parse() local
940 auto result = valueRef->setValue( remainingTokens->token ); in parse()
1021 auto valueRef = static_cast<detail::BoundValueRefBase*>( m_ref.get() ); in parse() local
1028 auto result = valueRef->setValue( argToken.token ); in parse()

12