Home
last modified time | relevance | path

Searched refs:parseformat (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/ntp/libparse/
H A Dparse.c782 if (dct->parseformat.parse_count <= PARSE_TCMAX) in parse_setfmt()
784 if (dct->parseformat.parse_count) in parse_setfmt()
790 if (!Strcmp(dct->parseformat.parse_buffer, clockformats[i]->name)) in parse_setfmt()
852 if (dct->parseformat.parse_format < nformats && in parse_getfmt()
853 Strlen(clockformats[dct->parseformat.parse_format]->name) <= PARSE_TCMAX) in parse_getfmt()
855 dct->parseformat.parse_count = (unsigned short) (Strlen(clockformats[dct->parseformat.parse_format]->name) + 1); in parse_getfmt()
856 memcpy(dct->parseformat.parse_buffer, clockformats[dct->parseformat.parse_format]->name, dct->parseformat in parse_getfmt()
[all...]
/freebsd/contrib/ntp/include/
H A Dparse.h255 struct parseformat struct
260 } parseformat; member
/freebsd/contrib/ntp/ntpd/
H A Drefclock_parse.c3299 …strlcpy(tmp_ctl.parseformat.parse_buffer, parse->parse_type->cl_format, sizeof(tmp_ctl.parseformat in parse_start()
3300 tmp_ctl.parseformat.parse_count = (u_short) strlen(tmp_ctl.parseformat.parse_buffer); in parse_start()
3625 tmpctl.parseformat.parse_format = tmpctl.parsegettc.parse_format; in parse_control()
3634 int count = tmpctl.parseformat.parse_count; in parse_control()
3645 tmpctl.parseformat.parse_buffer); in parse_control()
3871 tmpctl.parseformat.parse_format = parsetime->parse_format; in parse_process()
3882 CLK_UNIT(parse->peer), tmpctl.parseformat.parse_buffer); in parse_process()