/external/llvm/include/llvm/IR/ |
IntrinsicInst.h | 48 static inline bool classof(const CallInst *I) { function in class:llvm::IntrinsicInst 53 static inline bool classof(const Value *V) { function in class:llvm::IntrinsicInst 54 return isa<CallInst>(V) && classof(cast<CallInst>(V)); 64 static inline bool classof(const IntrinsicInst *I) { function in class:llvm::DbgInfoIntrinsic 72 static inline bool classof(const Value *V) { function in class:llvm::DbgInfoIntrinsic 73 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); 87 static inline bool classof(const IntrinsicInst *I) { function in class:llvm::DbgDeclareInst 90 static inline bool classof(const Value *V) { function in class:llvm::DbgDeclareInst 91 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); 108 static inline bool classof(const IntrinsicInst *I) function in class:llvm::DbgValueInst 111 static inline bool classof(const Value *V) { function in class:llvm::DbgValueInst 174 static inline bool classof(const IntrinsicInst *I) { function in class:llvm::MemIntrinsic 183 static inline bool classof(const Value *V) { function in class:llvm::MemIntrinsic 203 static inline bool classof(const IntrinsicInst *I) { function in class:llvm::MemSetInst 206 static inline bool classof(const Value *V) { function in class:llvm::MemSetInst 235 static inline bool classof(const IntrinsicInst *I) { function in class:llvm::MemTransferInst 239 static inline bool classof(const Value *V) { function in class:llvm::MemTransferInst 250 static inline bool classof(const IntrinsicInst *I) { function in class:llvm::MemCpyInst 253 static inline bool classof(const Value *V) { function in class:llvm::MemCpyInst 263 static inline bool classof(const IntrinsicInst *I) { function in class:llvm::MemMoveInst 266 static inline bool classof(const Value *V) { function in class:llvm::MemMoveInst 275 static inline bool classof(const IntrinsicInst *I) { function in class:llvm::VAStartInst 278 static inline bool classof(const Value *V) { function in class:llvm::VAStartInst 289 static inline bool classof(const IntrinsicInst *I) { function in class:llvm::VAEndInst 292 static inline bool classof(const Value *V) { function in class:llvm::VAEndInst 303 static inline bool classof(const IntrinsicInst *I) { function in class:llvm::VACopyInst 306 static inline bool classof(const Value *V) { function in class:llvm::VACopyInst [all...] |
Operator.h | 68 static inline bool classof(const Instruction *) { return true; } function in class:llvm::Operator 69 static inline bool classof(const ConstantExpr *) { return true; } function in class:llvm::Operator 70 static inline bool classof(const Value *V) { function in class:llvm::Operator 111 static inline bool classof(const Instruction *I) { function in class:llvm::OverflowingBinaryOperator 117 static inline bool classof(const ConstantExpr *CE) { function in class:llvm::OverflowingBinaryOperator 123 static inline bool classof(const Value *V) { function in class:llvm::OverflowingBinaryOperator 124 return (isa<Instruction>(V) && classof(cast<Instruction>(V))) || 125 (isa<ConstantExpr>(V) && classof(cast<ConstantExpr>(V))); 157 static inline bool classof(const ConstantExpr *CE) { function in class:llvm::PossiblyExactOperator 160 static inline bool classof(const Instruction *I) function in class:llvm::PossiblyExactOperator 163 static inline bool classof(const Value *V) { function in class:llvm::PossiblyExactOperator 302 static inline bool classof(const Instruction *I) { function in class:llvm::FPMathOperator 305 static inline bool classof(const Value *V) { function in class:llvm::FPMathOperator 316 static inline bool classof(const Instruction *I) { function in class:llvm::ConcreteOperator 319 static inline bool classof(const ConstantExpr *CE) { function in class:llvm::ConcreteOperator 322 static inline bool classof(const Value *V) { function in class:llvm::ConcreteOperator [all...] |
Instructions.h | 116 static inline bool classof(const Instruction *I) { function in class:llvm::AllocaInst 119 static inline bool classof(const Value *V) { function in class:llvm::AllocaInst 120 return isa<Instruction>(V) && classof(cast<Instruction>(V)); 236 static inline bool classof(const Instruction *I) { function in class:llvm::LoadInst 239 static inline bool classof(const Value *V) { function in class:llvm::LoadInst 240 return isa<Instruction>(V) && classof(cast<Instruction>(V)); 358 static inline bool classof(const Instruction *I) { function in class:llvm::StoreInst 361 static inline bool classof(const Value *V) { function in class:llvm::StoreInst 362 return isa<Instruction>(V) && classof(cast<Instruction>(V)); 429 static inline bool classof(const Instruction *I) function in class:llvm::FenceInst 432 static inline bool classof(const Value *V) { function in class:llvm::FenceInst 529 static inline bool classof(const Instruction *I) { function in class:llvm::AtomicCmpXchgInst 532 static inline bool classof(const Value *V) { function in class:llvm::AtomicCmpXchgInst 673 static inline bool classof(const Instruction *I) { function in class:llvm::AtomicRMWInst 676 static inline bool classof(const Value *V) { function in class:llvm::AtomicRMWInst 865 static inline bool classof(const Instruction *I) { function in class:llvm::GetElementPtrInst 868 static inline bool classof(const Value *V) { function in class:llvm::GetElementPtrInst 1046 static inline bool classof(const Instruction *I) { function in class:llvm::ICmpInst 1049 static inline bool classof(const Value *V) { function in class:llvm::ICmpInst 1155 static inline bool classof(const Instruction *I) { function in class:llvm::FCmpInst 1158 static inline bool classof(const Value *V) { function in class:llvm::FCmpInst 1385 static inline bool classof(const Instruction *I) { function in class:llvm::CallInst 1388 static inline bool classof(const Value *V) { function in class:llvm::CallInst 1493 static inline bool classof(const Instruction *I) { function in class:llvm::SelectInst 1496 static inline bool classof(const Value *V) { function in class:llvm::SelectInst 1535 static inline bool classof(const Instruction *I) { function in class:llvm::VAArgInst 1538 static inline bool classof(const Value *V) { function in class:llvm::VAArgInst 1588 static inline bool classof(const Instruction *I) { function in class:llvm::ExtractElementInst 1591 static inline bool classof(const Value *V) { function in class:llvm::ExtractElementInst 1646 static inline bool classof(const Instruction *I) { function in class:llvm::InsertElementInst 1649 static inline bool classof(const Value *V) { function in class:llvm::InsertElementInst 1726 static inline bool classof(const Instruction *I) { function in class:llvm::ShuffleVectorInst 1729 static inline bool classof(const Value *V) { function in class:llvm::ShuffleVectorInst 1821 static inline bool classof(const Instruction *I) { function in class:llvm::ExtractValueInst 1824 static inline bool classof(const Value *V) { function in class:llvm::ExtractValueInst 1942 static inline bool classof(const Instruction *I) { function in class:llvm::InsertValueInst 1945 static inline bool classof(const Value *V) { function in class:llvm::InsertValueInst 2158 static inline bool classof(const Instruction *I) { function in class:llvm::PHINode 2161 static inline bool classof(const Value *V) { function in class:llvm::PHINode 2265 static inline bool classof(const Instruction *I) { function in class:llvm::LandingPadInst 2268 static inline bool classof(const Value *V) { function in class:llvm::LandingPadInst 2333 static inline bool classof(const Instruction *I) { function in class:llvm::ReturnInst 2336 static inline bool classof(const Value *V) { function in class:llvm::ReturnInst 2435 static inline bool classof(const Value *V) { function in class:llvm::BranchInst 2839 static inline bool classof(const Instruction *I) { function in class:llvm::SwitchInst 2842 static inline bool classof(const Value *V) { function in class:llvm::SwitchInst 2937 static inline bool classof(const Instruction *I) { function in class:llvm::IndirectBrInst 2940 static inline bool classof(const Value *V) { function in class:llvm::IndirectBrInst 3236 static inline bool classof(const Instruction *I) { function in class:llvm::InvokeInst::ResumeInst 3239 static inline bool classof(const Value *V) { function in class:llvm::InvokeInst::ResumeInst 3280 static inline bool classof(const Instruction *I) { function in class:llvm::InvokeInst::UnreachableInst 3283 static inline bool classof(const Value *V) { function in class:llvm::InvokeInst::UnreachableInst 3320 static inline bool classof(const Instruction *I) { function in class:llvm::InvokeInst::TruncInst 3323 static inline bool classof(const Value *V) { function in class:llvm::InvokeInst::TruncInst 3356 static inline bool classof(const Instruction *I) { function in class:llvm::InvokeInst::ZExtInst 3359 static inline bool classof(const Value *V) { function in class:llvm::InvokeInst::ZExtInst 3392 static inline bool classof(const Instruction *I) { function in class:llvm::InvokeInst::SExtInst 3395 static inline bool classof(const Value *V) { function in class:llvm::InvokeInst::SExtInst 3428 static inline bool classof(const Instruction *I) { function in class:llvm::InvokeInst::FPTruncInst 3431 static inline bool classof(const Value *V) { function in class:llvm::InvokeInst::FPTruncInst 3464 static inline bool classof(const Instruction *I) { function in class:llvm::InvokeInst::FPExtInst 3467 static inline bool classof(const Value *V) { function in class:llvm::InvokeInst::FPExtInst 3500 static inline bool classof(const Instruction *I) { function in class:llvm::InvokeInst::UIToFPInst 3503 static inline bool classof(const Value *V) { function in class:llvm::InvokeInst::UIToFPInst 3536 static inline bool classof(const Instruction *I) { function in class:llvm::InvokeInst::SIToFPInst 3539 static inline bool classof(const Value *V) { function in class:llvm::InvokeInst::SIToFPInst 3572 static inline bool classof(const Instruction *I) { function in class:llvm::InvokeInst::FPToUIInst 3575 static inline bool classof(const Value *V) { function in class:llvm::InvokeInst::FPToUIInst 3608 static inline bool classof(const Instruction *I) { function in class:llvm::InvokeInst::FPToSIInst 3611 static inline bool classof(const Value *V) { function in class:llvm::InvokeInst::FPToSIInst 3648 static inline bool classof(const Instruction *I) { function in class:llvm::InvokeInst::IntToPtrInst 3651 static inline bool classof(const Value *V) { function in class:llvm::InvokeInst::IntToPtrInst 3696 static inline bool classof(const Instruction *I) { function in class:llvm::InvokeInst::PtrToIntInst 3699 static inline bool classof(const Value *V) { function in class:llvm::InvokeInst::PtrToIntInst 3732 static inline bool classof(const Instruction *I) { function in class:llvm::InvokeInst::BitCastInst 3735 static inline bool classof(const Value *V) { function in class:llvm::InvokeInst::BitCastInst [all...] |
/external/clang/include/clang/Driver/ |
Action.h | 109 static bool classof(const Action *A) { function in class:clang::driver::InputAction 125 static bool classof(const Action *A) { function in class:clang::driver::BindArchAction 137 static bool classof(const Action *A) { function in class:clang::driver::JobAction 148 static bool classof(const Action *A) { function in class:clang::driver::PreprocessJobAction 158 static bool classof(const Action *A) { function in class:clang::driver::PrecompileJobAction 168 static bool classof(const Action *A) { function in class:clang::driver::AnalyzeJobAction 178 static bool classof(const Action *A) { function in class:clang::driver::MigrateJobAction 188 static bool classof(const Action *A) { function in class:clang::driver::CompileJobAction 198 static bool classof(const Action *A) { function in class:clang::driver::AssembleJobAction 208 static bool classof(const Action *A) function in class:clang::driver::LinkJobAction 218 static bool classof(const Action *A) { function in class:clang::driver::LipoJobAction 228 static bool classof(const Action *A) { function in class:clang::driver::DsymutilJobAction 237 static bool classof(const Action *A) { function in class:clang::driver::VerifyJobAction [all...] |
Job.h | 79 static bool classof(const Job *J) { function in class:clang::driver::Command 113 static bool classof(const Job *J) { function in class:clang::driver::JobList
|
/external/llvm/docs/ |
HowToSetUpLLVMStyleRTTI.rst | 152 is through a small static member function ``classof``. In order to have 180 + static bool classof(const Shape *S) { 191 + static bool classof(const Shape *S) { 196 The job of ``classof`` is to dynamically determine whether an object of 199 ``classof`` in ``Derived`` which will accept an object of type ``Base``. 212 check roughly like ``Circle::classof(S)``. For more information, see 213 :ref:`classof-contract`. 215 The argument to ``classof`` should always be an *ancestor* class because 218 ``Foo`` automatically has a ``classof`` like: 225 static bool classof(const T * [all...] |
/frameworks/compile/mclinker/unittests/ |
MCRegionFragmentTest.cpp | 54 ASSERT_FALSE(llvm::MCDataFragment::classof(frag)); 55 ASSERT_TRUE(MCRegionFragment::classof(frag)); 69 ASSERT_FALSE(llvm::MCDataFragment::classof(frag)); 70 ASSERT_TRUE(MCRegionFragment::classof(frag));
|
/frameworks/compile/mclinker/include/mcld/Fragment/ |
NullFragment.h | 33 static bool classof(const Fragment *F) function in class:mcld::NullFragment 36 static bool classof(const NullFragment *) function in class:mcld::NullFragment
|
TargetFragment.h | 34 static bool classof(const Fragment *F) function in class:mcld::TargetFragment 37 static bool classof(const TargetFragment *) function in class:mcld::TargetFragment
|
FillFragment.h | 33 static bool classof(const Fragment *F) function in class:mcld::FillFragment 36 static bool classof(const FillFragment *) { return true; } function in class:mcld::FillFragment
|
RegionFragment.h | 34 static bool classof(const Fragment *F) function in class:mcld::RegionFragment 37 static bool classof(const RegionFragment *) function in class:mcld::RegionFragment
|
AlignFragment.h | 39 static bool classof(const Fragment *F) function in class:mcld::AlignFragment 41 static bool classof(const AlignFragment *) { return true; } function in class:mcld::AlignFragment
|
Stub.h | 109 static bool classof(const Fragment *F) function in class:mcld::Stub 112 static bool classof(const Stub *) function in class:mcld::Stub
|
/external/llvm/unittests/Support/ |
Casting.cpp | 37 /* static bool classof(const bar *X) { 38 cerr << "Classof: " << X << "\n"; 45 dbgs() << "Classof: " << &Val << "\n"; 187 // No classof. We are testing that the upcast is inferred. 196 // Even with no explicit classof() in Base, we should still be able to cast 212 static bool classof(const UseInferredUpcast *) { function in class:__anon22469::inferred_upcasting::UseInferredUpcast 219 // Since the explicit classof() returns false, this will fail if the
|
/external/llvm/utils/TableGen/ |
DAGISelMatcher.h | 219 static inline bool classof(const Matcher *N) { function in class:llvm::ScopeMatcher 245 static inline bool classof(const Matcher *N) { function in class:llvm::RecordMatcher 279 static inline bool classof(const Matcher *N) { function in class:llvm::RecordChildMatcher 298 static inline bool classof(const Matcher *N) { function in class:llvm::RecordMemRefMatcher 317 static inline bool classof(const Matcher *N) { function in class:llvm::CaptureGlueInputMatcher 338 static inline bool classof(const Matcher *N) { function in class:llvm::MoveChildMatcher 358 static inline bool classof(const Matcher *N) { function in class:llvm::MoveParentMatcher 381 static inline bool classof(const Matcher *N) { function in class:llvm::CheckSameMatcher 406 static inline bool classof(const Matcher *N) { function in class:llvm::CheckPatternPredicateMatcher 429 static inline bool classof(const Matcher *N) function in class:llvm::CheckPredicateMatcher 455 static inline bool classof(const Matcher *N) { function in class:llvm::CheckOpcodeMatcher 479 static inline bool classof(const Matcher *N) { function in class:llvm::SwitchOpcodeMatcher 507 static inline bool classof(const Matcher *N) { function in class:llvm::CheckTypeMatcher 533 static inline bool classof(const Matcher *N) { function in class:llvm::SwitchTypeMatcher 562 static inline bool classof(const Matcher *N) { function in class:llvm::CheckChildTypeMatcher 589 static inline bool classof(const Matcher *N) { function in class:llvm::CheckIntegerMatcher 614 static inline bool classof(const Matcher *N) { function in class:llvm::CheckCondCodeMatcher 638 static inline bool classof(const Matcher *N) { function in class:llvm::CheckValueTypeMatcher 682 static inline bool classof(const Matcher *N) { function in class:llvm::CheckComplexPatMatcher 710 static inline bool classof(const Matcher *N) { function in class:llvm::CheckAndImmMatcher 734 static inline bool classof(const Matcher *N) { function in class:llvm::CheckOrImmMatcher 755 static inline bool classof(const Matcher *N) { function in class:llvm::CheckFoldableChainNodeMatcher 778 static inline bool classof(const Matcher *N) { function in class:llvm::EmitIntegerMatcher 803 static inline bool classof(const Matcher *N) { function in class:llvm::EmitStringIntegerMatcher 829 static inline bool classof(const Matcher *N) { function in class:llvm::EmitRegisterMatcher 855 static inline bool classof(const Matcher *N) { function in class:llvm::EmitConvertToTargetMatcher 909 static inline bool classof(const Matcher *N) { function in class:llvm::EmitCopyToRegMatcher 938 static inline bool classof(const Matcher *N) { function in class:llvm::EmitNodeXFormMatcher 1029 static inline bool classof(const Matcher *N) { function in class:llvm::EmitNodeMatcher 1053 static inline bool classof(const Matcher *N) { function in class:llvm::MorphNodeToMatcher 1102 static inline bool classof(const Matcher *N) { function in class:llvm::CompleteMatchMatcher [all...] |
TGValueTypes.cpp | 48 static bool classof(const Type *T) { function in class:ExtendedIntegerType 65 static bool classof(const Type *T) { function in class:ExtendedVectorType
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
MemRegion.h | 204 assert(classof(this)); 214 static bool classof(const MemRegion *R) { function in class:clang::ento::MemSpaceRegion 226 static bool classof(const MemRegion *R) { function in class:clang::ento::GlobalsSpaceRegion 252 static bool classof(const MemRegion *R) { function in class:clang::ento::StaticGlobalSpaceRegion 272 static bool classof(const MemRegion *R) { function in class:clang::ento::NonStaticGlobalSpaceRegion 291 static bool classof(const MemRegion *R) { function in class:clang::ento::GlobalSystemSpaceRegion 311 static bool classof(const MemRegion *R) { function in class:clang::ento::GlobalImmutableSpaceRegion 329 static bool classof(const MemRegion *R) { function in class:clang::ento::GlobalInternalSpaceRegion 344 static bool classof(const MemRegion *R) { function in class:clang::ento::HeapSpaceRegion 358 static bool classof(const MemRegion *R) function in class:clang::ento::UnknownSpaceRegion 378 static bool classof(const MemRegion *R) { function in class:clang::ento::StackSpaceRegion 394 static bool classof(const MemRegion *R) { function in class:clang::ento::StackLocalsSpaceRegion 409 static bool classof(const MemRegion *R) { function in class:clang::ento::StackArgumentsSpaceRegion 437 static bool classof(const MemRegion* R) { function in class:clang::ento::SubRegion 473 static bool classof(const MemRegion* R) { function in class:clang::ento::AllocaRegion 494 static bool classof(const MemRegion* R) { function in class:clang::ento::TypedRegion 526 static bool classof(const MemRegion* R) { function in class:clang::ento::TypedValueRegion 541 static bool classof(const MemRegion* R) { function in class:clang::ento::CodeTextRegion 581 static bool classof(const MemRegion* R) { function in class:clang::ento::FunctionTextRegion 623 static bool classof(const MemRegion* R) { function in class:clang::ento::BlockTextRegion 697 static bool classof(const MemRegion* R) { function in class:clang::ento::BlockDataRegion 735 static bool classof(const MemRegion* R) { function in class:clang::ento::SymbolicRegion 771 static bool classof(const MemRegion* R) { function in class:clang::ento::StringRegion 805 static bool classof(const MemRegion* R) { function in class:clang::ento::ObjCStringRegion 837 static bool classof(const MemRegion* R) { function in class:clang::ento::CompoundLiteralRegion 856 static bool classof(const MemRegion* R) { function in class:clang::ento::DeclRegion 888 static bool classof(const MemRegion* R) { function in class:clang::ento::VarRegion 919 static bool classof(const MemRegion* R) { function in class:clang::ento::CXXThisRegion 948 static bool classof(const MemRegion* R) { function in class:clang::ento::FieldRegion 978 static bool classof(const MemRegion* R) { function in class:clang::ento::ObjCIvarRegion 1043 static bool classof(const MemRegion* R) { function in class:clang::ento::ElementRegion 1071 static bool classof(const MemRegion* R) { function in class:clang::ento::CXXTempObjectRegion 1100 static bool classof(const MemRegion *region) { function in class:clang::ento::CXXBaseObjectRegion [all...] |
/external/llvm/include/llvm/CodeGen/ |
PseudoSourceValue.h | 50 /// classof - Methods for support type inquiry through isa, cast, and 53 static inline bool classof(const Value *V) { function in class:llvm::PseudoSourceValue 89 /// classof - Methods for support type inquiry through isa, cast, and 92 static inline bool classof(const Value *V) { function in class:llvm::FixedStackPseudoSourceValue
|
/external/llvm/lib/Target/Mips/MCTargetDesc/ |
MipsELFStreamer.h | 33 static bool classof(const MCStreamer *S) { function in class:llvm::MipsELFStreamer
|
/external/clang/include/clang/AST/ |
StmtObjC.h | 63 static bool classof(const Stmt *T) { function in class:clang::ObjCForCollectionStmt 112 static bool classof(const Stmt *T) { function in class:clang::ObjCAtCatchStmt 143 static bool classof(const Stmt *T) { function in class:clang::ObjCAtFinallyStmt 244 static bool classof(const Stmt *T) { 303 static bool classof(const Stmt *T) { 336 static bool classof(const Stmt *T) { function in class:clang::ObjCAtThrowStmt 366 static bool classof(const Stmt *T) { function in class:clang::ObjCAutoreleasePoolStmt
|
Comment.h | 239 static bool classof(const Comment *C) { function in class:clang::comments::InlineContentComment 266 static bool classof(const Comment *C) { function in class:clang::comments::TextComment 324 static bool classof(const Comment *C) { function in class:clang::comments::InlineCommandComment 383 static bool classof(const Comment *C) { function in class:clang::comments::HTMLTagComment 449 static bool classof(const Comment *C) { function in class:clang::comments::HTMLStartTagComment 504 static bool classof(const Comment *C) { function in class:clang::comments::HTMLEndTagComment 524 static bool classof(const Comment *C) { function in class:clang::comments::BlockContentComment 553 static bool classof(const Comment *C) { function in class:clang::comments::ParagraphComment 622 static bool classof(const Comment *C) { function in class:clang::comments::BlockCommandComment 718 static bool classof(const Comment *C) function in class:clang::comments::ParamCommandComment 809 static bool classof(const Comment *C) { function in class:clang::comments::TParamCommandComment 860 static bool classof(const Comment *C) { function in class:clang::comments::VerbatimBlockLineComment 891 static bool classof(const Comment *C) { function in class:clang::comments::VerbatimBlockComment 947 static bool classof(const Comment *C) { function in class:clang::comments::VerbatimLineComment 1092 static bool classof(const Comment *C) { function in class:clang::comments::FullComment [all...] |
StmtCXX.h | 54 static bool classof(const Stmt *T) { function in class:clang::CXXCatchStmt 111 static bool classof(const Stmt *T) { function in class:clang::CXXTryStmt 197 static bool classof(const Stmt *T) { function in class:clang::CXXForRangeStmt 285 static bool classof(const Stmt *T) { function in class:clang::MSDependentExistsStmt
|
/external/clang/tools/libclang/ |
IndexingContext.h | 126 static bool classof(const DeclInfo *D) { function in struct:clang::cxindex::ObjCContainerDeclInfo 151 static bool classof(const DeclInfo *D) { function in struct:clang::cxindex::ObjCInterfaceDeclInfo 165 static bool classof(const DeclInfo *D) { function in struct:clang::cxindex::ObjCProtocolDeclInfo 180 static bool classof(const DeclInfo *D) { function in struct:clang::cxindex::ObjCCategoryDeclInfo 193 static bool classof(const DeclInfo *D) { function in struct:clang::cxindex::ObjCPropertyDeclInfo 204 static bool classof(const DeclInfo *D) { function in struct:clang::cxindex::CXXClassDeclInfo 232 static bool classof(const AttrInfo *A) { function in struct:clang::cxindex::IBOutletCollectionInfo
|
/external/chromium_org/v8/test/mjsunit/harmony/ |
generators-objects.js | 58 assertEquals("Generator", %ClassOf(iter)); 67 assertEquals("Generator", %ClassOf(iter));
|
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-put-prototype-transition.js | 7 function deepEquals(a, b) { if (a === b) { if (a === 0) return (1 / a) === (1 / b); return true; } if (typeof a != typeof b) return false; if (typeof a == "number") return isNaN(a) && isNaN(b); if (typeof a !== "object" && typeof a !== "function") return false; var objectClass = classOf(a); if (objectClass !== classOf(b)) return false; if (objectClass === "RegExp") { return (a.toString() === b.toString()); } if (objectClass === "Function") return false; if (objectClass === "Array") { var elementCount = 0; if (a.length != b.length) { return false; } for (var i = 0; i < a.length; i++) { if (!deepEquals(a[i], b[i])) return false; } return true; } if (objectClass == "String" || objectClass == "Number" || objectClass == "Boolean" || objectClass == "Date") { if (a.valueOf() !== b.valueOf()) return false; } return deepObjectEquals(a, b); }
|