Lines Matching refs:ateof

68 static size_t encoder_nop_read(char *buffer, size_t size, bool ateof,
71 static size_t encoder_7bit_read(char *buffer, size_t size, bool ateof,
73 static size_t encoder_base64_read(char *buffer, size_t size, bool ateof,
76 static size_t encoder_qp_read(char *buffer, size_t size, bool ateof,
384 static size_t encoder_nop_read(char *buffer, size_t size, bool ateof, in encoder_nop_read() argument
390 (void) ateof; in encoder_nop_read()
412 static size_t encoder_7bit_read(char *buffer, size_t size, bool ateof, in encoder_7bit_read() argument
418 (void) ateof; in encoder_7bit_read()
438 static size_t encoder_base64_read(char *buffer, size_t size, bool ateof, in encoder_base64_read() argument
485 if(ateof) { in encoder_base64_read()
537 static int qp_lookahead_eol(struct mime_encoder_state *st, int ateof, size_t n) in qp_lookahead_eol() argument
540 if(n >= st->bufend && ateof) in qp_lookahead_eol()
543 return ateof ? 0 : -1; in qp_lookahead_eol()
551 static size_t encoder_qp_read(char *buffer, size_t size, bool ateof, in encoder_qp_read() argument
577 switch(qp_lookahead_eol(st, ateof, 1)) { in encoder_qp_read()
591 switch(qp_lookahead_eol(st, ateof, 0)) { in encoder_qp_read()
616 switch(qp_lookahead_eol(st, ateof, consumed)) { in encoder_qp_read()
863 bool ateof = FALSE; in read_encoded_part_content() local
866 if(st->bufbeg < st->bufend || ateof) { in read_encoded_part_content()
868 sz = part->encoder->encodefunc(buffer, bufsize, ateof, part); in read_encoded_part_content()
871 if(ateof) in read_encoded_part_content()
900 ateof = TRUE; in read_encoded_part_content()