Home
last modified time | relevance | path

Searched refs:totitems (Results 1 – 9 of 9) sorted by relevance

/dports/graphics/blender/blender-2.91.0/source/blender/editors/space_node/
H A Dnode_templates.c327 int totitems = 0; in ui_node_link_items() local
335 totitems += BLI_listbase_count(lb); in ui_node_link_items()
338 if (totitems > 0) { in ui_node_link_items()
339 items = MEM_callocN(sizeof(NodeLinkItem) * totitems, "ui node link items"); in ui_node_link_items()
368 totitems++; in ui_node_link_items()
371 if (totitems > 0) { in ui_node_link_items()
387 *r_totitems = totitems; in ui_node_link_items()
500 int totitems; in ui_node_menu_column() local
508 ui_node_link_items(arg, SOCK_OUT, &items, &totitems); in ui_node_menu_column()
510 for (int i = 0; i < totitems; i++) { in ui_node_menu_column()
[all …]
/dports/cad/meshlab/meshlab-Meshlab-2020.05/src/meshlab/
H A Dxmlgeneratorgui.cpp349 QList<QTreeWidgetItem*> totitems = ui->paramviewer->findItems(QString(".*"),Qt::MatchRegExp); in addParam() local
350 for(int ii = 0;ii < totitems.size();++ii) in addParam()
351 namelist.push_back(totitems[ii]->text(0)); in addParam()
367 QList<QTreeWidgetItem*> totitems = ui->paramviewer->findItems(QString(".*"),Qt::MatchRegExp); in addParam() local
368 for(int ii = 0;ii < totitems.size();++ii) in addParam()
369 namelist.push_back(totitems[ii]->text(0)); in addParam()
/dports/graphics/blender/blender-2.91.0/source/blender/editors/gpencil/
H A Dgpencil_sculpt_paint.c905 size_t totitems; member
942 data->totitems++; in gpencil_brush_clone_init()
947 if (data->totitems > 1) { in gpencil_brush_clone_init()
948 mul_v3_fl(data->buffer_midpoint, 1.0f / (float)data->totitems); in gpencil_brush_clone_init()
953 data->new_strokes = MEM_callocN(sizeof(bGPDstroke *) * data->totitems, in gpencil_brush_clone_init()
1048 if ((data->new_strokes) && (strokes_added < data->totitems)) { in gpencil_brush_clone_add()
1069 for (snum = 0; snum < data->totitems; snum++) { in gpencil_brush_clone_adjust()
/dports/graphics/blender/blender-2.91.0/source/blender/blenkernel/
H A DBKE_customdata.h86 typedef bool (*cd_validate)(void *item, const uint totitems, const bool do_fixes);
452 const uint totitems,
/dports/graphics/blender/blender-2.91.0/source/blender/blenkernel/intern/
H A Dcustomdata.c345 static bool layerValidate_normal(void *data, const uint totitems, const bool do_fixes) in layerValidate_normal() argument
351 for (int i = 0; i < totitems; i++, no++) { in layerValidate_normal()
479 static bool layerValidate_propFloat(void *data, const uint totitems, const bool do_fixes) in layerValidate_propFloat() argument
484 for (int i = 0; i < totitems; i++, fp++) { in layerValidate_propFloat()
993 static bool layerValidate_mloopuv(void *data, const uint totitems, const bool do_fixes) in layerValidate_mloopuv() argument
998 for (int i = 0; i < totitems; i++, uv++) { in layerValidate_mloopuv()
1414 static bool layerValidate_propfloat3(void *data, const uint totitems, const bool do_fixes) in layerValidate_propfloat3() argument
1418 for (int i = 0; i < totitems * 3; i++) { in layerValidate_propfloat3()
1459 static bool layerValidate_propfloat2(void *data, const uint totitems, const bool do_fixes) in layerValidate_propfloat2() argument
1463 for (int i = 0; i < totitems * 2; i++) { in layerValidate_propfloat2()
[all …]
H A Dmesh_validate.c922 const uint totitems, in mesh_validate_customdata() argument
963 if (CustomData_layer_validate(layer, totitems, do_fixes)) { in mesh_validate_customdata()
/dports/graphics/blender/blender-2.91.0/source/blender/editors/space_file/
H A Dfile_ops.c1150 const int totitems = ED_fsmenu_get_nentries(fsmenu, FS_CATEGORY_BOOKMARKS); in bookmark_move_exec() local
1154 if (totitems < 2) { in bookmark_move_exec()
1163 new_index = totitems - 1; in bookmark_move_exec()
1168 new_index = (totitems + act_index + direction) % totitems; in bookmark_move_exec()
/dports/graphics/blender/blender-2.91.0/source/blender/editors/interface/
H A Dinterface.c4154 int totitems = 0; in ui_def_but_rna__menu() local
4157 for (const EnumPropertyItem *item = item_array; item->identifier; item++, totitems++) { in ui_def_but_rna__menu()
4180 int rows = totitems / columns; in ui_def_but_rna__menu()
4184 while (rows * columns < totitems) { in ui_def_but_rna__menu()
4206 for (int a = 0; a < totitems; a++) { in ui_def_but_rna__menu()
4211 column_end = totitems; in ui_def_but_rna__menu()
4213 for (int b = a + 1; b < totitems; b++) { in ui_def_but_rna__menu()
6783 int totitems; in UI_but_string_info_get() local
6971 RNA_property_enum_items_gettexted(C, ptr, prop, &items, &totitems, &free_items); in UI_but_string_info_get()
6972 for (i = 0, item = items; i < totitems; i++, item++) { in UI_but_string_info_get()
H A Dinterface_layout.c3792 int totitems = 0; in ui_litem_layout_radial() local
3808 totitems++; in ui_litem_layout_radial()
3811 if (totitems < 5) { in ui_litem_layout_radial()