haystack           95 lib/common/crmcommon_private.h xmlNode *pcmk__xml_match(const xmlNode *haystack, const xmlNode *needle,
haystack          426 lib/common/xml.c pcmk__xml_match(const xmlNode *haystack, const xmlNode *needle, bool exact)
haystack          431 lib/common/xml.c         return pcmk__xc_match(haystack, needle, exact);
haystack          437 lib/common/xml.c         return pcmk__xe_first_child(haystack, (const char *) needle->name, attr,
haystack           44 maint/gnulib/lib/c-strcasestr.c   const char *haystack = haystack_start;
haystack           53 maint/gnulib/lib/c-strcasestr.c   while (*haystack && *needle)
haystack           54 maint/gnulib/lib/c-strcasestr.c     ok &= (c_tolower ((unsigned char) *haystack++)
haystack           61 maint/gnulib/lib/c-strcasestr.c   haystack = haystack_start + 1;
haystack           68 maint/gnulib/lib/c-strcasestr.c     return two_way_short_needle ((const unsigned char *) haystack,
haystack           72 maint/gnulib/lib/c-strcasestr.c   return two_way_long_needle ((const unsigned char *) haystack, haystack_len,
haystack           28 maint/gnulib/lib/c-strcasestr.h extern char *c_strcasestr (const char *haystack, const char *needle);
haystack           27 maint/gnulib/lib/c-strstr.c c_strstr (const char *haystack, const char *needle)
haystack           31 maint/gnulib/lib/c-strstr.c   return strstr (haystack, needle);
haystack           40 maint/gnulib/lib/c-strstr.h extern char *c_strstr (const char *haystack, const char *needle);
haystack           44 maint/gnulib/lib/mbscasestr.c knuth_morris_pratt_multibyte (const char *haystack, const char *needle,
haystack          147 maint/gnulib/lib/mbscasestr.c     mbui_init (rhaystack, haystack);
haystack          148 maint/gnulib/lib/mbscasestr.c     mbui_init (phaystack, haystack);
haystack          200 maint/gnulib/lib/mbscasestr.c mbscasestr (const char *haystack, const char *needle)
haystack          243 maint/gnulib/lib/mbscasestr.c           mbui_init (iter_haystack, haystack);
haystack          271 maint/gnulib/lib/mbscasestr.c                         knuth_morris_pratt_multibyte (haystack, needle,
haystack          316 maint/gnulib/lib/mbscasestr.c         return (char *) haystack;
haystack          347 maint/gnulib/lib/mbscasestr.c           for (;; haystack++)
haystack          349 maint/gnulib/lib/mbscasestr.c               if (*haystack == '\0')
haystack          375 maint/gnulib/lib/mbscasestr.c                         knuth_morris_pratt ((const unsigned char *) haystack,
haystack          387 maint/gnulib/lib/mbscasestr.c               if (TOLOWER ((unsigned char) *haystack) == b)
haystack          390 maint/gnulib/lib/mbscasestr.c                   const char *rhaystack = haystack + 1;
haystack          397 maint/gnulib/lib/mbscasestr.c                         return (char *) haystack;
haystack          411 maint/gnulib/lib/mbscasestr.c         return (char *) haystack;
haystack           41 maint/gnulib/lib/mbsstr.c knuth_morris_pratt_multibyte (const char *haystack, const char *needle,
haystack          142 maint/gnulib/lib/mbsstr.c     mbui_init (rhaystack, haystack);
haystack          143 maint/gnulib/lib/mbsstr.c     mbui_init (phaystack, haystack);
haystack          186 maint/gnulib/lib/mbsstr.c mbsstr (const char *haystack, const char *needle)
haystack          223 maint/gnulib/lib/mbsstr.c           mbui_init (iter_haystack, haystack);
haystack          249 maint/gnulib/lib/mbsstr.c                         knuth_morris_pratt_multibyte (haystack, needle,
haystack          290 maint/gnulib/lib/mbsstr.c         return (char *) haystack;
haystack          320 maint/gnulib/lib/mbsstr.c           for (;; haystack++)
haystack          322 maint/gnulib/lib/mbsstr.c               if (*haystack == '\0')
haystack          348 maint/gnulib/lib/mbsstr.c                         knuth_morris_pratt ((const unsigned char *) haystack,
haystack          360 maint/gnulib/lib/mbsstr.c               if (*haystack == b)
haystack          363 maint/gnulib/lib/mbsstr.c                   const char *rhaystack = haystack + 1;
haystack          370 maint/gnulib/lib/mbsstr.c                         return (char *) haystack;
haystack          383 maint/gnulib/lib/mbsstr.c         return (char *) haystack;
haystack           40 maint/gnulib/lib/memmem.c   const unsigned char *haystack = (const unsigned char *) haystack_start;
haystack           46 maint/gnulib/lib/memmem.c     return (void *) haystack;
haystack           59 maint/gnulib/lib/memmem.c       haystack = memchr (haystack, *needle, haystack_len);
haystack           60 maint/gnulib/lib/memmem.c       if (!haystack || __builtin_expect (needle_len == 1, 0))
haystack           61 maint/gnulib/lib/memmem.c         return (void *) haystack;
haystack           62 maint/gnulib/lib/memmem.c       haystack_len -= haystack - (const unsigned char *) haystack_start;
haystack           65 maint/gnulib/lib/memmem.c       return two_way_short_needle (haystack, haystack_len, needle, needle_len);
haystack           68 maint/gnulib/lib/memmem.c     return two_way_long_needle (haystack, haystack_len, needle, needle_len);
haystack           43 maint/gnulib/lib/str-kmp.h knuth_morris_pratt (const UNIT *haystack,
haystack          128 maint/gnulib/lib/str-kmp.h     rhaystack = haystack;
haystack          129 maint/gnulib/lib/str-kmp.h     phaystack = haystack;
haystack          235 maint/gnulib/lib/str-two-way.h two_way_short_needle (const unsigned char *haystack, size_t haystack_len,
haystack          257 maint/gnulib/lib/str-two-way.h       while (AVAILABLE (haystack, haystack_len, j, needle_len))
haystack          262 maint/gnulib/lib/str-two-way.h                                     == CANON_ELEMENT (haystack[i + j])))
haystack          269 maint/gnulib/lib/str-two-way.h                                         == CANON_ELEMENT (haystack[i + j])))
haystack          272 maint/gnulib/lib/str-two-way.h                 return (RETURN_TYPE) (haystack + j);
haystack          291 maint/gnulib/lib/str-two-way.h       while (AVAILABLE (haystack, haystack_len, j, needle_len))
haystack          296 maint/gnulib/lib/str-two-way.h                                     == CANON_ELEMENT (haystack[i + j])))
haystack          303 maint/gnulib/lib/str-two-way.h                                        == CANON_ELEMENT (haystack[i + j])))
haystack          306 maint/gnulib/lib/str-two-way.h                 return (RETURN_TYPE) (haystack + j);
haystack          329 maint/gnulib/lib/str-two-way.h two_way_long_needle (const unsigned char *haystack, size_t haystack_len,
haystack          362 maint/gnulib/lib/str-two-way.h       while (AVAILABLE (haystack, haystack_len, j, needle_len))
haystack          366 maint/gnulib/lib/str-two-way.h           shift = shift_table[CANON_ELEMENT (haystack[j + needle_len - 1])];
haystack          384 maint/gnulib/lib/str-two-way.h                                         == CANON_ELEMENT (haystack[i + j])))
haystack          391 maint/gnulib/lib/str-two-way.h                                         == CANON_ELEMENT (haystack[i + j])))
haystack          394 maint/gnulib/lib/str-two-way.h                 return (RETURN_TYPE) (haystack + j);
haystack          414 maint/gnulib/lib/str-two-way.h       while (AVAILABLE (haystack, haystack_len, j, needle_len))
haystack          418 maint/gnulib/lib/str-two-way.h           shift = shift_table[CANON_ELEMENT (haystack[j + needle_len - 1])];
haystack          428 maint/gnulib/lib/str-two-way.h                                         == CANON_ELEMENT (haystack[i + j])))
haystack          435 maint/gnulib/lib/str-two-way.h                                        == CANON_ELEMENT (haystack[i + j])))
haystack          438 maint/gnulib/lib/str-two-way.h                 return (RETURN_TYPE) (haystack + j);
haystack           45 maint/gnulib/lib/strcasestr.c   const char *haystack = haystack_start;
haystack           54 maint/gnulib/lib/strcasestr.c   while (*haystack && *needle)
haystack           56 maint/gnulib/lib/strcasestr.c       ok &= (TOLOWER ((unsigned char) *haystack)
haystack           58 maint/gnulib/lib/strcasestr.c       haystack++;
haystack           66 maint/gnulib/lib/strcasestr.c   haystack = haystack_start + 1;
haystack           73 maint/gnulib/lib/strcasestr.c     return two_way_short_needle ((const unsigned char *) haystack,
haystack           77 maint/gnulib/lib/strcasestr.c   return two_way_long_needle ((const unsigned char *) haystack, haystack_len,
haystack          722 maint/gnulib/lib/string.in.h _GL_FUNCDECL_RPL (strstr, char *, (const char *haystack, const char *needle)
haystack          725 maint/gnulib/lib/string.in.h _GL_CXXALIAS_RPL (strstr, char *, (const char *haystack, const char *needle));
haystack          731 maint/gnulib/lib/string.in.h                         char *, (const char *haystack, const char *needle),
haystack          732 maint/gnulib/lib/string.in.h                         const char *, (const char *haystack, const char *needle));
haystack          736 maint/gnulib/lib/string.in.h _GL_CXXALIASWARN1 (strstr, char *, (char *haystack, const char *needle));
haystack          738 maint/gnulib/lib/string.in.h                    (const char *haystack, const char *needle));
haystack          764 maint/gnulib/lib/string.in.h                   (const char *haystack, const char *needle)
haystack          768 maint/gnulib/lib/string.in.h                   (const char *haystack, const char *needle));
haystack          772 maint/gnulib/lib/string.in.h                   (const char *haystack, const char *needle)
haystack          780 maint/gnulib/lib/string.in.h                         char *, (const char *haystack, const char *needle),
haystack          781 maint/gnulib/lib/string.in.h                         const char *, (const char *haystack, const char *needle));
haystack          785 maint/gnulib/lib/string.in.h _GL_CXXALIASWARN1 (strcasestr, char *, (char *haystack, const char *needle));
haystack          787 maint/gnulib/lib/string.in.h                    (const char *haystack, const char *needle));
haystack          952 maint/gnulib/lib/string.in.h _GL_EXTERN_C char * mbsstr (const char *haystack, const char *needle)
haystack         1004 maint/gnulib/lib/string.in.h _GL_EXTERN_C char * mbscasestr (const char *haystack, const char *needle)
haystack           41 maint/gnulib/lib/strstr.c   const char *haystack = haystack_start;
haystack           50 maint/gnulib/lib/strstr.c   while (*haystack && *needle)
haystack           51 maint/gnulib/lib/strstr.c     ok &= *haystack++ == *needle++;
haystack           60 maint/gnulib/lib/strstr.c   haystack = strchr (haystack_start + 1, *needle_start);
haystack           61 maint/gnulib/lib/strstr.c   if (!haystack || __builtin_expect (needle_len == 1, 0))
haystack           62 maint/gnulib/lib/strstr.c     return (char *) haystack;
haystack           64 maint/gnulib/lib/strstr.c   haystack_len = (haystack > haystack_start + needle_len ? 1
haystack           65 maint/gnulib/lib/strstr.c                   : needle_len + haystack_start - haystack);
haystack           71 maint/gnulib/lib/strstr.c     return two_way_short_needle ((const unsigned char *) haystack,
haystack           74 maint/gnulib/lib/strstr.c   return two_way_long_needle ((const unsigned char *) haystack, haystack_len,
haystack          704 maint/gnulib/lib/unistr.in.h        u8_strstr (const uint8_t *haystack, const uint8_t *needle)
haystack          707 maint/gnulib/lib/unistr.in.h        u16_strstr (const uint16_t *haystack, const uint16_t *needle)
haystack          710 maint/gnulib/lib/unistr.in.h        u32_strstr (const uint32_t *haystack, const uint32_t *needle)
haystack           27 maint/gnulib/lib/unistr/u-strstr.h FUNC (const UNIT *haystack, const UNIT *needle)
haystack           33 maint/gnulib/lib/unistr/u-strstr.h     return (UNIT *) haystack;
haystack           37 maint/gnulib/lib/unistr/u-strstr.h     return U_STRCHR (haystack, first);
haystack           45 maint/gnulib/lib/unistr/u-strstr.h       return U_STRCHR (haystack, first_uc);
haystack           50 maint/gnulib/lib/unistr/u-strstr.h   return (uint8_t *) strstr ((const char *) haystack, (const char *) needle);
haystack           77 maint/gnulib/lib/unistr/u-strstr.h     for (;; haystack++)
haystack           79 maint/gnulib/lib/unistr/u-strstr.h         if (*haystack == 0)
haystack          105 maint/gnulib/lib/unistr/u-strstr.h                   knuth_morris_pratt (haystack,
haystack          116 maint/gnulib/lib/unistr/u-strstr.h         if (*haystack == b)
haystack          119 maint/gnulib/lib/unistr/u-strstr.h             const UNIT *rhaystack = haystack + 1;
haystack          126 maint/gnulib/lib/unistr/u-strstr.h                   return (UNIT *) haystack;
haystack         1165 maint/gnulib/lib/wchar.in.h                   (const wchar_t *restrict haystack,
haystack         1182 maint/gnulib/lib/wchar.in.h                    (wchar_t *restrict haystack,
haystack         1185 maint/gnulib/lib/wchar.in.h                    (const wchar_t *restrict haystack,
haystack           19 maint/gnulib/lib/wcsstr-impl.h wcsstr (const wchar_t *haystack, const wchar_t *needle)
haystack           25 maint/gnulib/lib/wcsstr-impl.h     return (wchar_t *) haystack;
haystack           29 maint/gnulib/lib/wcsstr-impl.h     return wcschr (haystack, n);
haystack           32 maint/gnulib/lib/wcsstr-impl.h   for (; *haystack != (wchar_t)'\0'; haystack++)
haystack           34 maint/gnulib/lib/wcsstr-impl.h       if (*haystack == n)
haystack           37 maint/gnulib/lib/wcsstr-impl.h           const wchar_t *hptr = haystack + 1;
haystack           45 maint/gnulib/lib/wcsstr-impl.h                 return (wchar_t *) haystack;
haystack           89 maint/gnulib/tests/test-c-strcasestr.c     char *haystack = (char *) malloc (m + 1);
haystack           90 maint/gnulib/tests/test-c-strcasestr.c     if (haystack != NULL)
haystack           92 maint/gnulib/tests/test-c-strcasestr.c         memset (haystack, 'A', m);
haystack           93 maint/gnulib/tests/test-c-strcasestr.c         haystack[0] = 'B';
haystack           94 maint/gnulib/tests/test-c-strcasestr.c         haystack[m] = '\0';
haystack           98 maint/gnulib/tests/test-c-strcasestr.c             ASSERT (c_strcasestr (haystack, needle) == haystack + 1);
haystack          101 maint/gnulib/tests/test-c-strcasestr.c         free (haystack);
haystack          110 maint/gnulib/tests/test-c-strcasestr.c     const char *haystack =
haystack          121 maint/gnulib/tests/test-c-strcasestr.c             ASSERT (c_strcasestr (haystack, needle) == NULL);
haystack          131 maint/gnulib/tests/test-c-strcasestr.c     char *haystack = (char *) malloc (2 * m + 2);
haystack          133 maint/gnulib/tests/test-c-strcasestr.c     if (haystack != NULL && needle != NULL)
haystack          137 maint/gnulib/tests/test-c-strcasestr.c         memset (haystack, 'A', 2 * m);
haystack          138 maint/gnulib/tests/test-c-strcasestr.c         haystack[2 * m] = 'B';
haystack          139 maint/gnulib/tests/test-c-strcasestr.c         haystack[2 * m + 1] = '\0';
haystack          145 maint/gnulib/tests/test-c-strcasestr.c         result = c_strcasestr (haystack, needle);
haystack          146 maint/gnulib/tests/test-c-strcasestr.c         ASSERT (result == haystack + m);
haystack          149 maint/gnulib/tests/test-c-strcasestr.c     free (haystack);
haystack          157 maint/gnulib/tests/test-c-strcasestr.c     const char *haystack =
haystack          194 maint/gnulib/tests/test-c-strcasestr.c     const char* p = c_strcasestr (haystack, needle);
haystack          195 maint/gnulib/tests/test-c-strcasestr.c     ASSERT (p - haystack == 114);
haystack          200 maint/gnulib/tests/test-c-strcasestr.c     const char *haystack = "..wi.D.";
haystack          202 maint/gnulib/tests/test-c-strcasestr.c     const char* p = c_strcasestr (haystack, needle);
haystack          203 maint/gnulib/tests/test-c-strcasestr.c     ASSERT (p - haystack == 4);
haystack          226 maint/gnulib/tests/test-c-strcasestr.c     char *haystack = malloc (h_len + 1);
haystack          228 maint/gnulib/tests/test-c-strcasestr.c     ASSERT (haystack);
haystack          232 maint/gnulib/tests/test-c-strcasestr.c         memcpy (haystack, h, h_len + 1);
haystack          233 maint/gnulib/tests/test-c-strcasestr.c         memcpy (haystack + i, needle, strlen (needle) + 1);
haystack          234 maint/gnulib/tests/test-c-strcasestr.c         p = c_strcasestr (haystack, needle);
haystack          236 maint/gnulib/tests/test-c-strcasestr.c         ASSERT (p - haystack == i);
haystack          238 maint/gnulib/tests/test-c-strcasestr.c     free (haystack);
haystack          244 maint/gnulib/tests/test-c-strcasestr.c     char *haystack = (char *) malloc (2 * m + 1);
haystack          246 maint/gnulib/tests/test-c-strcasestr.c     if (haystack != NULL && needle != NULL)
haystack          249 maint/gnulib/tests/test-c-strcasestr.c         haystack[0] = 'x';
haystack          250 maint/gnulib/tests/test-c-strcasestr.c         memset (haystack + 1, ' ', m - 1);
haystack          251 maint/gnulib/tests/test-c-strcasestr.c         memset (haystack + m, 'x', m);
haystack          252 maint/gnulib/tests/test-c-strcasestr.c         haystack[2 * m] = '\0';
haystack          255 maint/gnulib/tests/test-c-strcasestr.c         p = c_strcasestr (haystack, needle);
haystack          257 maint/gnulib/tests/test-c-strcasestr.c         ASSERT (p - haystack == m);
haystack          260 maint/gnulib/tests/test-c-strcasestr.c     free (haystack);
haystack           63 maint/gnulib/tests/test-c-strstr.c     char *haystack = (char *) malloc (m + 1);
haystack           64 maint/gnulib/tests/test-c-strstr.c     if (haystack != NULL)
haystack           66 maint/gnulib/tests/test-c-strstr.c         memset (haystack, 'A', m);
haystack           67 maint/gnulib/tests/test-c-strstr.c         haystack[0] = 'B';
haystack           68 maint/gnulib/tests/test-c-strstr.c         haystack[m] = '\0';
haystack           72 maint/gnulib/tests/test-c-strstr.c             ASSERT (c_strstr (haystack, needle) == haystack + 1);
haystack           75 maint/gnulib/tests/test-c-strstr.c         free (haystack);
haystack           84 maint/gnulib/tests/test-c-strstr.c     const char *haystack =
haystack           95 maint/gnulib/tests/test-c-strstr.c             ASSERT (c_strstr (haystack, needle) == NULL);
haystack          105 maint/gnulib/tests/test-c-strstr.c     char *haystack = (char *) malloc (2 * m + 2);
haystack          107 maint/gnulib/tests/test-c-strstr.c     if (haystack != NULL && needle != NULL)
haystack          111 maint/gnulib/tests/test-c-strstr.c         memset (haystack, 'A', 2 * m);
haystack          112 maint/gnulib/tests/test-c-strstr.c         haystack[2 * m] = 'B';
haystack          113 maint/gnulib/tests/test-c-strstr.c         haystack[2 * m + 1] = '\0';
haystack          119 maint/gnulib/tests/test-c-strstr.c         result = c_strstr (haystack, needle);
haystack          120 maint/gnulib/tests/test-c-strstr.c         ASSERT (result == haystack + m);
haystack          123 maint/gnulib/tests/test-c-strstr.c     free (haystack);
haystack          131 maint/gnulib/tests/test-c-strstr.c     const char *haystack =
haystack          168 maint/gnulib/tests/test-c-strstr.c     const char* p = c_strstr (haystack, needle);
haystack          169 maint/gnulib/tests/test-c-strstr.c     ASSERT (p - haystack == 114);
haystack          174 maint/gnulib/tests/test-c-strstr.c     const char *haystack = "..wi.d.";
haystack          176 maint/gnulib/tests/test-c-strstr.c     const char* p = c_strstr (haystack, needle);
haystack          177 maint/gnulib/tests/test-c-strstr.c     ASSERT (p - haystack == 4);
haystack          200 maint/gnulib/tests/test-c-strstr.c     char *haystack = malloc (h_len + 1);
haystack          202 maint/gnulib/tests/test-c-strstr.c     ASSERT (haystack);
haystack          206 maint/gnulib/tests/test-c-strstr.c         memcpy (haystack, h, h_len + 1);
haystack          207 maint/gnulib/tests/test-c-strstr.c         memcpy (haystack + i, needle, strlen (needle) + 1);
haystack          208 maint/gnulib/tests/test-c-strstr.c         p = c_strstr (haystack, needle);
haystack          210 maint/gnulib/tests/test-c-strstr.c         ASSERT (p - haystack == i);
haystack          212 maint/gnulib/tests/test-c-strstr.c     free (haystack);
haystack          218 maint/gnulib/tests/test-c-strstr.c     char *haystack = (char *) malloc (2 * m + 1);
haystack          220 maint/gnulib/tests/test-c-strstr.c     if (haystack != NULL && needle != NULL)
haystack          223 maint/gnulib/tests/test-c-strstr.c         haystack[0] = 'x';
haystack          224 maint/gnulib/tests/test-c-strstr.c         memset (haystack + 1, ' ', m - 1);
haystack          225 maint/gnulib/tests/test-c-strstr.c         memset (haystack + m, 'x', m);
haystack          226 maint/gnulib/tests/test-c-strstr.c         haystack[2 * m] = '\0';
haystack          229 maint/gnulib/tests/test-c-strstr.c         p = c_strstr (haystack, needle);
haystack          231 maint/gnulib/tests/test-c-strstr.c         ASSERT (p - haystack == m);
haystack          234 maint/gnulib/tests/test-c-strstr.c     free (haystack);
haystack           65 maint/gnulib/tests/test-mbscasestr1.c     char *haystack = (char *) malloc (m + 1);
haystack           66 maint/gnulib/tests/test-mbscasestr1.c     if (haystack != NULL)
haystack           68 maint/gnulib/tests/test-mbscasestr1.c         memset (haystack, 'A', m);
haystack           69 maint/gnulib/tests/test-mbscasestr1.c         haystack[0] = 'B';
haystack           70 maint/gnulib/tests/test-mbscasestr1.c         haystack[m] = '\0';
haystack           74 maint/gnulib/tests/test-mbscasestr1.c             ASSERT (mbscasestr (haystack, needle) == haystack + 1);
haystack           77 maint/gnulib/tests/test-mbscasestr1.c         free (haystack);
haystack           86 maint/gnulib/tests/test-mbscasestr1.c     const char *haystack =
haystack           97 maint/gnulib/tests/test-mbscasestr1.c             ASSERT (mbscasestr (haystack, needle) == NULL);
haystack          107 maint/gnulib/tests/test-mbscasestr1.c     char *haystack = (char *) malloc (2 * m + 2);
haystack          109 maint/gnulib/tests/test-mbscasestr1.c     if (haystack != NULL && needle != NULL)
haystack          113 maint/gnulib/tests/test-mbscasestr1.c         memset (haystack, 'A', 2 * m);
haystack          114 maint/gnulib/tests/test-mbscasestr1.c         haystack[2 * m] = 'B';
haystack          115 maint/gnulib/tests/test-mbscasestr1.c         haystack[2 * m + 1] = '\0';
haystack          121 maint/gnulib/tests/test-mbscasestr1.c         result = mbscasestr (haystack, needle);
haystack          122 maint/gnulib/tests/test-mbscasestr1.c         ASSERT (result == haystack + m);
haystack          125 maint/gnulib/tests/test-mbscasestr1.c     free (haystack);
haystack           73 maint/gnulib/tests/test-mbscasestr2.c     char *haystack = (char *) malloc (m + 1);
haystack           74 maint/gnulib/tests/test-mbscasestr2.c     if (haystack != NULL)
haystack           76 maint/gnulib/tests/test-mbscasestr2.c         memset (haystack, 'a', m);
haystack           77 maint/gnulib/tests/test-mbscasestr2.c         haystack[0] = '\303'; haystack[1] = '\204';
haystack           78 maint/gnulib/tests/test-mbscasestr2.c         haystack[m] = '\0';
haystack           82 maint/gnulib/tests/test-mbscasestr2.c             ASSERT (mbscasestr (haystack, needle) == haystack + 2);
haystack           85 maint/gnulib/tests/test-mbscasestr2.c         free (haystack);
haystack           94 maint/gnulib/tests/test-mbscasestr2.c     const char *haystack =
haystack          109 maint/gnulib/tests/test-mbscasestr2.c             ASSERT (mbscasestr (haystack, needle) == NULL);
haystack          119 maint/gnulib/tests/test-mbscasestr2.c     char *haystack = (char *) malloc (2 * m + 3);
haystack          121 maint/gnulib/tests/test-mbscasestr2.c     if (haystack != NULL && needle != NULL)
haystack          125 maint/gnulib/tests/test-mbscasestr2.c         memset (haystack, 'A', 2 * m);
haystack          126 maint/gnulib/tests/test-mbscasestr2.c         haystack[2 * m] = '\303'; haystack[2 * m + 1] = '\247';
haystack          127 maint/gnulib/tests/test-mbscasestr2.c         haystack[2 * m + 2] = '\0';
haystack          133 maint/gnulib/tests/test-mbscasestr2.c         result = mbscasestr (haystack, needle);
haystack          134 maint/gnulib/tests/test-mbscasestr2.c         ASSERT (result == haystack + m);
haystack          137 maint/gnulib/tests/test-mbscasestr2.c     free (haystack);
haystack           64 maint/gnulib/tests/test-mbsstr1.c     char *haystack = (char *) malloc (m + 1);
haystack           65 maint/gnulib/tests/test-mbsstr1.c     if (haystack != NULL)
haystack           67 maint/gnulib/tests/test-mbsstr1.c         memset (haystack, 'A', m);
haystack           68 maint/gnulib/tests/test-mbsstr1.c         haystack[0] = 'B';
haystack           69 maint/gnulib/tests/test-mbsstr1.c         haystack[m] = '\0';
haystack           73 maint/gnulib/tests/test-mbsstr1.c             ASSERT (mbsstr (haystack, needle) == haystack + 1);
haystack           76 maint/gnulib/tests/test-mbsstr1.c         free (haystack);
haystack           85 maint/gnulib/tests/test-mbsstr1.c     const char *haystack =
haystack           96 maint/gnulib/tests/test-mbsstr1.c             ASSERT (mbsstr (haystack, needle) == NULL);
haystack          106 maint/gnulib/tests/test-mbsstr1.c     char *haystack = (char *) malloc (2 * m + 2);
haystack          108 maint/gnulib/tests/test-mbsstr1.c     if (haystack != NULL && needle != NULL)
haystack          112 maint/gnulib/tests/test-mbsstr1.c         memset (haystack, 'A', 2 * m);
haystack          113 maint/gnulib/tests/test-mbsstr1.c         haystack[2 * m] = 'B';
haystack          114 maint/gnulib/tests/test-mbsstr1.c         haystack[2 * m + 1] = '\0';
haystack          120 maint/gnulib/tests/test-mbsstr1.c         result = mbsstr (haystack, needle);
haystack          121 maint/gnulib/tests/test-mbsstr1.c         ASSERT (result == haystack + m);
haystack          124 maint/gnulib/tests/test-mbsstr1.c     free (haystack);
haystack           73 maint/gnulib/tests/test-mbsstr2.c     char *haystack = (char *) malloc (m + 1);
haystack           74 maint/gnulib/tests/test-mbsstr2.c     if (haystack != NULL)
haystack           76 maint/gnulib/tests/test-mbsstr2.c         memset (haystack, 'A', m);
haystack           77 maint/gnulib/tests/test-mbsstr2.c         haystack[0] = '\303'; haystack[1] = '\204';
haystack           78 maint/gnulib/tests/test-mbsstr2.c         haystack[m] = '\0';
haystack           82 maint/gnulib/tests/test-mbsstr2.c             ASSERT (mbsstr (haystack, needle) == haystack + 2);
haystack           85 maint/gnulib/tests/test-mbsstr2.c         free (haystack);
haystack           94 maint/gnulib/tests/test-mbsstr2.c     const char *haystack =
haystack          109 maint/gnulib/tests/test-mbsstr2.c             ASSERT (mbsstr (haystack, needle) == NULL);
haystack          119 maint/gnulib/tests/test-mbsstr2.c     char *haystack = (char *) malloc (2 * m + 3);
haystack          121 maint/gnulib/tests/test-mbsstr2.c     if (haystack != NULL && needle != NULL)
haystack          125 maint/gnulib/tests/test-mbsstr2.c         memset (haystack, 'A', 2 * m);
haystack          126 maint/gnulib/tests/test-mbsstr2.c         haystack[2 * m] = '\303'; haystack[2 * m + 1] = '\207';
haystack          127 maint/gnulib/tests/test-mbsstr2.c         haystack[2 * m + 2] = '\0';
haystack          133 maint/gnulib/tests/test-mbsstr2.c         result = mbsstr (haystack, needle);
haystack          134 maint/gnulib/tests/test-mbsstr2.c         ASSERT (result == haystack + m);
haystack          137 maint/gnulib/tests/test-mbsstr2.c     free (haystack);
haystack          119 maint/gnulib/tests/test-memmem.c     char *haystack = (char *) malloc (m + 1);
haystack          120 maint/gnulib/tests/test-memmem.c     if (haystack != NULL)
haystack          122 maint/gnulib/tests/test-memmem.c         memset (haystack, 'A', m);
haystack          123 maint/gnulib/tests/test-memmem.c         haystack[0] = 'B';
haystack          127 maint/gnulib/tests/test-memmem.c             ASSERT (memmem (haystack, m, needle, n) == haystack + 1);
haystack          130 maint/gnulib/tests/test-memmem.c         free (haystack);
haystack          139 maint/gnulib/tests/test-memmem.c     const char *haystack =
haystack          142 maint/gnulib/tests/test-memmem.c     size_t n = strlen (haystack);
haystack          150 maint/gnulib/tests/test-memmem.c             ASSERT (memmem (haystack, n, needle, m) == NULL);
haystack          160 maint/gnulib/tests/test-memmem.c     char *haystack = (char *) malloc (2 * m + 1);
haystack          162 maint/gnulib/tests/test-memmem.c     if (haystack != NULL && needle != NULL)
haystack          166 maint/gnulib/tests/test-memmem.c         memset (haystack, 'A', 2 * m);
haystack          167 maint/gnulib/tests/test-memmem.c         haystack[2 * m] = 'B';
haystack          172 maint/gnulib/tests/test-memmem.c         result = memmem (haystack, 2 * m + 1, needle, m + 1);
haystack          173 maint/gnulib/tests/test-memmem.c         ASSERT (result == haystack + m);
haystack          176 maint/gnulib/tests/test-memmem.c     free (haystack);
haystack          185 maint/gnulib/tests/test-memmem.c     char *haystack = (char *) malloc (m);
haystack          187 maint/gnulib/tests/test-memmem.c     if (haystack != NULL && needle != NULL)
haystack          191 maint/gnulib/tests/test-memmem.c         memset (haystack, 'A', m);
haystack          196 maint/gnulib/tests/test-memmem.c             result = memmem (haystack, m, needle, n);
haystack          200 maint/gnulib/tests/test-memmem.c     free (haystack);
haystack          209 maint/gnulib/tests/test-memmem.c     const char *haystack =
haystack          246 maint/gnulib/tests/test-memmem.c     const char* p = memmem (haystack, strlen (haystack),
haystack          248 maint/gnulib/tests/test-memmem.c     ASSERT (p - haystack == 114);
haystack          253 maint/gnulib/tests/test-memmem.c     const char *haystack = "..wi.d.";
haystack          255 maint/gnulib/tests/test-memmem.c     const char* p = memmem (haystack, strlen (haystack),
haystack          257 maint/gnulib/tests/test-memmem.c     ASSERT (p - haystack == 4);
haystack          280 maint/gnulib/tests/test-memmem.c     char *haystack = malloc (h_len + 1);
haystack          282 maint/gnulib/tests/test-memmem.c     ASSERT (haystack);
haystack          286 maint/gnulib/tests/test-memmem.c         memcpy (haystack, h, h_len + 1);
haystack          287 maint/gnulib/tests/test-memmem.c         memcpy (haystack + i, needle, strlen (needle) + 1);
haystack          288 maint/gnulib/tests/test-memmem.c         p = memmem (haystack, strlen (haystack), needle, strlen (needle));
haystack          290 maint/gnulib/tests/test-memmem.c         ASSERT (p - haystack == i);
haystack          292 maint/gnulib/tests/test-memmem.c     free (haystack);
haystack          298 maint/gnulib/tests/test-memmem.c     char *haystack = (char *) malloc (2 * m + 1);
haystack          300 maint/gnulib/tests/test-memmem.c     if (haystack != NULL && needle != NULL)
haystack          303 maint/gnulib/tests/test-memmem.c         haystack[0] = 'x';
haystack          304 maint/gnulib/tests/test-memmem.c         memset (haystack + 1, ' ', m - 1);
haystack          305 maint/gnulib/tests/test-memmem.c         memset (haystack + m, 'x', m);
haystack          306 maint/gnulib/tests/test-memmem.c         haystack[2 * m] = '\0';
haystack          309 maint/gnulib/tests/test-memmem.c         p = memmem (haystack, strlen (haystack), needle, strlen (needle));
haystack          311 maint/gnulib/tests/test-memmem.c         ASSERT (p - haystack == m);
haystack          314 maint/gnulib/tests/test-memmem.c     free (haystack);
haystack          103 maint/gnulib/tests/test-strcasestr.c     char *haystack = (char *) malloc (m + 1);
haystack          104 maint/gnulib/tests/test-strcasestr.c     if (haystack != NULL)
haystack          106 maint/gnulib/tests/test-strcasestr.c         memset (haystack, 'A', m);
haystack          107 maint/gnulib/tests/test-strcasestr.c         haystack[0] = 'B';
haystack          108 maint/gnulib/tests/test-strcasestr.c         haystack[m] = '\0';
haystack          112 maint/gnulib/tests/test-strcasestr.c             ASSERT (strcasestr (haystack, needle) == haystack + 1);
haystack          115 maint/gnulib/tests/test-strcasestr.c         free (haystack);
haystack          124 maint/gnulib/tests/test-strcasestr.c     const char *haystack =
haystack          135 maint/gnulib/tests/test-strcasestr.c             ASSERT (strcasestr (haystack, needle) == NULL);
haystack          145 maint/gnulib/tests/test-strcasestr.c     char *haystack = (char *) malloc (2 * m + 2);
haystack          147 maint/gnulib/tests/test-strcasestr.c     if (haystack != NULL && needle != NULL)
haystack          151 maint/gnulib/tests/test-strcasestr.c         memset (haystack, 'A', 2 * m);
haystack          152 maint/gnulib/tests/test-strcasestr.c         haystack[2 * m] = 'B';
haystack          153 maint/gnulib/tests/test-strcasestr.c         haystack[2 * m + 1] = '\0';
haystack          159 maint/gnulib/tests/test-strcasestr.c         result = strcasestr (haystack, needle);
haystack          160 maint/gnulib/tests/test-strcasestr.c         ASSERT (result == haystack + m);
haystack          163 maint/gnulib/tests/test-strcasestr.c     free (haystack);
haystack          171 maint/gnulib/tests/test-strcasestr.c     const char *haystack =
haystack          208 maint/gnulib/tests/test-strcasestr.c     const char* p = strcasestr (haystack, needle);
haystack          209 maint/gnulib/tests/test-strcasestr.c     ASSERT (p - haystack == 114);
haystack          214 maint/gnulib/tests/test-strcasestr.c     const char *haystack = "..wi.D.";
haystack          216 maint/gnulib/tests/test-strcasestr.c     const char* p = strcasestr (haystack, needle);
haystack          217 maint/gnulib/tests/test-strcasestr.c     ASSERT (p - haystack == 4);
haystack          240 maint/gnulib/tests/test-strcasestr.c     char *haystack = malloc (h_len + 1);
haystack          242 maint/gnulib/tests/test-strcasestr.c     ASSERT (haystack);
haystack          246 maint/gnulib/tests/test-strcasestr.c         memcpy (haystack, h, h_len + 1);
haystack          247 maint/gnulib/tests/test-strcasestr.c         memcpy (haystack + i, needle, strlen (needle) + 1);
haystack          248 maint/gnulib/tests/test-strcasestr.c         p = strcasestr (haystack, needle);
haystack          250 maint/gnulib/tests/test-strcasestr.c         ASSERT (p - haystack == i);
haystack          252 maint/gnulib/tests/test-strcasestr.c     free (haystack);
haystack          258 maint/gnulib/tests/test-strcasestr.c     char *haystack = (char *) malloc (2 * m + 1);
haystack          260 maint/gnulib/tests/test-strcasestr.c     if (haystack != NULL && needle != NULL)
haystack          263 maint/gnulib/tests/test-strcasestr.c         haystack[0] = 'x';
haystack          264 maint/gnulib/tests/test-strcasestr.c         memset (haystack + 1, ' ', m - 1);
haystack          265 maint/gnulib/tests/test-strcasestr.c         memset (haystack + m, 'x', m);
haystack          266 maint/gnulib/tests/test-strcasestr.c         haystack[2 * m] = '\0';
haystack          269 maint/gnulib/tests/test-strcasestr.c         p = strcasestr (haystack, needle);
haystack          271 maint/gnulib/tests/test-strcasestr.c         ASSERT (p - haystack == m);
haystack          274 maint/gnulib/tests/test-strcasestr.c     free (haystack);
haystack          122 maint/gnulib/tests/test-strstr.c     char *haystack = (char *) malloc (m + 1);
haystack          123 maint/gnulib/tests/test-strstr.c     if (haystack != NULL)
haystack          125 maint/gnulib/tests/test-strstr.c         memset (haystack, 'A', m);
haystack          126 maint/gnulib/tests/test-strstr.c         haystack[0] = 'B';
haystack          127 maint/gnulib/tests/test-strstr.c         haystack[m] = '\0';
haystack          131 maint/gnulib/tests/test-strstr.c             ASSERT (strstr (haystack, needle) == haystack + 1);
haystack          134 maint/gnulib/tests/test-strstr.c         free (haystack);
haystack          143 maint/gnulib/tests/test-strstr.c     const char *haystack =
haystack          154 maint/gnulib/tests/test-strstr.c             ASSERT (strstr (haystack, needle) == NULL);
haystack          164 maint/gnulib/tests/test-strstr.c     char *haystack = (char *) malloc (2 * m + 2);
haystack          166 maint/gnulib/tests/test-strstr.c     if (haystack != NULL && needle != NULL)
haystack          170 maint/gnulib/tests/test-strstr.c         memset (haystack, 'A', 2 * m);
haystack          171 maint/gnulib/tests/test-strstr.c         haystack[2 * m] = 'B';
haystack          172 maint/gnulib/tests/test-strstr.c         haystack[2 * m + 1] = '\0';
haystack          178 maint/gnulib/tests/test-strstr.c         result = strstr (haystack, needle);
haystack          179 maint/gnulib/tests/test-strstr.c         ASSERT (result == haystack + m);
haystack          182 maint/gnulib/tests/test-strstr.c     free (haystack);
haystack          194 maint/gnulib/tests/test-strstr.c     const char *haystack =
haystack          231 maint/gnulib/tests/test-strstr.c     const char* p = strstr (haystack, needle);
haystack          232 maint/gnulib/tests/test-strstr.c     ASSERT (p - haystack == 114);
haystack          237 maint/gnulib/tests/test-strstr.c     const char *haystack = "..wi.d.";
haystack          239 maint/gnulib/tests/test-strstr.c     const char* p = strstr (haystack, needle);
haystack          240 maint/gnulib/tests/test-strstr.c     ASSERT (p - haystack == 4);
haystack          263 maint/gnulib/tests/test-strstr.c     char *haystack = malloc (h_len + 1);
haystack          265 maint/gnulib/tests/test-strstr.c     ASSERT (haystack);
haystack          269 maint/gnulib/tests/test-strstr.c         memcpy (haystack, h, h_len + 1);
haystack          270 maint/gnulib/tests/test-strstr.c         memcpy (haystack + i, needle, strlen (needle) + 1);
haystack          271 maint/gnulib/tests/test-strstr.c         p = strstr (haystack, needle);
haystack          273 maint/gnulib/tests/test-strstr.c         ASSERT (p - haystack == i);
haystack          275 maint/gnulib/tests/test-strstr.c     free (haystack);
haystack          281 maint/gnulib/tests/test-strstr.c     char *haystack = (char *) malloc (2 * m + 1);
haystack          283 maint/gnulib/tests/test-strstr.c     if (haystack != NULL && needle != NULL)
haystack          286 maint/gnulib/tests/test-strstr.c         haystack[0] = 'x';
haystack          287 maint/gnulib/tests/test-strstr.c         memset (haystack + 1, ' ', m - 1);
haystack          288 maint/gnulib/tests/test-strstr.c         memset (haystack + m, 'x', m);
haystack          289 maint/gnulib/tests/test-strstr.c         haystack[2 * m] = '\0';
haystack          292 maint/gnulib/tests/test-strstr.c         p = strstr (haystack, needle);
haystack          294 maint/gnulib/tests/test-strstr.c         ASSERT (p - haystack == m);
haystack          297 maint/gnulib/tests/test-strstr.c     free (haystack);
haystack          130 maint/gnulib/tests/unistr/test-u-strstr.h     UNIT *haystack = (UNIT *) malloc ((m + 1) * sizeof (UNIT));
haystack          131 maint/gnulib/tests/unistr/test-u-strstr.h     if (haystack != NULL)
haystack          135 maint/gnulib/tests/unistr/test-u-strstr.h         haystack[0] = 'B';
haystack          137 maint/gnulib/tests/unistr/test-u-strstr.h           haystack[i] = 'A';
haystack          138 maint/gnulib/tests/unistr/test-u-strstr.h         haystack[m] = '\0';
haystack          142 maint/gnulib/tests/unistr/test-u-strstr.h             ASSERT (U_STRSTR (haystack, needle) == haystack + 1);
haystack          145 maint/gnulib/tests/unistr/test-u-strstr.h         free (haystack);
haystack          154 maint/gnulib/tests/unistr/test-u-strstr.h     const UNIT haystack[] =
haystack          177 maint/gnulib/tests/unistr/test-u-strstr.h             ASSERT (U_STRSTR (haystack, needle) == NULL);
haystack          187 maint/gnulib/tests/unistr/test-u-strstr.h     UNIT *haystack = (UNIT *) malloc ((2 * m + 2) * sizeof (UNIT));
haystack          189 maint/gnulib/tests/unistr/test-u-strstr.h     if (haystack != NULL && needle != NULL)
haystack          195 maint/gnulib/tests/unistr/test-u-strstr.h           haystack[i] = 'A';
haystack          196 maint/gnulib/tests/unistr/test-u-strstr.h         haystack[2 * m] = 'B';
haystack          197 maint/gnulib/tests/unistr/test-u-strstr.h         haystack[2 * m + 1] = 0;
haystack          204 maint/gnulib/tests/unistr/test-u-strstr.h         result = U_STRSTR (haystack, needle);
haystack          205 maint/gnulib/tests/unistr/test-u-strstr.h         ASSERT (result == haystack + m);
haystack          208 maint/gnulib/tests/unistr/test-u-strstr.h     free (haystack);