Home | History | Annotate | Download | only in ntpd

Lines Matching refs:cal

111 	struct calendar cal;
156 ntpcal_ntp_to_date(&cal, stamp, pivot);
158 SUFFIX_SEP, cal.year, cal.month, cal.monthday);
159 cal.hour = cal.minute = cal.second = 0;
160 gen->id_lo = ntpcal_date_to_ntp(&cal);
175 ntpcal_ntp_to_date(&cal, stamp, pivot);
177 SUFFIX_SEP, cal.year, cal.month);
178 cal.hour = cal.minute = cal.second = 0;
179 cal.monthday = 1;
180 gen->id_lo = ntpcal_date_to_ntp(&cal);
181 cal.month++;
182 gen->id_hi = ntpcal_date_to_ntp(&cal);
186 ntpcal_ntp_to_date(&cal, stamp, pivot);
188 SUFFIX_SEP, cal.year);
189 cal.hour = cal.minute = cal.second = 0;
190 cal.month = cal.monthday = 1;
191 gen->id_lo = ntpcal_date_to_ntp(&cal);
192 cal.year++;
193 gen->id_hi = ntpcal_date_to_ntp(&cal);
345 * 'now' usually is interpreted as second part of a l_fp as is in the cal...