Home
last modified time | relevance | path

Searched refs:_Py_hashtable_t (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Modules/
Dhashtable.h73 struct _Py_hashtable_t;
75 typedef Py_uhash_t (*_Py_hashtable_hash_func) (struct _Py_hashtable_t *ht,
77 typedef int (*_Py_hashtable_compare_func) (struct _Py_hashtable_t *ht,
92 typedef struct _Py_hashtable_t { struct
102 } _Py_hashtable_t; argument
106 struct _Py_hashtable_t *ht,
111 _Py_hashtable_t *ht,
115 PyAPI_FUNC(_Py_hashtable_t *) _Py_hashtable_new(
121 PyAPI_FUNC(_Py_hashtable_t *) _Py_hashtable_new_full(
129 PyAPI_FUNC(void) _Py_hashtable_destroy(_Py_hashtable_t *ht);
[all …]
Dhashtable.c79 static void hashtable_rehash(_Py_hashtable_t *ht);
108 _Py_hashtable_hash_ptr(struct _Py_hashtable_t *ht, const void *pkey) in _Py_hashtable_hash_ptr()
118 _Py_hashtable_compare_direct(_Py_hashtable_t *ht, const void *pkey, in _Py_hashtable_compare_direct()
140 _Py_hashtable_t *
147 _Py_hashtable_t *ht; in _Py_hashtable_new_full()
158 ht = (_Py_hashtable_t *)alloc.malloc(sizeof(_Py_hashtable_t)); in _Py_hashtable_new_full()
182 _Py_hashtable_t *
195 _Py_hashtable_size(_Py_hashtable_t *ht) in _Py_hashtable_size()
199 size = sizeof(_Py_hashtable_t); in _Py_hashtable_size()
213 _Py_hashtable_print_stats(_Py_hashtable_t *ht) in _Py_hashtable_print_stats()
[all …]
D_tracemalloc.c136 static _Py_hashtable_t *tracemalloc_filenames = NULL;
145 static _Py_hashtable_t *tracemalloc_tracebacks = NULL;
149 static _Py_hashtable_t *tracemalloc_traces = NULL;
227 hashtable_hash_pyobject(_Py_hashtable_t *ht, const void *pkey) in hashtable_hash_pyobject()
237 hashtable_compare_unicode(_Py_hashtable_t *ht, const void *pkey, in hashtable_compare_unicode()
253 hashtable_hash_pointer_t(_Py_hashtable_t *ht, const void *pkey) in hashtable_hash_pointer_t()
267 hashtable_compare_pointer_t(_Py_hashtable_t *ht, const void *pkey, in hashtable_compare_pointer_t()
282 static _Py_hashtable_t *
308 hashtable_hash_traceback(_Py_hashtable_t *ht, const void *pkey) in hashtable_hash_traceback()
318 hashtable_compare_traceback(_Py_hashtable_t *ht, const void *pkey, in hashtable_compare_traceback()
[all …]
/external/python/cpython3/Python/
Dmarshal.c88 _Py_hashtable_t *hashtable;
602 w_decref_entry(_Py_hashtable_t *ht, _Py_hashtable_entry_t *entry, in w_decref_entry()