Home
last modified time | relevance | path

Searched refs:Receiver (Results 1 – 25 of 72) sorted by relevance

123

/external/clang/test/Index/
Dcursor-dynamic-call.mm66 // CHECK: 25:3 ObjCMessageExpr=meth:14:8 {{.*}} Dynamic-call Receiver-type=ObjCObjectPointer
69 // CHECK: 29:3 {{.*}} Receiver-type=ObjCInterface
71 // CHECK: 35:3 ObjCMessageExpr=meth:14:8 {{.*}} Dynamic-call Receiver-type=ObjCObjectPointer
73 // CHECK: 36:3 {{.*}} Receiver-type=ObjCInterface
74 // CHECK: 37:3 ObjCMessageExpr=ClsMeth:15:8 {{.*}} Dynamic-call Receiver-type=ObjCClass
/external/v8/test/mjsunit/regress/
Dregress-2980.js53 function Receiver() {} class
54 Receiver.prototype = holder2;
56 var rec2 = new Receiver();
/external/clang/include/clang/AST/
DExprObjC.h565 llvm::PointerUnion3<Stmt*, const Type*, ObjCInterfaceDecl*> Receiver;
576 IdLoc(l), ReceiverLoc(), Receiver(base) {
587 IdLoc(l), ReceiverLoc(sl), Receiver(st.getTypePtr()) {
598 IdLoc(IdLoc), ReceiverLoc(), Receiver(Base) {
608 IdLoc(IdLoc), ReceiverLoc(SuperLoc), Receiver(SuperTy.getTypePtr()) {
615 SourceLocation ReceiverLoc, ObjCInterfaceDecl *Receiver)
618 IdLoc(IdLoc), ReceiverLoc(ReceiverLoc), Receiver(Receiver) {
678 return cast<Expr>(Receiver.get<Stmt*>());
681 return cast<Expr>(Receiver.get<Stmt*>());
688 return QualType(Receiver.get<const Type*>(), 0);
[all …]
/external/clang/lib/StaticAnalyzer/Checkers/
DNoReturnFunctionChecker.cpp112 const ObjCInterfaceDecl *Receiver = Msg.getReceiverInterface(); in checkPostObjCMessage() local
113 if (!Receiver) in checkPostObjCMessage()
115 if (!Receiver->getIdentifier()->isStr("NSAssertionHandler")) in checkPostObjCMessage()
DCheckObjCDealloc.cpp41 if (Expr *Receiver = ME->getInstanceReceiver()->IgnoreParenCasts()) in scan_ivar_release() local
42 if (ObjCIvarRefExpr *E = dyn_cast<ObjCIvarRefExpr>(Receiver)) in scan_ivar_release()
49 if (Expr *Receiver = ME->getInstanceReceiver()->IgnoreParenCasts()) in scan_ivar_release() local
50 if (DeclRefExpr *E = dyn_cast<DeclRefExpr>(Receiver)) in scan_ivar_release()
DIvarInvalidationChecker.cpp697 const Expr *Receiver = ME->getInstanceReceiver(); in VisitObjCMessageExpr() local
700 if (Receiver && isInvalidationMethod(MD, /*LookForPartial*/ false)) in VisitObjCMessageExpr()
701 if (Receiver->isObjCSelfExpr()) { in VisitObjCMessageExpr()
717 if (Receiver) { in VisitObjCMessageExpr()
719 check(Receiver->IgnoreParenCasts()); in VisitObjCMessageExpr()
/external/clang/lib/Sema/
DSemaExprObjC.cpp2216 ParsedType Receiver, in ActOnClassMessage() argument
2223 QualType ReceiverType = GetTypeFromParser(Receiver, &ReceiverTypeInfo); in ActOnClassMessage()
2237 ExprResult Sema::BuildInstanceMessageImplicit(Expr *Receiver, in BuildInstanceMessageImplicit() argument
2243 return BuildInstanceMessage(Receiver, ReceiverType, in BuildInstanceMessageImplicit()
2244 /*SuperLoc=*/!Receiver ? Loc : SourceLocation(), in BuildInstanceMessageImplicit()
2277 ExprResult Sema::BuildInstanceMessage(Expr *Receiver, in BuildInstanceMessage() argument
2288 SourceLocation Loc = SuperLoc.isValid()? SuperLoc : Receiver->getLocStart(); in BuildInstanceMessage()
2290 SuperLoc.isValid()? SuperLoc : Receiver->getSourceRange(); in BuildInstanceMessage()
2305 if (Receiver) { in BuildInstanceMessage()
2306 if (Receiver->hasPlaceholderType()) { in BuildInstanceMessage()
[all …]
/external/clang/include/clang/StaticAnalyzer/Checkers/
DObjCRetainCount.h202 ArgEffect Receiver; variable
211 ArgEffect getReceiver() const { return Receiver; } in getReceiver()
/external/v8/tools/testrunner/server/
Dstatus_handler.py44 rec = compression.Receiver(sock)
79 rec = compression.Receiver(self.request)
Dlocal_handler.py43 rec = compression.Receiver(sock)
56 rec = compression.Receiver(self.request)
Dcompression.py51 class Receiver(object): class
Dwork_handler.py45 rec = compression.Receiver(self.request)
/external/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp32 const ObjCInterfaceDecl *Receiver = Msg->getReceiverInterface(); in checkForLiteralCreation() local
33 if (!Receiver) in checkForLiteralCreation()
35 ClassId = Receiver->getIdentifier(); in checkForLiteralCreation()
110 const Expr *Receiver, in maybeAdjustInterfaceForSubscriptingCheck() argument
112 assert(IFace && Receiver); in maybeAdjustInterfaceForSubscriptingCheck()
115 if (!Ctx.isObjCIdType(Receiver->getType().getUnqualifiedType())) in maybeAdjustInterfaceForSubscriptingCheck()
119 InnerMsg = dyn_cast<ObjCMessageExpr>(Receiver->IgnoreParenCasts()); in maybeAdjustInterfaceForSubscriptingCheck()
174 static void maybePutParensOnReceiver(const Expr *Receiver, Commit &commit) { in maybePutParensOnReceiver() argument
175 if (subscriptOperatorNeedsParens(Receiver)) { in maybePutParensOnReceiver()
176 SourceRange RecRange = Receiver->getSourceRange(); in maybePutParensOnReceiver()
/external/robolectric/src/main/java/com/foo/
DReceiver.java7 public class Receiver extends BroadcastReceiver { class
/external/clang/lib/CodeGen/
DCGObjCGNU.cpp458 llvm::Value *&Receiver,
490 llvm::Value *Receiver, const CallArgList &CallArgs,
497 bool isCategoryImpl, llvm::Value *Receiver,
590 llvm::Value *LookupIMP(CodeGenFunction &CGF, llvm::Value *&Receiver, in LookupIMP() argument
595 EnforceType(Builder, Receiver, IdTy), in LookupIMP()
648 llvm::Value *LookupIMP(CodeGenFunction &CGF, llvm::Value *&Receiver, in LookupIMP() argument
655 llvm::Value *ReceiverPtr = CGF.CreateTempAlloca(Receiver->getType()); in LookupIMP()
656 Builder.CreateStore(Receiver, ReceiverPtr); in LookupIMP()
683 Receiver = Builder.CreateLoad(ReceiverPtr, true); in LookupIMP()
797 llvm::Value *LookupIMP(CodeGenFunction &CGF, llvm::Value *&Receiver, in LookupIMP() argument
[all …]
DCGObjC.cpp74 llvm::Value *Receiver = Runtime.GetClass(*this, ClassDecl); in EmitObjCBoxedExpr() local
80 *this, ReturnValueSlot(), BoxingMethod->getReturnType(), Sel, Receiver, in EmitObjCBoxedExpr()
179 llvm::Value *Receiver = Runtime.GetClass(*this, Class); in EmitObjCCollectionLiteral() local
184 Receiver, Args, Class, MethodWithObjects); in EmitObjCCollectionLiteral()
313 llvm::Value *Receiver = nullptr; in EmitObjCMessageExpr() local
320 Receiver = ter.getPointer(); in EmitObjCMessageExpr()
323 Receiver = EmitScalarExpr(E->getInstanceReceiver()); in EmitObjCMessageExpr()
332 Receiver = Runtime.GetClass(*this, OID); in EmitObjCMessageExpr()
339 Receiver = LoadObjCSelf(); in EmitObjCMessageExpr()
345 Receiver = LoadObjCSelf(); in EmitObjCMessageExpr()
[all …]
/external/v8/src/compiler/
Djs-typed-lowering.cc230 Type* maybe_string = Type::Union(Type::String(), Type::Receiver(), zone()); in ReduceJSAdd()
314 Type* maybe_string = Type::Union(Type::String(), Type::Receiver(), zone()); in ReduceJSComparison()
366 if (r.BothInputsAre(Type::Receiver())) { in ReduceJSEqual()
368 simplified()->ReferenceEqual(Type::Receiver()), invert); in ReduceJSEqual()
410 if (r.OneInputIs(Type::Receiver())) { in ReduceJSStrictEqual()
412 simplified()->ReferenceEqual(Type::Receiver()), invert); in ReduceJSStrictEqual()
/external/guava/guava-tests/test/com/google/common/cache/
DCacheEvictionTest.java24 import com.google.common.cache.CacheTesting.Receiver;
139 new Receiver<ReferenceEntry<Integer, Integer>>() { in testUpdateRecency_onGet()
154 new Receiver<ReferenceEntry<Integer, Integer>>() { in testUpdateRecency_onInvalidate()
/external/clang/lib/StaticAnalyzer/Core/
DBugReporterVisitors.cpp940 if (const Expr *Receiver = NilReceiverBRVisitor::getNilReceiver(S, N)) in trackNullOrUndefValue() local
941 trackNullOrUndefValue(N, Receiver, report, false, EnableNullFPSuppression); in trackNullOrUndefValue()
1056 if (const Expr *Receiver = ME->getInstanceReceiver()) { in getNilReceiver() local
1058 SVal V = state->getSVal(Receiver, N->getLocationContext()); in getNilReceiver()
1060 return Receiver; in getNilReceiver()
1074 const Expr *Receiver = getNilReceiver(S, N); in VisitNode() local
1075 if (!Receiver) in VisitNode()
1094 bugreporter::trackNullOrUndefValue(N, Receiver, BR, /*IsArg*/ false, in VisitNode()
1097 PathDiagnosticLocation L(Receiver, BRC.getSourceManager(), in VisitNode()
DCallEvent.cpp792 const MemRegion *Receiver = nullptr; in getRuntimeDefinition() local
799 Receiver = getReceiverSVal().getAsRegion(); in getRuntimeDefinition()
800 if (!Receiver) in getRuntimeDefinition()
803 DynamicTypeInfo DTI = getState()->getDynamicTypeInfo(Receiver); in getRuntimeDefinition()
854 return RuntimeDefinition(MD, Receiver); in getRuntimeDefinition()
/external/v8/tools/testrunner/network/
Dnetwork_execution.py101 self.local_receiver = compression.Receiver(self.local_socket)
185 rec = compression.Receiver(sock)
/external/clang/lib/Parse/
DParseObjc.cpp2182 ExprResult Receiver = Actions.CorrectDelayedTyposInExpr(ParseExpression()); in ParseObjCXXMessageReceiver() local
2183 if (Receiver.isInvalid()) in ParseObjCXXMessageReceiver()
2187 TypeOrExpr = Receiver.get(); in ParseObjCXXMessageReceiver()
2211 ExprResult Receiver = ParseCXXTypeConstructExpression(DS); in ParseObjCXXMessageReceiver() local
2212 if (!Receiver.isInvalid()) in ParseObjCXXMessageReceiver()
2213 Receiver = ParsePostfixExpressionSuffix(Receiver.get()); in ParseObjCXXMessageReceiver()
2214 if (!Receiver.isInvalid()) in ParseObjCXXMessageReceiver()
2215 Receiver = ParseRHSOfBinaryExpression(Receiver.get(), prec::Comma); in ParseObjCXXMessageReceiver()
2216 if (Receiver.isInvalid()) in ParseObjCXXMessageReceiver()
2220 TypeOrExpr = Receiver.get(); in ParseObjCXXMessageReceiver()
/external/clang/test/Analysis/
Duninit-ps-rdar6145427.m35 …inter = [someUnintializedPointer objectAtIndex:0]; // expected-warning{{Receiver in message expres…
Duninit-msg-expr.m44 …return [aString length]; // expected-warning {{Receiver in message expression is an uninitialized …
/external/v8/src/
Dtypes.cc419 !this_fun->Receiver()->Equals(that_fun->Receiver())) { in SimplyEquals()
963 TypeHandle rcv = Convert<OtherType>(type->AsFunction()->Receiver(), region); in Convert()
1072 if (!this->AsFunction()->Receiver()->IsAny()) { in PrintTo()
1073 this->AsFunction()->Receiver()->PrintTo(os, dim); in PrintTo()

123