Searched refs:SetLogHandler (Results 1 – 4 of 4) sorted by relevance
105 LogHandler* old_handler = SetLogHandler(NULL); in TEST()112 EXPECT_TRUE(SetLogHandler(old_handler) == NULL); in TEST()121 LogHandler* old_handler = SetLogHandler(&CaptureLog); in TEST()127 EXPECT_TRUE(SetLogHandler(old_handler) == &CaptureLog); in TEST()141 LogHandler* old_handler = SetLogHandler(&CaptureLog); in TEST()153 EXPECT_TRUE(SetLogHandler(old_handler) == &CaptureLog); in TEST()
219 LIBPROTOBUF_EXPORT LogHandler* SetLogHandler(LogHandler* new_func);
276 LogHandler* SetLogHandler(LogHandler* new_func) { in SetLogHandler() function
230 old_handler_ = SetLogHandler(&HandleLog); in ScopedMemoryLog()234 SetLogHandler(old_handler_); in ~ScopedMemoryLog()