Lines Matching defs:state

1008     void *state = _PyModule_GetState(module);
1009 assert(state != NULL);
1010 return (_posixstate *)state;
2318 _posixstate *state = get_posix_state(module);
2319 Py_CLEAR(state->billion);
2320 Py_CLEAR(state->DirEntryType);
2321 Py_CLEAR(state->ScandirIteratorType);
2323 Py_CLEAR(state->SchedParamType);
2325 Py_CLEAR(state->StatResultType);
2326 Py_CLEAR(state->StatVFSResultType);
2327 Py_CLEAR(state->TerminalSizeType);
2328 Py_CLEAR(state->TimesResultType);
2329 Py_CLEAR(state->UnameResultType);
2331 Py_CLEAR(state->WaitidResultType);
2334 Py_CLEAR(state->struct_rusage);
2336 Py_CLEAR(state->st_mode);
2343 _posixstate *state = get_posix_state(module);
2344 Py_VISIT(state->billion);
2345 Py_VISIT(state->DirEntryType);
2346 Py_VISIT(state->ScandirIteratorType);
2348 Py_VISIT(state->SchedParamType);
2350 Py_VISIT(state->StatResultType);
2351 Py_VISIT(state->StatVFSResultType);
2352 Py_VISIT(state->TerminalSizeType);
2353 Py_VISIT(state->TimesResultType);
2354 Py_VISIT(state->UnameResultType);
2356 Py_VISIT(state->WaitidResultType);
2359 Py_VISIT(state->struct_rusage);
2361 Py_VISIT(state->st_mode);
8512 no children in a waitable state.
13822 _posixstate* state = get_posix_state(PyType_GetModule(defining_class));
13823 st_mode = PyObject_GetAttr(stat, state->st_mode);
15856 _posixstate *state = get_posix_state(m);
15899 state->WaitidResultType = WaitidResultType;
15912 state->StatResultType = StatResultType;
15923 state->StatVFSResultType = StatVFSResultType;
15942 state->SchedParamType = SchedParamType;
15953 state->TerminalSizeType = TerminalSizeType;
15960 state->ScandirIteratorType = ScandirIteratorType;
15968 state->DirEntryType = DirEntryType;
15977 state->TimesResultType = TimesResultType;
15985 state->UnameResultType = (PyObject *)UnameResultType;
15987 if ((state->billion = PyLong_FromLong(1000000000)) == NULL)
15990 state->struct_rusage = PyUnicode_InternFromString("struct_rusage");
15991 if (state->struct_rusage == NULL)
15994 state->st_mode = PyUnicode_InternFromString("st_mode");
15995 if (state->st_mode == NULL)