Home | History | Annotate | Download | only in gnulib

Lines Matching refs:NEEDLE

19135 #define NEEDLE P P P P P
19142 if (memmem (HAYSTACK, strlen (HAYSTACK), NEEDLE, strlen (NEEDLE)))
19144 /* Check for empty needle behavior. */
20949 #define NEEDLE P P P P P
20954 return !!strstr (HAYSTACK, NEEDLE);
30275 char *needle = (char *) malloc (m + 1);
30281 if (haystack && needle)
30285 memset (needle, 'A', m);
30286 needle[m] = 'B';
30287 if (!memmem (haystack, 2 * m + 1, needle, m + 1))
30292 free (needle);
30400 #define NEEDLE P P P P P
30407 if (memmem (HAYSTACK, strlen (HAYSTACK), NEEDLE, strlen (NEEDLE)))
30409 /* Check for empty needle behavior. */
34594 char *needle = (char *) malloc (m + 2);
34600 if (haystack && needle)
34605 memset (needle, 'A', m);
34606 needle[m] = 'B';
34607 needle[m + 1] = 0;
34608 if (!strstr (haystack, needle))
34613 free (needle);
34707 #define NEEDLE P P P P P
34712 return !!strstr (HAYSTACK, NEEDLE);