Lines Matching refs:cal
109 struct calendar cal;
154 ntpcal_ntp_to_date(&cal, stamp, pivot);
156 SUFFIX_SEP, cal.year, cal.month, cal.monthday);
157 cal.hour = cal.minute = cal.second = 0;
158 gen->id_lo = ntpcal_date_to_ntp(&cal);
173 ntpcal_ntp_to_date(&cal, stamp, pivot);
175 SUFFIX_SEP, cal.year, cal.month);
176 cal.hour = cal.minute = cal.second = 0;
177 cal.monthday = 1;
178 gen->id_lo = ntpcal_date_to_ntp(&cal);
179 cal.month++;
180 gen->id_hi = ntpcal_date_to_ntp(&cal);
184 ntpcal_ntp_to_date(&cal, stamp, pivot);
186 SUFFIX_SEP, cal.year);
187 cal.hour = cal.minute = cal.second = 0;
188 cal.month = cal.monthday = 1;
189 gen->id_lo = ntpcal_date_to_ntp(&cal);
190 cal.year++;
191 gen->id_hi = ntpcal_date_to_ntp(&cal);
343 * 'now' usually is interpreted as second part of a l_fp as is in the cal...