Home
last modified time | relevance | path

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

/bionic/benchmarks/
Dstring_benchmark.cpp277 char* haystack_aligned = GetAlignedPtrFilled(&haystack, haystack_alignment, nbytes, 'x'); in BM_string_strstr() local
283 haystack_aligned[4 * i + 3] = 'y'; in BM_string_strstr()
286 haystack_aligned[nbytes - 1] = '\0'; in BM_string_strstr()
290 if (strstr(haystack_aligned, needle_aligned) == nullptr) { in BM_string_strstr()
304 char* haystack_aligned = GetAlignedPtrFilled(&haystack, haystack_alignment, nbytes, 'x'); in BM_string_strchr() local
305 haystack_aligned[nbytes-1] = '\0'; in BM_string_strchr()
308 if (strchr(haystack_aligned, 'y') != nullptr) { in BM_string_strchr()