Lines Matching refs:CANON_ELEMENT
75 #ifndef CANON_ELEMENT
76 # define CANON_ELEMENT(c) c macro
143 a = CANON_ELEMENT (needle[j + k]); in critical_factorization()
144 b = CANON_ELEMENT (needle[max_suffix + k]); in critical_factorization()
178 a = CANON_ELEMENT (needle[j + k]); in critical_factorization()
179 b = CANON_ELEMENT (needle[max_suffix_rev + k]); in critical_factorization()
256 while (i < needle_len && (CANON_ELEMENT (*pneedle++) in two_way_short_needle()
257 == CANON_ELEMENT (*phaystack++))) in two_way_short_needle()
265 while (memory < i + 1 && (CANON_ELEMENT (*pneedle--) in two_way_short_needle()
266 == CANON_ELEMENT (*phaystack--))) in two_way_short_needle()
287 unsigned char needle_suffix = CANON_ELEMENT (needle[suffix]); in two_way_short_needle()
312 != (haystack_char = CANON_ELEMENT (*phaystack++))) in two_way_short_needle()
333 if (CANON_ELEMENT (*pneedle++) in two_way_short_needle()
334 != (haystack_char = CANON_ELEMENT (*phaystack++))) in two_way_short_needle()
354 if (CANON_ELEMENT (*pneedle--) in two_way_short_needle()
355 != (haystack_char = CANON_ELEMENT (*phaystack--))) in two_way_short_needle()
411 shift_table[CANON_ELEMENT (needle[i])] = needle_len - i - 1; in two_way_long_needle()
430 shift = shift_table[CANON_ELEMENT (haystack[j + needle_len - 1])]; in two_way_long_needle()
449 while (i < needle_len - 1 && (CANON_ELEMENT (*pneedle++) in two_way_long_needle()
450 == CANON_ELEMENT (*phaystack++))) in two_way_long_needle()
458 while (memory < i + 1 && (CANON_ELEMENT (*pneedle--) in two_way_long_needle()
459 == CANON_ELEMENT (*phaystack--))) in two_way_long_needle()
489 shift = shift_table[CANON_ELEMENT (haystack[j + needle_len - 1])]; in two_way_long_needle()
500 while (i < needle_len - 1 && (CANON_ELEMENT (*pneedle++) in two_way_long_needle()
501 == CANON_ELEMENT (*phaystack++))) in two_way_long_needle()
509 while (i != SIZE_MAX && (CANON_ELEMENT (*pneedle--) in two_way_long_needle()
510 == CANON_ELEMENT (*phaystack--))) in two_way_long_needle()
524 #undef CANON_ELEMENT