Home
last modified time | relevance | path

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

/third_party/node/deps/v8/src/strings/
Dstring-search.h355 int* shift_table = good_suffix_shift_table(); in PopulateBoyerMooreTable() local
360 shift_table[i] = length; in PopulateBoyerMooreTable()
362 shift_table[pattern_length] = 1; in PopulateBoyerMooreTable()
377 if (shift_table[suffix] == length) { in PopulateBoyerMooreTable()
378 shift_table[suffix] = suffix - i; in PopulateBoyerMooreTable()
386 if (shift_table[pattern_length] == length) { in PopulateBoyerMooreTable()
387 shift_table[pattern_length] = pattern_length - i; in PopulateBoyerMooreTable()
400 if (shift_table[i] == length) { in PopulateBoyerMooreTable()
401 shift_table[i] = suffix - start; in PopulateBoyerMooreTable()
/third_party/node/src/
Dstring_search.h395 int* shift_table = good_suffix_shift_table_ - start_; in PopulateBoyerMooreTable() local
400 shift_table[i] = length; in PopulateBoyerMooreTable()
402 shift_table[pattern_length] = 1; in PopulateBoyerMooreTable()
417 if (static_cast<size_t>(shift_table[suffix]) == length) { in PopulateBoyerMooreTable()
418 shift_table[suffix] = suffix - i; in PopulateBoyerMooreTable()
426 if (static_cast<size_t>(shift_table[pattern_length]) == length) { in PopulateBoyerMooreTable()
427 shift_table[pattern_length] = pattern_length - i; in PopulateBoyerMooreTable()
440 if (static_cast<size_t>(shift_table[i]) == length) { in PopulateBoyerMooreTable()
441 shift_table[i] = suffix - start; in PopulateBoyerMooreTable()
/third_party/astc-encoder/Source/
Dstb_image.h5331 static unsigned int shift_table[9] = { in stbi__shiftsigned() local
5341 return (int) ((unsigned) v * mul_table[bits]) >> shift_table[bits]; in stbi__shiftsigned()