/bionic/tests/ |
D | search_test.cpp | 217 static void AssertEntry(ENTRY* e, const char* expected_key, const char* expected_data) { in AssertEntry() 227 ENTRY* e; in TEST() 228 e = hsearch(ENTRY{.key = const_cast<char*>("a"), .data = const_cast<char*>("A")}, ENTER); in TEST() 230 e = hsearch(ENTRY{.key = const_cast<char*>("aa"), .data = const_cast<char*>("B")}, ENTER); in TEST() 232 e = hsearch(ENTRY{.key = const_cast<char*>("aaa"), .data = const_cast<char*>("C")}, ENTER); in TEST() 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() 244 e = hsearch(ENTRY{.key = const_cast<char*>("aa"), .data = const_cast<char*>("X")}, ENTER); 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() [all …]
|
/bionic/tests/headers/posix/ |
D | search_h.c | 34 TYPE(ENTRY); in search_h() 36 STRUCT_MEMBER(ENTRY, char*, key); in search_h() 37 STRUCT_MEMBER(ENTRY, void*, data); in search_h() 53 FUNCTION(hsearch, ENTRY* (*f)(ENTRY, ACTION)); in search_h()
|
/bionic/libc/upstream-freebsd/lib/libc/stdlib/ |
D | hsearch_r.c | 43 static ENTRY * 49 ENTRY *entry = &hsearch->entries[index & hsearch->index_mask]; in hsearch_lookup_free() 76 hsearch_r(ENTRY item, ACTION action, ENTRY **retval, struct hsearch_data *htab) in hsearch_r() 79 ENTRY *entry, *old_entries, *new_entries; in hsearch_r() 117 new_entries = calloc(new_count, sizeof(ENTRY)); in hsearch_r()
|
D | hcreate.c | 61 ENTRY * 62 hsearch(ENTRY item, ACTION action) in hsearch() 64 ENTRY *retval; in hsearch()
|
D | hsearch.h | 37 ENTRY *entries; /* Hash table entries. */
|
/bionic/libc/include/ |
D | search.h | 31 } ENTRY; typedef 115 ENTRY* _Nullable hsearch(ENTRY __entry, ACTION __action) __INTRODUCED_IN(28); 146 int hsearch_r(ENTRY __entry, ACTION __action, ENTRY* _Nullable * _Nonnull __result, struct hsearch_…
|
/bionic/libc/arch-x86_64/string/ |
D | sse2-strcat-slm.S | 47 #ifndef ENTRY 48 # define ENTRY(name) \ macro 65 ENTRY (STRCAT) label
|
/bionic/libc/arch-x86/string/ |
D | ssse3-wcscat-atom.S | 55 #ifndef ENTRY 56 # define ENTRY(name) \ macro 88 ENTRY (wcscat_ssse3) label
|
/bionic/libc/arch-x86_64/bionic/ |
D | setjmp.S | 74 ENTRY(setjmp) 80 ENTRY(_setjmp) 87 ENTRY(sigsetjmp) 140 ENTRY(siglongjmp)
|
/bionic/libc/arch-x86/bionic/ |
D | setjmp.S | 67 ENTRY(setjmp) 74 ENTRY(_setjmp) 81 ENTRY(sigsetjmp) 138 ENTRY(siglongjmp)
|
/bionic/libc/private/ |
D | bionic_asm.h | 62 #define ENTRY(f) \ macro 76 ENTRY(f); \
|
/bionic/libc/arch-arm/krait/bionic/ |
D | memset.S | 40 ENTRY(__memset_chk_krait) 53 ENTRY(memset_krait)
|
/bionic/libc/arch-arm/bionic/ |
D | setjmp.S | 78 ENTRY(setjmp) 84 ENTRY(_setjmp) 99 ENTRY(sigsetjmp) 190 ENTRY(siglongjmp)
|
D | __aeabi_read_tp.S | 44 ENTRY(__aeabi_read_tp)
|
/bionic/libc/arch-arm64/bionic/ |
D | setjmp.S | 98 ENTRY(setjmp) 104 ENTRY(_setjmp) 111 ENTRY(sigsetjmp) 188 ENTRY(siglongjmp)
|
/bionic/libc/arch-arm/generic/bionic/ |
D | memset.S | 39 ENTRY(__memset_chk_generic) 46 ENTRY(memset_generic)
|
/bionic/libc/arch-riscv64/bionic/ |
D | setjmp.S | 110 ENTRY(setjmp) 116 ENTRY(_setjmp) 123 ENTRY(sigsetjmp) 207 ENTRY(siglongjmp)
|
/bionic/libm/x86_64/ |
D | lrintf.S | 33 ENTRY(lrintf)
|
D | lrint.S | 33 ENTRY(lrint)
|
/bionic/libm/x86/ |
D | lrintf.S | 33 ENTRY(lrintf)
|
/bionic/libc/arch-riscv64/string/ |
D | __memset_chk.S | 3 ENTRY(__memset_chk)
|
D | __memcpy_chk.S | 3 ENTRY(__memcpy_chk)
|
/bionic/linker/arch/riscv64/ |
D | begin.S | 31 ENTRY(_start)
|
/bionic/linker/arch/arm64/ |
D | begin.S | 31 ENTRY(_start)
|
/bionic/linker/arch/arm/ |
D | begin.S | 31 ENTRY(_start)
|