Lines Matching defs:window

131         description = "  (txdelta window)";
616 /* The txdelta window cache to use or NULL. */
637 int chunk_index; /* number of the window to read */
1069 /* If not NULL, this is the base for the first delta window in rs_list */
1114 window stream before we continue normal operation. */
1125 /* Set window key in *KEY to address the window described by RS.
1151 /* unparsed and parsed window */
1152 const svn_fs_fs__raw_cached_window_t *window
1157 /* create a read stream taking the raw window as input */
1158 raw_window.data = svn_temp_deserializer__ptr(window,
1159 (const void * const *)&window->window.data);
1160 raw_window.len = window->window.len;
1164 SVN_ERR(svn_txdelta_read_svndiff_window(&result->window, stream, 1,
1167 /* complete the window and return it */
1168 result->end_offset = window->end_offset;
1179 * success of the lookup. Allocations of the window in will be made
1194 /* txdelta window has not been enabled */
1199 /* ask the cache for the desired txdelta window */
1210 /* If we did not find a parsed txdelta window, we might have a raw
1226 *window_p = cached_window->window;
1241 set_cached_window(svn_txdelta_window_t *window,
1247 /* store the window and the first offset _past_ it */
1251 cached_window.window = window;
1268 * the caller about the success of the lookup. Allocations (of the window
1279 /* txdelta window has not been enabled */
1284 /* ask the cache for the desired txdelta window */
1300 set_cached_combined_window(svn_stringbuf_t *window,
1311 window,
1324 Also, set *WINDOW_P to the base window content for *LIST, if it
1376 /* for txn reps, there won't be a cached combined window */
1382 /* We already have a reconstructed window in our cache.
1456 window into *NWIN. Note that RS->CHUNK_INDEX will be THIS_CHUNK rather
1473 /* Read the next window. But first, try to find it in the cache. */
1494 desired txdelta window */
1523 _("Reading one svndiff window read "
1529 /* Actually read the next window. */
1536 _("Reading one svndiff window read beyond "
1539 /* the window has not been cached before, thus cache it now
1586 /* Get the undeltified window that is a result of combining all deltas
1588 base representation. Store the window in *RESULT. */
1601 the size of each window is relatively small (100kB) and skip-
1609 svn_txdelta_window_t *window;
1614 SVN_ERR(read_delta_window(&window, rb->chunk_index, rs, window_pool,
1617 APR_ARRAY_PUSH(windows, svn_txdelta_window_t *) = window;
1618 if (window->src_ops == 0)
1629 svn_txdelta_window_t *window;
1634 window = APR_ARRAY_IDX(windows, i, svn_txdelta_window_t *);
1637 as much data from it as the needed for the txdelta window's source
1647 * window. */
1648 if (window->src_ops)
1650 window->sview_len,
1653 SVN_ERR(skip_plain_window(rb->src_state, window->sview_len));
1656 /* Combine this window with the current one. */
1658 buf = svn_stringbuf_create_ensure(window->tview_len, new_pool);
1659 buf->len = window->tview_len;
1661 svn_txdelta_apply_instructions(window, source ? source->data : NULL,
1663 if (buf->len != window->tview_len)
1665 _("svndiff window length is "
1960 /* Read LEN bytes from the window stream and store the data
1976 /* Simply drain LEN bytes from the window stream. */
2019 /* No fulltext cache to help us. We must read from the window stream. */
2028 * window stream catch up. Also, initialize the fulltext buffer
2206 delta_read_next_window(svn_txdelta_window_t **window, void *baton,
2212 *window = NULL;
2215 SVN_ERR(read_delta_window(window, drb->rs->chunk_index, drb->rs, pool,
2861 * Instead of the whole window data, return only END_OFFSET member.
2870 const svn_fs_fs__txdelta_cached_window_t *window
2872 *(apr_off_t*)out = window->end_offset;
2878 * Instead of the whole window data, return only END_OFFSET member.
2887 const svn_fs_fs__raw_cached_window_t *window
2889 *(apr_off_t*)out = window->end_offset;
2896 * window caches. If MAX_OFFSET is not -1, don't read windows that start
2924 * It might be cached as either raw or parsed window.
2943 /* Read, decode and cache the window. */
2944 svn_fs_fs__raw_cached_window_t window;
2949 /* navigate to the current window */
2955 /* Read the raw window. */
2965 /* Construct the cachable raw window object. */
2966 window.end_offset = rs->current;
2967 window.window.len = window_len;
2968 window.window.data = buf;
2970 /* cache the window now */
2971 SVN_ERR(svn_cache__set(rs->raw_window_cache, &key, &window,
2977 _("Reading one svndiff window read beyond "