Home
last modified time | relevance | path

Searched refs:parse_state (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/dma/
H A Dmail.c144 struct parse_state { struct
168 parse_addrs(struct parse_state *ps, char *s, struct queue *queue) in parse_addrs() argument
378 struct parse_state parse_state; in readmail() local
393 parse_state.state = NONE; in readmail()
464 if (parse_state.state != NONE) { in readmail()
465 if (parse_addrs(&parse_state, line, queue) < 0) { in readmail()
475 parse_state.state = START; in readmail()
476 if (parse_addrs(&parse_state, line, queue) < 0) { in readmail()
/freebsd/contrib/unbound/sldns/
H A Dstr2wire.c1026 struct sldns_file_parse_state* parse_state) in sldns_fp2wire_rr_buf() argument
1033 LDNS_RR_BUF_SIZE, parse_state?&parse_state->lineno:NULL)) in sldns_fp2wire_rr_buf()
1057 if(!parse_state) return LDNS_WIREPARSE_ERR_OK; in sldns_fp2wire_rr_buf()
1058 parse_state->origin_len = sizeof(parse_state->origin); in sldns_fp2wire_rr_buf()
1060 parse_state->origin, &parse_state->origin_len); in sldns_fp2wire_rr_buf()
1061 if(s) parse_state->origin_len = 0; in sldns_fp2wire_rr_buf()
1069 if(!parse_state) return LDNS_WIREPARSE_ERR_OK; in sldns_fp2wire_rr_buf()
1070 parse_state->default_ttl = sldns_str2period( in sldns_fp2wire_rr_buf()
1086 parse_state?parse_state->default_ttl:0, in sldns_fp2wire_rr_buf()
1087 (parse_state&&parse_state->origin_len)? in sldns_fp2wire_rr_buf()
[all …]
H A Dstr2wire.h288 struct sldns_file_parse_state* parse_state);
/freebsd/contrib/ntp/libparse/
H A Dparse.c389 parseio->parse_dtime.parse_state = 0; /* no problems with ISRs */ in parse_iodone()
577 parseio->parse_lstate = parseio->parse_dtime.parse_state | flags | PARSEB_TIMECODE; in updatetimeinfo()
579 parseio->parse_dtime.parse_state = parseio->parse_lstate; in updatetimeinfo()
588 parseprintf(DD_PARSE, ("updatetimeinfo status=0x%x, time=%x\n", parseio->parse_dtime.parse_state, in updatetimeinfo()
591 parseprintf(DD_PARSE, ("updatetimeinfo status=0x%lx, time=%x\n", (long)parseio->parse_dtime.parse_state, in updatetimeinfo()
630 parseio->parse_dtime.parse_state |= PARSEB_PPS|PARSEB_S_PPS; in pps_simple()
751 dct->parsegettc.parse_state = parse->parse_lstate; in parse_timecode()
H A Dclk_rawdcf.c592 parseio->parse_dtime.parse_state |= PARSEB_PPS|PARSEB_S_PPS; in pps_rawdcf()
/freebsd/contrib/ntp/ntpd/
H A Drefclock_parse.c2074 (unsigned int)parsetime.parse_state, in stream_receive()
2091 if (PARSE_TIMECODE(parsetime.parse_state)) in stream_receive()
2096 if (PARSE_PPS(parsetime.parse_state)) in stream_receive()
2222 if (!PARSE_PPS(parse->parseio.parse_dtime.parse_state)) in local_input()
2263 parse->parseio.parse_dtime.parse_state |= PARSEB_PPS|PARSEB_S_PPS; in local_input()
2327 parse->parseio.parse_dtime.parse_state |= PARSEB_PPS|PARSEB_S_PPS; in local_input()
2358 parse->parseio.parse_dtime.parse_state |= PARSEB_PPS|PARSEB_S_PPS; in local_input()
2442 (unsigned int)parsetime.parse_state, in local_receive()
3561 if (PARSE_SYNC(parse->timedata.parse_state)) in parse_control()
3563 if (PARSE_PPS(parse->timedata.parse_state) && PARSE_TIMECODE(parse->timedata.parse_state)) in parse_control()
[all …]
/freebsd/contrib/ntp/include/
H A Dparse.h210 u_long parse_state; /* current receiver state */ member
248 u_long parse_state; /* last state */ member