Home
last modified time | relevance | path

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

/external/grpc-grpc/src/core/lib/slice/
Dslice.cc467 size_t haystack_len = GRPC_SLICE_LENGTH(haystack); in grpc_slice_slice() local
472 if (haystack_len == 0 || needle_len == 0) return -1; in grpc_slice_slice()
473 if (haystack_len < needle_len) return -1; in grpc_slice_slice()
474 if (haystack_len == needle_len) in grpc_slice_slice()
479 const uint8_t* last = haystack_bytes + haystack_len - needle_len; in grpc_slice_slice()
/external/wpa_supplicant_8/wpa_supplicant/
Dp2p_supplicant_sd.c536 size_t haystack_len, i; in find_p2ps_substr() local
545 haystack_len = os_strlen(adv_data->svc_info); in find_p2ps_substr()
546 for (i = 0; i < haystack_len; i++) { in find_p2ps_substr()
547 if (haystack_len - i < needle_len) in find_p2ps_substr()
/external/pdfium/core/fxcrt/
Dbytestring.cpp35 int haystack_len, in FX_strstr() argument
38 if (needle_len > haystack_len || needle_len == 0) { in FX_strstr()
41 const char* end_ptr = haystack + haystack_len - needle_len; in FX_strstr()
Dwidestring.cpp36 int haystack_len, in FX_wcsstr() argument
39 if (needle_len > haystack_len || needle_len == 0) { in FX_wcsstr()
42 const wchar_t* end_ptr = haystack + haystack_len - needle_len; in FX_wcsstr()