Searched refs:needle_len (Results 1 – 4 of 4) sorted by relevance
43 int needle_len) { in FX_wcsstr() argument44 if (needle_len > haystack_len || needle_len == 0) { in FX_wcsstr()47 const FX_WCHAR* end_ptr = haystack + haystack_len - needle_len; in FX_wcsstr()55 if (i == needle_len) { in FX_wcsstr()
59 int needle_len) { in FX_strstr() argument60 if (needle_len > haystack_len || needle_len == 0) { in FX_strstr()63 const FX_CHAR* end_ptr = haystack + haystack_len - needle_len; in FX_strstr()71 if (i == needle_len) { in FX_strstr()
533 const u8 *needle, size_t needle_len) in find_p2ps_substr() argument539 if (!needle || !needle_len) in find_p2ps_substr()547 if (haystack_len - i < needle_len) in find_p2ps_substr()549 if (os_memcmp(haystack + i, needle, needle_len) == 0) in find_p2ps_substr()
246 int needle_len = needle->length(); in AtomExecRaw() local248 DCHECK_LT(0, needle_len); in AtomExecRaw()250 if (index + needle_len > subject->length()) { in AtomExecRaw()276 output[i+1] = index + needle_len; in AtomExecRaw()277 index += needle_len; in AtomExecRaw()