Home
last modified time | relevance | path

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

12345678910>>...30

/external/llvm/include/llvm/Support/
DCasting.h31 template<typename From> struct simplify_type {
32 typedef From SimpleType; // The real type this represents...
35 static SimpleType &getSimplifiedValue(From &Val) { return Val; } in getSimplifiedValue()
38 template<typename From> struct simplify_type<const From> {
39 typedef typename simplify_type<From>::SimpleType NonConstSimpleType;
44 static RetType getSimplifiedValue(const From& Val) {
45 return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val));
52 template <typename To, typename From, typename Enabler = void>
54 static inline bool doit(const From &Val) {
60 template <typename To, typename From>
[all …]
/external/llvm/include/llvm/ADT/
DSmallString.h150 size_t find(char C, size_t From = 0) const {
151 return str().find(C, From);
158 size_t find(StringRef Str, size_t From = 0) const {
159 return str().find(Str, From);
166 size_t rfind(char C, size_t From = StringRef::npos) const {
167 return str().rfind(C, From);
180 size_t find_first_of(char C, size_t From = 0) const {
181 return str().find_first_of(C, From);
188 size_t find_first_of(StringRef Chars, size_t From = 0) const {
189 return str().find_first_of(Chars, From);
[all …]
DStringRef.h227 size_t find(char C, size_t From = 0) const {
228 for (size_t i = min(From, Length), e = Length; i != e; ++i)
238 size_t find(StringRef Str, size_t From = 0) const;
244 size_t rfind(char C, size_t From = npos) const {
245 From = min(From, Length);
246 size_t i = From;
263 size_t find_first_of(char C, size_t From = 0) const {
264 return find(C, From);
271 size_t find_first_of(StringRef Chars, size_t From = 0) const;
275 size_t find_first_not_of(char C, size_t From = 0) const;
[all …]
/external/chromium/testing/gmock/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/chromium_org/third_party/cld/base/
Dcasts.h31 template<typename To, typename From>
32 inline To implicit_cast(From const &f) { in implicit_cast()
55 template<typename To, typename From> // use like this: down_cast<T*>(foo);
56 inline To down_cast(From* f) { // so we only accept pointers in down_cast()
62 implicit_cast<From*, To>(0); in down_cast()
77 template<typename To, typename From>
78 inline To down_cast(From& f) { in down_cast()
83 implicit_cast<From*, ToAsPointer>(0); in down_cast()
/external/chromium_org/base/
Dsafe_numerics_unittest.cc21 template <class From, class To> void ExhaustiveCheckFromTo() { in ExhaustiveCheckFromTo()
23 From i = std::numeric_limits<From>::min(); in ExhaustiveCheckFromTo()
35 if (i == std::numeric_limits<From>::min()) in ExhaustiveCheckFromTo()
40 template <class From> void ExhaustiveCheckFrom() { in ExhaustiveCheckFrom()
41 ExhaustiveCheckFromTo<From, short>(); in ExhaustiveCheckFrom()
42 ExhaustiveCheckFromTo<From, unsigned short>(); in ExhaustiveCheckFrom()
43 ExhaustiveCheckFromTo<From, int>(); in ExhaustiveCheckFrom()
44 ExhaustiveCheckFromTo<From, unsigned int>(); in ExhaustiveCheckFrom()
45 ExhaustiveCheckFromTo<From, long long>(); in ExhaustiveCheckFrom()
46 ExhaustiveCheckFromTo<From, unsigned long long>(); in ExhaustiveCheckFrom()
[all …]
/external/ceres-solver/internal/ceres/
Dcasts.h66 template<typename To, typename From>
67 inline To implicit_cast(typename identity_<From>::type const &f) { in implicit_cast()
89 template<typename To, typename From> // use like this: down_cast<T*>(foo);
90 inline To down_cast(From* f) { // so we only accept pointers in down_cast()
98 implicit_cast<From*, To>(NULL); in down_cast()
/external/llvm/lib/Support/
DStringRef.cpp124 size_t StringRef::find(StringRef Str, size_t From) const { in find()
131 for (size_t e = Length - N + 1, i = min(From, e); i != e; ++i) in find()
137 if (From >= Length) in find()
146 unsigned Len = Length-From, Pos = From; in find()
181 size_t From) const { in find_first_of()
186 for (size_type i = min(From, Length), e = Length; i != e; ++i) in find_first_of()
194 StringRef::size_type StringRef::find_first_not_of(char C, size_t From) const { in find_first_not_of()
195 for (size_type i = min(From, Length), e = Length; i != e; ++i) in find_first_not_of()
206 size_t From) const { in find_first_not_of()
211 for (size_type i = min(From, Length), e = Length; i != e; ++i) in find_first_not_of()
[all …]
/external/chromium_org/tools/cr/cr/base/
Darch.py9 DEFAULT = cr.Config.From(
31 ACTIVE = cr.Config.From(
38 ACTIVE = cr.Config.From(
49 ACTIVE = cr.Config.From(
60 ACTIVE = cr.Config.From(
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/port/
Dtype.h68 template<typename To, typename From>
69 inline To implicit_cast(From const &f) { in implicit_cast()
73 template<typename To, typename From> // use like this: down_cast<T*>(foo);
74 inline To down_cast(From* f) { // so we only accept pointers in down_cast()
84 implicit_cast<From*, To>(0); in down_cast()
/external/sfntly/cpp/src/sfntly/port/
Dtype.h68 template<typename To, typename From>
69 inline To implicit_cast(From const &f) { in implicit_cast()
73 template<typename To, typename From> // use like this: down_cast<T*>(foo);
74 inline To down_cast(From* f) { // so we only accept pointers in down_cast()
84 implicit_cast<From*, To>(0); in down_cast()
/external/clang/lib/Sema/
DSemaFixItUtils.cpp23 bool ConversionFixItGenerator::compareTypesSimple(CanQualType From, in compareTypesSimple() argument
28 if (!To.isAtLeastAsQualifiedAs(From)) in compareTypesSimple()
31 From = From.getNonReferenceType(); in compareTypesSimple()
35 if (isa<PointerType>(From) && isa<PointerType>(To)) { in compareTypesSimple()
36 From = S.Context.getCanonicalType( in compareTypesSimple()
37 (cast<PointerType>(From))->getPointeeType()); in compareTypesSimple()
42 const CanQualType FromUnq = From.getUnqualifiedType(); in compareTypesSimple()
46 To.isAtLeastAsQualifiedAs(From)) in compareTypesSimple()
DSemaExprCXX.cpp2370 Sema::IsStringLiteralToNonConstPointerConversion(Expr *From, QualType ToType) { in IsStringLiteralToNonConstPointerConversion() argument
2372 if (ImplicitCastExpr *Cast = dyn_cast<ImplicitCastExpr>(From)) in IsStringLiteralToNonConstPointerConversion()
2373 From = Cast->getSubExpr(); in IsStringLiteralToNonConstPointerConversion()
2379 if (StringLiteral *StrLit = dyn_cast<StringLiteral>(From->IgnoreParens())) in IsStringLiteralToNonConstPointerConversion()
2411 Expr *From) { in BuildCXXCastArgument() argument
2422 if (S.CompleteConstructorCall(Constructor, From, CastLoc, ConstructorArgs)) in BuildCXXCastArgument()
2441 assert(!From->getType()->isPointerType() && "Arg can't have pointer type!"); in BuildCXXCastArgument()
2445 ExprResult Result = S.BuildCXXMemberCallExpr(From, FoundDecl, Conv, in BuildCXXCastArgument()
2456 S.CheckMemberOperatorAccess(CastLoc, From, /*arg*/ 0, FoundDecl); in BuildCXXCastArgument()
2469 Sema::PerformImplicitConversion(Expr *From, QualType ToType, in PerformImplicitConversion() argument
[all …]
DSemaOverload.cpp69 static bool IsStandardConversion(Sema &S, Expr* From, QualType ToType,
75 static bool IsTransparentUnionStandardConversion(Sema &S, Expr* From,
81 IsUserDefinedConversion(Sema &S, Expr *From, QualType ToType,
1093 TryUserDefinedConversion(Sema &S, Expr *From, QualType ToType, in TryUserDefinedConversion() argument
1104 ICS.setBad(BadConversionSequence::no_conversion, From, ToType); in TryUserDefinedConversion()
1109 OverloadCandidateSet Conversions(From->getExprLoc()); in TryUserDefinedConversion()
1111 = IsUserDefinedConversion(S, From, ToType, ICS.UserDefined, Conversions, in TryUserDefinedConversion()
1126 = S.Context.getCanonicalType(From->getType().getUnqualifiedType()); in TryUserDefinedConversion()
1135 ICS.Standard.setFromType(From->getType()); in TryUserDefinedConversion()
1151 ICS.setBad(BadConversionSequence::suppressed_user, From, ToType); in TryUserDefinedConversion()
[all …]
DSemaLambda.cpp860 ParmVarDecl *From = CallOperator->getParamDecl(I); in addFunctionPointerConversion() local
862 From->getLocStart(), in addFunctionPointerConversion()
863 From->getLocation(), in addFunctionPointerConversion()
864 From->getIdentifier(), in addFunctionPointerConversion()
865 From->getType(), in addFunctionPointerConversion()
866 From->getTypeSourceInfo(), in addFunctionPointerConversion()
867 From->getStorageClass(), in addFunctionPointerConversion()
945 LambdaScopeInfo::Capture From = LSI->Captures[I]; in ActOnLambdaExpr() local
946 assert(!From.isBlockCapture() && "Cannot capture __block variables"); in ActOnLambdaExpr()
950 if (From.isThisCapture()) { in ActOnLambdaExpr()
[all …]
/external/chromium_org/third_party/WebKit/Source/wtf/
DTypeTraits.h104 template<typename From, typename To> class IsPointerConvertible {
114 Value = (sizeof(YesType) == sizeof(convertCheck(static_cast<From*>(0))))
221 #define EnsurePtrConvertibleArgDecl(From, To) \
222 typename WTF::EnableIf<WTF::IsPointerConvertible<From, To>::Value, bool>::Type = true
223 #define EnsurePtrConvertibleArgDefn(From, To) \
224 typename WTF::EnableIf<WTF::IsPointerConvertible<From, To>::Value, bool>::Type
238 template<typename From> class IsPointerConvertible<From, WebCore::JSONValue> {
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DBasicValueFactory.h104 const llvm::APSInt& From) { in Convert() argument
106 if (TargetType == APSIntType(From)) in Convert()
107 return From; in Convert()
109 return getValue(TargetType.convert(From)); in Convert()
112 const llvm::APSInt &Convert(QualType T, const llvm::APSInt &From) { in Convert() argument
114 if (TargetType == APSIntType(From)) in Convert()
115 return From; in Convert()
117 return getValue(TargetType.convert(From)); in Convert()
/external/chromium_org/tools/cr/cr/targets/
Dchrome.py12 DEFAULT = cr.Config.From(
16 CONFIG = cr.Config.From(
24 CONFIG = cr.Config.From(
Dcontent_shell.py12 DEFAULT = cr.Config.From(
16 CONFIG = cr.Config.From(
26 CONFIG = cr.Config.From(
Dchromium_testshell.py12 DEFAULT = cr.Config.From(
16 CONFIG = cr.Config.From(
26 CONFIG = cr.Config.From(
/external/ipsec-tools/
DChangeLog12 * src/setkey/setkey.c: From Paul Wenau: Check fgets return value in
22 * src/racoon/isakmp_inf.c: From Tomas Mraz: Remove variable that is
26 * src/racoon/nattraversal.c: From Tomas Mraz: Fix natt_flags check.
30 * src/racoon/crypto_openssl.c: From Ross Meng: Fix a memory leak in
39 * src/racoon/isakmp_frag.c: From Neil Kettle: Fix a possible null
47 * src/racoon/crypto_openssl.c: From Stephen Bevan: Fix a x509
56 * src/racoon/handler.c: From Paul Moore: Phase2 message id's should
61 * src/libipsec/policy_parse.y: From Paul Moore: Fix a heap
98 * src/racoon/isakmp.c: From Krzysztof Oledzki: Remove ph1handler if
119 * src/racoon/proposal.c: From Kohki Ohhira: fix some memory leaks,
[all …]
/external/oprofile/events/x86-64/family10/
Dunit_masks286 0x01 From local node to node 0
287 0x02 From local node to node 1
288 0x04 From local node to node 2
289 0x08 From local node to node 3
290 0x10 From local node to node 4
291 0x20 From local node to node 5
292 0x40 From local node to node 6
293 0x80 From local node to node 7
295 0x01 From local node to node 0
296 0x02 From local node to node 1
[all …]
/external/nist-sip/java/gov/nist/javax/sip/parser/
DFromParser.java27 import gov.nist.javax.sip.header.From;
53 From from = new From(); in parse()
/external/chromium/base/
Dtemplate_util.h66 template <typename From>
67 static From Create();
86 template <typename From, typename To>
90 internal::ConvertHelper::Create<From>())) ==
/external/clang/lib/Tooling/
DRefactoringCallbacks.cpp24 const Stmt &From, in replaceStmtWithText() argument
27 From.getSourceRange()), Text); in replaceStmtWithText()
30 const Stmt &From, in replaceStmtWithStmt() argument
32 return replaceStmtWithText(Sources, From, Lexer::getSourceText( in replaceStmtWithStmt()

12345678910>>...30