Lines Matching defs:dispatcher
293 struct dispatcher { in localtime() struct
294 std::time_t time_; in localtime()
295 std::tm tm_; in localtime()
297 dispatcher(std::time_t t) : time_(t) {} in localtime() argument
299 bool run() { in localtime()
304 bool handle(std::tm* tm) { return tm != nullptr; } in localtime()
306 bool handle(detail::null<>) { in localtime()
311 bool fallback(int res) { return res == 0; } in localtime()
314 bool fallback(detail::null<>) { in localtime()
335 struct dispatcher { in gmtime() struct
336 std::time_t time_; in gmtime()
337 std::tm tm_; in gmtime()
339 dispatcher(std::time_t t) : time_(t) {} in gmtime() argument
341 bool run() { in gmtime()
346 bool handle(std::tm* tm) { return tm != nullptr; } in gmtime()
348 bool handle(detail::null<>) { in gmtime()
353 bool fallback(int res) { return res == 0; } in gmtime()
356 bool fallback(detail::null<>) { in gmtime()