needle             86 lib/common/crmcommon_private.h xmlNode *pcmk__xml_match(const xmlNode *haystack, const xmlNode *needle,
needle            385 lib/common/xml.c pcmk__xml_match(const xmlNode *haystack, const xmlNode *needle, bool exact)
needle            387 lib/common/xml.c     CRM_CHECK(needle != NULL, return NULL);
needle            389 lib/common/xml.c     if (needle->type == XML_COMMENT_NODE) {
needle            390 lib/common/xml.c         return pcmk__xc_match(haystack, needle, exact);
needle            393 lib/common/xml.c         const char *id = pcmk__xe_id(needle);
needle            396 lib/common/xml.c         return pcmk__xe_first_child(haystack, (const char *) needle->name, attr,
needle             45 maint/gnulib/lib/c-strcasestr.c   const char *needle = needle_start;
needle             53 maint/gnulib/lib/c-strcasestr.c   while (*haystack && *needle)
needle             55 maint/gnulib/lib/c-strcasestr.c            == c_tolower ((unsigned char) *needle++));
needle             56 maint/gnulib/lib/c-strcasestr.c   if (*needle)
needle             60 maint/gnulib/lib/c-strcasestr.c   needle_len = needle - needle_start;
needle             28 maint/gnulib/lib/c-strcasestr.h extern char *c_strcasestr (const char *haystack, const char *needle);
needle             27 maint/gnulib/lib/c-strstr.c c_strstr (const char *haystack, const char *needle)
needle             31 maint/gnulib/lib/c-strstr.c   return strstr (haystack, needle);
needle             40 maint/gnulib/lib/c-strstr.h extern char *c_strstr (const char *haystack, const char *needle);
needle             44 maint/gnulib/lib/mbscasestr.c knuth_morris_pratt_multibyte (const char *haystack, const char *needle,
needle             47 maint/gnulib/lib/mbscasestr.c   size_t m = mbslen (needle);
needle             64 maint/gnulib/lib/mbscasestr.c     for (mbui_init (iter, needle); mbui_avail (iter); mbui_advance (iter), j++)
needle            200 maint/gnulib/lib/mbscasestr.c mbscasestr (const char *haystack, const char *needle)
needle            211 maint/gnulib/lib/mbscasestr.c       mbui_init (iter_needle, needle);
needle            237 maint/gnulib/lib/mbscasestr.c           mbui_init (iter_needle_last_ccount, needle);
needle            271 maint/gnulib/lib/mbscasestr.c                         knuth_morris_pratt_multibyte (haystack, needle,
needle            293 maint/gnulib/lib/mbscasestr.c                   mbui_init (rneedle, needle);
needle            320 maint/gnulib/lib/mbscasestr.c       if (*needle != '\0')
needle            340 maint/gnulib/lib/mbscasestr.c           const char *needle_last_ccount = needle; /* = needle + last_ccount */
needle            344 maint/gnulib/lib/mbscasestr.c           unsigned char b = TOLOWER ((unsigned char) *needle);
needle            346 maint/gnulib/lib/mbscasestr.c           needle++;
needle            376 maint/gnulib/lib/mbscasestr.c                                             (const unsigned char *) (needle - 1),
needle            377 maint/gnulib/lib/mbscasestr.c                                             strlen (needle - 1),
needle            391 maint/gnulib/lib/mbscasestr.c                   const char *rneedle = needle;
needle             41 maint/gnulib/lib/mbsstr.c knuth_morris_pratt_multibyte (const char *haystack, const char *needle,
needle             44 maint/gnulib/lib/mbsstr.c   size_t m = mbslen (needle);
needle             63 maint/gnulib/lib/mbsstr.c     for (mbui_init (iter, needle); mbui_avail (iter); mbui_advance (iter), j++)
needle            186 maint/gnulib/lib/mbsstr.c mbsstr (const char *haystack, const char *needle)
needle            197 maint/gnulib/lib/mbsstr.c       mbui_init (iter_needle, needle);
needle            222 maint/gnulib/lib/mbsstr.c           mbui_init (iter_needle_last_ccount, needle);
needle            249 maint/gnulib/lib/mbsstr.c                         knuth_morris_pratt_multibyte (haystack, needle,
needle            268 maint/gnulib/lib/mbsstr.c                   mbui_init (rneedle, needle);
needle            294 maint/gnulib/lib/mbsstr.c       if (*needle != '\0')
needle            314 maint/gnulib/lib/mbsstr.c           const char *needle_last_ccount = needle; /* = needle + last_ccount */
needle            318 maint/gnulib/lib/mbsstr.c           char b = *needle++;
needle            349 maint/gnulib/lib/mbsstr.c                                             (const unsigned char *) (needle - 1),
needle            350 maint/gnulib/lib/mbsstr.c                                             strlen (needle - 1),
needle            364 maint/gnulib/lib/mbsstr.c                   const char *rneedle = needle;
needle             41 maint/gnulib/lib/memmem.c   const unsigned char *needle = (const unsigned char *) needle_start;
needle             59 maint/gnulib/lib/memmem.c       haystack = memchr (haystack, *needle, haystack_len);
needle             65 maint/gnulib/lib/memmem.c       return two_way_short_needle (haystack, haystack_len, needle, needle_len);
needle             68 maint/gnulib/lib/memmem.c     return two_way_long_needle (haystack, haystack_len, needle, needle_len);
needle             44 maint/gnulib/lib/str-kmp.h                     const UNIT *needle, size_t needle_len,
needle             81 maint/gnulib/lib/str-kmp.h         UNIT b = CANON_ELEMENT (needle[i - 1]);
needle             88 maint/gnulib/lib/str-kmp.h             if (b == CANON_ELEMENT (needle[j]))
needle            132 maint/gnulib/lib/str-kmp.h       if (CANON_ELEMENT (needle[j]) == CANON_ELEMENT (*phaystack))
needle            108 maint/gnulib/lib/str-two-way.h critical_factorization (const unsigned char *needle, size_t needle_len,
needle            141 maint/gnulib/lib/str-two-way.h       a = CANON_ELEMENT (needle[j + k]);
needle            142 maint/gnulib/lib/str-two-way.h       b = CANON_ELEMENT (needle[max_suffix + k]);
needle            176 maint/gnulib/lib/str-two-way.h       a = CANON_ELEMENT (needle[j + k]);
needle            177 maint/gnulib/lib/str-two-way.h       b = CANON_ELEMENT (needle[max_suffix_rev + k]);
needle            236 maint/gnulib/lib/str-two-way.h                       const unsigned char *needle, size_t needle_len)
needle            246 maint/gnulib/lib/str-two-way.h   suffix = critical_factorization (needle, needle_len, &period);
needle            250 maint/gnulib/lib/str-two-way.h   if (CMP_FUNC (needle, needle + period, suffix) == 0)
needle            261 maint/gnulib/lib/str-two-way.h           while (i < needle_len && (CANON_ELEMENT (needle[i])
needle            268 maint/gnulib/lib/str-two-way.h               while (memory < i + 1 && (CANON_ELEMENT (needle[i])
needle            295 maint/gnulib/lib/str-two-way.h           while (i < needle_len && (CANON_ELEMENT (needle[i])
needle            302 maint/gnulib/lib/str-two-way.h               while (i != SIZE_MAX && (CANON_ELEMENT (needle[i])
needle            330 maint/gnulib/lib/str-two-way.h                      const unsigned char *needle, size_t needle_len)
needle            341 maint/gnulib/lib/str-two-way.h   suffix = critical_factorization (needle, needle_len, &period);
needle            350 maint/gnulib/lib/str-two-way.h     shift_table[CANON_ELEMENT (needle[i])] = needle_len - i - 1;
needle            354 maint/gnulib/lib/str-two-way.h   if (CMP_FUNC (needle, needle + period, suffix) == 0)
needle            383 maint/gnulib/lib/str-two-way.h           while (i < needle_len - 1 && (CANON_ELEMENT (needle[i])
needle            390 maint/gnulib/lib/str-two-way.h               while (memory < i + 1 && (CANON_ELEMENT (needle[i])
needle            427 maint/gnulib/lib/str-two-way.h           while (i < needle_len - 1 && (CANON_ELEMENT (needle[i])
needle            434 maint/gnulib/lib/str-two-way.h               while (i != SIZE_MAX && (CANON_ELEMENT (needle[i])
needle             46 maint/gnulib/lib/strcasestr.c   const char *needle = needle_start;
needle             54 maint/gnulib/lib/strcasestr.c   while (*haystack && *needle)
needle             57 maint/gnulib/lib/strcasestr.c              == TOLOWER ((unsigned char) *needle));
needle             59 maint/gnulib/lib/strcasestr.c       needle++;
needle             61 maint/gnulib/lib/strcasestr.c   if (*needle)
needle             65 maint/gnulib/lib/strcasestr.c   needle_len = needle - needle_start;
needle            722 maint/gnulib/lib/string.in.h _GL_FUNCDECL_RPL (strstr, char *, (const char *haystack, const char *needle)
needle            725 maint/gnulib/lib/string.in.h _GL_CXXALIAS_RPL (strstr, char *, (const char *haystack, const char *needle));
needle            731 maint/gnulib/lib/string.in.h                         char *, (const char *haystack, const char *needle),
needle            732 maint/gnulib/lib/string.in.h                         const char *, (const char *haystack, const char *needle));
needle            736 maint/gnulib/lib/string.in.h _GL_CXXALIASWARN1 (strstr, char *, (char *haystack, const char *needle));
needle            738 maint/gnulib/lib/string.in.h                    (const char *haystack, const char *needle));
needle            764 maint/gnulib/lib/string.in.h                   (const char *haystack, const char *needle)
needle            768 maint/gnulib/lib/string.in.h                   (const char *haystack, const char *needle));
needle            772 maint/gnulib/lib/string.in.h                   (const char *haystack, const char *needle)
needle            780 maint/gnulib/lib/string.in.h                         char *, (const char *haystack, const char *needle),
needle            781 maint/gnulib/lib/string.in.h                         const char *, (const char *haystack, const char *needle));
needle            785 maint/gnulib/lib/string.in.h _GL_CXXALIASWARN1 (strcasestr, char *, (char *haystack, const char *needle));
needle            787 maint/gnulib/lib/string.in.h                    (const char *haystack, const char *needle));
needle            952 maint/gnulib/lib/string.in.h _GL_EXTERN_C char * mbsstr (const char *haystack, const char *needle)
needle           1004 maint/gnulib/lib/string.in.h _GL_EXTERN_C char * mbscasestr (const char *haystack, const char *needle)
needle             42 maint/gnulib/lib/strstr.c   const char *needle = needle_start;
needle             50 maint/gnulib/lib/strstr.c   while (*haystack && *needle)
needle             51 maint/gnulib/lib/strstr.c     ok &= *haystack++ == *needle++;
needle             52 maint/gnulib/lib/strstr.c   if (*needle)
needle             59 maint/gnulib/lib/strstr.c   needle_len = needle - needle_start;
needle             63 maint/gnulib/lib/strstr.c   needle -= needle_len;
needle             73 maint/gnulib/lib/strstr.c                                  (const unsigned char *) needle, needle_len);
needle             75 maint/gnulib/lib/strstr.c                               (const unsigned char *) needle, needle_len);
needle            704 maint/gnulib/lib/unistr.in.h        u8_strstr (const uint8_t *haystack, const uint8_t *needle)
needle            707 maint/gnulib/lib/unistr.in.h        u16_strstr (const uint16_t *haystack, const uint16_t *needle)
needle            710 maint/gnulib/lib/unistr.in.h        u32_strstr (const uint32_t *haystack, const uint32_t *needle)
needle             27 maint/gnulib/lib/unistr/u-strstr.h FUNC (const UNIT *haystack, const UNIT *needle)
needle             29 maint/gnulib/lib/unistr/u-strstr.h   UNIT first = needle[0];
needle             36 maint/gnulib/lib/unistr/u-strstr.h   if (needle[1] == 0)
needle             43 maint/gnulib/lib/unistr/u-strstr.h     int count = U_STRMBTOUC (&first_uc, needle);
needle             44 maint/gnulib/lib/unistr/u-strstr.h     if (count > 0 && needle[count] == 0)
needle             50 maint/gnulib/lib/unistr/u-strstr.h   return (uint8_t *) strstr ((const char *) haystack, (const char *) needle);
needle             71 maint/gnulib/lib/unistr/u-strstr.h     const UNIT *needle_last_ccount = needle; /* = needle + last_ccount */
needle             75 maint/gnulib/lib/unistr/u-strstr.h     UNIT b = *needle++;
needle            106 maint/gnulib/lib/unistr/u-strstr.h                                       needle - 1, U_STRLEN (needle - 1),
needle            120 maint/gnulib/lib/unistr/u-strstr.h             const UNIT *rneedle = needle;
needle           1166 maint/gnulib/lib/wchar.in.h                    const wchar_t *restrict needle)
needle           1183 maint/gnulib/lib/wchar.in.h                     const wchar_t *restrict needle));
needle           1186 maint/gnulib/lib/wchar.in.h                     const wchar_t *restrict needle));
needle             19 maint/gnulib/lib/wcsstr-impl.h wcsstr (const wchar_t *haystack, const wchar_t *needle)
needle             21 maint/gnulib/lib/wcsstr-impl.h   wchar_t n = needle[0];
needle             28 maint/gnulib/lib/wcsstr-impl.h   if (needle[1] == (wchar_t)'\0')
needle             38 maint/gnulib/lib/wcsstr-impl.h           const wchar_t *nptr = needle + 1;
needle             85 maint/gnulib/tests/test-c-strcasestr.c     const char *needle =
needle             98 maint/gnulib/tests/test-c-strcasestr.c             ASSERT (c_strcasestr (haystack, needle) == haystack + 1);
needle            113 maint/gnulib/tests/test-c-strcasestr.c     char *needle = (char *) malloc (m + 1);
needle            114 maint/gnulib/tests/test-c-strcasestr.c     if (needle != NULL)
needle            116 maint/gnulib/tests/test-c-strcasestr.c         memset (needle, 'A', m);
needle            117 maint/gnulib/tests/test-c-strcasestr.c         needle[m] = '\0';
needle            121 maint/gnulib/tests/test-c-strcasestr.c             ASSERT (c_strcasestr (haystack, needle) == NULL);
needle            124 maint/gnulib/tests/test-c-strcasestr.c         free (needle);
needle            132 maint/gnulib/tests/test-c-strcasestr.c     char *needle = (char *) malloc (m + 2);
needle            133 maint/gnulib/tests/test-c-strcasestr.c     if (haystack != NULL && needle != NULL)
needle            141 maint/gnulib/tests/test-c-strcasestr.c         memset (needle, 'a', m);
needle            142 maint/gnulib/tests/test-c-strcasestr.c         needle[m] = 'B';
needle            143 maint/gnulib/tests/test-c-strcasestr.c         needle[m + 1] = '\0';
needle            145 maint/gnulib/tests/test-c-strcasestr.c         result = c_strcasestr (haystack, needle);
needle            148 maint/gnulib/tests/test-c-strcasestr.c     free (needle);
needle            192 maint/gnulib/tests/test-c-strcasestr.c     const char *needle = "\n"
needle            194 maint/gnulib/tests/test-c-strcasestr.c     const char* p = c_strcasestr (haystack, needle);
needle            201 maint/gnulib/tests/test-c-strcasestr.c     const char *needle = ".d.";
needle            202 maint/gnulib/tests/test-c-strcasestr.c     const char* p = c_strcasestr (haystack, needle);
needle            213 maint/gnulib/tests/test-c-strcasestr.c     const char *needle = "\nwith_gnu_ld-extend-to-len-32-b\n";
needle            229 maint/gnulib/tests/test-c-strcasestr.c     for (i = 0; i < h_len - strlen (needle); i++)
needle            233 maint/gnulib/tests/test-c-strcasestr.c         memcpy (haystack + i, needle, strlen (needle) + 1);
needle            234 maint/gnulib/tests/test-c-strcasestr.c         p = c_strcasestr (haystack, needle);
needle            245 maint/gnulib/tests/test-c-strcasestr.c     char *needle = (char *) malloc (m + 1);
needle            246 maint/gnulib/tests/test-c-strcasestr.c     if (haystack != NULL && needle != NULL)
needle            253 maint/gnulib/tests/test-c-strcasestr.c         memset (needle, 'X', m);
needle            254 maint/gnulib/tests/test-c-strcasestr.c         needle[m] = '\0';
needle            255 maint/gnulib/tests/test-c-strcasestr.c         p = c_strcasestr (haystack, needle);
needle            259 maint/gnulib/tests/test-c-strcasestr.c     free (needle);
needle             60 maint/gnulib/tests/test-c-strstr.c     const char *needle =
needle             72 maint/gnulib/tests/test-c-strstr.c             ASSERT (c_strstr (haystack, needle) == haystack + 1);
needle             87 maint/gnulib/tests/test-c-strstr.c     char *needle = (char *) malloc (m + 1);
needle             88 maint/gnulib/tests/test-c-strstr.c     if (needle != NULL)
needle             90 maint/gnulib/tests/test-c-strstr.c         memset (needle, 'A', m);
needle             91 maint/gnulib/tests/test-c-strstr.c         needle[m] = '\0';
needle             95 maint/gnulib/tests/test-c-strstr.c             ASSERT (c_strstr (haystack, needle) == NULL);
needle             98 maint/gnulib/tests/test-c-strstr.c         free (needle);
needle            106 maint/gnulib/tests/test-c-strstr.c     char *needle = (char *) malloc (m + 2);
needle            107 maint/gnulib/tests/test-c-strstr.c     if (haystack != NULL && needle != NULL)
needle            115 maint/gnulib/tests/test-c-strstr.c         memset (needle, 'A', m);
needle            116 maint/gnulib/tests/test-c-strstr.c         needle[m] = 'B';
needle            117 maint/gnulib/tests/test-c-strstr.c         needle[m + 1] = '\0';
needle            119 maint/gnulib/tests/test-c-strstr.c         result = c_strstr (haystack, needle);
needle            122 maint/gnulib/tests/test-c-strstr.c     free (needle);
needle            166 maint/gnulib/tests/test-c-strstr.c     const char *needle = "\n"
needle            168 maint/gnulib/tests/test-c-strstr.c     const char* p = c_strstr (haystack, needle);
needle            175 maint/gnulib/tests/test-c-strstr.c     const char *needle = ".d.";
needle            176 maint/gnulib/tests/test-c-strstr.c     const char* p = c_strstr (haystack, needle);
needle            187 maint/gnulib/tests/test-c-strstr.c     const char *needle = "\nwith_gnu_ld-extend-to-len-32-b\n";
needle            203 maint/gnulib/tests/test-c-strstr.c     for (i = 0; i < h_len - strlen (needle); i++)
needle            207 maint/gnulib/tests/test-c-strstr.c         memcpy (haystack + i, needle, strlen (needle) + 1);
needle            208 maint/gnulib/tests/test-c-strstr.c         p = c_strstr (haystack, needle);
needle            219 maint/gnulib/tests/test-c-strstr.c     char *needle = (char *) malloc (m + 1);
needle            220 maint/gnulib/tests/test-c-strstr.c     if (haystack != NULL && needle != NULL)
needle            227 maint/gnulib/tests/test-c-strstr.c         memset (needle, 'x', m);
needle            228 maint/gnulib/tests/test-c-strstr.c         needle[m] = '\0';
needle            229 maint/gnulib/tests/test-c-strstr.c         p = c_strstr (haystack, needle);
needle            233 maint/gnulib/tests/test-c-strstr.c     free (needle);
needle             61 maint/gnulib/tests/test-mbscasestr1.c     const char *needle =
needle             74 maint/gnulib/tests/test-mbscasestr1.c             ASSERT (mbscasestr (haystack, needle) == haystack + 1);
needle             89 maint/gnulib/tests/test-mbscasestr1.c     char *needle = (char *) malloc (m + 1);
needle             90 maint/gnulib/tests/test-mbscasestr1.c     if (needle != NULL)
needle             92 maint/gnulib/tests/test-mbscasestr1.c         memset (needle, 'A', m);
needle             93 maint/gnulib/tests/test-mbscasestr1.c         needle[m] = '\0';
needle             97 maint/gnulib/tests/test-mbscasestr1.c             ASSERT (mbscasestr (haystack, needle) == NULL);
needle            100 maint/gnulib/tests/test-mbscasestr1.c         free (needle);
needle            108 maint/gnulib/tests/test-mbscasestr1.c     char *needle = (char *) malloc (m + 2);
needle            109 maint/gnulib/tests/test-mbscasestr1.c     if (haystack != NULL && needle != NULL)
needle            117 maint/gnulib/tests/test-mbscasestr1.c         memset (needle, 'a', m);
needle            118 maint/gnulib/tests/test-mbscasestr1.c         needle[m] = 'B';
needle            119 maint/gnulib/tests/test-mbscasestr1.c         needle[m + 1] = '\0';
needle            121 maint/gnulib/tests/test-mbscasestr1.c         result = mbscasestr (haystack, needle);
needle            124 maint/gnulib/tests/test-mbscasestr1.c     free (needle);
needle             70 maint/gnulib/tests/test-mbscasestr2.c     const char *needle =
needle             82 maint/gnulib/tests/test-mbscasestr2.c             ASSERT (mbscasestr (haystack, needle) == haystack + 2);
needle            101 maint/gnulib/tests/test-mbscasestr2.c     char *needle = (char *) malloc (m + 1);
needle            102 maint/gnulib/tests/test-mbscasestr2.c     if (needle != NULL)
needle            104 maint/gnulib/tests/test-mbscasestr2.c         memset (needle, 'A', m);
needle            105 maint/gnulib/tests/test-mbscasestr2.c         needle[m] = '\0';
needle            109 maint/gnulib/tests/test-mbscasestr2.c             ASSERT (mbscasestr (haystack, needle) == NULL);
needle            112 maint/gnulib/tests/test-mbscasestr2.c         free (needle);
needle            120 maint/gnulib/tests/test-mbscasestr2.c     char *needle = (char *) malloc (m + 3);
needle            121 maint/gnulib/tests/test-mbscasestr2.c     if (haystack != NULL && needle != NULL)
needle            129 maint/gnulib/tests/test-mbscasestr2.c         memset (needle, 'a', m);
needle            130 maint/gnulib/tests/test-mbscasestr2.c         needle[m] = '\303'; needle[m + 1] = '\207';
needle            131 maint/gnulib/tests/test-mbscasestr2.c         needle[m + 2] = '\0';
needle            133 maint/gnulib/tests/test-mbscasestr2.c         result = mbscasestr (haystack, needle);
needle            136 maint/gnulib/tests/test-mbscasestr2.c     free (needle);
needle             61 maint/gnulib/tests/test-mbsstr1.c     const char *needle =
needle             73 maint/gnulib/tests/test-mbsstr1.c             ASSERT (mbsstr (haystack, needle) == haystack + 1);
needle             88 maint/gnulib/tests/test-mbsstr1.c     char *needle = (char *) malloc (m + 1);
needle             89 maint/gnulib/tests/test-mbsstr1.c     if (needle != NULL)
needle             91 maint/gnulib/tests/test-mbsstr1.c         memset (needle, 'A', m);
needle             92 maint/gnulib/tests/test-mbsstr1.c         needle[m] = '\0';
needle             96 maint/gnulib/tests/test-mbsstr1.c             ASSERT (mbsstr (haystack, needle) == NULL);
needle             99 maint/gnulib/tests/test-mbsstr1.c         free (needle);
needle            107 maint/gnulib/tests/test-mbsstr1.c     char *needle = (char *) malloc (m + 2);
needle            108 maint/gnulib/tests/test-mbsstr1.c     if (haystack != NULL && needle != NULL)
needle            116 maint/gnulib/tests/test-mbsstr1.c         memset (needle, 'A', m);
needle            117 maint/gnulib/tests/test-mbsstr1.c         needle[m] = 'B';
needle            118 maint/gnulib/tests/test-mbsstr1.c         needle[m + 1] = '\0';
needle            120 maint/gnulib/tests/test-mbsstr1.c         result = mbsstr (haystack, needle);
needle            123 maint/gnulib/tests/test-mbsstr1.c     free (needle);
needle             70 maint/gnulib/tests/test-mbsstr2.c     const char *needle =
needle             82 maint/gnulib/tests/test-mbsstr2.c             ASSERT (mbsstr (haystack, needle) == haystack + 2);
needle            101 maint/gnulib/tests/test-mbsstr2.c     char *needle = (char *) malloc (m + 1);
needle            102 maint/gnulib/tests/test-mbsstr2.c     if (needle != NULL)
needle            104 maint/gnulib/tests/test-mbsstr2.c         memset (needle, 'A', m);
needle            105 maint/gnulib/tests/test-mbsstr2.c         needle[m] = '\0';
needle            109 maint/gnulib/tests/test-mbsstr2.c             ASSERT (mbsstr (haystack, needle) == NULL);
needle            112 maint/gnulib/tests/test-mbsstr2.c         free (needle);
needle            120 maint/gnulib/tests/test-mbsstr2.c     char *needle = (char *) malloc (m + 3);
needle            121 maint/gnulib/tests/test-mbsstr2.c     if (haystack != NULL && needle != NULL)
needle            129 maint/gnulib/tests/test-mbsstr2.c         memset (needle, 'A', m);
needle            130 maint/gnulib/tests/test-mbsstr2.c         needle[m] = '\303'; needle[m + 1] = '\207';
needle            131 maint/gnulib/tests/test-mbsstr2.c         needle[m + 2] = '\0';
needle            133 maint/gnulib/tests/test-mbsstr2.c         result = mbsstr (haystack, needle);
needle            136 maint/gnulib/tests/test-mbsstr2.c     free (needle);
needle            115 maint/gnulib/tests/test-memmem.c     const char *needle =
needle            118 maint/gnulib/tests/test-memmem.c     size_t n = strlen (needle);
needle            127 maint/gnulib/tests/test-memmem.c             ASSERT (memmem (haystack, m, needle, n) == haystack + 1);
needle            143 maint/gnulib/tests/test-memmem.c     char *needle = (char *) malloc (m + 1);
needle            144 maint/gnulib/tests/test-memmem.c     if (needle != NULL)
needle            146 maint/gnulib/tests/test-memmem.c         memset (needle, 'A', m);
needle            150 maint/gnulib/tests/test-memmem.c             ASSERT (memmem (haystack, n, needle, m) == NULL);
needle            153 maint/gnulib/tests/test-memmem.c         free (needle);
needle            161 maint/gnulib/tests/test-memmem.c     char *needle = (char *) malloc (m + 1);
needle            162 maint/gnulib/tests/test-memmem.c     if (haystack != NULL && needle != NULL)
needle            169 maint/gnulib/tests/test-memmem.c         memset (needle, 'A', m);
needle            170 maint/gnulib/tests/test-memmem.c         needle[m] = 'B';
needle            172 maint/gnulib/tests/test-memmem.c         result = memmem (haystack, 2 * m + 1, needle, m + 1);
needle            175 maint/gnulib/tests/test-memmem.c     free (needle);
needle            186 maint/gnulib/tests/test-memmem.c     char *needle = (char *) malloc (n);
needle            187 maint/gnulib/tests/test-memmem.c     if (haystack != NULL && needle != NULL)
needle            192 maint/gnulib/tests/test-memmem.c         memset (needle, 'B', n);
needle            196 maint/gnulib/tests/test-memmem.c             result = memmem (haystack, m, needle, n);
needle            201 maint/gnulib/tests/test-memmem.c     free (needle);
needle            244 maint/gnulib/tests/test-memmem.c     const char *needle = "\n"
needle            247 maint/gnulib/tests/test-memmem.c                             needle, strlen (needle));
needle            254 maint/gnulib/tests/test-memmem.c     const char *needle = ".d.";
needle            256 maint/gnulib/tests/test-memmem.c                             needle, strlen (needle));
needle            267 maint/gnulib/tests/test-memmem.c     const char *needle = "\nwith_gnu_ld-extend-to-len-32-b\n";
needle            283 maint/gnulib/tests/test-memmem.c     for (i = 0; i < h_len - strlen (needle); i++)
needle            287 maint/gnulib/tests/test-memmem.c         memcpy (haystack + i, needle, strlen (needle) + 1);
needle            288 maint/gnulib/tests/test-memmem.c         p = memmem (haystack, strlen (haystack), needle, strlen (needle));
needle            299 maint/gnulib/tests/test-memmem.c     char *needle = (char *) malloc (m + 1);
needle            300 maint/gnulib/tests/test-memmem.c     if (haystack != NULL && needle != NULL)
needle            307 maint/gnulib/tests/test-memmem.c         memset (needle, 'x', m);
needle            308 maint/gnulib/tests/test-memmem.c         needle[m] = '\0';
needle            309 maint/gnulib/tests/test-memmem.c         p = memmem (haystack, strlen (haystack), needle, strlen (needle));
needle            313 maint/gnulib/tests/test-memmem.c     free (needle);
needle             99 maint/gnulib/tests/test-strcasestr.c     const char *needle =
needle            112 maint/gnulib/tests/test-strcasestr.c             ASSERT (strcasestr (haystack, needle) == haystack + 1);
needle            127 maint/gnulib/tests/test-strcasestr.c     char *needle = (char *) malloc (m + 1);
needle            128 maint/gnulib/tests/test-strcasestr.c     if (needle != NULL)
needle            130 maint/gnulib/tests/test-strcasestr.c         memset (needle, 'A', m);
needle            131 maint/gnulib/tests/test-strcasestr.c         needle[m] = '\0';
needle            135 maint/gnulib/tests/test-strcasestr.c             ASSERT (strcasestr (haystack, needle) == NULL);
needle            138 maint/gnulib/tests/test-strcasestr.c         free (needle);
needle            146 maint/gnulib/tests/test-strcasestr.c     char *needle = (char *) malloc (m + 2);
needle            147 maint/gnulib/tests/test-strcasestr.c     if (haystack != NULL && needle != NULL)
needle            155 maint/gnulib/tests/test-strcasestr.c         memset (needle, 'a', m);
needle            156 maint/gnulib/tests/test-strcasestr.c         needle[m] = 'B';
needle            157 maint/gnulib/tests/test-strcasestr.c         needle[m + 1] = '\0';
needle            159 maint/gnulib/tests/test-strcasestr.c         result = strcasestr (haystack, needle);
needle            162 maint/gnulib/tests/test-strcasestr.c     free (needle);
needle            206 maint/gnulib/tests/test-strcasestr.c     const char *needle = "\n"
needle            208 maint/gnulib/tests/test-strcasestr.c     const char* p = strcasestr (haystack, needle);
needle            215 maint/gnulib/tests/test-strcasestr.c     const char *needle = ".d.";
needle            216 maint/gnulib/tests/test-strcasestr.c     const char* p = strcasestr (haystack, needle);
needle            227 maint/gnulib/tests/test-strcasestr.c     const char *needle = "\nwith_gnu_ld-extend-to-len-32-b\n";
needle            243 maint/gnulib/tests/test-strcasestr.c     for (i = 0; i < h_len - strlen (needle); i++)
needle            247 maint/gnulib/tests/test-strcasestr.c         memcpy (haystack + i, needle, strlen (needle) + 1);
needle            248 maint/gnulib/tests/test-strcasestr.c         p = strcasestr (haystack, needle);
needle            259 maint/gnulib/tests/test-strcasestr.c     char *needle = (char *) malloc (m + 1);
needle            260 maint/gnulib/tests/test-strcasestr.c     if (haystack != NULL && needle != NULL)
needle            267 maint/gnulib/tests/test-strcasestr.c         memset (needle, 'X', m);
needle            268 maint/gnulib/tests/test-strcasestr.c         needle[m] = '\0';
needle            269 maint/gnulib/tests/test-strcasestr.c         p = strcasestr (haystack, needle);
needle            273 maint/gnulib/tests/test-strcasestr.c     free (needle);
needle            119 maint/gnulib/tests/test-strstr.c     const char *needle =
needle            131 maint/gnulib/tests/test-strstr.c             ASSERT (strstr (haystack, needle) == haystack + 1);
needle            146 maint/gnulib/tests/test-strstr.c     char *needle = (char *) malloc (m + 1);
needle            147 maint/gnulib/tests/test-strstr.c     if (needle != NULL)
needle            149 maint/gnulib/tests/test-strstr.c         memset (needle, 'A', m);
needle            150 maint/gnulib/tests/test-strstr.c         needle[m] = '\0';
needle            154 maint/gnulib/tests/test-strstr.c             ASSERT (strstr (haystack, needle) == NULL);
needle            157 maint/gnulib/tests/test-strstr.c         free (needle);
needle            165 maint/gnulib/tests/test-strstr.c     char *needle = (char *) malloc (m + 2);
needle            166 maint/gnulib/tests/test-strstr.c     if (haystack != NULL && needle != NULL)
needle            174 maint/gnulib/tests/test-strstr.c         memset (needle, 'A', m);
needle            175 maint/gnulib/tests/test-strstr.c         needle[m] = 'B';
needle            176 maint/gnulib/tests/test-strstr.c         needle[m + 1] = '\0';
needle            178 maint/gnulib/tests/test-strstr.c         result = strstr (haystack, needle);
needle            181 maint/gnulib/tests/test-strstr.c     free (needle);
needle            229 maint/gnulib/tests/test-strstr.c     const char *needle = "\n"
needle            231 maint/gnulib/tests/test-strstr.c     const char* p = strstr (haystack, needle);
needle            238 maint/gnulib/tests/test-strstr.c     const char *needle = ".d.";
needle            239 maint/gnulib/tests/test-strstr.c     const char* p = strstr (haystack, needle);
needle            250 maint/gnulib/tests/test-strstr.c     const char *needle = "\nwith_gnu_ld-extend-to-len-32-b\n";
needle            266 maint/gnulib/tests/test-strstr.c     for (i = 0; i < h_len - strlen (needle); i++)
needle            270 maint/gnulib/tests/test-strstr.c         memcpy (haystack + i, needle, strlen (needle) + 1);
needle            271 maint/gnulib/tests/test-strstr.c         p = strstr (haystack, needle);
needle            282 maint/gnulib/tests/test-strstr.c     char *needle = (char *) malloc (m + 1);
needle            283 maint/gnulib/tests/test-strstr.c     if (haystack != NULL && needle != NULL)
needle            290 maint/gnulib/tests/test-strstr.c         memset (needle, 'x', m);
needle            291 maint/gnulib/tests/test-strstr.c         needle[m] = '\0';
needle            292 maint/gnulib/tests/test-strstr.c         p = strstr (haystack, needle);
needle            296 maint/gnulib/tests/test-strstr.c     free (needle);
needle             22 maint/gnulib/tests/unistr/test-u-strstr.h     const UNIT needle[] = { 0 };
needle             23 maint/gnulib/tests/unistr/test-u-strstr.h     const UNIT *result = U_STRSTR (input, needle);
needle             29 maint/gnulib/tests/unistr/test-u-strstr.h     const UNIT needle[] = { 'o', 0 };
needle             30 maint/gnulib/tests/unistr/test-u-strstr.h     const UNIT *result = U_STRSTR (input, needle);
needle             39 maint/gnulib/tests/unistr/test-u-strstr.h     const UNIT needle[] = { 'A', 'B', 'C', 'D', 'A', 'B', 'D', 0 };
needle             40 maint/gnulib/tests/unistr/test-u-strstr.h     const UNIT *result = U_STRSTR (input, needle);
needle             49 maint/gnulib/tests/unistr/test-u-strstr.h     const UNIT needle[] = { 'A', 'B', 'C', 'D', 'A', 'B', 'E', 0 };
needle             50 maint/gnulib/tests/unistr/test-u-strstr.h     const UNIT *result = U_STRSTR (input, needle);
needle             59 maint/gnulib/tests/unistr/test-u-strstr.h     const UNIT needle[] = { 'A', 'B', 'C', 'D', 'A', 'B', 'C', 'D', 0 };
needle             60 maint/gnulib/tests/unistr/test-u-strstr.h     const UNIT *result = U_STRSTR (input, needle);
needle             77 maint/gnulib/tests/unistr/test-u-strstr.h     const UNIT needle[] =
needle             83 maint/gnulib/tests/unistr/test-u-strstr.h     const UNIT *result = U_STRSTR (input, needle);
needle            103 maint/gnulib/tests/unistr/test-u-strstr.h     const UNIT needle[] =
needle            109 maint/gnulib/tests/unistr/test-u-strstr.h     const UNIT *result = U_STRSTR (input, needle);
needle            118 maint/gnulib/tests/unistr/test-u-strstr.h     const UNIT needle[] =
needle            142 maint/gnulib/tests/unistr/test-u-strstr.h             ASSERT (U_STRSTR (haystack, needle) == haystack + 1);
needle            166 maint/gnulib/tests/unistr/test-u-strstr.h     UNIT *needle = (UNIT *) malloc ((m + 1) * sizeof (UNIT));
needle            167 maint/gnulib/tests/unistr/test-u-strstr.h     if (needle != NULL)
needle            172 maint/gnulib/tests/unistr/test-u-strstr.h           needle[i] = 'A';
needle            173 maint/gnulib/tests/unistr/test-u-strstr.h         needle[m] = '\0';
needle            177 maint/gnulib/tests/unistr/test-u-strstr.h             ASSERT (U_STRSTR (haystack, needle) == NULL);
needle            180 maint/gnulib/tests/unistr/test-u-strstr.h         free (needle);
needle            188 maint/gnulib/tests/unistr/test-u-strstr.h     UNIT *needle = (UNIT *) malloc ((m + 2) * sizeof (UNIT));
needle            189 maint/gnulib/tests/unistr/test-u-strstr.h     if (haystack != NULL && needle != NULL)
needle            200 maint/gnulib/tests/unistr/test-u-strstr.h           needle[i] = 'A';
needle            201 maint/gnulib/tests/unistr/test-u-strstr.h         needle[m] = 'B';
needle            202 maint/gnulib/tests/unistr/test-u-strstr.h         needle[m + 1] = 0;
needle            204 maint/gnulib/tests/unistr/test-u-strstr.h         result = U_STRSTR (haystack, needle);
needle            207 maint/gnulib/tests/unistr/test-u-strstr.h     free (needle);