/bionic/tests/ |
D | search_test.cpp | 212 static void AssertEntry(ENTRY* e, const char* expected_key, const char* expected_data) { in AssertEntry() 222 ENTRY* e; in TEST() 223 e = hsearch(ENTRY{.key = const_cast<char*>("a"), .data = const_cast<char*>("A")}, ENTER); in TEST() 225 e = hsearch(ENTRY{.key = const_cast<char*>("aa"), .data = const_cast<char*>("B")}, ENTER); in TEST() 227 e = hsearch(ENTRY{.key = const_cast<char*>("aaa"), .data = const_cast<char*>("C")}, ENTER); in TEST() 231 e = hsearch(ENTRY{.key = const_cast<char*>("aaaa"), .data = nullptr}, FIND); in TEST() 235 e = hsearch(ENTRY{.key = const_cast<char*>("aa"), .data = nullptr}, FIND); in TEST() 239 e = hsearch(ENTRY{.key = const_cast<char*>("aa"), .data = const_cast<char*>("X")}, ENTER); in TEST() 244 e = hsearch(ENTRY{.key = const_cast<char*>("aa"), .data = nullptr}, FIND); in TEST() 247 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()
|
/bionic/libc/include/ |
D | search.h | 31 } ENTRY; typedef 115 ENTRY* hsearch(ENTRY __entry, ACTION __action) __INTRODUCED_IN(28); 146 int hsearch_r(ENTRY __entry, ACTION __action, ENTRY** __result, struct hsearch_data* __table) __INT…
|
/bionic/libc/arch-x86_64/string/ |
D | sse2-strcat-slm.S | 47 #ifndef ENTRY 48 # define ENTRY(name) \ macro 65 ENTRY (STRCAT) label
|
D | sse2-memset-slm.S | 44 ENTRY(__memset_chk) 53 ENTRY(memset)
|
/bionic/libc/arch-x86/atom/string/ |
D | ssse3-wcscat-atom.S | 55 #ifndef ENTRY 56 # define ENTRY(name) \ macro 88 ENTRY (wcscat_ssse3) label
|
D | sse2-wcschr-atom.S | 55 #ifndef ENTRY 56 # define ENTRY(name) \ macro 88 ENTRY (wcschr) label
|
/bionic/libm/arm64/ |
D | sqrt.S | 19 ENTRY(sqrt) 24 ENTRY(sqrtf)
|
D | lrint.S | 19 ENTRY(lrint) 25 ENTRY(lrintf)
|
/bionic/libc/arch-x86_64/bionic/ |
D | setjmp.S | 93 ENTRY(setjmp) 99 ENTRY(_setjmp) 106 ENTRY(sigsetjmp) 153 ENTRY(siglongjmp)
|
/bionic/libm/arm/ |
D | sqrt.S | 35 ENTRY(sqrt) 42 ENTRY(sqrtf)
|
/bionic/libc/arch-x86/bionic/ |
D | setjmp.S | 80 ENTRY(setjmp) 87 ENTRY(_setjmp) 94 ENTRY(sigsetjmp) 148 ENTRY(siglongjmp)
|
/bionic/libc/arch-arm/bionic/ |
D | setjmp.S | 78 ENTRY(setjmp) 84 ENTRY(_setjmp) 121 ENTRY(sigsetjmp) 196 ENTRY(siglongjmp)
|
/bionic/libc/private/ |
D | bionic_asm.h | 57 #define ENTRY(f) \ macro 71 ENTRY(f); \
|
/bionic/libc/arch-arm/krait/bionic/ |
D | memset.S | 40 ENTRY(__memset_chk_krait) 53 ENTRY(memset_krait)
|
/bionic/libc/arch-arm64/bionic/ |
D | setjmp.S | 106 ENTRY(setjmp) 112 ENTRY(_setjmp) 119 ENTRY(sigsetjmp) 191 ENTRY(siglongjmp)
|
/bionic/libc/arch-arm/generic/bionic/ |
D | memset.S | 39 ENTRY(__memset_chk_generic) 46 ENTRY(memset_generic)
|
/bionic/libc/arch-arm64/generic/bionic/ |
D | memmove.S | 87 ENTRY(wmemmove) 90 ENTRY(memmove)
|
D | memcpy.S | 33 ENTRY(__memcpy)
|
/bionic/libc/arch-arm/cortex-a7/bionic/ |
D | memset.S | 44 ENTRY(__memset_chk_a7) 56 ENTRY(memset_a7)
|
/bionic/libc/arch-arm/cortex-a15/bionic/ |
D | memset.S | 44 ENTRY(__memset_chk_a15) 56 ENTRY(memset_a15)
|
/bionic/libm/x86_64/ |
D | truncf.S | 33 ENTRY(truncf)
|
D | sqrtf.S | 33 ENTRY(sqrtf)
|