Lines Matching refs:TABLE
36 #define _Py_HASHTABLE_ENTRY_PDATA(TABLE, ENTRY) \ argument
39 + (TABLE)->key_size))
43 #define _Py_HASHTABLE_READ_KEY(TABLE, PKEY, DST_KEY) \ argument
45 assert(sizeof(DST_KEY) == (TABLE)->key_size); \
49 #define _Py_HASHTABLE_ENTRY_READ_KEY(TABLE, ENTRY, KEY) \ argument
51 assert(sizeof(KEY) == (TABLE)->key_size); \
55 #define _Py_HASHTABLE_ENTRY_READ_DATA(TABLE, ENTRY, DATA) \ argument
57 assert(sizeof(DATA) == (TABLE)->data_size); \
58 memcpy(&(DATA), _Py_HASHTABLE_ENTRY_PDATA(TABLE, (ENTRY)), \
62 #define _Py_HASHTABLE_ENTRY_WRITE_DATA(TABLE, ENTRY, DATA) \ argument
64 assert(sizeof(DATA) == (TABLE)->data_size); \
65 memcpy((void *)_Py_HASHTABLE_ENTRY_PDATA((TABLE), (ENTRY)), \
162 #define _Py_HASHTABLE_SET(TABLE, KEY, DATA) \ argument
163 _Py_hashtable_set(TABLE, sizeof(KEY), &(KEY), sizeof(DATA), &(DATA))
165 #define _Py_HASHTABLE_SET_NODATA(TABLE, KEY) \ argument
166 _Py_hashtable_set(TABLE, sizeof(KEY), &(KEY), 0, NULL)
179 #define _Py_HASHTABLE_GET_ENTRY(TABLE, KEY) \ argument
180 _Py_hashtable_get_entry(TABLE, sizeof(KEY), &(KEY))
194 #define _Py_HASHTABLE_GET(TABLE, KEY, DATA) \ argument
195 _Py_hashtable_get(TABLE, sizeof(KEY), &(KEY), sizeof(DATA), &(DATA))
206 #define _Py_HASHTABLE_POP(TABLE, KEY, DATA) \ argument
207 _Py_hashtable_pop(TABLE, sizeof(KEY), &(KEY), sizeof(DATA), &(DATA))