Home
last modified time | relevance | path

Searched refs:sec_diff (Results 1 – 3 of 3) sorted by relevance

/external/ltp/testcases/open_posix_testsuite/include/
Dtimespec.h26 time_t sec_diff; in timespec_nsec_diff() local
36 sec_diff = t1->tv_sec - t2->tv_sec; in timespec_nsec_diff()
39 if (sec_diff > 1 || (sec_diff == 1 && nsec_diff >= 0)) in timespec_nsec_diff()
42 return labs(nsec_diff + NSEC_IN_SEC * sec_diff); in timespec_nsec_diff()
/external/wpa_supplicant_8/wpa_supplicant/
Dwpa_supplicant_i.h1448 void wpas_auth_timeout_restart(struct wpa_supplicant *wpa_s, int sec_diff);
Dwpa_supplicant.c269 void wpas_auth_timeout_restart(struct wpa_supplicant *wpa_s, int sec_diff) in wpas_auth_timeout_restart() argument
271 int new_sec = wpa_s->last_auth_timeout_sec + sec_diff; in wpas_auth_timeout_restart()