Home
last modified time | relevance | path

Searched refs:VSTREAM_EOF (Results 1 – 25 of 53) sorted by relevance

123

/netbsd-src/external/ibm-public/postfix/dist/src/util/
H A Dvstring_vstream.c129 (VSTRING_LEN(vp) > (base_len) ? vstring_end(vp)[-1] : VSTREAM_EOF)
141 while ((c = VSTREAM_GETC(fp)) != VSTREAM_EOF) { in vstring_get_flags()
160 while ((c = VSTREAM_GETC(fp)) != VSTREAM_EOF && c != '\n') in vstring_get_flags_nonl()
176 while ((c = VSTREAM_GETC(fp)) != VSTREAM_EOF && c != 0) in vstring_get_flags_null()
196 while (bound-- > 0 && (c = VSTREAM_GETC(fp)) != VSTREAM_EOF) { in vstring_get_flags_bound()
219 while (bound-- > 0 && (c = VSTREAM_GETC(fp)) != VSTREAM_EOF && c != '\n') in vstring_get_flags_nonl_bound()
239 while (bound-- > 0 && (c = VSTREAM_GETC(fp)) != VSTREAM_EOF && c != 0) in vstring_get_flags_null_bound()
H A Dvstring_vstream.h58 (vstring_get((s), (p)) == VSTREAM_EOF ? 0 : (s))
60 (vstring_get_nonl((s), (p)) == VSTREAM_EOF ? 0 : (s))
62 (vstring_get_null((s), (p)) == VSTREAM_EOF ? 0 : (s))
64 (vstring_get_bound((s), (p), (l)) == VSTREAM_EOF ? 0 : (s))
66 (vstring_get_nonl_bound((s), (p), (l)) == VSTREAM_EOF ? 0 : (s))
H A Dvstream.c766 return ((bp->flags & VSTREAM_FLAG_ERR) ? VSTREAM_EOF : 0); in vstream_fflush_some()
782 return ((bp->flags & VSTREAM_FLAG_ERR) ? VSTREAM_EOF : 0); in vstream_fflush_some()
784 return (VSTREAM_EOF); in vstream_fflush_some()
804 return (VSTREAM_EOF); in vstream_fflush_some()
818 return (VSTREAM_EOF); in vstream_fflush_some()
855 return ((bp->flags & VSTREAM_FLAG_ERR) ? VSTREAM_EOF : 0); in vstream_fflush_some()
914 return (VSTREAM_EOF); in vstream_buf_get_ready()
954 return (VSTREAM_EOF); in vstream_buf_get_ready()
960 return (VSTREAM_EOF); in vstream_buf_get_ready()
980 return (VSTREAM_EOF); in vstream_buf_get_ready()
[all …]
H A Dreadlline.c100 while ((ch = VSTREAM_GETC(fp)) != VSTREAM_EOF && ch != '\n') in readllines()
112 if (ch == VSTREAM_EOF) in readllines()
115 if ((next = VSTREAM_GETC(fp)) != VSTREAM_EOF) in readllines()
H A Dattr_scan64.c212 if (ch == VSTREAM_EOF) { in attr_scan64_string()
303 if ((ch = VSTREAM_GETC(fp)) == VSTREAM_EOF) in attr_vscan64()
358 "input attribute name")) == VSTREAM_EOF) in attr_vscan64()
399 while (ch != '\n' && (ch = VSTREAM_GETC(fp)) != VSTREAM_EOF) in attr_vscan64()
574 case VSTREAM_EOF: in attr_scan_more64()
H A Dattr_scan_plain.c207 if (ch == VSTREAM_EOF) { in attr_scan_plain_string()
316 if ((ch = VSTREAM_GETC(fp)) == VSTREAM_EOF) in attr_vscan_plain()
371 "input attribute name")) == VSTREAM_EOF) in attr_vscan_plain()
412 while (ch != '\n' && (ch = VSTREAM_GETC(fp)) != VSTREAM_EOF) in attr_vscan_plain()
552 case VSTREAM_EOF: in attr_scan_more_plain()
H A Dlogwriter.c103 return (VSTREAM_EOF); in logwriter_write()
125 return (err ? VSTREAM_EOF : 0); in logwriter_one_shot()
H A Dattr_scan0.c199 if ((ch = vstring_get_null(plain_buf, fp)) == VSTREAM_EOF) { in attr_scan0_string()
300 if ((ch = VSTREAM_GETC(fp)) == VSTREAM_EOF) in attr_vscan0()
355 "input attribute name")) == VSTREAM_EOF) in attr_vscan0()
505 case VSTREAM_EOF: in attr_scan_more0()
H A Dnetstring.c210 case VSTREAM_EOF: in netstring_get_length()
339 if (vstream_fflush(stream) == VSTREAM_EOF) in netstring_fflush()
426 case VSTREAM_EOF: in stdin_read_event()
H A Dctable.c275 if (vstring_get_nonl(data_buf, VSTREAM_IN) == VSTREAM_EOF) in ask()
307 if (vstring_get_nonl(key_buf, VSTREAM_IN) == VSTREAM_EOF) in main()
H A Dvalid_utf8_string.c130 while (vstring_get_nonl(buf, VSTREAM_IN) != VSTREAM_EOF) { in main()
H A Dvstream_test.ref37 VSTREAM_GETC should return VSTREAM_EOF
/netbsd-src/external/ibm-public/postfix/dist/src/global/
H A Drecord.c211 if (VSTREAM_PUTC(type, stream) == VSTREAM_EOF) in rec_put()
223 if (VSTREAM_PUTC(len_byte, stream) == VSTREAM_EOF) { in rec_put()
257 if ((type = VSTREAM_GETC(stream)) == VSTREAM_EOF) in rec_get_raw()
271 if ((len_byte = VSTREAM_GETC(stream)) == VSTREAM_EOF) { in rec_get_raw()
283 while (len-- > 0 && VSTREAM_GETC(stream) != VSTREAM_EOF) in rec_get_raw()
H A Dsmtp_stream.c418 if (next_char != VSTREAM_EOF) in smtp_get_noexcept()
452 while ((next_char = VSTREAM_GETC(stream)) != VSTREAM_EOF in smtp_get_noexcept()
473 || vstream_fputs("\r\n", stream) == VSTREAM_EOF); in smtp_fputs()
554 if (stat == VSTREAM_EOF) in smtp_fputc()
H A Dmail_addr_crunch.c185 if (vstring_get_nonl(buf, VSTREAM_IN) == VSTREAM_EOF) in get_addr_form()
212 if (vstring_get_nonl(extension, VSTREAM_IN) == VSTREAM_EOF) in main()
219 while (vstring_get_nonl(buf, VSTREAM_IN) != VSTREAM_EOF) { in main()
H A Dcompat_level.c363 while (vstring_get_nonl(buf, VSTREAM_IN) != VSTREAM_EOF) { in test_expand()
377 while (vstring_get_nonl(buf, VSTREAM_IN) != VSTREAM_EOF) { in test_expand()
408 while (vstring_get_nonl(buf, VSTREAM_IN) != VSTREAM_EOF) { in test_convert()
H A Dmemcache_proto.c89 if (next_char != VSTREAM_EOF) in memcache_get()
133 || vstream_fputs("\r\n", stream) == VSTREAM_EOF) in memcache_fwrite()
H A Dscache.c360 if ((status = vstring_get_nonl(buf, fp)) != VSTREAM_EOF) { in get_buffer()
383 while (get_buffer(buf, VSTREAM_IN, interactive) != VSTREAM_EOF) { in main()
H A Drec_streamlf.c90 if ((ch = VSTREAM_GETC(stream)) == VSTREAM_EOF) in rec_streamlf_get()
H A Dehlo_mask.c136 while (vstring_get_nonl(buf, VSTREAM_IN) != VSTREAM_EOF) { in main()
H A Daddr_match_list.c130 while (vstring_get_nonl(buf, VSTREAM_IN) != VSTREAM_EOF) in main()
/netbsd-src/external/ibm-public/postfix/dist/src/xsasl/
H A Dxsasl_dovecot_server.c300 if (vstream_fflush(sasl_stream) == VSTREAM_EOF) { in xsasl_dovecot_server_connect()
308 while (vstring_get_nonl(line_str, sasl_stream) != VSTREAM_EOF) { in xsasl_dovecot_server_connect()
577 server->impl->sasl_stream) != VSTREAM_EOF) { in xsasl_dovecot_handle_reply()
702 if (vstream_fflush(server->impl->sasl_stream) != VSTREAM_EOF) in xsasl_dovecot_server_first()
733 if (vstream_fflush(server->impl->sasl_stream) == VSTREAM_EOF) { in xsasl_dovecot_server_next()
/netbsd-src/external/ibm-public/postfix/dist/src/postconf/
H A Dpostconf_edit.c119 while (vstring_get(buf, src) != VSTREAM_EOF) { in pcf_next_cf_line()
137 if ((ch = VSTREAM_GETC(src)) != VSTREAM_EOF) in pcf_gobble_cf_line()
140 || vstring_get(line_buf, src) == VSTREAM_EOF) in pcf_gobble_cf_line()
/netbsd-src/external/ibm-public/postfix/dist/src/postmap/
H A Dpostmap.c687 while (vstring_get_nonl(keybuf, in) != VSTREAM_EOF) { in postmap_queries()
749 while (vstring_get_nonl(keybuf, in) != VSTREAM_EOF in postmap_queries()
852 while (vstring_get_nonl(keybuf, in) != VSTREAM_EOF) { in postmap_deletes()
/netbsd-src/external/ibm-public/postfix/dist/src/postcat/
H A Dpostcat.c196 if (VSTREAM_GETC(fp) == VSTREAM_EOF) in postcat()
210 if (start_offset == 0 && (ch = VSTREAM_GETC(fp)) != VSTREAM_EOF) { in postcat()

123