Home
last modified time | relevance | path

Searched refs:haystack (Results 1 – 2 of 2) sorted by relevance

/optee_os-3.20.0/lib/libutils/isoc/newlib/
A Dstrstr.c121 const char *haystack = searchee;
130 while (*haystack && *needle)
131 ok &= *haystack++ == *needle++;
140 haystack = strchr (searchee + 1, *lookfor);
141 if (!haystack || needle_len == 1)
142 return (char *) haystack;
143 haystack_len = (haystack > searchee + needle_len ? 1
144 : needle_len + searchee - haystack);
148 return two_way_short_needle ((const unsigned char *) haystack,
151 return two_way_long_needle ((const unsigned char *) haystack, haystack_len,
A Dstr-two-way.h257 == CANON_ELEMENT (haystack[i + j]))) in two_way_short_needle()
264 == CANON_ELEMENT (haystack[i + j]))) in two_way_short_needle()
267 return (RETURN_TYPE) (haystack + j); in two_way_short_needle()
291 == CANON_ELEMENT (haystack[i + j]))) in two_way_short_needle()
298 == CANON_ELEMENT (haystack[i + j]))) in two_way_short_needle()
301 return (RETURN_TYPE) (haystack + j); in two_way_short_needle()
379 == CANON_ELEMENT (haystack[i + j]))) in two_way_long_needle()
386 == CANON_ELEMENT (haystack[i + j]))) in two_way_long_needle()
389 return (RETURN_TYPE) (haystack + j); in two_way_long_needle()
423 == CANON_ELEMENT (haystack[i + j]))) in two_way_long_needle()
[all …]

Completed in 2 milliseconds