Home
last modified time | relevance | path

Searched refs:bm (Results 1 – 4 of 4) sorted by relevance

/lib/
Dts_bm.c60 struct ts_bm *bm = ts_config_priv(conf); in bm_find() local
63 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() argument
119 bm->bad_shift[i] = bm->patlen; in compute_prefix_tbl()
120 for (i = 0; i < bm->patlen - 1; i++) { in compute_prefix_tbl()
[all …]
Dashldi3.c12 word_type bm; in __ashldi3() local
18 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()
Dlshrdi3.c12 word_type bm; in __lshrdi3() local
18 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()
Dashrdi3.c12 word_type bm; in __ashrdi3() local
18 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()