Home
last modified time | relevance | path

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

12345678910>>...32

/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.h239 size_t find(char C, size_t From = 0) const {
240 for (size_t i = min(From, Length), e = Length; i != e; ++i)
250 size_t find(StringRef Str, size_t From = 0) const;
256 size_t rfind(char C, size_t From = npos) const {
257 From = min(From, Length);
258 size_t i = From;
275 size_t find_first_of(char C, size_t From = 0) const {
276 return find(C, From);
283 size_t find_first_of(StringRef Chars, size_t From = 0) const;
287 size_t find_first_not_of(char C, size_t From = 0) const;
[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/chrome/browser/ui/webui/omnibox/
Domnibox_ui_handler.cc61 result->fill_into_edit = mojo::String::From(input.fill_into_edit); in ConvertFrom()
63 mojo::String::From(input.inline_autocompletion); in ConvertFrom()
65 result->contents = mojo::String::From(input.contents); in ConvertFrom()
69 result->description = mojo::String::From(input.description); in ConvertFrom()
80 mojo::String::From(input.associated_keyword->keyword); in ConvertFrom()
82 result->keyword = mojo::String::From(input.keyword); in ConvertFrom()
88 mojo::Array<AutocompleteAdditionalInfoPtr>::From(input.additional_info); in ConvertFrom()
103 mojo::Array<AutocompleteMatchMojoPtr>::From(input->matches()); in ConvertFrom()
125 result->host = mojo::String::From(host); in OnResultChanged()
137 mojo::Array<AutocompleteMatchMojoPtr>::From(matches); in OnResultChanged()
[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(
75 ACTIVE = cr.Config.From(
/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 = 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 = 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 = 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 = 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/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/chromium_org/mojo/common/
Dcommon_type_converters_unittest.cc41 String mojo_string(String::From(string_piece)); in TEST()
47 ExpectEqualsMojoString(kText, String::From(string_piece)); in TEST()
57 const String mojo_string(String::From(string16)); in TEST()
63 ExpectEqualsMojoString(string16, String::From(string16)); in TEST()
67 ExpectEqualsMojoString(base::string16(), String::From(base::string16())); in TEST()
/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.cpp2504 Sema::IsStringLiteralToNonConstPointerConversion(Expr *From, QualType ToType) { in IsStringLiteralToNonConstPointerConversion() argument
2506 if (ImplicitCastExpr *Cast = dyn_cast<ImplicitCastExpr>(From)) in IsStringLiteralToNonConstPointerConversion()
2507 From = Cast->getSubExpr(); in IsStringLiteralToNonConstPointerConversion()
2513 if (StringLiteral *StrLit = dyn_cast<StringLiteral>(From->IgnoreParens())) in IsStringLiteralToNonConstPointerConversion()
2545 Expr *From) { in BuildCXXCastArgument() argument
2556 if (S.CompleteConstructorCall(Constructor, From, CastLoc, ConstructorArgs)) in BuildCXXCastArgument()
2575 assert(!From->getType()->isPointerType() && "Arg can't have pointer type!"); in BuildCXXCastArgument()
2579 ExprResult Result = S.BuildCXXMemberCallExpr(From, FoundDecl, Conv, in BuildCXXCastArgument()
2588 S.CheckMemberOperatorAccess(CastLoc, From, /*arg*/ nullptr, FoundDecl); in BuildCXXCastArgument()
2601 Sema::PerformImplicitConversion(Expr *From, QualType ToType, in PerformImplicitConversion() argument
[all …]
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,
1115 TryUserDefinedConversion(Sema &S, Expr *From, QualType ToType, in TryUserDefinedConversion() argument
1127 ICS.setBad(BadConversionSequence::no_conversion, From, ToType); in TryUserDefinedConversion()
1132 OverloadCandidateSet Conversions(From->getExprLoc(), in TryUserDefinedConversion()
1135 = IsUserDefinedConversion(S, From, ToType, ICS.UserDefined, Conversions, in TryUserDefinedConversion()
1151 = S.Context.getCanonicalType(From->getType().getUnqualifiedType()); in TryUserDefinedConversion()
1160 ICS.Standard.setFromType(From->getType()); in TryUserDefinedConversion()
1176 ICS.setBad(BadConversionSequence::suppressed_user, From, ToType); in TryUserDefinedConversion()
[all …]
/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/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/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/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/chromium_org/gin/
Dinterceptor.cc16 PerIsolateData::From(isolate_)->SetNamedPropertyInterceptor(base_, this); in NamedPropertyInterceptor()
20 PerIsolateData::From(isolate_)->ClearNamedPropertyInterceptor(base_, this); in ~NamedPropertyInterceptor()
41 PerIsolateData::From(isolate_)->SetIndexedPropertyInterceptor(base_, this); in IndexedPropertyInterceptor()
45 PerIsolateData::From(isolate_)->ClearIndexedPropertyInterceptor(base_, this); in ~IndexedPropertyInterceptor()
/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_org/content/renderer/
Dweb_ui_mojo_context_state.cc57 gin::PerContextData* context_data = gin::PerContextData::From(context); in WebUIMojoContextState()
61 gin::ModuleRegistry::From(context)->AddObserver(this); in WebUIMojoContextState()
70 gin::ModuleRegistry::From( in ~WebUIMojoContextState()
78 gin::ModuleRegistry::From(context_holder->context())->LoadModule( in SetHandle()
87 gin::ModuleRegistry* registry = gin::ModuleRegistry::From( in FetchModules()
137 gin::ModuleRegistry* registry = gin::ModuleRegistry::From( in OnDidAddPendingModule()
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
Drtcp_packet_unittest.cc41 rr.From(kSenderSsrc); in TEST()
62 rr.From(kSenderSsrc); in TEST()
87 rr.From(kSenderSsrc); in TEST()
103 sr.From(kSenderSsrc); in TEST()
129 sr.From(kSenderSsrc); in TEST()
148 sr.From(kSenderSsrc); in TEST()
217 app.From(kSenderSsrc); in TEST()
286 pli.From(kSenderSsrc); in TEST()
302 sli.From(kSenderSsrc); in TEST()
324 nack.From(kSenderSsrc); in TEST()
[all …]
/external/chromium_org/third_party/libaddressinput/chromium/cpp/include/libaddressinput/util/internal/
Dtemplate_util.h70 template <typename From>
71 static From& Create();
90 template <typename From, typename To>
94 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>>...32