Searched refs:LDNS_DIV (Results 1 - 2 of 2) sorted by relevance

/openbsd-current/usr.sbin/unbound/sldns/
H A Dparseutil.c49 #define LDNS_DIV(x,y) (((x) % (y) < 0) ? ((x) / (y) - 1 ) : ((x) / (y))) macro
63 return (LDNS_DIV(y2, 4) - LDNS_DIV(y1, 4)) -
64 (LDNS_DIV(y2, 100) - LDNS_DIV(y1, 100)) +
65 (LDNS_DIV(y2, 400) - LDNS_DIV(y1, 400));
105 new_year = year + (int) LDNS_DIV(days, 365);
151 clock = LDNS_DIV(clock, 60);
153 clock = LDNS_DIV(cloc
[all...]
/openbsd-current/sbin/unwind/libunbound/sldns/
H A Dparseutil.c49 #define LDNS_DIV(x,y) (((x) % (y) < 0) ? ((x) / (y) - 1 ) : ((x) / (y))) macro
63 return (LDNS_DIV(y2, 4) - LDNS_DIV(y1, 4)) -
64 (LDNS_DIV(y2, 100) - LDNS_DIV(y1, 100)) +
65 (LDNS_DIV(y2, 400) - LDNS_DIV(y1, 400));
105 new_year = year + (int) LDNS_DIV(days, 365);
151 clock = LDNS_DIV(clock, 60);
153 clock = LDNS_DIV(cloc
[all...]

Completed in 110 milliseconds