Searched refs:FIND (Results 1 – 4 of 4) sorted by relevance
/bionic/tests/ |
D | search_test.cpp | 236 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/ |
D | search_h.c | 40 a = FIND; in search_h()
|
/bionic/libc/include/ |
D | search.h | 21 FIND, enumerator
|
/bionic/libc/upstream-freebsd/lib/libc/stdlib/ |
D | hsearch_r.c | 100 if (action == FIND) { in hsearch_r()
|