Home
last modified time | relevance | path

Searched refs:count_items (Results 1 – 25 of 87) sorted by relevance

1234

/dports/x11-toolkits/mygui-ogre/mygui-MyGUI3.4.0/UnitTests/UnitTest_MultiList/
H A DUnitTest_MultiList.h21 size_t count_items; variable
38 count_items = 0; in UnitTest_MultiList()
125 count_items ++; in AddItem()
143 size_t index = count_items == 0 ? 0 : ((size_t)rand() % count_items); in InsertItem()
149 count_items ++; in InsertItem()
168 size_t index = count_items == 0 ? 0 : ((size_t)rand() % count_items); in RemoveItem()
173 count_items --; in RemoveItem()
192 size_t index1 = count_items == 0 ? 0 : ((size_t)rand() % count_items); in SwapItems()
193 size_t index2 = count_items == 0 ? 0 : ((size_t)rand() % count_items); in SwapItems()
266 count_items = 0; in RemoveAllItems()
[all …]
H A DUnitTest_List.h19 size_t count_items; variable
26 count_items = 0; in UnitTest_List()
40 for (size_t pos = 0; pos < count_items; ++pos) in checkList()
73 count_items ++; in AddItem()
89 size_t index = count_items == 0 ? 0 : ((size_t)rand() % count_items); in InsertItem()
95 count_items ++; in InsertItem()
111 if (count_items == 0) return; in RemoveItem()
113 size_t index = count_items == 0 ? 0 : ((size_t)rand() % count_items); in RemoveItem()
118 count_items --; in RemoveItem()
137 count_items = 0; in RemoveAllItems()
[all …]
/dports/x11-toolkits/mygui-opengl/mygui-MyGUI3.4.0/UnitTests/UnitTest_MultiList/
H A DUnitTest_MultiList.h21 size_t count_items; variable
38 count_items = 0; in UnitTest_MultiList()
125 count_items ++; in AddItem()
143 size_t index = count_items == 0 ? 0 : ((size_t)rand() % count_items); in InsertItem()
149 count_items ++; in InsertItem()
168 size_t index = count_items == 0 ? 0 : ((size_t)rand() % count_items); in RemoveItem()
173 count_items --; in RemoveItem()
192 size_t index1 = count_items == 0 ? 0 : ((size_t)rand() % count_items); in SwapItems()
193 size_t index2 = count_items == 0 ? 0 : ((size_t)rand() % count_items); in SwapItems()
266 count_items = 0; in RemoveAllItems()
[all …]
H A DUnitTest_List.h19 size_t count_items; variable
26 count_items = 0; in UnitTest_List()
40 for (size_t pos = 0; pos < count_items; ++pos) in checkList()
73 count_items ++; in AddItem()
89 size_t index = count_items == 0 ? 0 : ((size_t)rand() % count_items); in InsertItem()
95 count_items ++; in InsertItem()
111 if (count_items == 0) return; in RemoveItem()
113 size_t index = count_items == 0 ? 0 : ((size_t)rand() % count_items); in RemoveItem()
118 count_items --; in RemoveItem()
137 count_items = 0; in RemoveAllItems()
[all …]
/dports/x11-toolkits/mygui-dummy/mygui-MyGUI3.4.0/UnitTests/UnitTest_MultiList/
H A DUnitTest_MultiList.h21 size_t count_items; variable
38 count_items = 0; in UnitTest_MultiList()
125 count_items ++; in AddItem()
143 size_t index = count_items == 0 ? 0 : ((size_t)rand() % count_items); in InsertItem()
149 count_items ++; in InsertItem()
168 size_t index = count_items == 0 ? 0 : ((size_t)rand() % count_items); in RemoveItem()
173 count_items --; in RemoveItem()
192 size_t index1 = count_items == 0 ? 0 : ((size_t)rand() % count_items); in SwapItems()
193 size_t index2 = count_items == 0 ? 0 : ((size_t)rand() % count_items); in SwapItems()
266 count_items = 0; in RemoveAllItems()
[all …]
H A DUnitTest_List.h19 size_t count_items; variable
26 count_items = 0; in UnitTest_List()
40 for (size_t pos = 0; pos < count_items; ++pos) in checkList()
73 count_items ++; in AddItem()
89 size_t index = count_items == 0 ? 0 : ((size_t)rand() % count_items); in InsertItem()
95 count_items ++; in InsertItem()
111 if (count_items == 0) return; in RemoveItem()
113 size_t index = count_items == 0 ? 0 : ((size_t)rand() % count_items); in RemoveItem()
118 count_items --; in RemoveItem()
137 count_items = 0; in RemoveAllItems()
[all …]
/dports/x11-toolkits/mygui/mygui-MyGUI3.4.0/UnitTests/UnitTest_MultiList/
H A DUnitTest_MultiList.h21 size_t count_items; variable
38 count_items = 0; in UnitTest_MultiList()
125 count_items ++; in AddItem()
143 size_t index = count_items == 0 ? 0 : ((size_t)rand() % count_items); in InsertItem()
149 count_items ++; in InsertItem()
168 size_t index = count_items == 0 ? 0 : ((size_t)rand() % count_items); in RemoveItem()
173 count_items --; in RemoveItem()
192 size_t index1 = count_items == 0 ? 0 : ((size_t)rand() % count_items); in SwapItems()
193 size_t index2 = count_items == 0 ? 0 : ((size_t)rand() % count_items); in SwapItems()
266 count_items = 0; in RemoveAllItems()
[all …]
H A DUnitTest_List.h19 size_t count_items; variable
26 count_items = 0; in UnitTest_List()
40 for (size_t pos = 0; pos < count_items; ++pos) in checkList()
73 count_items ++; in AddItem()
89 size_t index = count_items == 0 ? 0 : ((size_t)rand() % count_items); in InsertItem()
95 count_items ++; in InsertItem()
111 if (count_items == 0) return; in RemoveItem()
113 size_t index = count_items == 0 ? 0 : ((size_t)rand() % count_items); in RemoveItem()
118 count_items --; in RemoveItem()
137 count_items = 0; in RemoveAllItems()
[all …]
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/tests/
H A Dvisitable_remove_test.cpp30 static int count_items( const T &src, const itype_id &id ) in count_items() function
93 REQUIRE( count_items( p, container_id ) == count );
94 REQUIRE( count_items( p, liquid_id ) == count );
102 REQUIRE( count_items( p, container_id ) == 0 );
105 REQUIRE( count_items( p, liquid_id ) == 0 );
154 REQUIRE( count_items( p, liquid_id ) == count );
323 REQUIRE( count_items( sel, container_id ) == count );
324 REQUIRE( count_items( sel, liquid_id ) == count );
326 REQUIRE( count_items( cur, container_id ) == our );
327 REQUIRE( count_items( cur, liquid_id ) == our );
[all …]
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/tests/
H A Dvisitable_remove_test.cpp30 static int count_items( const T &src, const itype_id &id ) in count_items() function
93 REQUIRE( count_items( p, container_id ) == count );
94 REQUIRE( count_items( p, liquid_id ) == count );
102 REQUIRE( count_items( p, container_id ) == 0 );
105 REQUIRE( count_items( p, liquid_id ) == 0 );
154 REQUIRE( count_items( p, liquid_id ) == count );
323 REQUIRE( count_items( sel, container_id ) == count );
324 REQUIRE( count_items( sel, liquid_id ) == count );
326 REQUIRE( count_items( cur, container_id ) == our );
327 REQUIRE( count_items( cur, liquid_id ) == our );
[all …]
/dports/games/fheroes2/fheroes2-0.9.11/src/tools/
H A Dextractor.cpp62 int count_items = sf1.getLE16(); in main() local
64 StreamBuf fats = sf1.toStreamBuf( count_items * 4 * 3 /* crc, offset, size */ ); in main()
65 sf1.seek( size - FATSIZENAME * count_items ); in main()
66 StreamBuf names = sf1.toStreamBuf( FATSIZENAME * count_items ); in main()
70 for ( int ii = 0; ii < count_items; ++ii ) { in main()
/dports/security/maia/maia_mailguard-7f20bd4/php/
H A Dwelcome.php273 $smarty->assign("spam_for_user", count_items($euid, "spam"));
274 $smarty->assign("virus_for_user", count_items($euid, "virus"));
275 $smarty->assign("spam_for_system", count_items(0, "spam"));
276 $smarty->assign("virus_for_system", count_items(0, "virus"));
/dports/textproc/kmflcomp/kmflcomp-0.9.9/src/
H A Dkmflcomp.c499 if(count_items(lhs) == 1) in new_rule()
502 gp->mrlen = count_items(rhs); in new_rule()
511 if(count_items(lhs) == 1) in new_rule()
514 gp->nmrlen = count_items(rhs); in new_rule()
528 rp->ilen = count_items(rp->lhs); in new_rule()
529 rp->olen = count_items(rp->rhs); in new_rule()
698 if((rp->ilen != count_items(rp->lhs)) || (rp->olen != count_items(rp->rhs))) in check_rule()
978 unsigned int count_items(ITEM *p) in count_items() function
992 n1 = count_items(s1); n2 = count_items(s2); in add_lists()
1065 n = count_items(p); in items_to_string()
[all …]
/dports/deskutils/nautilus-actions/nautilus-actions-3.2.4/src/nact/
H A Dnact-sort-buttons.c53 guint count_items; member
161 self->private->count_items = 0; in instance_init()
375 sort_buttons->private->count_items = menus_count + actions_count; in on_tree_view_count_changed()
377 sort_buttons->private->count_items += menus_count + actions_count; in on_tree_view_count_changed()
380 enable_buttons( sort_buttons, sort_buttons->private->count_items > 0 ); in on_tree_view_count_changed()
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/rspotify-macros-0.11.3/src/
H A Dlib.rs38 macro_rules! count_items { macro
79 $crate::count_items!($( $key ),*)
116 $crate::count_items!($( $key ),*)
/dports/editors/setzer/Setzer-0.4.1/setzer/workspace/build_log/
H A Dbuild_log_presenter.py51 num_errors = self.build_log.count_items('errors')
52 … num_others = self.build_log.count_items('warnings') + self.build_log.count_items('badboxes')
53 num_items = self.build_log.count_items('all')
H A Dbuild_log.py70 return self.count_items(types) > 0
72 def count_items(self, types='all'): member in BuildLog
/dports/multimedia/handbrake/ffmpeg-4.4/libavfilter/
H A Daf_chorus.c78 static void count_items(char *item_str, int *nb_items) in count_items() function
116 count_items(s->delays_str, &nb_delays); in init()
117 count_items(s->decays_str, &nb_decays); in init()
118 count_items(s->speeds_str, &nb_speeds); in init()
119 count_items(s->depths_str, &nb_depths); in init()
/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/libavfilter/
H A Daf_chorus.c78 static void count_items(char *item_str, int *nb_items) in count_items() function
116 count_items(s->delays_str, &nb_delays); in init()
117 count_items(s->decays_str, &nb_decays); in init()
118 count_items(s->speeds_str, &nb_speeds); in init()
119 count_items(s->depths_str, &nb_depths); in init()
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/libavfilter/
H A Daf_chorus.c78 static void count_items(char *item_str, int *nb_items) in count_items() function
116 count_items(s->delays_str, &nb_delays); in init()
117 count_items(s->decays_str, &nb_decays); in init()
118 count_items(s->speeds_str, &nb_speeds); in init()
119 count_items(s->depths_str, &nb_depths); in init()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/ffmpeg/libavfilter/
H A Daf_chorus.c78 static void count_items(char *item_str, int *nb_items) in count_items() function
116 count_items(s->delays_str, &nb_delays); in init()
117 count_items(s->decays_str, &nb_decays); in init()
118 count_items(s->speeds_str, &nb_speeds); in init()
119 count_items(s->depths_str, &nb_depths); in init()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/libavfilter/
H A Daf_chorus.c78 static void count_items(char *item_str, int *nb_items) in count_items() function
116 count_items(s->delays_str, &nb_delays); in init()
117 count_items(s->decays_str, &nb_decays); in init()
118 count_items(s->speeds_str, &nb_speeds); in init()
119 count_items(s->depths_str, &nb_depths); in init()
/dports/audio/rhythmbox/rhythmbox-3.4.4/sources/
H A Drb-display-page-menu.c137 count_items (RBDisplayPageMenu *menu, int upto) in count_items() function
255 index = count_items (menu, indices[depth-1]); in path_menu_index()
266 menu->priv->item_count = count_items (menu, G_MAXINT); in rebuild_menu()
325 if (count_items (menu, G_MAXINT) != menu->priv->item_count) { in row_deleted_cb()
/dports/audio/wavetral/wavetral-57290f2/
H A Dac_infile_mw2.cpp83 count_items(); // if item count is 0 it's not a valid file in open()
148 void Ac_infile_mw2::count_items() in count_items() function in JBS::Ac_infile_mw2
/dports/games/julius/julius-1.7.0/src/window/editor/
H A Dbuild_menu.c64 static int count_items(int submenu) in count_items() function
76 data.num_items = count_items(submenu); in init()

1234