Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/_decimal/
D_decimal.c130 static PyObject *tls_context_key = NULL; variable
1526 tl_context = PyDict_GetItemWithError(dict, tls_context_key); in current_context_from_dict()
1543 if (PyDict_SetItem(dict, tls_context_key, tl_context) < 0) { in current_context_from_dict()
1629 if (PyDict_SetItem(dict, tls_context_key, v) < 0) { in PyDec_SetCurrentContext()
5851 ASSIGN_PTR(tls_context_key, PyUnicode_FromString("___DECIMAL_CTX__")); in PyInit__decimal()
5919 Py_CLEAR(tls_context_key); /* GCOV_NOT_REACHED */ in PyInit__decimal()