Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/wpa_supplicant/
Dp2p_supplicant_sd.c533 const u8 *needle, size_t needle_len) in find_p2ps_substr() argument
539 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()
/external/v8/src/regexp/
Djsregexp.cc248 int needle_len = needle->length(); in AtomExecRaw() local
250 DCHECK_LT(0, needle_len); in AtomExecRaw()
252 if (index + needle_len > subject->length()) { in AtomExecRaw()
278 output[i+1] = index + needle_len; in AtomExecRaw()
279 index += needle_len; in AtomExecRaw()