Home
last modified time | relevance | path

Searched refs:SwapAndRestore (Results 1 – 5 of 5) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Demangle/
DUtility.h157 template <class T> class SwapAndRestore {
163 SwapAndRestore(T &Restore_) : SwapAndRestore(Restore_, Restore_) {} in SwapAndRestore() function
165 SwapAndRestore(T &Restore_, T NewVal) in SwapAndRestore() function
169 ~SwapAndRestore() { in ~SwapAndRestore()
184 SwapAndRestore(const SwapAndRestore &) = delete;
185 SwapAndRestore &operator=(const SwapAndRestore &) = delete;
DItaniumDemangle.cpp483 SwapAndRestore<bool> SavePrinting(Printing, true); in printLeft()
496 SwapAndRestore<bool> SavePrinting(Printing, true); in printRight()
970 SwapAndRestore<unsigned> SavePackIdx(S.CurrentPackIndex, Max); in printLeft()
971 SwapAndRestore<unsigned> SavePackMax(S.CurrentPackMax, Max); in printLeft()
1036 SwapAndRestore<bool> SavePrinting(Printing, true); in hasRHSComponentSlow()
1042 SwapAndRestore<bool> SavePrinting(Printing, true); in hasArraySlow()
1048 SwapAndRestore<bool> SavePrinting(Printing, true); in hasFunctionSlow()
1054 SwapAndRestore<bool> SavePrinting(Printing, true); in getSyntaxNode()
1061 SwapAndRestore<bool> SavePrinting(Printing, true); in printLeft()
1067 SwapAndRestore<bool> SavePrinting(Printing, true); in printRight()
[all …]
DMicrosoftDemangle.cpp1402 SwapAndRestore<StringView> RestoreOnError(MangledName, MangledName); in demangleFunctionClass()
/external/libcxxabi/src/demangle/
DUtility.h142 template <class T> class SwapAndRestore {
148 SwapAndRestore(T &Restore_) : SwapAndRestore(Restore_, Restore_) {} in SwapAndRestore() function
150 SwapAndRestore(T &Restore_, T NewVal) in SwapAndRestore() function
154 ~SwapAndRestore() { in ~SwapAndRestore()
169 SwapAndRestore(const SwapAndRestore &) = delete;
170 SwapAndRestore &operator=(const SwapAndRestore &) = delete;
DItaniumDemangle.h551 SwapAndRestore<bool> SavePrinting(Printing, true); in printLeft()
564 SwapAndRestore<bool> SavePrinting(Printing, true); in printRight()
1076 SwapAndRestore<unsigned> SavePackIdx(S.CurrentPackIndex, Max); in printLeft()
1077 SwapAndRestore<unsigned> SavePackMax(S.CurrentPackMax, Max); in printLeft()
1167 SwapAndRestore<bool> SavePrinting(Printing, true); in hasRHSComponentSlow()
1173 SwapAndRestore<bool> SavePrinting(Printing, true); in hasArraySlow()
1179 SwapAndRestore<bool> SavePrinting(Printing, true); in hasFunctionSlow()
1185 SwapAndRestore<bool> SavePrinting(Printing, true); in getSyntaxNode()
1192 SwapAndRestore<bool> SavePrinting(Printing, true); in printLeft()
1198 SwapAndRestore<bool> SavePrinting(Printing, true); in printRight()
[all …]