Home
last modified time | relevance | path

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

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