Home
last modified time | relevance | path

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

/external/pdfium/core/fxcrt/
Dfx_basic_wstring.cpp43 int needle_len) { in FX_wcsstr() argument
44 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()
Dfx_basic_bstring.cpp59 int needle_len) { in FX_strstr() argument
60 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()
/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.cc246 int needle_len = needle->length(); in AtomExecRaw() local
248 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()