Lines Matching refs:clock_time
219 register clocktime_t *clock_time in convert_rawdcf() argument
240 clock_time->flags = 0; in convert_rawdcf()
241 clock_time->usecond= 0; in convert_rawdcf()
242 clock_time->second = 0; in convert_rawdcf()
243 clock_time->minute = ext_bf(buffer, DCF_M10); in convert_rawdcf()
244 clock_time->minute = TIMES10(clock_time->minute) + ext_bf(buffer, DCF_M1); in convert_rawdcf()
245 clock_time->hour = ext_bf(buffer, DCF_H10); in convert_rawdcf()
246 clock_time->hour = TIMES10(clock_time->hour) + ext_bf(buffer, DCF_H1); in convert_rawdcf()
247 clock_time->day = ext_bf(buffer, DCF_D10); in convert_rawdcf()
248 clock_time->day = TIMES10(clock_time->day) + ext_bf(buffer, DCF_D1); in convert_rawdcf()
249 clock_time->month = ext_bf(buffer, DCF_MO0); in convert_rawdcf()
250 clock_time->month = TIMES10(clock_time->month) + ext_bf(buffer, DCF_MO); in convert_rawdcf()
251 clock_time->year = ext_bf(buffer, DCF_Y10); in convert_rawdcf()
252 clock_time->year = TIMES10(clock_time->year) + ext_bf(buffer, DCF_Y1); in convert_rawdcf()
253 clock_time->wday = ext_bf(buffer, DCF_DW); in convert_rawdcf()
258 clock_time->utcoffset = -60; in convert_rawdcf()
262 clock_time->flags |= DCFB_DST; in convert_rawdcf()
263 clock_time->utcoffset = -120; in convert_rawdcf()
272 clock_time->flags |= DCFB_ANNOUNCE; in convert_rawdcf()
275 clock_time->flags |= DCFB_LEAP; in convert_rawdcf()
278 clock_time->flags |= DCFB_CALLBIT; in convert_rawdcf()
373 clocktime_t clock_time; in main() local
417 clock_time.hour = 0; in main()
418 clock_time.minute = 0; in main()
419 clock_time.day = 0; in main()
420 clock_time.wday = 0; in main()
421 clock_time.month = 0; in main()
422 clock_time.year = 0; in main()
423 clock_time.flags = 0; in main()
455 if ((rtc = convert_rawdcf((unsigned char *)buf, i, &clock_time)) != CVT_OK) in main()
458 clock_time.hour = 0; in main()
459 clock_time.minute = 0; in main()
460 clock_time.day = 0; in main()
461 clock_time.wday = 0; in main()
462 clock_time.month = 0; in main()
463 clock_time.year = 0; in main()
464 clock_time.flags = 0; in main()
491 wday[clock_time.wday], in main()
492 … (int)clock_time.hour, (int)clock_time.minute, (int)i, (int)clock_time.day, (int)clock_time.month, in main()
493 (int)clock_time.year, in main()
494 (clock_time.flags & DCFB_CALLBIT) ? "R" : "_", in main()
495 (clock_time.flags & DCFB_ANNOUNCE) ? "A" : "_", in main()
496 (clock_time.flags & DCFB_DST) ? "D" : "_", in main()
497 (clock_time.flags & DCFB_LEAP) ? "L" : "_" in main()