Searched refs:AutoRestorer (Results 1 – 15 of 15) sorted by relevance
11 TEST(fxcrt, AutoRestorer) { in TEST() argument14 AutoRestorer<int> restorer(&x); in TEST()24 AutoRestorer<int> restorer(&x); in TEST()33 AutoRestorer<int> restorer(&x); in TEST()46 AutoRestorer<UnownedPtr<int>> restorer(&ptr); in TEST()57 AutoRestorer<UnownedPtr<int>> restorer(&ptr); in TEST()68 AutoRestorer<UnownedPtr<int>> restorer(&ptr); in TEST()83 AutoRestorer<RetainPtr<PseudoRetainable>> restorer(&ptr); in TEST()119 AutoRestorer<RetainPtr<PseudoRetainable>> restorer(&ptr); in TEST()138 AutoRestorer<RetainPtr<PseudoRetainable>> restorer(&ptr); in TEST()
11 class AutoRestorer {13 explicit AutoRestorer(T* location) in AutoRestorer() function15 ~AutoRestorer() { in ~AutoRestorer()28 using fxcrt::AutoRestorer;
75 AutoRestorer<unsigned long> restorer(&m_parse_depth); in ParseExpressionList()110 AutoRestorer<unsigned long> restorer(&m_parse_depth); in ParseFunction()164 AutoRestorer<unsigned long> restorer(&m_parse_depth); in ParseExpression()218 AutoRestorer<unsigned long> restorer(&m_parse_depth); in ParseDeclarationExpression()256 AutoRestorer<unsigned long> restorer(&m_parse_depth); in ParseExpExpression()282 AutoRestorer<unsigned long> restorer(&m_parse_depth); in ParseLogicalOrExpression()322 AutoRestorer<unsigned long> restorer(&m_parse_depth); in ParseLogicalAndExpression()361 AutoRestorer<unsigned long> restorer(&m_parse_depth); in ParseEqualityExpression()415 AutoRestorer<unsigned long> restorer(&m_parse_depth); in ParseRelationalExpression()490 AutoRestorer<unsigned long> restorer(&m_parse_depth); in ParseAdditiveExpression()[all …]
102 AutoRestorer<FX_FILESIZE> save_pos(&m_Pos); in GetCharAt()402 AutoRestorer<FX_FILESIZE> save_pos(&m_Pos); in PeekNextWord()426 AutoRestorer<int> depth_restorer(&s_CurrentRecursionDepth); in GetObjectBodyInternal()437 AutoRestorer<FX_FILESIZE> pos_restorer(&m_Pos); in GetObjectBodyInternal()522 AutoRestorer<FX_FILESIZE> pos_restorer(&m_Pos); in GetObjectBodyInternal()585 AutoRestorer<FX_FILESIZE> pos_restorer(&m_Pos); in FindWordPos()
1068 const AutoRestorer<uint32_t> save_metadata_objnum(&m_MetadataObjnum); in LoadLinearizedMainXRefTable()
133 AutoRestorer<int> restorer(&m_CharLoadingDepth); in LoadChar()
1018 AutoRestorer<bool> restorer(&m_bNotifyFlag); in SetScrollInfo()1053 AutoRestorer<bool> restorer(&m_bNotifyFlag); in SetScrollPosY()1163 AutoRestorer<bool> restorer(&m_bNotifyFlag); in Refresh()1232 AutoRestorer<bool> restorer(&m_bNotifyFlag); in RefreshWordRange()1246 AutoRestorer<bool> restorer(&m_bNotifyFlag); in RefreshWordRange()1285 AutoRestorer<bool> restorer(&m_bNotifyFlag); in SetCaretInfo()
131 AutoRestorer<CXFA_Script::Type> typeRestorer(&m_eScriptType); in RunScript()147 AutoRestorer<UnownedPtr<CXFA_Object>> nodeRestorer(&m_pThisObject); in RunScript()547 AutoRestorer<UnownedPtr<CXFA_Object>> nodeRestorer(&m_pThisObject); in RunVariablesScript()
41 AutoRestorer<bool> restorer(&m_bBusy); in RunScript()
478 AutoRestorer<bool> lock(&m_bLocked); in LoadFXAnnots()
247 AutoRestorer<bool> restorer(&m_bBusy); in OnCalculate()
234 AutoRestorer<int> restorer(&g_CurrentRecursionDepth); in RenderSingleObject()1137 AutoRestorer<UnownedPtr<const CPDF_PageObject>> restorer2(&m_pCurObj); in DrawTextPathWithPattern()
660 AutoRestorer<size_t> restorer(&m_ExecuteRecursionDepth); in NormalLoader()
2743 AutoRestorer<uint8_t> restorer(&m_ExecuteRecursionDepth); in ExecuteBoolScript()
904 AutoRestorer<bool> restorer(&m_bNotifying); in OnBeforeKeyStroke()