Home
last modified time | relevance | path

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

/third_party/python/Modules/
H A D_testinternalcapi.c155 #define FROM_PTR(ptr) ((uintptr_t)ptr) macro
161 char ch = (char)FROM_PTR(key); in hash_char()
172 char key = (char)FROM_PTR(key_ptr); in hashtable_cb()
173 int value = (int)FROM_PTR(value_ptr); in hashtable_cb()
217 assert((int)FROM_PTR(value_ptr) == VALUE(key)); in test_hashtable()
223 assert((int)FROM_PTR(value_ptr) == VALUE(key)); in test_hashtable()
H A D_tracemalloc.c34 #define FROM_PTR(key) ((uintptr_t)(key)) macro
239 unsigned int key = (unsigned int)FROM_PTR(key_raw); in hashtable_hash_uint()
1241 unsigned int domain = (unsigned int)FROM_PTR(key); in tracemalloc_copy_domain()
1307 unsigned int domain = (unsigned int)FROM_PTR(key); in tracemalloc_get_traces_domain()

Completed in 4 milliseconds