Home
last modified time | relevance | path

Searched refs:Ref (Results 1 – 25 of 910) sorted by relevance

12345678910>>...37

/external/angle/src/compiler/translator/TranslatorMetalDirect/
DReference.h15 class Ref
18 Ref(const Ref &) = default;
19 Ref(Ref &&) = default;
20 Ref(T &ref) : mPtr(&ref) {} in Ref() function
22 Ref &operator=(const Ref &) = default;
23 Ref &operator=(Ref &&) = default;
25 bool operator==(const Ref &other) const { return *mPtr == *other.mPtr; }
26 bool operator!=(const Ref &other) const { return *mPtr != *other.mPtr; }
27 bool operator<=(const Ref &other) const { return *mPtr <= *other.mPtr; }
28 bool operator>=(const Ref &other) const { return *mPtr >= *other.mPtr; }
[all …]
/external/eigen/Eigen/src/SparseCore/
DSparseRef.h24 struct traits<Ref<SparseMatrix<MatScalar,MatOptions,MatIndex>, _Options, _StrideType> >
44 struct traits<Ref<const SparseMatrix<MatScalar,MatOptions,MatIndex>, _Options, _StrideType> >
45 : public traits<Ref<SparseMatrix<MatScalar,MatOptions,MatIndex>, _Options, _StrideType> >
53 struct traits<Ref<SparseVector<MatScalar,MatOptions,MatIndex>, _Options, _StrideType> >
72 struct traits<Ref<const SparseVector<MatScalar,MatOptions,MatIndex>, _Options, _StrideType> >
73 : public traits<Ref<SparseVector<MatScalar,MatOptions,MatIndex>, _Options, _StrideType> >
123 class Ref<SparseMatrix<MatScalar,MatOptions,MatIndex>, Options, StrideType >
124 …: public internal::SparseRefBase<Ref<SparseMatrix<MatScalar,MatOptions,MatIndex>, Options, StrideT…
127 class Ref<SparseMatrixType, Options>
132 typedef internal::traits<Ref> Traits;
[all …]
/external/llvm-project/llvm/tools/llvm-readobj/
DWindowsResourceDumper.cpp54 void Dumper::printEntry(const ResourceEntryRef &Ref) { in printEntry() argument
55 if (Ref.checkTypeString()) { in printEntry()
56 auto NarrowStr = stripUTF16(Ref.getTypeString()); in printEntry()
61 printResourceTypeName(Ref.getTypeID(), OS); in printEntry()
65 if (Ref.checkNameString()) { in printEntry()
66 auto NarrowStr = stripUTF16(Ref.getNameString()); in printEntry()
69 SW.printNumber("Resource name (int)", Ref.getNameID()); in printEntry()
71 SW.printNumber("Data version", Ref.getDataVersion()); in printEntry()
72 SW.printHex("Memory flags", Ref.getMemoryFlags()); in printEntry()
73 SW.printNumber("Language ID", Ref.getLanguage()); in printEntry()
[all …]
/external/llvm/include/llvm/IR/
DTrackingMDRef.h101 TrackingMDRef Ref; variable
105 explicit TypedTrackingMDRef(T *MD) : Ref(static_cast<Metadata *>(MD)) {} in TypedTrackingMDRef()
107 TypedTrackingMDRef(TypedTrackingMDRef &&X) : Ref(std::move(X.Ref)) {} in TypedTrackingMDRef()
108 TypedTrackingMDRef(const TypedTrackingMDRef &X) : Ref(X.Ref) {} in TypedTrackingMDRef()
110 Ref = std::move(X.Ref);
114 Ref = X.Ref;
118 T *get() const { return (T *)Ref.get(); } in get()
123 bool operator==(const TypedTrackingMDRef &X) const { return Ref == X.Ref; }
124 bool operator!=(const TypedTrackingMDRef &X) const { return Ref != X.Ref; }
126 void reset() { Ref.reset(); } in reset()
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DTrackingMDRef.h101 TrackingMDRef Ref; variable
105 explicit TypedTrackingMDRef(T *MD) : Ref(static_cast<Metadata *>(MD)) {} in TypedTrackingMDRef()
107 TypedTrackingMDRef(TypedTrackingMDRef &&X) : Ref(std::move(X.Ref)) {} in TypedTrackingMDRef()
108 TypedTrackingMDRef(const TypedTrackingMDRef &X) : Ref(X.Ref) {} in TypedTrackingMDRef()
110 Ref = std::move(X.Ref);
114 Ref = X.Ref;
118 T *get() const { return (T *)Ref.get(); } in get()
123 bool operator==(const TypedTrackingMDRef &X) const { return Ref == X.Ref; }
124 bool operator!=(const TypedTrackingMDRef &X) const { return Ref != X.Ref; }
126 void reset() { Ref.reset(); } in reset()
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/
DFieldWalker.kt18 sealed class Ref { in <lambda>() class
19 object RootRef : Ref() in <lambda>()
20 class FieldRef(val parent: Any, val name: String) : Ref() in <lambda>()
21 class ArrayRef(val parent: Any, val index: Int) : Ref() in <lambda>()
59 private fun walkRefs(root: Any?, rootStatics: Boolean): Map<Any, Ref> { in <lambda>()
60 val visited = IdentityHashMap<Any, Ref>() in <lambda>()
62 visited[root] = Ref.RootRef in <lambda>()
78 private fun showPath(element: Any, visited: Map<Any, Ref>): String { in <lambda>()
83 if (ref is Ref.RootRef) break in <lambda>()
85 is Ref.FieldRef -> { in <lambda>()
[all …]
/external/llvm-project/llvm/include/llvm/IR/
DTrackingMDRef.h107 TrackingMDRef Ref; variable
111 explicit TypedTrackingMDRef(T *MD) : Ref(static_cast<Metadata *>(MD)) {} in TypedTrackingMDRef()
113 TypedTrackingMDRef(TypedTrackingMDRef &&X) : Ref(std::move(X.Ref)) {} in TypedTrackingMDRef()
114 TypedTrackingMDRef(const TypedTrackingMDRef &X) : Ref(X.Ref) {} in TypedTrackingMDRef()
117 Ref = std::move(X.Ref);
122 Ref = X.Ref;
126 T *get() const { return (T *)Ref.get(); } in get()
131 bool operator==(const TypedTrackingMDRef &X) const { return Ref == X.Ref; }
132 bool operator!=(const TypedTrackingMDRef &X) const { return Ref != X.Ref; }
134 void reset() { Ref.reset(); } in reset()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DTrackingMDRef.h107 TrackingMDRef Ref; variable
111 explicit TypedTrackingMDRef(T *MD) : Ref(static_cast<Metadata *>(MD)) {} in TypedTrackingMDRef()
113 TypedTrackingMDRef(TypedTrackingMDRef &&X) : Ref(std::move(X.Ref)) {} in TypedTrackingMDRef()
114 TypedTrackingMDRef(const TypedTrackingMDRef &X) : Ref(X.Ref) {} in TypedTrackingMDRef()
117 Ref = std::move(X.Ref);
122 Ref = X.Ref;
126 T *get() const { return (T *)Ref.get(); } in get()
131 bool operator==(const TypedTrackingMDRef &X) const { return Ref == X.Ref; }
132 bool operator!=(const TypedTrackingMDRef &X) const { return Ref != X.Ref; }
134 void reset() { Ref.reset(); } in reset()
[all …]
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DAttributeResolution.java80 Ref<Integer> defStyleBagTypeSetFlags = new Ref<>(0); in ResolveAttrs()
82 Ref<Res_value> valueRef = new Ref<>(null); in ResolveAttrs()
95 final Ref<ResTable.bag_entry[]> defStyleStart = new Ref<>(null); in ResolveAttrs()
96 Ref<Integer> defStyleTypeSetFlags = new Ref<>(0); in ResolveAttrs()
143 Ref<Res_value> valueRef = new Ref<>(value); in ResolveAttrs()
144 Ref<Integer> residRef = new Ref<>(resid); in ResolveAttrs()
145 Ref<Integer> typeSetFlagsRef = new Ref<>(typeSetFlags); in ResolveAttrs()
146 Ref<ResTable_config> configRef = new Ref<>(config); in ResolveAttrs()
234 Ref<ResTable_config> config = new Ref<>(new ResTable_config()); in ApplyStyle()
235 Ref<Res_value> value = new Ref<>(new Res_value()); in ApplyStyle()
[all …]
DAttributeResolution10.java109 final Ref<Integer> def_style_flags = new Ref<>(0); in ResolveAttrs()
111 final Ref<Res_value> valueRef = new Ref<>(null); in ResolveAttrs()
169 final Ref<Res_value> valueRef = new Ref<>(value); in ResolveAttrs()
170 final Ref<Integer> residRef = new Ref<>(resid); in ResolveAttrs()
171 final Ref<Integer> type_set_flagsRef = new Ref<>(type_set_flags); in ResolveAttrs()
172 final Ref<ResTable_config> configRef = new Ref<>(config); in ResolveAttrs()
250 final Ref<ResTable_config> config = new Ref<>(new ResTable_config()); in ApplyStyle()
251 final Ref<Res_value> value = new Ref<>(new Res_value()); in ApplyStyle()
256 final Ref<Integer> def_style_flags = new Ref<>(0); in ApplyStyle()
267 final Ref<Integer> style_flags = new Ref<>(0); in ApplyStyle()
[all …]
DAttributeResolution9.java105 final Ref<Integer> def_style_flags = new Ref<>(0); in ResolveAttrs()
107 final Ref<Res_value> valueRef = new Ref<>(null); in ResolveAttrs()
165 final Ref<Res_value> valueRef = new Ref<>(value); in ResolveAttrs()
166 final Ref<Integer> residRef = new Ref<>(resid); in ResolveAttrs()
167 final Ref<Integer> type_set_flagsRef = new Ref<>(type_set_flags); in ResolveAttrs()
168 final Ref<ResTable_config> configRef = new Ref<>(config); in ResolveAttrs()
246 final Ref<ResTable_config> config = new Ref<>(new ResTable_config()); in ApplyStyle()
247 final Ref<Res_value> value = new Ref<>(new Res_value()); in ApplyStyle()
252 final Ref<Integer> def_style_flags = new Ref<>(0); in ApplyStyle()
263 final Ref<Integer> style_flags = new Ref<>(0); in ApplyStyle()
[all …]
DZipFileRO.java53 static int OpenArchive(String zipFileName, Ref<ZipArchiveHandle> mHandle) { in OpenArchive()
70 static int FindEntry(ZipArchiveHandle mHandle, String name, Ref<ZipEntry> zipEntryRef) { in FindEntry()
86 final Ref<ZipArchiveHandle> handle = new Ref<>(null); in open()
117 final Ref<ZipEntry> zipEntryRef = new Ref<>(data.entry); in findEntryByName()
133 boolean getEntryInfo(org.robolectric.res.android.ZipFileRO.ZipEntryRO entry, Ref<Short> pMethod, in getEntryInfo()
134 final Ref<Long> pUncompLen, Ref<Long> pCompLen, Ref<Long> pOffset, in getEntryInfo()
135 final Ref<Long> pModWhen, Ref<Long> pCrc32) in getEntryInfo()
163 boolean startIteration(Ref<Enumeration<? extends ZipEntry>> cookie) { in startIteration()
167 …boolean startIteration(/* void** */ Ref<Enumeration<? extends ZipEntry>> cookie, final String pref… in startIteration()
219 int getEntryFileName(org.robolectric.res.android.ZipFileRO.ZipEntryRO entry, Ref<String> buffer) in getEntryFileName()
/external/libcxx/test/std/input.output/filesystems/class.path/path.member/
Dpath.concat.pass.cpp177 path& Ref = (LHS += RHS); in doConcatSourceTest() local
179 assert(&Ref == &LHS); in doConcatSourceTest()
184 path& Ref = LHS.concat(RHS); in doConcatSourceTest() local
186 assert(&Ref == &LHS); in doConcatSourceTest()
192 path& Ref = (LHS += RHS); in doConcatSourceTest() local
194 assert(&Ref == &LHS); in doConcatSourceTest()
199 path& Ref = LHS.concat(RHS); in doConcatSourceTest() local
201 assert(&Ref == &LHS); in doConcatSourceTest()
207 path& Ref = (LHS += RHS); in doConcatSourceTest() local
209 assert(&Ref == &LHS); in doConcatSourceTest()
[all …]
Dpath.append.pass.cpp187 path& Ref = (Result /= RHS); in doAppendSourceTest() local
190 assert(&Ref == &Result); in doAppendSourceTest()
195 path& Ref = LHS.append(RHS); in doAppendSourceTest() local
197 assert(&Ref == &LHS); in doAppendSourceTest()
203 path& Ref = (LHS /= RHS); in doAppendSourceTest() local
205 assert(&Ref == &LHS); in doAppendSourceTest()
210 path& Ref = LHS.append(RHS); in doAppendSourceTest() local
212 assert(&Ref == &LHS); in doAppendSourceTest()
218 path& Ref = (LHS /= RHS); in doAppendSourceTest() local
220 assert(&Ref == &LHS); in doAppendSourceTest()
[all …]
/external/llvm-project/libcxx/test/std/input.output/filesystems/class.path/path.member/
Dpath.concat.pass.cpp179 path& Ref = (LHS += RHS); in doConcatSourceTest() local
181 assert(&Ref == &LHS); in doConcatSourceTest()
186 path& Ref = LHS.concat(RHS); in doConcatSourceTest() local
188 assert(&Ref == &LHS); in doConcatSourceTest()
194 path& Ref = (LHS += RHS); in doConcatSourceTest() local
196 assert(&Ref == &LHS); in doConcatSourceTest()
201 path& Ref = LHS.concat(RHS); in doConcatSourceTest() local
203 assert(&Ref == &LHS); in doConcatSourceTest()
209 path& Ref = (LHS += RHS); in doConcatSourceTest() local
211 assert(&Ref == &LHS); in doConcatSourceTest()
[all …]
Dpath.append.pass.cpp188 path& Ref = (Result /= RHS); in doAppendSourceTest() local
190 assert(&Ref == &Result); in doAppendSourceTest()
195 path& Ref = LHS.append(RHS); in doAppendSourceTest() local
197 assert(&Ref == &LHS); in doAppendSourceTest()
203 path& Ref = (LHS /= RHS); in doAppendSourceTest() local
205 assert(&Ref == &LHS); in doAppendSourceTest()
210 path& Ref = LHS.append(RHS); in doAppendSourceTest() local
212 assert(&Ref == &LHS); in doAppendSourceTest()
218 path& Ref = (LHS /= RHS); in doAppendSourceTest() local
220 assert(&Ref == &LHS); in doAppendSourceTest()
[all …]
/external/eigen/test/
Dinplace_decomposition.cpp86 CALL_SUBTEST_1(( inplace<LLT<Ref<MatrixXd> >, MatrixXd>(true,true) )); in test_inplace_decomposition()
87 CALL_SUBTEST_1(( inplace<LLT<Ref<Matrix4d> >, Matrix4d>(true,true) )); in test_inplace_decomposition()
89 CALL_SUBTEST_2(( inplace<LDLT<Ref<MatrixXd> >, MatrixXd>(true,true) )); in test_inplace_decomposition()
90 CALL_SUBTEST_2(( inplace<LDLT<Ref<Matrix4d> >, Matrix4d>(true,true) )); in test_inplace_decomposition()
92 CALL_SUBTEST_3(( inplace<PartialPivLU<Ref<MatrixXd> >, MatrixXd>(true,false) )); in test_inplace_decomposition()
93 CALL_SUBTEST_3(( inplace<PartialPivLU<Ref<Matrix4d> >, Matrix4d>(true,false) )); in test_inplace_decomposition()
95 CALL_SUBTEST_4(( inplace<FullPivLU<Ref<MatrixXd> >, MatrixXd>(true,false) )); in test_inplace_decomposition()
96 CALL_SUBTEST_4(( inplace<FullPivLU<Ref<Matrix4d> >, Matrix4d>(true,false) )); in test_inplace_decomposition()
98 CALL_SUBTEST_5(( inplace<HouseholderQR<Ref<MatrixXd> >, MatrixXd>(false,false) )); in test_inplace_decomposition()
99 CALL_SUBTEST_5(( inplace<HouseholderQR<Ref<Matrix43d> >, Matrix43d>(false,false) )); in test_inplace_decomposition()
[all …]
Dref.cpp41 typedef Ref<MatrixType> RefMat; in ref_matrix()
42 typedef Ref<DynMatrixType> RefDynMat; in ref_matrix()
43 typedef Ref<const DynMatrixType> ConstRefDynMat; in ref_matrix()
44 typedef Ref<RealDynMatrixType , 0, Stride<Dynamic,Dynamic> > RefRealMatWithStride; in ref_matrix()
90 typedef Ref<VectorType> RefMat; in ref_vector()
91 typedef Ref<DynMatrixType> RefDynMat; in ref_vector()
92 typedef Ref<const DynMatrixType> ConstRefDynMat; in ref_vector()
93 typedef Ref<RealDynMatrixType , 0, InnerStride<> > RefRealMatWithStride; in ref_vector()
94 typedef Ref<DynMatrixType , 0, InnerStride<> > RefMatWithStride; in ref_vector()
146 VERIFY( !(internal::traits<Ref<ConstPlainObjectType> >::Flags & LvalueBit) ); in check_const_correctness()
[all …]
/external/llvm-project/clang/test/Analysis/diagnostics/
Dno-store-func-path-notes.cpp208 HasRefToItself &Ref; // no infinite loop member
210 HasRefToItself(int &z) : Ref(*this), z(z) {} in HasRefToItself()
273 HasRef &Ref; member
274 HasIndirectRef(HasRef &Ref) : Ref(Ref) {} in HasIndirectRef()
280 pA.Ref.a = 120; in maybeInitializeIndirectly()
296 HasRef Ref; member
297 HasIndirectRefByValue(HasRef Ref) : Ref(Ref) {} in HasIndirectRefByValue()
303 pA.Ref.a = 120; in maybeInitializeIndirectly()
319 HasRef *Ref; member
320 HasIndirectPointerRef(HasRef *Ref) : Ref(Ref) {} in HasIndirectPointerRef()
[all …]
/external/eigen/Eigen/src/Core/
DRef.h18 struct traits<Ref<_PlainObjectType, _Options, _StrideType> >
190 template<typename PlainObjectType, int Options, typename StrideType> class Ref
191 : public RefBase<Ref<PlainObjectType, Options, StrideType> >
194 typedef internal::traits<Ref> Traits;
196 EIGEN_DEVICE_FUNC inline Ref(const PlainObjectBase<Derived>& expr,
200 typedef RefBase<Ref> Base;
201 EIGEN_DENSE_PUBLIC_INTERFACE(Ref)
206 EIGEN_DEVICE_FUNC inline Ref(PlainObjectBase<Derived>& expr,
213 EIGEN_DEVICE_FUNC inline Ref(const DenseBase<Derived>& expr,
218 inline Ref(DenseBase<Derived>& expr)
[all …]
/external/rust/crates/regex/src/
Dexpand.rs37 Ref::Number(i) => { in expand_str()
40 Ref::Named(name) => { in expand_str()
79 Ref::Number(i) => { in expand_bytes()
82 Ref::Named(name) => { in expand_bytes()
99 cap: Ref<'a>,
107 enum Ref<'a> { enum
112 impl<'a> From<&'a str> for Ref<'a> { implementation
113 fn from(x: &'a str) -> Ref<'a> { in from()
114 Ref::Named(x) in from()
118 impl From<usize> for Ref<'static> { implementation
[all …]
/external/rust/crates/anyhow/src/
Dptr.rs48 pub fn by_ref(&self) -> Ref<T> { in by_ref()
49 Ref { in by_ref()
64 pub struct Ref<'a, T> struct
72 impl<'a, T> Copy for Ref<'a, T> where T: ?Sized {} implementation
74 impl<'a, T> Clone for Ref<'a, T> implementation
83 impl<'a, T> Ref<'a, T> implementation
88 Ref { in new()
96 Ref { in from_raw()
102 pub fn cast<U: CastTo>(self) -> Ref<'a, U::Target> { in cast()
103 Ref { in cast()
[all …]
/external/python/pybind11/tests/
Dtest_eigen.cpp57 double get_elem(Eigen::Ref<const Eigen::MatrixXd> m) { return m(2, 1); }; in get_elem()
102 … m.def("cholesky1", [](Eigen::Ref<MatrixXdR> x) -> Eigen::MatrixXd { return x.llt().matrixL(); }); in TEST_SUBMODULE()
103 …m.def("cholesky2", [](const Eigen::Ref<const MatrixXdR> &x) -> Eigen::MatrixXd { return x.llt().ma… in TEST_SUBMODULE()
104 …m.def("cholesky3", [](const Eigen::Ref<MatrixXdR> &x) -> Eigen::MatrixXd { return x.llt().matrixL(… in TEST_SUBMODULE()
105 …m.def("cholesky4", [](Eigen::Ref<const MatrixXdR> x) -> Eigen::MatrixXd { return x.llt().matrixL()… in TEST_SUBMODULE()
112 auto add_rm = [](Eigen::Ref<MatrixXdR> x, int r, int c, double v) { x(r,c) += v; }; in TEST_SUBMODULE()
113 auto add_cm = [](Eigen::Ref<Eigen::MatrixXd> x, int r, int c, double v) { x(r,c) += v; }; in TEST_SUBMODULE()
127 m.def("get_cm_ref", []() { return Eigen::Ref<Eigen::MatrixXd>(get_cm()); }); in TEST_SUBMODULE()
128 m.def("get_rm_ref", []() { return Eigen::Ref<MatrixXdR>(get_rm()); }); in TEST_SUBMODULE()
130 m.def("get_cm_const_ref", []() { return Eigen::Ref<const Eigen::MatrixXd>(get_cm()); }); in TEST_SUBMODULE()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowArscAssetManager10.java70 import org.robolectric.res.android.Ref;
420 final Ref<Long> start_offset = new Ref<>(0L); in ReturnParcelFileDescriptor()
421 final Ref<Long> length = new Ref<>(0L); in ReturnParcelFileDescriptor()
814 Ref<ApkAssetsCookie> cookieRef = new Ref<>(cookie); in nativeOpenXmlAsset()
843 final Ref<Res_value> value = new Ref<>(null); in nativeGetResourceValue()
844 final Ref<ResTable_config> selected_config = new Ref<>(null); in nativeGetResourceValue()
845 final Ref<Integer> flags = new Ref<>(0); in nativeGetResourceValue()
853 final Ref<Integer> ref = new Ref<>(resid); in nativeGetResourceValue()
874 final Ref<Integer> type_spec_flags = new Ref<>(bag.type_spec_flags); in nativeGetResourceBagValue()
890 final Ref<Res_value> value = new Ref<>(bag_value); in nativeGetResourceBagValue()
[all …]
DShadowArscAssetManager.java53 import org.robolectric.res.android.Ref;
296 final Ref<Integer> cookie = new Ref<>(null); in addAssetPathNative()
527 final Ref<Res_value> value = new Ref<>(null); in loadResourceValue()
528 final Ref<ResTable_config> config = new Ref<>(null); in loadResourceValue()
529 final Ref<Integer> typeSpecFlags = new Ref<>(null); in loadResourceValue()
537 final Ref<Integer> ref = new Ref<>(ident); in loadResourceValue()
582 final Ref<bag_entry[]> entryRef = new Ref<>(null); in getResourceBagValues()
583 final Ref<Integer> typeSpecFlags = new Ref<>(0); in getResourceBagValues()
634 final Ref<Res_value> valueRef = new Ref<>(null); in loadResourceBagValueInternal()
635 final Ref<bag_entry[]> entryRef = new Ref<>(null); in loadResourceBagValueInternal()
[all …]

12345678910>>...37