Home
last modified time | relevance | path

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

/external/v8/src/
Dstring-search.h141 static inline int CharOccurrence(int* bad_char_occurrence, in CharOccurrence() argument
144 return bad_char_occurrence[static_cast<int>(char_code)]; in CharOccurrence()
150 return bad_char_occurrence[static_cast<unsigned int>(char_code)]; in CharOccurrence()
154 return bad_char_occurrence[equiv_class]; in CharOccurrence()
482 int* bad_char_occurrence = bad_char_table(); in PopulateBoyerMooreHorspoolTable() local
491 memset(bad_char_occurrence, in PopulateBoyerMooreHorspoolTable()
493 table_size * sizeof(*bad_char_occurrence)); in PopulateBoyerMooreHorspoolTable()
496 bad_char_occurrence[i] = start - 1; in PopulateBoyerMooreHorspoolTable()
502 bad_char_occurrence[bucket] = i; in PopulateBoyerMooreHorspoolTable()