/external/libchrome/base/memory/ |
D | singleton_unittest.cc | 30 struct Trait; 33 return Singleton<Init5Singleton, Trait>::get(); in GetInstance() 39 struct Init5Singleton::Trait : public DefaultSingletonTraits<Init5Singleton> { struct in base::__anon064bac4e0111::Init5Singleton 72 struct Trait : public CallbackTrait<CallbackSingletonWithNoLeakTrait> { }; struct in base::__anon064bac4e0111::CallbackSingletonWithNoLeakTrait 77 return Singleton<CallbackSingletonWithNoLeakTrait, Trait>::get(); in GetInstance() 83 struct Trait : public CallbackTrait<CallbackSingletonWithLeakTrait> { struct in base::__anon064bac4e0111::CallbackSingletonWithLeakTrait 90 return Singleton<CallbackSingletonWithLeakTrait, Trait>::get(); in GetInstance() 96 struct Trait; 101 return Singleton<CallbackSingletonWithStaticTrait, Trait>::get(); in GetInstance() 105 struct CallbackSingletonWithStaticTrait::Trait struct in base::__anon064bac4e0111::CallbackSingletonWithStaticTrait [all …]
|
/external/clang/test/SemaObjCXX/ |
D | arc-type-traits.mm | 11 #define TRAIT_IS_TRUE(Trait, Type) char JOIN2(Trait,__LINE__)[Trait(Type)? 1 : -1] 12 #define TRAIT_IS_FALSE(Trait, Type) char JOIN2(Trait,__LINE__)[Trait(Type)? -1 : 1] 13 #define TRAIT_IS_TRUE_2(Trait, Type1, Type2) char JOIN2(Trait,__LINE__)[Trait(Type1, Type2)? 1 : -1] 14 #define TRAIT_IS_FALSE_2(Trait, Type1, Type2) char JOIN2(Trait,__LINE__)[Trait(Type1, Type2)? -1 : …
|
/external/v8/src/interpreter/ |
D | bytecodes.cc | 168 typedef BytecodeTraits<__VA_ARGS__> Name##Trait; \ in NumberOfRegisterOperands() 169 return Name##Trait::kRegisterOperandCount; in NumberOfRegisterOperands() 369 typedef BytecodeTraits<__VA_ARGS__> Name##Trait; \ in GetRegisterOperandBitmap() 370 return Name##Trait::kRegisterOperandBitmap; in GetRegisterOperandBitmap() 508 typedef BytecodeTraits<__VA_ARGS__> Name##Trait; \ in IsBytecodeWithScalableOperands() 509 return Name##Trait::IsScalable(); in IsBytecodeWithScalableOperands()
|
/external/clang/test/Misc/ |
D | diag-template-diffing.cpp | 907 template <typename> struct Trait { struct 914 template <typename T, int = Trait<T>::V > struct A {}; 915 template <typename T, typename = Trait<T>::Ty > struct B {}; 916 template <typename T, int& = Trait<T>::I > struct C {};
|
/external/clang/lib/Serialization/ |
D | GlobalModuleIndex.cpp | 732 IdentifierIndexWriterTrait Trait; in writeIndex() local 738 Generator.insert(I->first(), I->second, Trait); in writeIndex() 749 BucketOffset = Generator.Emit(Out, Trait); in writeIndex()
|
D | ASTWriter.cpp | 2965 ASTMethodPoolTrait Trait(*this); in WriteSelectors() local 3004 Generator.insert(S, Data, Trait); in WriteSelectors() 3012 ASTMethodPoolTrait Trait(*this); in WriteSelectors() local 3016 BucketOffset = Generator.Emit(Out, Trait); in WriteSelectors() 3268 ASTIdentifierTableTrait Trait( in WriteIdentifierTable() local 3284 if (Trait.isInterestingNonMacroIdentifier(II)) in WriteIdentifierTable() 3295 Generator.insert(II, ID, Trait); in WriteIdentifierTable() 3306 BucketOffset = Generator.Emit(Out, Trait); in WriteIdentifierTable() 3506 ASTDeclContextNameLookupTrait Trait(*this); in GenerateNameLookupTable() local 3640 Generator.insert(Name, Trait.getData(Result), Trait); in GenerateNameLookupTable() [all …]
|
D | ASTReader.cpp | 1710 ASTIdentifierLookupTrait Trait(IdTable->getInfoObj().getReader(), M, in operator ()() local 1714 IdTable->find_hashed(Name, NameHash, &Trait); in operator ()() 3555 ASTIdentifierLookupTrait Trait(*this, F); in ReadAST() local 3556 auto KeyDataLen = Trait.ReadKeyDataLength(Data); in ReadAST() 3557 auto Key = Trait.ReadKey(Data, KeyDataLen.first); in ReadAST() 3571 auto ID = Trait.ReadIdentifierID(Data + KeyDataLen.first); in ReadAST() 7587 ASTSelectorLookupTrait Trait(*this, M); in DecodeSelector() local 7590 Trait.ReadKey(M.SelectorLookupTableData + M.SelectorOffsets[Idx], 0); in DecodeSelector()
|
/external/clang/lib/Sema/ |
D | TreeTransform.h | 2549 ExprResult RebuildTypeTrait(TypeTrait Trait, in RebuildTypeTrait() argument 2553 return getSema().BuildTypeTrait(Trait, StartLoc, Args, RParenLoc); in RebuildTypeTrait() 2560 ExprResult RebuildArrayTypeTrait(ArrayTypeTrait Trait, in RebuildArrayTypeTrait() argument 2565 return getSema().BuildArrayTypeTrait(Trait, StartLoc, TSInfo, DimExpr, RParenLoc); in RebuildArrayTypeTrait() 2572 ExprResult RebuildExpressionTrait(ExpressionTrait Trait, in RebuildExpressionTrait() argument 2576 return getSema().BuildExpressionTrait(Trait, StartLoc, Queried, RParenLoc); in RebuildExpressionTrait()
|
/external/clang/docs/ |
D | LanguageExtensions.rst | 946 Checks for Type Trait Primitives
|