Searched refs:FROM_PTR (Results 1 – 2 of 2) sorted by relevance
148 #define FROM_PTR(ptr) ((uintptr_t)ptr) macro154 char ch = (char)FROM_PTR(key); in hash_char()165 char key = (char)FROM_PTR(key_ptr); in hashtable_cb()166 int value = (int)FROM_PTR(value_ptr); in hashtable_cb()210 assert((int)FROM_PTR(value_ptr) == VALUE(key)); in test_hashtable()216 assert((int)FROM_PTR(value_ptr) == VALUE(key)); in test_hashtable()
27 #define FROM_PTR(key) ((uintptr_t)(key)) macro233 unsigned int key = (unsigned int)FROM_PTR(key_raw); in hashtable_hash_uint()1240 unsigned int domain = (unsigned int)FROM_PTR(key); in tracemalloc_copy_domain()1303 unsigned int domain = (unsigned int)FROM_PTR(key); in tracemalloc_get_traces_domain()