Searched refs:bm (Results 1 – 4 of 4) sorted by relevance
78 struct ts_bm *bm = ts_config_priv(conf); in bm_find() local85 int shift = bm->patlen - 1; in bm_find()96 i = matchpat(&bm->pattern[bm->patlen-1], bm->patlen, in bm_find()98 if (i == bm->patlen) { in bm_find()101 return consumed + (shift-(bm->patlen-1)); in bm_find()104 bs = bm->bad_shift[text[shift-i]]; in bm_find()107 shift = max_t(int, shift-i+bs, shift+bm->good_shift[i]); in bm_find()133 static void compute_prefix_tbl(struct ts_bm *bm, int flags) in compute_prefix_tbl() argument138 bm->bad_shift[i] = bm->patlen; in compute_prefix_tbl()139 for (i = 0; i < bm->patlen - 1; i++) { in compute_prefix_tbl()[all …]
12 word_type bm; in __lshrdi3() local18 bm = 32 - b; in __lshrdi3()20 if (bm <= 0) { in __lshrdi3()22 w.s.low = (unsigned int) uu.s.high >> -bm; in __lshrdi3()24 const unsigned int carries = (unsigned int) uu.s.high << bm; in __lshrdi3()
12 word_type bm; in __ashldi3() local18 bm = 32 - b; in __ashldi3()20 if (bm <= 0) { in __ashldi3()22 w.s.high = (unsigned int) uu.s.low << -bm; in __ashldi3()24 const unsigned int carries = (unsigned int) uu.s.low >> bm; in __ashldi3()
12 word_type bm; in __ashrdi3() local18 bm = 32 - b; in __ashrdi3()20 if (bm <= 0) { in __ashrdi3()24 w.s.low = uu.s.high >> -bm; in __ashrdi3()26 const unsigned int carries = (unsigned int) uu.s.high << bm; in __ashrdi3()