Home
last modified time | relevance | path

Searched refs:Trait (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/base/memory/
Dsingleton_unittest.cc27 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/
Darc-type-traits.mm11 #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/
Ddiag-template-diffing.cpp907 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/
DGlobalModuleIndex.cpp728 IdentifierIndexWriterTrait Trait; in writeIndex() local
734 Generator.insert(I->first(), I->second, Trait); in writeIndex()
745 BucketOffset = Generator.Emit(Out, Trait); in writeIndex()
DASTWriter.cpp2847 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 …]
DASTReader.cpp1661 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/
DTreeTransform.h2301 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/
DLanguageExtensions.rst848 Checks for Type Trait Primitives