Home | History | Annotate | Download | only in liblog

Lines Matching refs:seconds

28 // seconds argument, so we will also hold on to the maximum value
31 // of varying the 'seconds' argument to their pleasure.
41 // seconds, otherwise we will take the maximum ever issued and hold
45 LIBLOG_ABI_PUBLIC int __android_log_ratelimit(time_t seconds, time_t* last) {
59 if (seconds == 0) {
60 seconds = last_seconds_default;
61 } else if (seconds < last_seconds_min) {
62 seconds = last_seconds_min;
63 } else if (seconds > last_seconds_max) {
64 seconds = last_seconds_max;
68 if (g_last_seconds > seconds) {
69 seconds = g_last_seconds;
70 } else if (g_last_seconds < seconds) {
71 g_last_seconds = seconds;
77 if ((now == (time_t)-1) || ((*last + seconds) > now)) {