Searched refs:cache_offset (Results 1 – 5 of 5) sorted by relevance
151 uint64_t cache_offset; in update_foz_index() local152 if (fread(&cache_offset, 1, sizeof(cache_offset), db_idx) != in update_foz_index()153 sizeof(cache_offset)) in update_foz_index()171 entry->offset = cache_offset; in update_foz_index()
3359 gint64 cache_offset = GST_BUFFER_OFFSET (parse->priv->cache); in gst_base_parse_get_cached_available() local3362 if (parse->priv->offset >= cache_offset in gst_base_parse_get_cached_available()3363 && parse->priv->offset < cache_offset + cache_size) in gst_base_parse_get_cached_available()3364 … return cache_size - (parse->priv->offset - cache_offset); /* Size of the cache minus consumed */ in gst_base_parse_get_cached_available()3383 gint64 cache_offset = GST_BUFFER_OFFSET (parse->priv->cache); in gst_base_parse_pull_range() local3386 if (cache_offset <= parse->priv->offset && in gst_base_parse_pull_range()3387 (parse->priv->offset + size) <= (cache_offset + cache_size)) { in gst_base_parse_pull_range()3389 parse->priv->offset - cache_offset, size); in gst_base_parse_pull_range()3393 G_GINT64_FORMAT, size, cache_offset); in gst_base_parse_pull_range()
54 - util/fossilize_db: Reset file position to parsed_offset on cache_offset read failure.
507 - util/fossilize_db: Reset file position to parsed_offset on cache_offset read failure.
2857 guint64 cache_offset = GST_BUFFER_OFFSET (common->cached_buffer); in gst_matroska_read_common_peek_bytes() local2860 if (cache_offset <= common->offset && in gst_matroska_read_common_peek_bytes()2861 (common->offset + size) <= (cache_offset + cache_size)) { in gst_matroska_read_common_peek_bytes()2864 GST_BUFFER_COPY_ALL, common->offset - cache_offset, size); in gst_matroska_read_common_peek_bytes()2871 *bytes = common->cached_data + common->offset - cache_offset; in gst_matroska_read_common_peek_bytes()