FreeBSD/contrib/subversion/subversion/libsvn_fs_x/index.c
/* Implement svn_cache__partial_getter_func_t: extract p2l entries from
 * the page in DATA which overlap the p2l_entries_baton_t in BATON.
 * The target array is already provided in *OUT.
 */
Implement svn_cache__partial_getter_func_t: extract p2l entries from
the page in DATA which overlap the p2l_entries_baton_t in BATON.
The target array is already provided in *OUT.
Implement svn_cache__partial_getter_func_t : extract p2l entries from the page in DATA which overlap the p2l_entries_baton_t in BATON . The target array is already provided in * OUT .
static svn_error_t *
p2l_entries_func(void **out,
                 const void *data,
                 apr_size_t data_len,
                 void *baton,
                 apr_pool_t *result_pool)
{
  apr_array_header_t *entries = *(apr_array_header_t **)out;
  const apr_array_header_t *raw_page = data;
  p2l_entries_baton_t *block = baton;
  apr_array_header_t page = *raw_page;
  page.elts = (void *)svn_temp_deserializer__ptr(raw_page,
                                    (const void * const *)&raw_page->elts);
  append_p2l_entries(entries, &page, block->start, block->end, TRUE);
  return SVN_NO_ERROR;
}
static svn_error_t * p2l_entries_func ( void * * out , const void * data , apr_size_t data_len , void * baton , apr_pool_t * result_pool ) { apr_array_header_t * entries = * ( apr_array_header_t * * ) out ; const apr_array_header_t * raw_page = data ; p2l_entries_baton_t * block = baton ; apr_array_header_t page = * raw_page ; page . elts = ( void * ) svn_temp_deserializer__ptr ( raw_page , ( const void * const * ) & raw_page -> elts ) ; append_p2l_entries ( entries , & page , block -> start , block -> end , TRUE ) ; return SVN_NO_ERROR ; }
Implement svn_cache__partial_getter_func_t: extract p2l entries from
 the page in DATA which overlap the p2l_entries_baton_t in BATON.
Implement svn_cache__partial_getter_func_t : extract p2l entries from the page in DATA which overlap the p2l_entries_baton_t in BATON .
/* Make PAGE a readable APR array. */ /* append relevant information to result */