Home
last modified time | relevance | path

Searched refs:From (Results 1 – 25 of 1530) sorted by relevance

12345678910>>...62

/external/swiftshader/third_party/LLVM/include/llvm/Support/
DCasting.h30 template<typename From> struct simplify_type {
31 typedef From SimpleType; // The real type this represents...
34 static SimpleType &getSimplifiedValue(From &Val) { return Val; } in getSimplifiedValue()
37 template<typename From> struct simplify_type<const From> {
38 typedef const From SimpleType;
39 static SimpleType &getSimplifiedValue(const From &Val) {
40 return simplify_type<From>::getSimplifiedValue(static_cast<From&>(Val));
47 template <typename To, typename From>
49 static inline bool doit(const From &Val) {
54 template <typename To, typename From> struct isa_impl_cl {
[all …]
/external/python/cpython2/PC/os2emx/
Dpython27.def7 ; From python27_s.lib(config)
10 ; From python27_s.lib(dlfcn)
16 ; From python27_s.lib(getpathp)
22 ; From python27_s.lib(getbuildinfo)
26 ; From python27_s.lib(main)
30 ; From python27_s.lib(acceler)
34 ; From python27_s.lib(grammar1)
38 ; From python27_s.lib(listnode)
41 ; From python27_s.lib(node)
46 ; From python27_s.lib(parser)
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DCasting.h32 template<typename From> struct simplify_type {
33 typedef From SimpleType; // The real type this represents...
36 static SimpleType &getSimplifiedValue(From &Val) { return Val; } in getSimplifiedValue()
39 template<typename From> struct simplify_type<const From> {
40 typedef typename simplify_type<From>::SimpleType NonConstSimpleType;
45 static RetType getSimplifiedValue(const From& Val) {
46 return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val));
53 template <typename To, typename From, typename Enabler = void>
55 static inline bool doit(const From &Val) {
61 template <typename To, typename From>
[all …]
/external/llvm/include/llvm/Support/
DCasting.h32 template<typename From> struct simplify_type {
33 typedef From SimpleType; // The real type this represents...
36 static SimpleType &getSimplifiedValue(From &Val) { return Val; } in getSimplifiedValue()
39 template<typename From> struct simplify_type<const From> {
40 typedef typename simplify_type<From>::SimpleType NonConstSimpleType;
45 static RetType getSimplifiedValue(const From& Val) {
46 return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val));
53 template <typename To, typename From, typename Enabler = void>
55 static inline bool doit(const From &Val) {
61 template <typename To, typename From>
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DCasting.h34 template<typename From> struct simplify_type {
35 using SimpleType = From; // The real type this represents...
38 static SimpleType &getSimplifiedValue(From &Val) { return Val; } in getSimplifiedValue()
41 template<typename From> struct simplify_type<const From> {
42 using NonConstSimpleType = typename simplify_type<From>::SimpleType;
48 static RetType getSimplifiedValue(const From& Val) {
49 return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val));
56 template <typename To, typename From, typename Enabler = void>
58 static inline bool doit(const From &Val) {
64 template <typename To, typename From>
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DDomTreeUpdater.cpp26 const auto *From = Update.getFrom(); in isUpdateValid() local
35 successors(From), [To](const BasicBlock *B) { return B == To; }); in isUpdateValid()
58 BasicBlock *From, BasicBlock *To) { in applyLazyUpdate() argument
64 const DominatorTree::UpdateType Update = {Kind, From, To}; in applyLazyUpdate()
68 From, To}; in applyLazyUpdate()
318 void DomTreeUpdater::insertEdge(BasicBlock *From, BasicBlock *To) { in insertEdge() argument
321 assert(isUpdateValid({DominatorTree::Insert, From, To}) && in insertEdge()
329 if (From == To) in insertEdge()
334 DT->insertEdge(From, To); in insertEdge()
336 PDT->insertEdge(From, To); in insertEdge()
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DSmallString.h147 size_t find(char C, size_t From = 0) const {
148 return str().find(C, From);
155 size_t find(StringRef Str, size_t From = 0) const {
156 return str().find(Str, From);
163 size_t rfind(char C, size_t From = StringRef::npos) const {
164 return str().rfind(C, From);
177 size_t find_first_of(char C, size_t From = 0) const {
178 return str().find_first_of(C, From);
185 size_t find_first_of(StringRef Chars, size_t From = 0) const {
186 return str().find_first_of(Chars, From);
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DSmallString.h147 size_t find(char C, size_t From = 0) const {
148 return str().find(C, From);
155 size_t find(StringRef Str, size_t From = 0) const {
156 return str().find(Str, From);
163 size_t rfind(char C, size_t From = StringRef::npos) const {
164 return str().rfind(C, From);
177 size_t find_first_of(char C, size_t From = 0) const {
178 return str().find_first_of(C, From);
185 size_t find_first_of(StringRef Chars, size_t From = 0) const {
186 return str().find_first_of(Chars, From);
[all …]
/external/llvm/include/llvm/ADT/
DSmallString.h147 size_t find(char C, size_t From = 0) const {
148 return str().find(C, From);
155 size_t find(StringRef Str, size_t From = 0) const {
156 return str().find(Str, From);
163 size_t rfind(char C, size_t From = StringRef::npos) const {
164 return str().rfind(C, From);
177 size_t find_first_of(char C, size_t From = 0) const {
178 return str().find_first_of(C, From);
185 size_t find_first_of(StringRef Chars, size_t From = 0) const {
186 return str().find_first_of(Chars, From);
[all …]
/external/protobuf/src/google/protobuf/stubs/
Dcasts.h57 template<typename To, typename From>
58 inline To implicit_cast(From const &f) { in implicit_cast()
80 template<typename To, typename From> // use like this: down_cast<T*>(foo);
81 inline To down_cast(From* f) { // so we only accept pointers in down_cast()
87 implicit_cast<From*, To>(0); in down_cast()
96 template<typename To, typename From> // use like this: down_cast<T&>(foo);
97 inline To down_cast(From& f) { in down_cast()
104 implicit_cast<From*, ToAsPointer>(0); in down_cast()
114 template<typename To, typename From>
115 inline To bit_cast(const From& from) { in bit_cast()
[all …]
/external/google-breakpad/src/testing/include/gmock/internal/
Dgmock-internal-utils.h184 template <TypeKind kFromKind, typename From, TypeKind kToKind, typename To>
203 template <typename From>
204 struct LosslessArithmeticConvertibleImpl<kInteger, From, kBool, bool>
209 template <typename From, typename To>
210 struct LosslessArithmeticConvertibleImpl<kInteger, From, kInteger, To>
214 ((sizeof(From) < sizeof(To)) &&
215 (!GMOCK_IS_SIGNED_(From) || GMOCK_IS_SIGNED_(To))) ||
217 ((sizeof(From) == sizeof(To)) &&
218 (GMOCK_IS_SIGNED_(From) == GMOCK_IS_SIGNED_(To)))> {}; // NOLINT
224 template <typename From, typename To>
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googlemock/include/gmock/internal/
Dgmock-internal-utils.h184 template <TypeKind kFromKind, typename From, TypeKind kToKind, typename To>
203 template <typename From>
204 struct LosslessArithmeticConvertibleImpl<kInteger, From, kBool, bool>
209 template <typename From, typename To>
210 struct LosslessArithmeticConvertibleImpl<kInteger, From, kInteger, To>
214 ((sizeof(From) < sizeof(To)) &&
215 (!GMOCK_IS_SIGNED_(From) || GMOCK_IS_SIGNED_(To))) ||
217 ((sizeof(From) == sizeof(To)) &&
218 (GMOCK_IS_SIGNED_(From) == GMOCK_IS_SIGNED_(To)))> {}; // NOLINT
224 template <typename From, typename To>
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DCFGBuilder.cpp38 static void ConnectBlocks(BasicBlock *From, BasicBlock *To) { in ConnectBlocks() argument
39 LLVM_DEBUG(dbgs() << "Creating BB arc " << From->getName() << " -> " in ConnectBlocks()
42 auto *IntTy = IntegerType::get(From->getContext(), 32); in ConnectBlocks()
44 if (isa<UnreachableInst>(From->getTerminator())) in ConnectBlocks()
45 From->getTerminator()->eraseFromParent(); in ConnectBlocks()
46 if (!From->getTerminator()) { in ConnectBlocks()
47 IRBuilder<> IRB(From); in ConnectBlocks()
52 SwitchInst *SI = cast<SwitchInst>(From->getTerminator()); in ConnectBlocks()
59 static void DisconnectBlocks(BasicBlock *From, BasicBlock *To) { in DisconnectBlocks() argument
60 LLVM_DEBUG(dbgs() << "Deleting BB arc " << From->getName() << " -> " in DisconnectBlocks()
[all …]
DDominatorTreeTest.cpp674 return std::tie(A.Action, A.Edge.From, A.Edge.To) < in CompUpdates()
675 std::tie(B.Action, B.Edge.From, B.Edge.To); in CompUpdates()
698 BasicBlock *From = B.getOrAddBlock(LastUpdate->Edge.From); in TEST() local
700 DT.insertEdge(From, To); in TEST()
702 PDT.insertEdge(From, To); in TEST()
725 BasicBlock *From = B.getOrAddBlock(LastUpdate->Edge.From); in TEST() local
727 DT.insertEdge(From, To); in TEST()
729 PDT.insertEdge(From, To); in TEST()
752 BasicBlock *From = B.getOrAddBlock(LastUpdate->Edge.From); in TEST() local
754 DT.insertEdge(From, To); in TEST()
[all …]
/external/libcxx/test/libcxx/type_traits/
Dconvert_to_integral.pass.cpp34 template <class From, class To>
37 typedef std::numeric_limits<From> Limits; in check_integral_types()
38 const From max = Limits::max(); in check_integral_types()
39 const From min = Limits::min(); in check_integral_types()
41 auto ret = std::__convert_to_integral((From)max); in check_integral_types()
43 ret = std::__convert_to_integral((From)min); in check_integral_types()
48 UserDefinedIntegral<From> f(max); in check_integral_types()
57 typedef typename EnumType<From>::type Enum; in check_integral_types()
69 template <class From, class To>
72 auto ret = std::__convert_to_integral((From)1); in check_enum_types()
/external/vixl/test/
Dtest-operands.cc44 aarch32::Operand op = aarch32::Operand::From(42); in TEST_AARCH32()
50 aarch32::Operand op = aarch32::Operand::From(-42); in TEST_AARCH32()
58 aarch32::Operand op = aarch32::Operand::From(-1); in TEST_AARCH32()
64 aarch32::Operand op = aarch32::Operand::From(UINT32_MAX); in TEST_AARCH32()
70 aarch32::Operand op = aarch32::Operand::From(INT32_MAX); in TEST_AARCH32()
76 aarch32::Operand op = aarch32::Operand::From(INT32_MIN); in TEST_AARCH32()
84 aarch32::Operand op = aarch32::Operand::From(INT64_C(-1)); in TEST_AARCH32()
90 aarch32::Operand op = aarch32::Operand::From(INT64_C(-42)); in TEST_AARCH32()
100 aarch32::Operand op = aarch32::Operand::From(&data); in TEST_AARCH32()
108 aarch32::Operand op = aarch32::Operand::From(data); in TEST_AARCH32()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DStringRef.cpp72 size_t StringRef::find_lower(char C, size_t From) const { in find_lower()
74 return find_if([L](char D) { return ascii_tolower(D) == L; }, From); in find_lower()
147 size_t StringRef::find(StringRef Str, size_t From) const { in find()
148 if (From > Length) in find()
151 const char *Start = Data + From; in find()
152 size_t Size = Length - From; in find()
157 return From; in find()
196 size_t StringRef::find_lower(StringRef Str, size_t From) const { in find_lower()
197 StringRef This = substr(From); in find_lower()
200 return From; in find_lower()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DStringRef.cpp58 size_t StringRef::find_lower(char C, size_t From) const { in find_lower()
60 return find_if([L](char D) { return toLower(D) == L; }, From); in find_lower()
133 size_t StringRef::find(StringRef Str, size_t From) const { in find()
134 if (From > Length) in find()
137 const char *Start = Data + From; in find()
138 size_t Size = Length - From; in find()
143 return From; in find()
182 size_t StringRef::find_lower(StringRef Str, size_t From) const { in find_lower()
183 StringRef This = substr(From); in find_lower()
186 return From; in find_lower()
[all …]
/external/googletest/googlemock/include/gmock/internal/
Dgmock-internal-utils.h188 template <TypeKind kFromKind, typename From, TypeKind kToKind, typename To>
207 template <typename From>
208 struct LosslessArithmeticConvertibleImpl<kInteger, From, kBool, bool>
213 template <typename From, typename To>
214 struct LosslessArithmeticConvertibleImpl<kInteger, From, kInteger, To>
218 ((sizeof(From) < sizeof(To)) &&
219 (!GMOCK_IS_SIGNED_(From) || GMOCK_IS_SIGNED_(To))) ||
221 ((sizeof(From) == sizeof(To)) &&
222 (GMOCK_IS_SIGNED_(From) == GMOCK_IS_SIGNED_(To)))> {}; // NOLINT
228 template <typename From, typename To>
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dcast_op.h238 template <typename From, typename To>
239 struct scalar_cast_op<std::complex<From>, To> {
241 operator()(const std::complex<From>& a) const {
247 template <typename From, typename To>
248 struct scalar_cast_op<From, std::complex<To>> {
250 const From& a) const {
256 template <typename From, typename To>
257 struct scalar_cast_op<std::complex<From>, std::complex<To>> {
259 const std::complex<From>& a) const {
265 template <typename From, typename To>
[all …]
/external/v8/tools/clang/rewrite_to_chrome_style/tests/
Dfunction-templates-original.cc7 template<typename To, typename From>
8 bool isInBounds(From value) { in isInBounds()
12 template<typename To, typename From>
13 To safeCast(From value) { in safeCast()
38 template<typename To, typename From>
39 To bitwise_cast(From from) { in bitwise_cast()
40 static_assert(sizeof(To) == sizeof(From), "msg"); in bitwise_cast()
Dfunction-templates-expected.cc7 template <typename To, typename From>
8 bool IsInBounds(From value) { in IsInBounds()
12 template <typename To, typename From>
13 To SafeCast(From value) { in SafeCast()
38 template <typename To, typename From>
39 To bitwise_cast(From from) { in bitwise_cast()
40 static_assert(sizeof(To) == sizeof(From), "msg"); in bitwise_cast()
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DStringRef.h216 size_t find(char C, size_t From = 0) const {
217 for (size_t i = min(From, Length), e = Length; i != e; ++i)
227 size_t find(StringRef Str, size_t From = 0) const;
233 size_t rfind(char C, size_t From = npos) const {
234 From = min(From, Length);
235 size_t i = From;
252 size_type find_first_of(char C, size_t From = 0) const {
253 return find(C, From);
260 size_type find_first_of(StringRef Chars, size_t From = 0) const;
264 size_type find_first_not_of(char C, size_t From = 0) const;
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Demangle/
DStringView.h36 StringView substr(size_t From) const { in substr() argument
37 return StringView(begin() + From, size() - From); in substr()
40 size_t find(char C, size_t From = 0) const {
41 size_t FindBegin = std::min(From, size());
51 StringView substr(size_t From, size_t To) const { in substr() argument
54 if (From >= size()) in substr()
55 From = size() - 1; in substr()
56 return StringView(First + From, First + To); in substr()
/external/protobuf/src/google/protobuf/util/internal/
Ddatapiece.cc61 template <typename To, typename From>
62 StatusOr<To> ValidateNumberConversion(To after, From before) { in ValidateNumberConversion()
64 MathUtil::Sign<From>(before) == MathUtil::Sign<To>(after)) { in ValidateNumberConversion()
67 return InvalidArgument(::google::protobuf::internal::is_integral<From>::value in ValidateNumberConversion()
69 : ::google::protobuf::internal::is_same<From, double>::value in ValidateNumberConversion()
78 template <typename To, typename From>
79 StatusOr<To> NumberConvertAndCheck(From before) { in NumberConvertAndCheck()
80 if (::google::protobuf::internal::is_same<From, To>::value) return before; in NumberConvertAndCheck()
88 template <typename To, typename From>
89 StatusOr<To> FloatingPointToIntConvertAndCheck(From before) { in FloatingPointToIntConvertAndCheck()
[all …]

12345678910>>...62