needle_len 46 maint/gnulib/lib/c-strcasestr.c size_t needle_len; /* Length of NEEDLE. */ needle_len 60 maint/gnulib/lib/c-strcasestr.c needle_len = needle - needle_start; needle_len 62 maint/gnulib/lib/c-strcasestr.c haystack_len = needle_len - 1; needle_len 67 maint/gnulib/lib/c-strcasestr.c if (needle_len < LONG_NEEDLE_THRESHOLD) needle_len 71 maint/gnulib/lib/c-strcasestr.c needle_len); needle_len 74 maint/gnulib/lib/c-strcasestr.c needle_len); needle_len 36 maint/gnulib/lib/memmem.c const void *needle_start, size_t needle_len) needle_len 43 maint/gnulib/lib/memmem.c if (needle_len == 0) needle_len 50 maint/gnulib/lib/memmem.c if (__builtin_expect (haystack_len < needle_len, 0)) needle_len 57 maint/gnulib/lib/memmem.c if (needle_len < LONG_NEEDLE_THRESHOLD) needle_len 60 maint/gnulib/lib/memmem.c if (!haystack || __builtin_expect (needle_len == 1, 0)) needle_len 63 maint/gnulib/lib/memmem.c if (haystack_len < needle_len) needle_len 65 maint/gnulib/lib/memmem.c return two_way_short_needle (haystack, haystack_len, needle, needle_len); needle_len 68 maint/gnulib/lib/memmem.c return two_way_long_needle (haystack, haystack_len, needle, needle_len); needle_len 44 maint/gnulib/lib/str-kmp.h const UNIT *needle, size_t needle_len, needle_len 47 maint/gnulib/lib/str-kmp.h size_t m = needle_len; needle_len 108 maint/gnulib/lib/str-two-way.h critical_factorization (const unsigned char *needle, size_t needle_len, needle_len 120 maint/gnulib/lib/str-two-way.h if (needle_len < 3) needle_len 123 maint/gnulib/lib/str-two-way.h return needle_len - 1; needle_len 139 maint/gnulib/lib/str-two-way.h while (j + k < needle_len) needle_len 174 maint/gnulib/lib/str-two-way.h while (j + k < needle_len) needle_len 236 maint/gnulib/lib/str-two-way.h const unsigned char *needle, size_t needle_len) needle_len 246 maint/gnulib/lib/str-two-way.h suffix = critical_factorization (needle, needle_len, &period); needle_len 257 maint/gnulib/lib/str-two-way.h while (AVAILABLE (haystack, haystack_len, j, needle_len)) needle_len 261 maint/gnulib/lib/str-two-way.h while (i < needle_len && (CANON_ELEMENT (needle[i]) needle_len 264 maint/gnulib/lib/str-two-way.h if (needle_len <= i) needle_len 276 maint/gnulib/lib/str-two-way.h memory = needle_len - period; needle_len 289 maint/gnulib/lib/str-two-way.h period = MAX (suffix, needle_len - suffix) + 1; needle_len 291 maint/gnulib/lib/str-two-way.h while (AVAILABLE (haystack, haystack_len, j, needle_len)) needle_len 295 maint/gnulib/lib/str-two-way.h while (i < needle_len && (CANON_ELEMENT (needle[i]) needle_len 298 maint/gnulib/lib/str-two-way.h if (needle_len <= i) needle_len 330 maint/gnulib/lib/str-two-way.h const unsigned char *needle, size_t needle_len) needle_len 341 maint/gnulib/lib/str-two-way.h suffix = critical_factorization (needle, needle_len, &period); needle_len 348 maint/gnulib/lib/str-two-way.h shift_table[i] = needle_len; needle_len 349 maint/gnulib/lib/str-two-way.h for (i = 0; i < needle_len; i++) needle_len 350 maint/gnulib/lib/str-two-way.h shift_table[CANON_ELEMENT (needle[i])] = needle_len - i - 1; needle_len 362 maint/gnulib/lib/str-two-way.h while (AVAILABLE (haystack, haystack_len, j, needle_len)) needle_len 366 maint/gnulib/lib/str-two-way.h shift = shift_table[CANON_ELEMENT (haystack[j + needle_len - 1])]; needle_len 374 maint/gnulib/lib/str-two-way.h shift = needle_len - period; needle_len 383 maint/gnulib/lib/str-two-way.h while (i < needle_len - 1 && (CANON_ELEMENT (needle[i]) needle_len 386 maint/gnulib/lib/str-two-way.h if (needle_len - 1 <= i) needle_len 398 maint/gnulib/lib/str-two-way.h memory = needle_len - period; needle_len 412 maint/gnulib/lib/str-two-way.h period = MAX (suffix, needle_len - suffix) + 1; needle_len 414 maint/gnulib/lib/str-two-way.h while (AVAILABLE (haystack, haystack_len, j, needle_len)) needle_len 418 maint/gnulib/lib/str-two-way.h shift = shift_table[CANON_ELEMENT (haystack[j + needle_len - 1])]; needle_len 427 maint/gnulib/lib/str-two-way.h while (i < needle_len - 1 && (CANON_ELEMENT (needle[i]) needle_len 430 maint/gnulib/lib/str-two-way.h if (needle_len - 1 <= i) needle_len 47 maint/gnulib/lib/strcasestr.c size_t needle_len; /* Length of NEEDLE. */ needle_len 65 maint/gnulib/lib/strcasestr.c needle_len = needle - needle_start; needle_len 67 maint/gnulib/lib/strcasestr.c haystack_len = needle_len - 1; needle_len 72 maint/gnulib/lib/strcasestr.c if (needle_len < LONG_NEEDLE_THRESHOLD) needle_len 76 maint/gnulib/lib/strcasestr.c needle_len); needle_len 79 maint/gnulib/lib/strcasestr.c needle_len); needle_len 43 maint/gnulib/lib/strstr.c size_t needle_len; /* Length of NEEDLE. */ needle_len 59 maint/gnulib/lib/strstr.c needle_len = needle - needle_start; needle_len 61 maint/gnulib/lib/strstr.c if (!haystack || __builtin_expect (needle_len == 1, 0)) needle_len 63 maint/gnulib/lib/strstr.c needle -= needle_len; needle_len 64 maint/gnulib/lib/strstr.c haystack_len = (haystack > haystack_start + needle_len ? 1 needle_len 65 maint/gnulib/lib/strstr.c : needle_len + haystack_start - haystack); needle_len 70 maint/gnulib/lib/strstr.c if (needle_len < LONG_NEEDLE_THRESHOLD) needle_len 73 maint/gnulib/lib/strstr.c (const unsigned char *) needle, needle_len); needle_len 75 maint/gnulib/lib/strstr.c (const unsigned char *) needle, needle_len);