Lines Matching refs:ateof
62 static size_t encoder_nop_read(char *buffer, size_t size, bool ateof,
65 static size_t encoder_7bit_read(char *buffer, size_t size, bool ateof,
67 static size_t encoder_base64_read(char *buffer, size_t size, bool ateof,
70 static size_t encoder_qp_read(char *buffer, size_t size, bool ateof,
355 static size_t encoder_nop_read(char *buffer, size_t size, bool ateof, in encoder_nop_read() argument
361 (void) ateof; in encoder_nop_read()
383 static size_t encoder_7bit_read(char *buffer, size_t size, bool ateof, in encoder_7bit_read() argument
389 (void) ateof; in encoder_7bit_read()
409 static size_t encoder_base64_read(char *buffer, size_t size, bool ateof, in encoder_base64_read() argument
456 if(ateof) { in encoder_base64_read()
516 static int qp_lookahead_eol(struct mime_encoder_state *st, int ateof, size_t n) in qp_lookahead_eol() argument
519 if(n >= st->bufend && ateof) in qp_lookahead_eol()
522 return ateof? 0: -1; in qp_lookahead_eol()
530 static size_t encoder_qp_read(char *buffer, size_t size, bool ateof, in encoder_qp_read() argument
556 switch(qp_lookahead_eol(st, ateof, 1)) { in encoder_qp_read()
570 switch(qp_lookahead_eol(st, ateof, 0)) { in encoder_qp_read()
595 switch(qp_lookahead_eol(st, ateof, consumed)) { in encoder_qp_read()
845 bool ateof = FALSE; in read_encoded_part_content() local
848 if(st->bufbeg < st->bufend || ateof) { in read_encoded_part_content()
850 sz = part->encoder->encodefunc(buffer, bufsize, ateof, part); in read_encoded_part_content()
853 if(ateof) in read_encoded_part_content()
882 ateof = TRUE; in read_encoded_part_content()