Searched refs:bm (Results 1 – 4 of 4) sorted by relevance
60 struct ts_bm *bm = ts_config_priv(conf); in bm_find() local63 int shift = bm->patlen - 1, bs; in bm_find()75 for (i = 0; i < bm->patlen; i++) in bm_find()78 != bm->pattern[bm->patlen-1-i]) in bm_find()83 return consumed += (shift-(bm->patlen-1)); in bm_find()85 next: bs = bm->bad_shift[text[shift-i]]; in bm_find()88 shift = max_t(int, shift-i+bs, shift+bm->good_shift[i]); in bm_find()114 static void compute_prefix_tbl(struct ts_bm *bm, int flags) in compute_prefix_tbl() argument119 bm->bad_shift[i] = bm->patlen; in compute_prefix_tbl()120 for (i = 0; i < bm->patlen - 1; i++) { in compute_prefix_tbl()[all …]
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 __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 __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()