Home
last modified time | relevance | path

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

12345678910>>...28

/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/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 …]
DStringRef.h240 size_t find(char C, size_t From = 0) const {
241 size_t FindBegin = std::min(From, Length);
254 size_t find(StringRef Str, size_t From = 0) const;
260 size_t rfind(char C, size_t From = npos) const {
261 From = std::min(From, Length);
262 size_t i = From;
279 size_t find_first_of(char C, size_t From = 0) const {
280 return find(C, From);
287 size_t find_first_of(StringRef Chars, size_t From = 0) const;
291 size_t find_first_not_of(char C, size_t From = 0) const;
[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/libcxx/test/libcxx/type_traits/
Dconvert_to_integral.pass.cpp16 template <class From, class To>
19 typedef std::numeric_limits<From> Limits; in check_integral_types()
20 const From max = Limits::max(); in check_integral_types()
21 const From min = Limits::min(); in check_integral_types()
23 auto ret = std::__convert_to_integral((From)max); in check_integral_types()
25 ret = std::__convert_to_integral((From)min); in check_integral_types()
30 UserDefinedIntegral<From> f(max); in check_integral_types()
39 typedef typename EnumType<From>::type Enum; in check_integral_types()
51 template <class From, class To>
54 auto ret = std::__convert_to_integral((From)1); in check_enum_types()
/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.cpp142 size_t StringRef::find(StringRef Str, size_t From) const { in find()
149 for (size_t e = Length - N + 1, i = std::min(From, e); i != e; ++i) in find()
155 if (From >= Length) in find()
164 unsigned Len = Length-From, Pos = From; in find()
199 size_t From) const { in find_first_of()
204 for (size_type i = std::min(From, Length), e = Length; i != e; ++i) in find_first_of()
212 StringRef::size_type StringRef::find_first_not_of(char C, size_t From) const { in find_first_not_of()
213 for (size_type i = std::min(From, Length), e = Length; i != e; ++i) in find_first_not_of()
224 size_t From) const { in find_first_not_of()
229 for (size_type i = std::min(From, Length), e = Length; i != e; ++i) in find_first_not_of()
[all …]
/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/libxml2/result/XPath/xptr/
Dstrrange26 From index 11 in node
14 From index 11 in node
22 From index 8 in node
34 From index 11 in node
42 From index 11 in node
50 From index 8 in node
Dstrrange6 From index 3 in node
18 From index 10 in node
26 From index 10 in node
34 From index 7 in node
46 From index 3 in node
58 From index 3 in node
70 From index 8 in node
Dchaptersrange6 From node
22 From node
34 From node
54 From node
/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()
DSemaOverload.cpp71 static bool IsStandardConversion(Sema &S, Expr* From, QualType ToType,
77 static bool IsTransparentUnionStandardConversion(Sema &S, Expr* From,
83 IsUserDefinedConversion(Sema &S, Expr *From, QualType ToType,
1088 TryUserDefinedConversion(Sema &S, Expr *From, QualType ToType, in TryUserDefinedConversion() argument
1100 ICS.setBad(BadConversionSequence::no_conversion, From, ToType); in TryUserDefinedConversion()
1105 OverloadCandidateSet Conversions(From->getExprLoc(), in TryUserDefinedConversion()
1107 switch (IsUserDefinedConversion(S, From, ToType, ICS.UserDefined, in TryUserDefinedConversion()
1124 = S.Context.getCanonicalType(From->getType().getUnqualifiedType()); in TryUserDefinedConversion()
1133 ICS.Standard.setFromType(From->getType()); in TryUserDefinedConversion()
1144 ICS.Ambiguous.setFromType(From->getType()); in TryUserDefinedConversion()
[all …]
DSemaExprCXX.cpp2607 Sema::IsStringLiteralToNonConstPointerConversion(Expr *From, QualType ToType) { in IsStringLiteralToNonConstPointerConversion() argument
2609 if (ImplicitCastExpr *Cast = dyn_cast<ImplicitCastExpr>(From)) in IsStringLiteralToNonConstPointerConversion()
2610 From = Cast->getSubExpr(); in IsStringLiteralToNonConstPointerConversion()
2616 if (StringLiteral *StrLit = dyn_cast<StringLiteral>(From->IgnoreParens())) in IsStringLiteralToNonConstPointerConversion()
2648 Expr *From) { in BuildCXXCastArgument() argument
2659 if (S.CompleteConstructorCall(Constructor, From, CastLoc, ConstructorArgs)) in BuildCXXCastArgument()
2680 assert(!From->getType()->isPointerType() && "Arg can't have pointer type!"); in BuildCXXCastArgument()
2682 S.CheckMemberOperatorAccess(CastLoc, From, /*arg*/ nullptr, FoundDecl); in BuildCXXCastArgument()
2688 ExprResult Result = S.BuildCXXMemberCallExpr(From, FoundDecl, Conv, in BuildCXXCastArgument()
2708 Sema::PerformImplicitConversion(Expr *From, QualType ToType, in PerformImplicitConversion() argument
[all …]
DSemaLambda.cpp1251 ParmVarDecl *From = CallOperator->getParamDecl(I); in addFunctionPointerConversion() local
1256 From->getLocStart(), in addFunctionPointerConversion()
1257 From->getLocation(), in addFunctionPointerConversion()
1258 From->getIdentifier(), in addFunctionPointerConversion()
1259 From->getType(), in addFunctionPointerConversion()
1260 From->getTypeSourceInfo(), in addFunctionPointerConversion()
1261 From->getStorageClass(), in addFunctionPointerConversion()
1263 CallOpConvTL.setParam(I, From); in addFunctionPointerConversion()
1264 CallOpConvNameTL.setParam(I, From); in addFunctionPointerConversion()
1414 LambdaScopeInfo::Capture From = LSI->Captures[I]; in ActOnLambdaExpr() local
[all …]
/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/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/llvm/lib/Target/NVPTX/
DNVPTXImageOptimizer.cpp43 void replaceWith(Instruction *From, ConstantInt *To);
146 void NVPTXImageOptimizer::replaceWith(Instruction *From, ConstantInt *To) { in replaceWith() argument
150 for (CallInst::use_iterator UI = From->use_begin(), UE = From->use_end(); in replaceWith()
165 From->replaceAllUsesWith(To); in replaceWith()
166 InstrToDelete.push_back(From); in replaceWith()
/external/clang/include/clang/Analysis/Analyses/
DConsumed.h140 const Stmt *From; variable
145 ConsumedStateMap() : Reachable(true), From(nullptr) {} in ConsumedStateMap()
147 : Reachable(Other.Reachable), From(Other.From), VarMap(Other.VarMap), in ConsumedStateMap()
180 void setSource(const Stmt *Source) { this->From = Source; } in setSource()
228 bool isBackEdge(const CFGBlock *From, const CFGBlock *To);
/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/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()
/external/valgrind/docs/internals/
Dporting-to-ARM.txt49 From cachegrind/cg-arm.c
64 From m_syswrap/syswrap-arm-linux.c
97 From m_scheduler/scheduler.c
104 From include/pub_tool_machine.h
112 From include/pub_tool_basics.h
118 From coregrind/pub_core_machine.h
137 From coregrind/pub_core_threadstate.h
143 From coregrind/vki_unistd.h
149 From coregrind/m_signals.c
159 From tests/arch_test.c
[all …]
/external/clang/include/clang/Lex/
DPreprocessorOptions.h158 void addRemappedFile(StringRef From, StringRef To) { in addRemappedFile() argument
159 RemappedFiles.push_back(std::make_pair(From, To)); in addRemappedFile()
162 void addRemappedFile(StringRef From, llvm::MemoryBuffer *To) { in addRemappedFile() argument
163 RemappedFileBuffers.push_back(std::make_pair(From, To)); in addRemappedFile()
/external/proguard/examples/dictionaries/
Dshakespeare.txt12 --From The Tempest (V, i, 275-276)
17 --From Hamlet (II, ii, 206)
23 --From Romeo and Juliet (II, ii, 1-2)
/external/llvm/lib/TableGen/
DSetTheory.cpp188 int64_t From, To; in apply() local
190 From = II->getValue(); in apply()
193 if (From < 0 || From >= (1 << 30)) in apply()
206 Step *= From <= To ? 1 : -1; in apply()
208 if (Step > 0 && From > To) in apply()
210 else if (Step < 0 && From < To) in apply()
214 OS << format(Format.c_str(), unsigned(From)); in apply()
225 From += Step; in apply()

12345678910>>...28