Home
last modified time | relevance | path

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

/bionic/tests/
Dsearch_test.cpp256 hsearch_data h1 = {}; in TEST() local
257 ASSERT_EQ(1, hcreate_r(13, &h1)); in TEST()
265 ENTER, &e, &h1)); in TEST()
273 ASSERT_EQ(0, hsearch_r(ENTRY{.key = const_cast<char*>("b"), .data = nullptr}, FIND, &e, &h1)); in TEST()
277 ASSERT_EQ(1, hsearch_r(ENTRY{.key = const_cast<char*>("a"), .data = nullptr}, FIND, &e, &h1)); in TEST()
283 hdestroy_r(&h1); in TEST()
/bionic/linker/
Dlinker_soinfo.cpp153 const uint32_t h1 = hash % kBloomMaskBits; in ElfW() local
156 if ((1 & (bloom_word >> h1) & (bloom_word >> h2)) == 1) { in ElfW()
336 const uint32_t h1 = hash % kBloomMaskBits; in ElfW() local
343 if ((1 & (bloom_word >> h1) & (bloom_word >> h2)) == 0) { in ElfW()