Lines Matching refs:ts
21 const struct embedded_ts *ts; member
38 const struct embedded_ts *ts) in decompression_init() argument
42 strm->next_in = ts->ts; in decompression_init()
43 strm->avail_in = ts->size; in decompression_init()
61 const struct embedded_ts *ts = NULL; in emb_ts_open() local
63 ts = find_ts(uuid); in emb_ts_open()
64 if (!ts) in emb_ts_open()
71 if (ts->uncompressed_size) { in emb_ts_open()
72 if (!decompression_init(&handle->strm, ts)) { in emb_ts_open()
77 handle->ts = ts; in emb_ts_open()
85 const struct embedded_ts *ts = h->ts; in emb_ts_get_size() local
87 if (ts->uncompressed_size) in emb_ts_get_size()
88 *size = ts->uncompressed_size; in emb_ts_get_size()
90 *size = ts->size; in emb_ts_get_size()
113 res = crypto_hash_update(ctx, h->ts->ts, h->ts->size); in emb_ts_get_tag()
126 uint8_t *src = (uint8_t *)h->ts->ts + h->offs; in read_uncompressed()
130 next_offs > h->ts->size) in read_uncompressed()
211 if (h->ts->uncompressed_size) in emb_ts_read()
219 if (h->ts->uncompressed_size) in emb_ts_close()