Home
last modified time | relevance | path

Searched refs:Retain (Results 1 – 25 of 54) sorted by relevance

123

/external/llvm/lib/Transforms/ObjCARC/
DObjCARCContract.cpp187 CallInst *Retain = 0; in ContractAutorelease() local
203 Retain = dyn_cast_or_null<CallInst>(*DependingInstructions.begin()); in ContractAutorelease()
206 if (!Retain || in ContractAutorelease()
207 GetBasicInstructionClass(Retain) != IC_Retain || in ContractAutorelease()
208 GetObjCArg(Retain) != Arg) in ContractAutorelease()
217 << *Retain << "\n"); in ContractAutorelease()
220 Retain->setCalledFunction(getRetainAutoreleaseRVCallee(F.getParent())); in ContractAutorelease()
222 Retain->setCalledFunction(getRetainAutoreleaseCallee(F.getParent())); in ContractAutorelease()
225 << *Retain << "\n"); in ContractAutorelease()
287 Instruction *Retain = I; in ContractRelease() local
[all …]
DObjCARCOpts.cpp750 void OptimizeRetainCall(Function &F, Instruction *Retain);
952 ObjCARCOpt::OptimizeRetainCall(Function &F, Instruction *Retain) { in OptimizeRetainCall() argument
953 ImmutableCallSite CS(GetObjCArg(Retain)); in OptimizeRetainCall()
956 if (Call->getParent() != Retain->getParent()) return; in OptimizeRetainCall()
962 if (&*I != Retain) in OptimizeRetainCall()
973 << *Retain << "\n"); in OptimizeRetainCall()
975 cast<CallInst>(Retain)->setCalledFunction(getRetainRVCallee(F.getParent())); in OptimizeRetainCall()
978 << *Retain << "\n"); in OptimizeRetainCall()
2244 Instruction *Retain = cast<Instruction>(V); in PerformCodePlacement() local
2246 DEBUG(dbgs() << "ObjCARCOpt::PerformCodePlacement: Visiting: " << *Retain in PerformCodePlacement()
[all …]
/external/llvm/include/llvm/ADT/
DIntrusiveRefCntPtr.h51 void Retain() const { ++ref_cnt; } in Retain() function
76 void Retain() const { ++ref_cnt; } in Retain() function
88 static void retain(T *obj) { obj->Retain(); } in retain()
/external/webkit/Source/WebKit/android/jni/
DWebCoreRefObject.h33 static inline WebCoreRefObject* Retain(WebCoreRefObject* obj) in Retain() function
DWebFrameView.cpp49 Retain(mWebViewCore); in WebFrameView()
/external/webkit/Source/JavaScriptGlue/
DJSBase.h39 JSBase* Retain();
DJSBase.cpp40 JSBase* JSBase::Retain() in Retain() function in JSBase
DJSUtils.cpp112 result->Retain(); in KJSValueToJSObject()
DUserObjectImp.cpp39 , fJSUserObject((JSUserObject*)userObject->Retain()) in UserObjectImp()
DJavaScriptGlue.cpp70 ptr->Retain(); in JSRetain()
/external/clang/lib/StaticAnalyzer/Checkers/
DBasicObjCFoundationChecks.cpp382 mutable IdentifierInfo *Retain, *Release, *MakeCollectable; member in __anon11bb79fe0411::CFRetainReleaseChecker
384 CFRetainReleaseChecker(): Retain(0), Release(0), MakeCollectable(0) {} in CFRetainReleaseChecker()
403 Retain = &Ctx.Idents.get("CFRetain"); in checkPreStmt()
412 if (!(FuncII == Retain || FuncII == Release || FuncII == MakeCollectable)) in checkPreStmt()
443 if (FuncII == Retain) in checkPreStmt()
/external/webkit/Source/WebCore/platform/android/
DWidgetAndroid.cpp73 Retain(platformWidget()); in retainPlatformWidget()
DPopupMenuAndroid.cpp128 Retain(m_reply); in show()
/external/llvm/unittests/ADT/
DIntrusiveRefCntPtrTest.cpp46 I->Retain(); in retain()
/external/clang/test/Analysis/inlining/
Dretain-count-self-init.m22 // stop tracking the receiver of init with respect to Retain Release checker.
/external/chromium/chrome/browser/tab_contents/
Dpopup_menu_helper_mac.mm32 // Retain the Cocoa view for the duration of the pop-up so that it can't be
/external/clang/test/CodeGenObjC/
Darc-literals.m98 // Retain parameter
/external/webkit/Source/WebKit/mac/Misc/
DWebNSObjectExtras.mm96 // Retain the return value on the main thread.
/external/chromium/chrome/browser/ui/cocoa/
Dhover_close_button.mm128 // Retain here, as scoped_* don't retain.
/external/webkit/Source/WebKit/android/WebCoreSupport/
DFrameLoaderClientAndroid.cpp98 Retain(m_webFrame); in FrameLoaderClientAndroid()
946 Retain(webViewCore); in transitionToCommittedForNewPage()
1297 Retain(m_webFrame); in didTransferChildFrameToNewDocument()
DChromeClientAndroid.cpp121 Retain(m_webFrame); in setWebFrame()
/external/clang/include/clang/AST/
DDeclObjC.h1982 enum SetterKind { Assign, Retain, Copy, Weak }; enumerator
2080 return getType()->isBlockPointerType() ? Copy : Retain; in getSetterKind()
2082 return Retain; in getSetterKind()
/external/clang/tools/libclang/
DIndexingContext.h262 void Retain() { ++ref_cnt; } in Retain() function
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DCallEvent.h139 void Retain() const { ++RefCount; } in Retain() function
/external/chromium/third_party/libevent/
DChangeLog81 …o Rename INPUT and OUTPUT to EVRPC_INPUT and EVRPC_OUTPUT. Retain INPUT/OUTPUT aliases on on-win3…

123