Searched refs:SET_ITEM (Results 1 – 1 of 1) sorted by relevance
/external/python/cpython3/Modules/ |
D | main.c | 1393 #define SET_ITEM(KEY, EXPR) \ in _Py_GetGlobalVariablesAsDict() macro 1406 SET_ITEM(#VAR, PyLong_FromLong(VAR)) in _Py_GetGlobalVariablesAsDict() 1412 SET_ITEM(#VAR, FROM_STRING(VAR)) in _Py_GetGlobalVariablesAsDict() 1448 #undef SET_ITEM in _Py_GetGlobalVariablesAsDict() 2549 #define SET_ITEM(KEY, EXPR) \ in _PyCoreConfig_AsDict() macro 2566 SET_ITEM(#ATTR, PyLong_FromLong(config->ATTR)) in _PyCoreConfig_AsDict() 2568 SET_ITEM(#ATTR, PyLong_FromUnsignedLong(config->ATTR)) in _PyCoreConfig_AsDict() 2570 SET_ITEM(#ATTR, FROM_STRING(config->ATTR)) in _PyCoreConfig_AsDict() 2576 SET_ITEM(#ATTR, FROM_WSTRING(config->ATTR)) in _PyCoreConfig_AsDict() 2578 SET_ITEM(#OPTIONS, _Py_wstrlist_as_pylist(config->NOPTION, config->OPTIONS)) in _PyCoreConfig_AsDict() [all …]
|