Lines Matching refs:chunk
124 rep_delta_chunk_t *chunk = APR_ARRAY_IDX(chunks, i, rep_delta_chunk_t *);
126 key = apr_pstrdup(pool, chunk->string_key);
281 in the first chunk, and then verify that no chunks have a
285 altogether -- to the format/version of the first chunk. */
323 delta chunk we're starting from. OFFSET is the relative offset of
324 the requested data within the chunk; BUF and LEN are what we're
408 offset = 0; /* Read from the beginning of the next chunk. */
426 /* Calculate the index of the chunk in REP that contains REP_OFFSET,
427 and find the relative CHUNK_OFFSET within the chunk.
502 const rep_delta_chunk_t *const chunk
506 /* Verify that this chunk is of the same version as the first. */
507 if (first_chunk->version != chunk->version)
513 rep_key = chunk->rep_key;
642 another chunk. */
1327 not count on this being populated after the first chunk is sent
1581 rep_delta_chunk_t *chunk;
1592 chunks = apr_array_make(pool, windows->nelts, sizeof(chunk));
1600 /* Allocate a chunk and its window */
1601 chunk = apr_palloc(pool, sizeof(*chunk));
1602 chunk->offset = ww->text_off;
1605 chunk->version = new_target_baton.version;
1606 chunk->string_key = ww->key;
1607 chunk->size = ww->text_len;
1608 chunk->rep_key = source;
1610 /* Add this chunk to the array. */
1611 APR_ARRAY_PUSH(chunks, rep_delta_chunk_t *) = chunk;