Searched refs:consumed (Results 1 – 7 of 7) sorted by relevance
/lib/ |
D | textsearch.c | 204 static unsigned int get_linear_data(unsigned int consumed, const u8 **dst, in get_linear_data() argument 210 if (likely(consumed < st->len)) { in get_linear_data() 211 *dst = st->data + consumed; in get_linear_data() 212 return st->len - consumed; in get_linear_data()
|
D | ts_kmp.c | 45 unsigned int i, q = 0, text_len, consumed = state->offset; in kmp_find() local 50 text_len = conf->get_next_block(consumed, &text, conf, state); in kmp_find() 63 state->offset = consumed + i + 1; in kmp_find() 68 consumed += text_len; in kmp_find()
|
D | ts_bm.c | 61 unsigned int i, text_len, consumed = state->offset; in bm_find() local 67 text_len = conf->get_next_block(consumed, &text, conf, state); in bm_find() 83 return consumed += (shift-(bm->patlen-1)); in bm_find() 90 consumed += text_len; in bm_find()
|
D | scatterlist.c | 731 off_t consumed; in sg_miter_skip() local 736 consumed = min_t(off_t, offset, miter->__remaining); in sg_miter_skip() 737 miter->__offset += consumed; in sg_miter_skip() 738 miter->__remaining -= consumed; in sg_miter_skip() 739 offset -= consumed; in sg_miter_skip() 775 miter->consumed = miter->length = miter->__remaining; in sg_miter_next() 802 WARN_ON(miter->consumed > miter->length); in sg_miter_stop() 806 miter->__offset += miter->consumed; in sg_miter_stop() 807 miter->__remaining -= miter->consumed; in sg_miter_stop() 822 miter->consumed = 0; in sg_miter_stop()
|
D | ts_fsm.c | 139 unsigned block_len = 0, strict, consumed = state->offset; in fsm_find() local 143 ({ consumed += block_idx; \ in fsm_find() 145 block_len = conf->get_next_block(consumed, &data, conf, state); }) in fsm_find() 163 match_start = consumed + block_idx; in fsm_find() 237 match_start = consumed + block_idx; in fsm_find() 251 state->offset = consumed + block_idx; in fsm_find()
|
/lib/zstd/ |
D | huf_decompress.c | 394 static void HUF_fillDTableX4Level2(HUF_DEltX4 *DTable, U32 sizeLog, const U32 consumed, const U32 *… in HUF_fillDTableX4Level2() argument 407 DElt.nbBits = (BYTE)(consumed); in HUF_fillDTableX4Level2() 426 DElt.nbBits = (BYTE)(nbBits + consumed); in HUF_fillDTableX4Level2() 576 U32 consumed; in HUF_readDTableX4_wksp() local 577 for (consumed = minBits; consumed < maxTableLog - minBits + 1; consumed++) { in HUF_readDTableX4_wksp() 578 U32 *const rankValPtr = rankVal[consumed]; in HUF_readDTableX4_wksp() 581 rankValPtr[w] = rankVal0[w] >> consumed; in HUF_readDTableX4_wksp()
|
/lib/mpi/ |
D | mpicoder.c | 366 miter.consumed = lzeros; in mpi_read_raw_from_sgl()
|