Searched refs:cur_slot (Results 1 – 3 of 3) sorted by relevance
250 PyModuleDef_Slot* cur_slot; in PyModule_FromDefAndSpec2() local281 for (cur_slot = def->m_slots; cur_slot && cur_slot->slot; cur_slot++) { in PyModule_FromDefAndSpec2()282 if (cur_slot->slot == Py_mod_create) { in PyModule_FromDefAndSpec2()290 create = cur_slot->value; in PyModule_FromDefAndSpec2()291 } else if (cur_slot->slot < 0 || cur_slot->slot > _Py_mod_LAST_SLOT) { in PyModule_FromDefAndSpec2()295 name, cur_slot->slot); in PyModule_FromDefAndSpec2()374 PyModuleDef_Slot *cur_slot; in PyModule_ExecDef() local401 for (cur_slot = def->m_slots; cur_slot && cur_slot->slot; cur_slot++) { in PyModule_ExecDef()402 switch (cur_slot->slot) { in PyModule_ExecDef()407 ret = ((int (*)(PyObject *))cur_slot->value)(module); in PyModule_ExecDef()[all …]
767 unsigned cur_slot = 0; in unroll_struct_type() local769 …for (unsigned i = 0; i < glsl_get_length(slot_type) && cur_slot <= *slot_idx; i++, cur_slot += slo… in unroll_struct_type()775 *slot_idx -= (cur_slot - slot_count); in unroll_struct_type()
1455 unsigned cur_slot = 0; in unroll_struct_type() local1458 …for (unsigned i = 0; i < glsl_get_length(slot_type) && cur_slot <= *slot_idx; i++, cur_slot += slo… in unroll_struct_type()1466 *slot_idx -= (cur_slot - slot_count); in unroll_struct_type()