Searched defs:Owned (Results 1 - 9 of 9) sorted by relevance

/external/chromium_org/base/
H A Dbind_helpers.h15 // The wrapper functions are base::Unretained(), base::Owned(), bass::Passed(),
21 // Owned() transfers ownership of an object to the Callback resulting from
56 // EXAMPLE OF Owned():
61 // Closure foo_callback = Bind(&foo, Owned(pn));
71 // Without Owned(), someone would have to know to delete |pn| when the last
511 static inline internal::OwnedWrapper<T> Owned(T* o) { function in namespace:base
/external/clang/lib/Sema/
H A DDeclSpec.cpp633 Decl *Rep, bool Owned) {
634 return SetTypeSpecType(T, Loc, Loc, PrevSpec, DiagID, Rep, Owned);
641 Decl *Rep, bool Owned) {
654 TypeSpecOwned = Owned && Rep != 0;
630 SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, Decl *Rep, bool Owned) argument
637 SetTypeSpecType(TST T, SourceLocation TagKwLoc, SourceLocation TagNameLoc, const char *&PrevSpec, unsigned &DiagID, Decl *Rep, bool Owned) argument
H A DSemaTemplate.cpp431 return Owned(CXXDependentScopeMemberExpr::Create(Context,
450 return Owned(DependentScopeDeclRefExpr::Create(Context,
2740 return Owned(CheckVarTemplateId(SS, R.getLookupNameInfo(),
2756 return Owned(ULE);
3332 ExprResult E = Owned(DependentScopeDeclRefExpr::Create(Context,
4561 return Owned(Arg);
4605 return Owned(Arg);
4707 return Owned(Arg);
4761 return Owned(Arg);
4809 return Owned(Ar
6990 bool Owned = false; local
[all...]
H A DSemaDeclCXX.cpp2665 DelegationInit = Owned(Init);
2794 BaseInit = Owned(Init);
8540 return S.Owned(Call.takeAs<Stmt>());
10188 return Owned(CXXConstructExpr::Create(Context, DeclInitType, ConstructLoc,
11066 bool Owned = false; local
11071 MultiTemplateParamsArg(), Owned, IsDependent,
H A DTreeTransform.h133 static inline ExprResult Owned(Expr *E) { return E; } function in class:clang::TreeTransform
134 static inline StmtResult Owned(Stmt *S) { return S; } function in class:clang::TreeTransform
1379 return Owned(new (getSema().Context) CXXCatchStmt(CatchLoc, ExceptionDecl,
1625 return getSema().Owned(ME);
1756 return SemaRef.Owned(new (SemaRef.Context) ImplicitValueInitExpr(T));
2021 return getSema().Owned(
2042 return getSema().Owned(CXXDefaultArgExpr::Create(getSema().Context, Loc,
2053 return getSema().Owned(CXXDefaultInitExpr::Create(getSema().Context, Loc,
2366 return SemaRef.Owned(SemaRef.BuildObjCEncodeExpression(AtLoc, EncodeTypeInfo,
2409 ExprResult Base = getSema().Owned(BaseAr
[all...]
/external/clang/lib/Parse/
H A DParseDeclCXX.cpp1426 bool Owned = false; local
1578 TParams, Owned, IsDependent,
1613 PrevSpec, DiagID, TagOrTempResult.get(), Owned);
H A DParseDecl.cpp3649 bool Owned = false; local
3656 Owned, IsDependent, ScopedEnumKWLoc,
3701 PrevSpec, DiagID, TagDecl, Owned))
/external/clang/lib/StaticAnalyzer/Checkers/
H A DRetainCountChecker.cpp157 Owned = 0, // Owning reference. enumerator in enum:__anon15555::RefVal::Kind
201 return getKind() == Owned;
218 return RefVal(Owned, o, Count, 0, t);
268 case Owned: {
269 Out << "Owned";
325 Out << "Release of Not-Owned [ERROR]";
2046 case RefVal::Owned:
3026 case RefVal::Owned:
3039 if (V.getKind() == RefVal::Owned) {
3064 case RefVal::Owned
[all...]
/external/clang/include/clang/Sema/
H A DSema.h956 ExprResult Owned(Expr* E) { return E; } function in class:clang::Sema
957 ExprResult Owned(ExprResult R) { return R; } function in class:clang::Sema
958 StmtResult Owned(Stmt* S) { return S; } function in class:clang::Sema
7214 E1 = Owned(E1Tmp);
7215 E2 = Owned(E2Tmp);

Completed in 355 milliseconds