Home
last modified time | relevance | path

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

/optee_os-3.20.0/lib/libutils/isoc/newlib/
A Dstr-two-way.h148 a = CANON_ELEMENT (needle[j + k]); in critical_factorization()
183 a = CANON_ELEMENT (needle[j + k]); in critical_factorization()
184 b = CANON_ELEMENT (needle[max_suffix_rev + k]); in critical_factorization()
231 const unsigned char *needle, size_t needle_len) in two_way_short_needle() argument
245 if (CMP_FUNC (needle, needle + period, suffix) == 0) in two_way_short_needle()
256 while (i < needle_len && (CANON_ELEMENT (needle[i]) in two_way_short_needle()
290 while (i < needle_len && (CANON_ELEMENT (needle[i]) in two_way_short_needle()
297 while (i != SIZE_MAX && (CANON_ELEMENT (needle[i]) in two_way_short_needle()
325 const unsigned char *needle, size_t needle_len) in two_way_long_needle() argument
349 if (CMP_FUNC (needle, needle + period, suffix) == 0) in two_way_long_needle()
[all …]
A Dstrstr.c122 const char *needle = lookfor;
130 while (*haystack && *needle)
131 ok &= *haystack++ == *needle++;
132 if (*needle)
139 needle_len = needle - lookfor;

Completed in 4 milliseconds