Searched refs:unicode_ids (Results 1 – 4 of 4) sorted by relevance
118 struct _Py_unicode_runtime_ids unicode_ids; member
59 Py_ssize_t unicode_next_index = runtime->unicode_ids.next_index; in _PyRuntimeState_Init_impl()92 runtime->unicode_ids.lock = PyThread_allocate_lock(); in _PyRuntimeState_Init_impl()93 if (runtime->unicode_ids.lock == NULL) { in _PyRuntimeState_Init_impl()96 runtime->unicode_ids.next_index = unicode_next_index; in _PyRuntimeState_Init_impl()129 FREE_LOCK(runtime->unicode_ids.lock); in _PyRuntimeState_Fini()151 int reinit_unicode_ids = _PyThread_at_fork_reinit(&runtime->unicode_ids.lock); in _PyRuntimeState_ReInitThreads()
113 preserve ``_PyRuntime.unicode_ids.next_index`` value.
2343 struct _Py_unicode_runtime_ids *rt_ids = &interp->runtime->unicode_ids; in _PyUnicode_FromId()