Home
last modified time | relevance | path

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

/bionic/tests/
Dsearch_test.cpp238 e = hsearch(ENTRY{.key = const_cast<char*>("aaaa"), .data = nullptr}, FIND); in TEST()
242 e = hsearch(ENTRY{.key = const_cast<char*>("aa"), .data = nullptr}, FIND); in TEST()
251 e = hsearch(ENTRY{.key = const_cast<char*>("aa"), .data = nullptr}, FIND); in TEST()
254 e = hsearch(ENTRY{.key = const_cast<char*>("a"), .data = nullptr}, FIND); in TEST()
256 e = hsearch(ENTRY{.key = const_cast<char*>("aaa"), .data = nullptr}, FIND); in TEST()
280 ASSERT_EQ(0, hsearch_r(ENTRY{.key = const_cast<char*>("b"), .data = nullptr}, FIND, &e, &h1)); in TEST()
284 ASSERT_EQ(1, hsearch_r(ENTRY{.key = const_cast<char*>("a"), .data = nullptr}, FIND, &e, &h1)); in TEST()
286 ASSERT_EQ(1, hsearch_r(ENTRY{.key = const_cast<char*>("a"), .data = nullptr}, FIND, &e, &h2)); in TEST()
291 ASSERT_EQ(1, hsearch_r(ENTRY{.key = const_cast<char*>("a"), .data = nullptr}, FIND, &e, &h2)); in TEST()
312 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()