/external/chromium/base/memory/ |
D | singleton_unittest.cc | 28 struct Trait; 31 return Singleton<Init5Singleton, Trait>::get(); in GetInstance() 37 struct Init5Singleton::Trait : public DefaultSingletonTraits<Init5Singleton> { struct in __anon18dbaa620111::Init5Singleton 70 struct Trait : public CallbackTrait<CallbackSingletonWithNoLeakTrait> { }; struct in __anon18dbaa620111::CallbackSingletonWithNoLeakTrait 75 return Singleton<CallbackSingletonWithNoLeakTrait, Trait>::get(); in GetInstance() 81 struct Trait : public CallbackTrait<CallbackSingletonWithLeakTrait> { struct in __anon18dbaa620111::CallbackSingletonWithLeakTrait 88 return Singleton<CallbackSingletonWithLeakTrait, Trait>::get(); in GetInstance() 94 struct Trait; 99 return Singleton<CallbackSingletonWithStaticTrait, Trait>::get(); in GetInstance() 103 struct CallbackSingletonWithStaticTrait::Trait struct in __anon18dbaa620111::CallbackSingletonWithStaticTrait [all …]
|
/external/clang/test/SemaObjCXX/ |
D | arc-type-traits.mm | 10 #define TRAIT_IS_TRUE(Trait, Type) char JOIN2(Trait,__LINE__)[Trait(Type)? 1 : -1] 11 #define TRAIT_IS_FALSE(Trait, Type) char JOIN2(Trait,__LINE__)[Trait(Type)? -1 : 1] 12 #define TRAIT_IS_TRUE_2(Trait, Type1, Type2) char JOIN2(Trait,__LINE__)[Trait(Type1, Type2)? 1 : -1] 13 #define TRAIT_IS_FALSE_2(Trait, Type1, Type2) char JOIN2(Trait,__LINE__)[Trait(Type1, Type2)? -1 : …
|
/external/clang/lib/Serialization/ |
D | ASTWriter.cpp | 2368 ASTMethodPoolTrait Trait(*this); in WriteSelectors() local 2408 Generator.insert(S, Data, Trait); in WriteSelectors() 2415 ASTMethodPoolTrait Trait(*this); in WriteSelectors() local 2419 BucketOffset = Generator.Emit(Out, Trait); in WriteSelectors() 2614 ASTIdentifierTableTrait Trait(*this, PP, IdResolver, IsModule); in WriteIdentifierTable() local 2636 Trait); in WriteIdentifierTable() 2643 ASTIdentifierTableTrait Trait(*this, PP, IdResolver, IsModule); in WriteIdentifierTable() local 2647 BucketOffset = Generator.Emit(Out, Trait); in WriteIdentifierTable() 2831 ASTDeclContextNameLookupTrait Trait(*this); in WriteDeclContextVisibleBlock() local 2853 Generator.insert(Name, Result, Trait); in WriteDeclContextVisibleBlock() [all …]
|
D | ASTReader.cpp | 1562 ASTIdentifierLookupTrait Trait(IdTable->getInfoObj().getReader(), in visit() local 1567 ASTIdentifierLookupTable::iterator Pos = IdTable->find(Key, &Trait); in visit() 3646 HeaderFileInfoTrait Trait(This->Reader, M, in visit() local 3658 &Trait); in visit() 5737 ASTSelectorLookupTrait Trait(*this, M); in DecodeSelector() local 5740 Trait.ReadKey(M.SelectorLookupTableData + M.SelectorOffsets[Idx], 0); in DecodeSelector()
|
/external/clang/lib/Sema/ |
D | TreeTransform.h | 2013 ExprResult RebuildUnaryTypeTrait(UnaryTypeTrait Trait, in RebuildUnaryTypeTrait() argument 2017 return getSema().BuildUnaryTypeTrait(Trait, StartLoc, T, RParenLoc); in RebuildUnaryTypeTrait() 2024 ExprResult RebuildBinaryTypeTrait(BinaryTypeTrait Trait, in RebuildBinaryTypeTrait() argument 2029 return getSema().BuildBinaryTypeTrait(Trait, StartLoc, LhsT, RhsT, RParenLoc); in RebuildBinaryTypeTrait() 2036 ExprResult RebuildTypeTrait(TypeTrait Trait, in RebuildTypeTrait() argument 2040 return getSema().BuildTypeTrait(Trait, StartLoc, Args, RParenLoc); in RebuildTypeTrait() 2047 ExprResult RebuildArrayTypeTrait(ArrayTypeTrait Trait, in RebuildArrayTypeTrait() argument 2052 return getSema().BuildArrayTypeTrait(Trait, StartLoc, TSInfo, DimExpr, RParenLoc); in RebuildArrayTypeTrait() 2059 ExprResult RebuildExpressionTrait(ExpressionTrait Trait, in RebuildExpressionTrait() argument 2063 return getSema().BuildExpressionTrait(Trait, StartLoc, Queried, RParenLoc); in RebuildExpressionTrait()
|