Home
last modified time | relevance | path

Searched refs:cur_slot (Results 1 – 3 of 3) sorted by relevance

/third_party/python/Objects/
Dmoduleobject.c250 PyModuleDef_Slot* cur_slot; in PyModule_FromDefAndSpec2() local
281 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() local
401 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 …]
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_compiler.c767 unsigned cur_slot = 0; in unroll_struct_type() local
769 …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()
/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
Dnir_to_spirv.c1455 unsigned cur_slot = 0; in unroll_struct_type() local
1458 …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()