Home | History | Annotate | Download | only in gnulib

Lines Matching refs:NEEDLE

19138 #define NEEDLE P P P P P
19145 if (memmem (HAYSTACK, strlen (HAYSTACK), NEEDLE, strlen (NEEDLE)))
19147 /* Check for empty needle behavior. */
20952 #define NEEDLE P P P P P
20957 return !!strstr (HAYSTACK, NEEDLE);
30278 char *needle = (char *) malloc (m + 1);
30284 if (haystack && needle)
30288 memset (needle, 'A', m);
30289 needle[m] = 'B';
30290 if (!memmem (haystack, 2 * m + 1, needle, m + 1))
30295 free (needle);
30403 #define NEEDLE P P P P P
30410 if (memmem (HAYSTACK, strlen (HAYSTACK), NEEDLE, strlen (NEEDLE)))
30412 /* Check for empty needle behavior. */
34597 char *needle = (char *) malloc (m + 2);
34603 if (haystack && needle)
34608 memset (needle, 'A', m);
34609 needle[m] = 'B';
34610 needle[m + 1] = 0;
34611 if (!strstr (haystack, needle))
34616 free (needle);
34710 #define NEEDLE P P P P P
34715 return !!strstr (HAYSTACK, NEEDLE);