Home
last modified time | relevance | path

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

/third_party/gettext/libtextstyle/gnulib-local/lib/glib/
Dgstrfuncs.c2606 gssize haystack_len, in g_strstr_len() argument
2612 if (haystack_len < 0) in g_strstr_len()
2624 if (haystack_len < needle_len) in g_strstr_len()
2627 end = haystack + haystack_len - needle_len; in g_strstr_len()
2664 gsize haystack_len;
2671 haystack_len = strlen (haystack);
2676 if (haystack_len < needle_len)
2679 p = haystack + haystack_len - needle_len;
2711 gssize haystack_len,
2717 if (haystack_len < 0)
[all …]
Dgstrfuncs.in.h128 gssize haystack_len,
134 gssize haystack_len,
/third_party/grpc/src/core/lib/slice/
Dslice.cc571 size_t haystack_len = GRPC_SLICE_LENGTH(haystack); in grpc_slice_slice() local
576 if (haystack_len == 0 || needle_len == 0) return -1; in grpc_slice_slice()
577 if (haystack_len < needle_len) return -1; in grpc_slice_slice()
578 if (haystack_len == needle_len) { in grpc_slice_slice()
585 const uint8_t* last = haystack_bytes + haystack_len - needle_len; in grpc_slice_slice()
/third_party/glib/glib/
Dgstrfuncs.c2741 gssize haystack_len, in g_strstr_len() argument
2747 if (haystack_len < 0) in g_strstr_len()
2753 gsize haystack_len_unsigned = haystack_len; in g_strstr_len()
2763 end = haystack + haystack_len - needle_len; in g_strstr_len()
2798 gsize haystack_len; in g_strrstr() local
2805 haystack_len = strlen (haystack); in g_strrstr()
2810 if (haystack_len < needle_len) in g_strrstr()
2813 p = haystack + haystack_len - needle_len; in g_strrstr()
2846 gssize haystack_len, in g_strrstr_len() argument
2852 if (haystack_len < 0) in g_strrstr_len()
[all …]
Dgstrfuncs.h127 gssize haystack_len,
134 gssize haystack_len,
/third_party/node/src/
Dstring_search.h200 size_t haystack_len) { in MemrchrFill() argument
202 return memrchr(haystack, needle, haystack_len); in MemrchrFill()
205 for (size_t i = haystack_len - 1; i != static_cast<size_t>(-1); i--) { in MemrchrFill()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dstring_view_benchmark.cc238 void BM_worst_case_find_first_of(benchmark::State& state, int haystack_len) { in BM_worst_case_find_first_of() argument
244 std::string haystack(haystack_len, '0'); // 1000 zeros. in BM_worst_case_find_first_of()
/third_party/abseil-cpp/absl/strings/
Dstring_view_benchmark.cc238 void BM_worst_case_find_first_of(benchmark::State& state, int haystack_len) { in BM_worst_case_find_first_of() argument
244 std::string haystack(haystack_len, '0'); // 1000 zeros. in BM_worst_case_find_first_of()
/third_party/wpa_supplicant/wpa_supplicant-2.9/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()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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()