Searched refs:search_value (Results 1 – 1 of 1) sorted by relevance
/bionic/tests/ |
D | string_test.cpp | 1390 int search_value = (len % 128) + 1; in DoMemchrTest() local 1393 ASSERT_EQ(nullptr, memchr(buf, search_value, len)); in DoMemchrTest() 1395 buf[0] = search_value; in DoMemchrTest() 1397 ASSERT_EQ(&buf[0], memchr(buf, search_value, len)); in DoMemchrTest() 1400 buf[len - 1] = search_value; in DoMemchrTest() 1402 ASSERT_EQ(&buf[len - 1], memchr(buf, search_value, len)); in DoMemchrTest() 1418 char search_value = 33 + (len % 96); in DoStrchrTest() local 1422 ASSERT_EQ(nullptr, strchr(reinterpret_cast<char*>(buf), search_value)); in DoStrchrTest() 1426 buf[0] = search_value; in DoStrchrTest() 1429 search_value)); in DoStrchrTest() [all …]
|