Lines Matching refs:state
130 mmap_state *state = PyModule_GetState(module);
131 assert(state);
132 return state;
1588 mmap_state *state = get_mmap_state(module);
1589 Py_VISIT(state->mmap_object_type);
1596 mmap_state *state = get_mmap_state(module);
1597 Py_CLEAR(state->mmap_object_type);
1610 mmap_state *state = get_mmap_state(module);
1618 state->mmap_object_type = (PyTypeObject *)PyType_FromModuleAndSpec(module,
1621 if (state->mmap_object_type == NULL) {
1624 if (PyModule_AddType(module, state->mmap_object_type) < 0) {