Home
last modified time | relevance | path

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

/optee_os-3.20.0/lib/libutils/isoc/newlib/
A Dstr-two-way.h146 while (j + k < needle_len) in critical_factorization()
181 while (j + k < needle_len) in critical_factorization()
259 if (needle_len <= i) in two_way_short_needle()
271 memory = needle_len - period; in two_way_short_needle()
293 if (needle_len <= i) in two_way_short_needle()
343 shift_table[i] = needle_len; in two_way_long_needle()
344 for (i = 0; i < needle_len; i++) in two_way_long_needle()
369 shift = needle_len - period; in two_way_long_needle()
381 if (needle_len - 1 <= i) in two_way_long_needle()
393 memory = needle_len - period; in two_way_long_needle()
[all …]
A Dstrstr.c123 size_t needle_len; /* Length of NEEDLE. */
139 needle_len = needle - lookfor;
141 if (!haystack || needle_len == 1)
143 haystack_len = (haystack > searchee + needle_len ? 1
144 : needle_len + searchee - haystack);
147 if (needle_len < LONG_NEEDLE_THRESHOLD)
150 (const unsigned char *) lookfor, needle_len);
152 (const unsigned char *) lookfor, needle_len);

Completed in 3 milliseconds