Lines Matching refs:clockformats
68 extern clockformat_t *clockformats[];
293 if (!clockformats[parseio->parse_lformat]->convert)
299 if (clockformats[parseio->parse_lformat]->input)
303 input_status = clockformats[parseio->parse_lformat]->input(parseio, ch, tstamp);
365 if (clockformats[parseio->parse_lformat]->syncpps)
367 updated = (u_int) clockformats[parseio->parse_lformat]->syncpps(parseio, status == SYNC_ONE, ptime);
694 switch ((cvtrtc = clockformats[format]->convert ?
695 clockformats[format]->convert((unsigned char *)parseio->parse_ldata, parseio->parse_ldsize, (struct format *)(clockformats[format]->data), &clock_time, parseio->parse_pdata) :
718 msyslog(LOG_WARNING, "parse: INTERNAL error: bad return code of convert routine \"%s\"", clockformats[format]->name);
790 if (!Strcmp(dct->parseformat.parse_buffer, clockformats[i]->name))
796 parse->parse_plen = clockformats[i]->plen;
813 parse->parse_dsize = clockformats[i]->length;
853 Strlen(clockformats[dct->parseformat.parse_format]->name) <= PARSE_TCMAX)
855 dct->parseformat.parse_count = (unsigned short) (Strlen(clockformats[dct->parseformat.parse_format]->name) + 1);
856 memcpy(dct->parseformat.parse_buffer, clockformats[dct->parseformat.parse_format]->name, dct->parseformat.parse_count);