Searched refs:SetLogHandler (Results 1 - 8 of 8) sorted by relevance

/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/
H A Dcommon_unittest.cc104 LogHandler* old_handler = SetLogHandler(NULL);
111 EXPECT_TRUE(SetLogHandler(old_handler) == NULL);
120 LogHandler* old_handler = SetLogHandler(&CaptureLog);
126 EXPECT_TRUE(SetLogHandler(old_handler) == &CaptureLog);
140 LogHandler* old_handler = SetLogHandler(&CaptureLog);
152 EXPECT_TRUE(SetLogHandler(old_handler) == &CaptureLog);
H A Dcommon.cc208 LogHandler* SetLogHandler(LogHandler* new_func) { function in namespace:google::protobuf
H A Dcommon.h780 // these messages be sent somewhere other than stderr, call SetLogHandler()
784 // Obviously, SetLogHandler is not thread-safe. You should only call it
790 LIBPROTOBUF_EXPORT LogHandler* SetLogHandler(LogHandler* new_func);
798 // a big deal. If you want to intercept log messages, use SetLogHandler().
/external/protobuf/src/google/protobuf/stubs/
H A Dcommon_unittest.cc104 LogHandler* old_handler = SetLogHandler(NULL);
111 EXPECT_TRUE(SetLogHandler(old_handler) == NULL);
120 LogHandler* old_handler = SetLogHandler(&CaptureLog);
126 EXPECT_TRUE(SetLogHandler(old_handler) == &CaptureLog);
140 LogHandler* old_handler = SetLogHandler(&CaptureLog);
152 EXPECT_TRUE(SetLogHandler(old_handler) == &CaptureLog);
H A Dcommon.cc204 LogHandler* SetLogHandler(LogHandler* new_func) { function in namespace:google::protobuf
H A Dcommon.h721 // these messages be sent somewhere other than stderr, call SetLogHandler()
725 // Obviously, SetLogHandler is not thread-safe. You should only call it
731 LIBPROTOBUF_EXPORT LogHandler* SetLogHandler(LogHandler* new_func);
739 // a big deal. If you want to intercept log messages, use SetLogHandler().
/external/chromium_org/third_party/protobuf/src/google/protobuf/testing/
H A Dgoogletest.cc218 old_handler_ = SetLogHandler(&HandleLog);
222 SetLogHandler(old_handler_);
/external/protobuf/src/google/protobuf/testing/
H A Dgoogletest.cc218 old_handler_ = SetLogHandler(&HandleLog);
222 SetLogHandler(old_handler_);

Completed in 302 milliseconds