/external/chromium_org/base/memory/ |
D | singleton_unittest.cc | 27 struct Trait; 30 return Singleton<Init5Singleton, Trait>::get(); in GetInstance() 36 struct Init5Singleton::Trait : public DefaultSingletonTraits<Init5Singleton> { struct in __anondea152270111::Init5Singleton 69 struct Trait : public CallbackTrait<CallbackSingletonWithNoLeakTrait> { }; struct in __anondea152270111::CallbackSingletonWithNoLeakTrait 74 return Singleton<CallbackSingletonWithNoLeakTrait, Trait>::get(); in GetInstance() 80 struct Trait : public CallbackTrait<CallbackSingletonWithLeakTrait> { struct in __anondea152270111::CallbackSingletonWithLeakTrait 87 return Singleton<CallbackSingletonWithLeakTrait, Trait>::get(); in GetInstance() 93 struct Trait; 98 return Singleton<CallbackSingletonWithStaticTrait, Trait>::get(); in GetInstance() 102 struct CallbackSingletonWithStaticTrait::Trait struct in __anondea152270111::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/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 | 728 IdentifierIndexWriterTrait Trait; in writeIndex() local 734 Generator.insert(I->first(), I->second, Trait); in writeIndex() 745 BucketOffset = Generator.Emit(Out, Trait); in writeIndex()
|
D | ASTWriter.cpp | 2847 ASTMethodPoolTrait Trait(*this); in WriteSelectors() local 2887 Generator.insert(S, Data, Trait); in WriteSelectors() 2895 ASTMethodPoolTrait Trait(*this); in WriteSelectors() local 2899 BucketOffset = Generator.Emit(Out, Trait); in WriteSelectors() 3276 ASTIdentifierTableTrait Trait(*this, PP, IdResolver, IsModule); in WriteIdentifierTable() local 3298 Trait); in WriteIdentifierTable() 3306 ASTIdentifierTableTrait Trait(*this, PP, IdResolver, IsModule); in WriteIdentifierTable() local 3310 BucketOffset = Generator.Emit(Out, Trait); in WriteIdentifierTable() 3527 ASTDeclContextNameLookupTrait Trait(*this); in GenerateNameLookupTable() local 3564 Generator.insert(Name, Result, Trait); in GenerateNameLookupTable() [all …]
|
D | ASTReader.cpp | 1661 ASTIdentifierLookupTrait Trait(IdTable->getInfoObj().getReader(), in visit() local 1664 ASTIdentifierLookupTable::iterator Pos = IdTable->find(This->Name,&Trait); in visit() 7384 ASTSelectorLookupTrait Trait(*this, M); in DecodeSelector() local 7387 Trait.ReadKey(M.SelectorLookupTableData + M.SelectorOffsets[Idx], 0); in DecodeSelector()
|
/external/clang/lib/Sema/ |
D | TreeTransform.h | 2301 ExprResult RebuildTypeTrait(TypeTrait Trait, in RebuildTypeTrait() argument 2305 return getSema().BuildTypeTrait(Trait, StartLoc, Args, RParenLoc); in RebuildTypeTrait() 2312 ExprResult RebuildArrayTypeTrait(ArrayTypeTrait Trait, in RebuildArrayTypeTrait() argument 2317 return getSema().BuildArrayTypeTrait(Trait, StartLoc, TSInfo, DimExpr, RParenLoc); in RebuildArrayTypeTrait() 2324 ExprResult RebuildExpressionTrait(ExpressionTrait Trait, in RebuildExpressionTrait() argument 2328 return getSema().BuildExpressionTrait(Trait, StartLoc, Queried, RParenLoc); in RebuildExpressionTrait()
|
/external/clang/docs/ |
D | LanguageExtensions.rst | 848 Checks for Type Trait Primitives
|