Home
last modified time | relevance | path

Searched refs:active_items (Results 1 – 25 of 33) sorted by relevance

12

/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/
H A Dactive_item_cache.cpp11 active_items[it->processing_speed()].remove_if( [it]( const item_reference & active_item ) { in remove()
33 std::list<item_reference> &target_list = active_items[it.processing_speed()]; in add()
51 return std::all_of( active_items.begin(), active_items.end(), []( const auto & active_queue ) { in empty()
59 for( std::pair<const int, std::list<item_reference>> &kv : active_items ) { in get()
75 for( std::pair<const int, std::list<item_reference>> &kv : active_items ) { in get_for_processing()
107 for( std::pair<const int, std::list<item_reference>> &pair : active_items ) { in subtract_locations()
116 for( std::pair<const int, std::list<item_reference>> &pair : active_items ) { in rotate_locations()
H A Dactive_item_cache.h40 std::unordered_map<int, std::list<item_reference>> active_items;
H A Dinventory.h200 std::vector<item *> active_items();
H A Dsubmap.cpp264 active_items.rotate_locations( turns, { SEEX, SEEY } ); in rotate()
H A Dsubmap.h237 active_item_cache active_items; variable
H A Dvisitable.cpp639 sub->active_items.remove( &*iter ); in remove_items_with()
698 veh.active_items.remove( &*iter ); in remove_items_with()
H A Dmap.cpp4214 current_submap->active_items.remove( &*it ); in i_rem()
4215 if( current_submap->active_items.empty() ) { in i_rem()
4244 current_submap->active_items.remove( &it ); in i_clear()
4246 if( current_submap->active_items.empty() ) { in i_clear()
4494 if( current_submap->active_items.empty() ) { in add_item()
4575 if( current_submap->active_items.empty() ) { in make_active()
4579 current_submap->active_items.add( *iter, l ); in make_active()
4770 if( !current_submap->active_items.empty() ) { in process_items()
4781 std::vector<item_reference> active_items = current_submap.active_items.get_for_processing(); in process_items_in_submap() local
5607 if( current_submap->active_items.empty() ) { in update_submap_active_item_status()
[all …]
H A Dinventory.cpp928 std::vector<item *> inventory::active_items() in active_items() function in inventory
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/
H A Dactive_item_cache.cpp11 active_items[it->processing_speed()].remove_if( [it]( const item_reference & active_item ) { in remove()
33 std::list<item_reference> &target_list = active_items[it.processing_speed()]; in add()
51 return std::all_of( active_items.begin(), active_items.end(), []( const auto & active_queue ) { in empty()
59 for( std::pair<const int, std::list<item_reference>> &kv : active_items ) { in get()
75 for( std::pair<const int, std::list<item_reference>> &kv : active_items ) { in get_for_processing()
107 for( std::pair<const int, std::list<item_reference>> &pair : active_items ) { in subtract_locations()
116 for( std::pair<const int, std::list<item_reference>> &pair : active_items ) { in rotate_locations()
H A Dactive_item_cache.h40 std::unordered_map<int, std::list<item_reference>> active_items;
H A Dinventory.h200 std::vector<item *> active_items();
H A Dsubmap.h237 active_item_cache active_items; variable
H A Dsubmap.cpp264 active_items.rotate_locations( turns, { SEEX, SEEY } ); in rotate()
H A Dvisitable.cpp639 sub->active_items.remove( &*iter ); in remove_items_with()
698 veh.active_items.remove( &*iter ); in remove_items_with()
H A Dmap.cpp4214 current_submap->active_items.remove( &*it ); in i_rem()
4215 if( current_submap->active_items.empty() ) { in i_rem()
4244 current_submap->active_items.remove( &it ); in i_clear()
4246 if( current_submap->active_items.empty() ) { in i_clear()
4494 if( current_submap->active_items.empty() ) { in add_item()
4575 if( current_submap->active_items.empty() ) { in make_active()
4579 current_submap->active_items.add( *iter, l ); in make_active()
4770 if( !current_submap->active_items.empty() ) { in process_items()
4781 std::vector<item_reference> active_items = current_submap.active_items.get_for_processing(); in process_items_in_submap() local
5607 if( current_submap->active_items.empty() ) { in update_submap_active_item_status()
[all …]
H A Dinventory.cpp928 std::vector<item *> inventory::active_items() in active_items() function in inventory
/dports/www/epiphany/epiphany-41.0/src/preferences/
H A Dclear-data-view.c98 int active_items; in website_data_fetched_cb() local
117 active_items = g_settings_get_int (EPHY_SETTINGS_MAIN, EPHY_PREFS_ACTIVE_CLEAR_DATA_ITEMS); in website_data_fetched_cb()
126 ACTIVE_COLUMN, active_items & data_entries[i].id, in website_data_fetched_cb()
139 ACTIVE_COLUMN, active_items & data_entries[i].id, in website_data_fetched_cb()
293 int active_items; in item_toggled_cb() local
295 active_items = g_settings_get_int (EPHY_SETTINGS_MAIN, EPHY_PREFS_ACTIVE_CLEAR_DATA_ITEMS); in item_toggled_cb()
303 active_items &= ~data_entries[i].id; in item_toggled_cb()
305 active_items |= data_entries[i].id; in item_toggled_cb()
311 g_settings_set_int (EPHY_SETTINGS_MAIN, EPHY_PREFS_ACTIVE_CLEAR_DATA_ITEMS, active_items); in item_toggled_cb()
/dports/x11/cinnamon/cinnamon-4.8.6/files/usr/local/share/cinnamon/cinnamon-settings/modules/
H A Dcs_default.py257 self.active_items = []
271 …ot None and icon_val is not None and not "gksu" in exec_val and exec_val not in self.active_items):
273 self.active_items.append(exec_val)
280 command_key = self.active_items[index_num]
288 self.active_items = []
313 self.active_items.append(exec_val)
320 command_key = self.active_items[index_num]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/cocoa/
H A Dtab_menu_bridge_unittest.mm147 std::vector<std::string> active_items;
152 active_items.push_back(base::SysNSStringToUTF8(item.title));
155 ASSERT_EQ(active_items.size(), 1u);
156 EXPECT_EQ(name, active_items[0]);
/dports/graphics/gimp-app/gimp-2.10.30/app/widgets/
H A Dgimpdatafactoryview.c526 GList *active_items = NULL; in gimp_data_factory_view_select_item() local
528 gimp_container_view_get_selected (container_view, &active_items); in gimp_data_factory_view_select_item()
530 active_items); in gimp_data_factory_view_select_item()
531 g_list_free (active_items); in gimp_data_factory_view_select_item()
/dports/www/ilias/ILIAS-5.4.25/Modules/WebResource/classes/
H A Dclass.ilLinkResourceItems.php568 $active_items[$id] = $item_data;
571 return $active_items ? $active_items : array();
/dports/www/ilias6/ILIAS-6.14/Modules/WebResource/classes/
H A Dclass.ilLinkResourceItems.php568 $active_items[$id] = $item_data;
571 return $active_items ? $active_items : array();
/dports/comms/gnuradio/gnuradio-3.8.4.0/gr-dtv/lib/dvbt2/
H A Ddvbt2_pilotgenerator_cc_impl.h51 int active_items;
H A Ddvbt2_pilotgenerator_cc_impl.cc1082 active_items = (N_P2 * C_P2) + (numdatasyms * C_DATA); in dvbt2_pilotgenerator_cc_impl()
1084 active_items = (N_P2 * C_P2) + ((numdatasyms - 1) * C_DATA) + N_FC; in dvbt2_pilotgenerator_cc_impl()
1172 ninput_items_required[0] = active_items * (noutput_items / num_symbols); in forecast()
2729 consume_each(active_items); in general_work()
/dports/sysutils/racktables/RackTables-0.21.5/wwwroot/inc/
H A Dinterface-config.php1255 $active_items = explode (',', getConfigVar ('QUICK_LINK_PAGES'));
1268 $checked_state = in_array ($ypageno, $active_items) ? 'checked' : '';

12