Home
last modified time | relevance | path

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

/bionic/tests/
Dsearch_test.cpp236 e = hsearch(ENTRY{.key = const_cast<char*>("aaaa"), .data = nullptr}, FIND); in TEST()
240 e = hsearch(ENTRY{.key = const_cast<char*>("aa"), .data = nullptr}, FIND); in TEST()
249 e = hsearch(ENTRY{.key = const_cast<char*>("aa"), .data = nullptr}, FIND); in TEST()
252 e = hsearch(ENTRY{.key = const_cast<char*>("a"), .data = nullptr}, FIND); in TEST()
254 e = hsearch(ENTRY{.key = const_cast<char*>("aaa"), .data = nullptr}, FIND); in TEST()
278 ASSERT_EQ(0, hsearch_r(ENTRY{.key = const_cast<char*>("b"), .data = nullptr}, FIND, &e, &h1)); in TEST()
282 ASSERT_EQ(1, hsearch_r(ENTRY{.key = const_cast<char*>("a"), .data = nullptr}, FIND, &e, &h1)); in TEST()
284 ASSERT_EQ(1, hsearch_r(ENTRY{.key = const_cast<char*>("a"), .data = nullptr}, FIND, &e, &h2)); in TEST()
289 ASSERT_EQ(1, hsearch_r(ENTRY{.key = const_cast<char*>("a"), .data = nullptr}, FIND, &e, &h2)); in TEST()
310 ENTRY* e = hsearch(ENTRY{.key = p, .data = nullptr}, FIND); in TEST()
/bionic/tests/headers/posix/
Dsearch_h.c40 a = FIND; in search_h()
/bionic/libc/include/
Dsearch.h21 FIND, enumerator
/bionic/libc/upstream-freebsd/lib/libc/stdlib/
Dhsearch_r.c100 if (action == FIND) { in hsearch_r()