Lines Matching refs:dest
741 /// Add the Stream nodes from the source index to dest using recursion.
767 lzma_index_cat(lzma_index *restrict dest, lzma_index *restrict src,
770 const lzma_vli dest_file_size = lzma_index_file_size(dest);
774 || dest->uncompressed_size + src->uncompressed_size
786 dest->record_count, dest->index_list_size);
794 // to be done before modifying dest or src.
796 index_stream *s = (index_stream *)(dest->streams.rightmost);
838 // Add all the Streams from src to dest. Update the base offsets
841 .uncompressed_size = dest->uncompressed_size,
843 .stream_number_add = dest->streams.count,
844 .block_number_add = dest->record_count,
845 .streams = &dest->streams,
850 dest->uncompressed_size += src->uncompressed_size;
851 dest->total_size += src->total_size;
852 dest->record_count += src->record_count;
853 dest->index_list_size += src->index_list_size;
854 dest->checks = lzma_index_checks(dest) | src->checks;
872 index_stream *dest = index_stream_init(src->node.compressed_base,
875 if (dest == NULL)
879 dest->record_count = src->record_count;
880 dest->index_list_size = src->index_list_size;
881 dest->stream_flags = src->stream_flags;
882 dest->stream_padding = src->stream_padding;
886 return dest;
895 index_stream_end(dest, allocator);
919 index_tree_append(&dest->groups, &destg->node);
921 return dest;
929 lzma_index *dest = index_init_plain(allocator);
930 if (dest == NULL)
934 dest->uncompressed_size = src->uncompressed_size;
935 dest->total_size = src->total_size;
936 dest->record_count = src->record_count;
937 dest->index_list_size = src->index_list_size;
946 lzma_index_end(dest, allocator);
950 index_tree_append(&dest->streams, &deststream->node);
955 return dest;