Lines Matching defs:interp
459 PyInterpreterState *interp = _PyInterpreterState_GET();
462 if (!_PyInterpreterState_GetConfig(interp)->dev_mode) {
471 if (!interp->unicode.fs_codec.encoding) {
477 if (interp->finalizing) {
2284 PyInterpreterState *interp = _PyInterpreterState_GET();
2285 struct _Py_unicode_ids *ids = &interp->unicode.ids;
2289 struct _Py_unicode_runtime_ids *rt_ids = &interp->runtime->unicode_ids;
3788 PyInterpreterState *interp = _PyInterpreterState_GET();
3789 struct _Py_unicode_fs_codec *fs_codec = &interp->unicode.fs_codec;
3806 const PyConfig *config = _PyInterpreterState_GetConfig(interp);
4025 PyInterpreterState *interp = _PyInterpreterState_GET();
4026 struct _Py_unicode_fs_codec *fs_codec = &interp->unicode.fs_codec;
4044 const PyConfig *config = _PyInterpreterState_GetConfig(interp);
15463 _PyUnicode_InitState(PyInterpreterState *interp)
15465 if (!_Py_IsMainInterpreter(interp)) {
15487 _PyUnicode_InitGlobalObjects(PyInterpreterState *interp)
15489 if (!_Py_IsMainInterpreter(interp)) {
15506 _PyUnicode_InitTypes(PyInterpreterState *interp)
15508 if (!_Py_IsMainInterpreter(interp)) {
15614 _PyUnicode_ClearInterned(PyInterpreterState *interp)
15616 if (!_Py_IsMainInterpreter(interp)) {
15943 init_stdio_encoding(PyInterpreterState *interp)
15946 PyConfig *config = (PyConfig*)_PyInterpreterState_GetConfig(interp);
15956 init_fs_codec(PyInterpreterState *interp)
15958 const PyConfig *config = _PyInterpreterState_GetConfig(interp);
15981 struct _Py_unicode_fs_codec *fs_codec = &interp->unicode.fs_codec;
16012 PyInterpreterState *interp = tstate->interp;
16017 PyConfig *config = (PyConfig*)_PyInterpreterState_GetConfig(interp);
16024 if (init_fs_codec(interp) < 0) {
16039 return init_stdio_encoding(tstate->interp);
16059 PyInterpreterState *interp = _PyInterpreterState_GET();
16060 PyConfig *config = (PyConfig *)_PyInterpreterState_GetConfig(interp);
16077 return init_fs_codec(interp);
16092 _PyUnicode_FiniTypes(PyInterpreterState *interp)
16094 if (!_Py_IsMainInterpreter(interp)) {
16134 _PyUnicode_Fini(PyInterpreterState *interp)
16136 struct _Py_unicode_state *state = &interp->unicode;
16138 if (_Py_IsMainInterpreter(interp)) {