Home
last modified time | relevance | path

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

/third_party/python/Modules/
D_testinternalcapi.c148 #define FROM_PTR(ptr) ((uintptr_t)ptr) macro
154 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()
D_tracemalloc.c27 #define FROM_PTR(key) ((uintptr_t)(key)) macro
233 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()