Lines Matching refs:b85b

320   struct base85_baton_t *b85b = baton;  in read_handler_base85()  local
321 apr_pool_t *iterpool = b85b->iterpool; in read_handler_base85()
327 if (b85b->done) in read_handler_base85()
333 while (remaining && (b85b->buf_size > b85b->buf_pos in read_handler_base85()
334 || b85b->next_pos < b85b->end_pos)) in read_handler_base85()
339 apr_size_t available = b85b->buf_size - b85b->buf_pos; in read_handler_base85()
344 memcpy(dest, b85b->buffer + b85b->buf_pos, n); in read_handler_base85()
347 b85b->buf_pos += n; in read_handler_base85()
353 if (b85b->next_pos >= b85b->end_pos) in read_handler_base85()
355 SVN_ERR(svn_io_file_seek(b85b->file, APR_SET, &b85b->next_pos, in read_handler_base85()
357 SVN_ERR(svn_io_file_readline(b85b->file, &line, NULL, &at_eof, in read_handler_base85()
360 b85b->next_pos = b85b->end_pos; in read_handler_base85()
363 SVN_ERR(svn_io_file_get_offset(&b85b->next_pos, b85b->file, in read_handler_base85()
368 b85b->buf_size = line->data[0] - 'A' + 1; in read_handler_base85()
370 b85b->buf_size = line->data[0] - 'a' + 26 + 1; in read_handler_base85()
375 if (b85b->buf_size < 52) in read_handler_base85()
376 b85b->next_pos = b85b->end_pos; /* Handle as EOF */ in read_handler_base85()
378 SVN_ERR(svn_diff__base85_decode_line(b85b->buffer, b85b->buf_size, in read_handler_base85()
381 b85b->buf_pos = 0; in read_handler_base85()
385 b85b->done = TRUE; in read_handler_base85()
394 struct base85_baton_t *b85b = baton; in close_handler_base85() local
396 svn_pool_destroy(b85b->iterpool); in close_handler_base85()
410 struct base85_baton_t *b85b = apr_pcalloc(result_pool, sizeof(*b85b)); in get_base85_data_stream() local
411 svn_stream_t *base85s = svn_stream_create(b85b, result_pool); in get_base85_data_stream()
413 b85b->file = file; in get_base85_data_stream()
414 b85b->iterpool = svn_pool_create(result_pool); in get_base85_data_stream()
415 b85b->next_pos = start_pos; in get_base85_data_stream()
416 b85b->end_pos = end_pos; in get_base85_data_stream()