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

/freebsd-11-stable/contrib/ldns/
H A Dutil.c171 #define LDNS_DIV(x,y) (((x) % (y) < 0) ? ((x) / (y) - 1 ) : ((x) / (y))) macro
185 return (LDNS_DIV(y2, 4) - LDNS_DIV(y1, 4)) -
186 (LDNS_DIV(y2, 100) - LDNS_DIV(y1, 100)) +
187 (LDNS_DIV(y2, 400) - LDNS_DIV(y1, 400));
233 new_year = year + (int) LDNS_DIV(days, 365);
279 clock = LDNS_DIV(clock, 60);
281 clock = LDNS_DIV(cloc
[all...]
/freebsd-11-stable/contrib/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...]

Completed in 111 milliseconds