Home
last modified time | relevance | path

Searched refs:vconfig (Results 1 – 25 of 178) sorted by relevance

12345678

/dports/games/wesnoth/wesnoth-1.14.17/src/
H A Dvariable.cpp71 vconfig::vconfig() : in vconfig() function in vconfig
91 vconfig::vconfig(const config &cfg, bool manage_memory) : in vconfig() function in vconfig
101 vconfig::~vconfig() in ~vconfig()
105 vconfig vconfig::empty_vconfig() in empty_vconfig()
116 vconfig vconfig::unconstructed_vconfig() in unconstructed_vconfig()
118 return vconfig(); in unconstructed_vconfig()
127 const vconfig& vconfig::make_safe() const in make_safe()
252 vconfig vconfig::child(const std::string& key) const in child()
421 vconfig vconfig::all_children_iterator::get_child() const in get_child()
445 vconfig::all_children_iterator vconfig::ordered_begin() const in ordered_begin()
[all …]
H A Dvariable.hpp42 class vconfig class
56 vconfig();
62 explicit vconfig(const config &cfg) : cache_(), cfg_(&cfg) {} in vconfig() function in vconfig
64 vconfig(const config &cfg, bool manage_memory);
65 ~vconfig();
78 typedef std::vector<vconfig> child_list;
81 vconfig child(const std::string& key) const;
139 typedef const std::pair<std::string, vconfig> value_type;
157 vconfig get_child() const;
204 struct vconfig::attribute_iterator::pointer_proxy
[all …]
H A Dpersist_var.hpp17 class vconfig;
19 void verify_and_set_global_variable(const vconfig &pcfg);
20 void verify_and_get_global_variable(const vconfig &pcfg);
21 void verify_and_clear_global_variable(const vconfig &pcfg);
H A Dside_filter.cpp42 side_filter::side_filter(const vconfig& cfg, const filter_context * fc, bool flat_tod) in side_filter()
51 : cfg_(vconfig::empty_vconfig()), flat_(flat_tod), side_string_(side_string), fc_(fc) in side_filter()
125 const vconfig & ufilt_cfg = cfg_.child("has_unit"); in match_internal()
154 const vconfig& enemy_of = cfg_.child("enemy_of"); in match_internal()
166 const vconfig& allied_with = cfg_.child("allied_with"); in match_internal()
178 const vconfig& has_enemy = cfg_.child("has_enemy"); in match_internal()
194 const vconfig& has_ally = cfg_.child("has_ally"); in match_internal()
260 vconfig::all_children_iterator cond = cfg_.ordered_begin(); in match()
261 vconfig::all_children_iterator cond_end = cfg_.ordered_end(); in match()
264 const vconfig& cond_cfg = cond.get_child(); in match()
/dports/net/ocserv/ocserv-1.1.3/src/
H A Dvhost.h103 # define GETVHOST(s) default_vhost((s)->vconfig)
107 inline static vhost_cfg_st *default_vhost(struct list_head *vconfig) in default_vhost() argument
109 return list_tail(vconfig, struct vhost_cfg_st, list); in default_vhost()
115 #define HAVE_VHOSTS(s) (list_tail(s->vconfig, struct vhost_cfg_st, list) == list_top(s->vconfig, st…
120 inline static vhost_cfg_st *find_vhost(struct list_head *vconfig, const char *name) in find_vhost() argument
124 return default_vhost(vconfig); in find_vhost()
126 list_for_each(vconfig, vhost, list) { in find_vhost()
131 return default_vhost(vconfig); in find_vhost()
/dports/games/wesnoth/wesnoth-1.14.17/src/game_events/
H A Dconditional_wml.hpp24 class vconfig;
29 bool conditional_passed(const vconfig& cond);
30 bool matches_special_filter(const config &cfg, const vconfig& filter);
33 bool have_unit(const vconfig& cfg);
34 bool have_location(const vconfig& cfg);
35 bool variable_matches(const vconfig& cfg);
H A Dconditional_wml.cpp47 bool have_unit(const vconfig& cfg) in have_unit()
84 bool have_location(const vconfig& cfg) in have_location()
94 bool variable_matches(const vconfig& values) in variable_matches()
146 bool internal_conditional_passed(const vconfig& cond) in internal_conditional_passed()
155 vconfig::all_children_iterator cond_end = cond.ordered_end(); in internal_conditional_passed()
159 for(vconfig::all_children_iterator it = cond.ordered_begin(); it != cond_end; ++it) { in internal_conditional_passed()
177 bool conditional_passed(const vconfig& cond) in conditional_passed()
182 vconfig::all_children_iterator cond_i = cond.ordered_begin(); in conditional_passed()
183 vconfig::all_children_iterator cond_end = cond.ordered_end(); in conditional_passed()
187 const vconfig& cond_filter = cond_i.get_child(); in conditional_passed()
[all …]
H A Dmenu_item.hpp48 wml_menu_item(const std::string& id, const vconfig& definition);
58 wml_menu_item(const std::string& id, const vconfig& definition, const wml_menu_item& original);
135 void update(const vconfig& vcfg);
165 vconfig show_if_;
173 vconfig filter_location_;
H A Dmenu_item.cpp97 wml_menu_item::wml_menu_item(const std::string& id, const vconfig& definition) in wml_menu_item()
104 , show_if_(vconfig::empty_vconfig()) in wml_menu_item()
105 , filter_location_(vconfig::empty_vconfig()) in wml_menu_item()
121 wml_menu_item::wml_menu_item(const std::string& id, const vconfig& definition, const wml_menu_item&… in wml_menu_item()
269 void wml_menu_item::update(const vconfig& vcfg) in update()
301 if(const vconfig& child = vcfg.child("show_if")) { in update()
306 if(const vconfig& child = vcfg.child("filter_location")) { in update()
311 if(const vconfig& child = vcfg.child("default_hotkey")) { in update()
323 if(const vconfig& cmd = vcfg.child("command")) { in update()
/dports/multimedia/libv4l/linux-5.13-rc2/samples/vfio-mdev/
H A Dmtty.c134 u8 *vconfig; member
185 mdev_state->vconfig[0x8] = 0x10; in mtty_create_config_space()
188 mdev_state->vconfig[0x9] = 0x02; in mtty_create_config_space()
191 mdev_state->vconfig[0xa] = 0x00; in mtty_create_config_space()
194 mdev_state->vconfig[0xb] = 0x07; in mtty_create_config_space()
214 mdev_state->vconfig[0x40] = 0x23; in mtty_create_config_space()
215 mdev_state->vconfig[0x43] = 0x80; in mtty_create_config_space()
216 mdev_state->vconfig[0x44] = 0x23; in mtty_create_config_space()
217 mdev_state->vconfig[0x48] = 0x23; in mtty_create_config_space()
218 mdev_state->vconfig[0x4c] = 0x23; in mtty_create_config_space()
[all …]
H A Dmdpy.c91 u8 *vconfig; member
104 STORE_LE16((u16 *) &mdev_state->vconfig[PCI_VENDOR_ID], in mdpy_create_config_space()
113 STORE_LE16((u16 *) &mdev_state->vconfig[PCI_COMMAND], in mdpy_create_config_space()
115 STORE_LE16((u16 *) &mdev_state->vconfig[PCI_STATUS], in mdpy_create_config_space()
119 mdev_state->vconfig[PCI_CLASS_REVISION] = 0x01; in mdpy_create_config_space()
158 cfg_addr |= (mdev_state->vconfig[offset] & in handle_pci_cfg_write()
160 STORE_LE32(&mdev_state->vconfig[offset], cfg_addr); in handle_pci_cfg_write()
178 memcpy(buf, (mdev_state->vconfig + pos), count); in mdev_access()
235 if (mdev_state->vconfig == NULL) { in mdpy_create()
244 kfree(mdev_state->vconfig); in mdpy_create()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/samples/vfio-mdev/
H A Dmtty.c134 u8 *vconfig; member
185 mdev_state->vconfig[0x8] = 0x10; in mtty_create_config_space()
188 mdev_state->vconfig[0x9] = 0x02; in mtty_create_config_space()
191 mdev_state->vconfig[0xa] = 0x00; in mtty_create_config_space()
194 mdev_state->vconfig[0xb] = 0x07; in mtty_create_config_space()
214 mdev_state->vconfig[0x40] = 0x23; in mtty_create_config_space()
215 mdev_state->vconfig[0x43] = 0x80; in mtty_create_config_space()
216 mdev_state->vconfig[0x44] = 0x23; in mtty_create_config_space()
217 mdev_state->vconfig[0x48] = 0x23; in mtty_create_config_space()
218 mdev_state->vconfig[0x4c] = 0x23; in mtty_create_config_space()
[all …]
H A Dmdpy.c91 u8 *vconfig; member
104 STORE_LE16((u16 *) &mdev_state->vconfig[PCI_VENDOR_ID], in mdpy_create_config_space()
113 STORE_LE16((u16 *) &mdev_state->vconfig[PCI_COMMAND], in mdpy_create_config_space()
115 STORE_LE16((u16 *) &mdev_state->vconfig[PCI_STATUS], in mdpy_create_config_space()
119 mdev_state->vconfig[PCI_CLASS_REVISION] = 0x01; in mdpy_create_config_space()
158 cfg_addr |= (mdev_state->vconfig[offset] & in handle_pci_cfg_write()
160 STORE_LE32(&mdev_state->vconfig[offset], cfg_addr); in handle_pci_cfg_write()
178 memcpy(buf, (mdev_state->vconfig + pos), count); in mdev_access()
235 if (mdev_state->vconfig == NULL) { in mdpy_create()
244 kfree(mdev_state->vconfig); in mdpy_create()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/samples/vfio-mdev/
H A Dmtty.c134 u8 *vconfig; member
185 mdev_state->vconfig[0x8] = 0x10; in mtty_create_config_space()
188 mdev_state->vconfig[0x9] = 0x02; in mtty_create_config_space()
191 mdev_state->vconfig[0xa] = 0x00; in mtty_create_config_space()
194 mdev_state->vconfig[0xb] = 0x07; in mtty_create_config_space()
214 mdev_state->vconfig[0x40] = 0x23; in mtty_create_config_space()
215 mdev_state->vconfig[0x43] = 0x80; in mtty_create_config_space()
216 mdev_state->vconfig[0x44] = 0x23; in mtty_create_config_space()
217 mdev_state->vconfig[0x48] = 0x23; in mtty_create_config_space()
218 mdev_state->vconfig[0x4c] = 0x23; in mtty_create_config_space()
[all …]
H A Dmdpy.c91 u8 *vconfig; member
104 STORE_LE16((u16 *) &mdev_state->vconfig[PCI_VENDOR_ID], in mdpy_create_config_space()
113 STORE_LE16((u16 *) &mdev_state->vconfig[PCI_COMMAND], in mdpy_create_config_space()
115 STORE_LE16((u16 *) &mdev_state->vconfig[PCI_STATUS], in mdpy_create_config_space()
119 mdev_state->vconfig[PCI_CLASS_REVISION] = 0x01; in mdpy_create_config_space()
158 cfg_addr |= (mdev_state->vconfig[offset] & in handle_pci_cfg_write()
160 STORE_LE32(&mdev_state->vconfig[offset], cfg_addr); in handle_pci_cfg_write()
178 memcpy(buf, (mdev_state->vconfig + pos), count); in mdev_access()
235 if (mdev_state->vconfig == NULL) { in mdpy_create()
244 kfree(mdev_state->vconfig); in mdpy_create()
[all …]
/dports/games/wesnoth/wesnoth-1.14.17/src/scripting/
H A Dlua_common.cpp196 vconfig *v = static_cast<vconfig *>(lua_touserdata(L, 1)); in impl_vconfig_get()
263 vconfig *v = static_cast<vconfig *>(lua_touserdata(L, 1)); in impl_vconfig_size()
274 vconfig *v = static_cast<vconfig *>(lua_touserdata(L, 1)); in impl_vconfig_collect()
275 v->~vconfig(); in impl_vconfig_collect()
499 new(L) vconfig(cfg); in luaW_pushvconfig()
652 vconfig dummy_vcfg = vconfig::unconstructed_vconfig(); in luaW_tolocation()
727 if (vconfig * ptr = static_cast<vconfig *> (luaL_testudata(L, index, vconfigKey))) { in luaW_toconfig()
799 vcfg = static_cast<vconfig*>(p); in luaW_checkconfig()
813 vcfg = vconfig(std::move(cfg)); in luaW_tovconfig()
817 if (vconfig * ptr = static_cast<vconfig *> (luaL_testudata(L, index, vconfigKey))) { in luaW_tovconfig()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/vfio/pci/
H A Dvfio_pci_config.c262 memcpy(val, vdev->vconfig + pos, in vfio_direct_config_read()
1675 u8 *map, *vconfig; in vfio_config_init() local
1689 if (!vconfig) { in vfio_config_init()
1695 vdev->vconfig = vconfig; in vfio_config_init()
1735 if (vconfig[PCI_INTERRUPT_PIN] && in vfio_config_init()
1739 vconfig[PCI_INTERRUPT_PIN]); in vfio_config_init()
1756 vconfig[PCI_INTERRUPT_PIN] = 0; in vfio_config_init()
1771 kfree(vconfig); in vfio_config_init()
1772 vdev->vconfig = NULL; in vfio_config_init()
1778 kfree(vdev->vconfig); in vfio_config_free()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/vfio/pci/
H A Dvfio_pci_config.c262 memcpy(val, vdev->vconfig + pos, in vfio_direct_config_read()
1675 u8 *map, *vconfig; in vfio_config_init() local
1689 if (!vconfig) { in vfio_config_init()
1695 vdev->vconfig = vconfig; in vfio_config_init()
1735 if (vconfig[PCI_INTERRUPT_PIN] && in vfio_config_init()
1739 vconfig[PCI_INTERRUPT_PIN]); in vfio_config_init()
1756 vconfig[PCI_INTERRUPT_PIN] = 0; in vfio_config_init()
1771 kfree(vconfig); in vfio_config_init()
1772 vdev->vconfig = NULL; in vfio_config_init()
1778 kfree(vdev->vconfig); in vfio_config_free()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/vfio/pci/
H A Dvfio_pci_config.c262 memcpy(val, vdev->vconfig + pos, in vfio_direct_config_read()
1675 u8 *map, *vconfig; in vfio_config_init() local
1689 if (!vconfig) { in vfio_config_init()
1695 vdev->vconfig = vconfig; in vfio_config_init()
1735 if (vconfig[PCI_INTERRUPT_PIN] && in vfio_config_init()
1739 vconfig[PCI_INTERRUPT_PIN]); in vfio_config_init()
1756 vconfig[PCI_INTERRUPT_PIN] = 0; in vfio_config_init()
1771 kfree(vconfig); in vfio_config_init()
1772 vdev->vconfig = NULL; in vfio_config_init()
1778 kfree(vdev->vconfig); in vfio_config_free()
[all …]
/dports/games/wesnoth/wesnoth-1.14.17/src/storyscreen/
H A Dparser.cpp29 void story_parser::resolve_wml(const vconfig& cfg) in resolve_wml()
32 for(vconfig::all_children_iterator i = cfg.ordered_begin(); i != cfg.ordered_end(); ++i) { in resolve_wml()
35 const vconfig node = i->second; in resolve_wml()
54 vconfig::child_list elseif_children = node.get_children("elseif"); in resolve_wml()
81 for(vconfig::all_children_iterator j = node.ordered_begin(); j != node.ordered_end(); ++j) { in resolve_wml()
95 for(vconfig::all_children_iterator j = node.ordered_begin(); j != node.ordered_end(); ++j) { in resolve_wml()
H A Dparser.hpp19 class vconfig;
37 virtual void resolve_wml(const vconfig& cfg);
43 virtual bool resolve_wml_helper(const std::string& key, const vconfig& node) = 0;
/dports/games/wesnoth/wesnoth-1.14.17/src/units/
H A Dfilter.hpp42 class vconfig;
78 unit_filter_compound(vconfig cfg);
83 void create_child(const vconfig& c, F func);
85 void fill(vconfig cfg);
99 explicit unit_filter(vconfig cfg);
191 vconfig cfg_;
/dports/dns/bind911/bind-9.11.37/bin/check/
H A Dnamed-checkconf.c167 const cfg_obj_t *zconfig, const cfg_obj_t *vconfig, in configure_zone() argument
200 if (vconfig != NULL) in configure_zone()
201 maps[i++] = cfg_tuple_get(vconfig, "options"); in configure_zone()
421 const cfg_obj_t *vconfig, isc_mem_t *mctx) in configure_view() argument
430 if (vconfig != NULL) in configure_view()
431 voptions = cfg_tuple_get(vconfig, "options"); in configure_view()
444 tresult = configure_zone(vclass, view, zconfig, vconfig, in configure_view()
472 const cfg_obj_t *vconfig; in load_zones_fromconfig() local
488 vconfig = cfg_listelt_value(element); in load_zones_fromconfig()
489 if (vconfig == NULL) in load_zones_fromconfig()
[all …]
/dports/dns/bind-tools/bind-9.16.27/bin/check/
H A Dnamed-checkconf.c181 const cfg_obj_t *vconfig, const cfg_obj_t *config, in configure_zone() argument
214 if (vconfig != NULL) { in configure_zone()
215 maps[i++] = cfg_tuple_get(vconfig, "options"); in configure_zone()
473 if (vconfig != NULL) { in configure_view()
474 voptions = cfg_tuple_get(vconfig, "options"); in configure_view()
517 const cfg_obj_t *vconfig; in load_zones_fromconfig() local
532 vconfig = cfg_listelt_value(element); in load_zones_fromconfig()
533 if (vconfig == NULL) { in load_zones_fromconfig()
537 classobj = cfg_tuple_get(vconfig, "class"); in load_zones_fromconfig()
549 vname = cfg_obj_asstring(cfg_tuple_get(vconfig, "name")); in load_zones_fromconfig()
[all …]
/dports/dns/bind916/bind-9.16.27/bin/check/
H A Dnamed-checkconf.c181 const cfg_obj_t *vconfig, const cfg_obj_t *config, in configure_zone() argument
214 if (vconfig != NULL) { in configure_zone()
215 maps[i++] = cfg_tuple_get(vconfig, "options"); in configure_zone()
473 if (vconfig != NULL) { in configure_view()
474 voptions = cfg_tuple_get(vconfig, "options"); in configure_view()
517 const cfg_obj_t *vconfig; in load_zones_fromconfig() local
532 vconfig = cfg_listelt_value(element); in load_zones_fromconfig()
533 if (vconfig == NULL) { in load_zones_fromconfig()
537 classobj = cfg_tuple_get(vconfig, "class"); in load_zones_fromconfig()
549 vname = cfg_obj_asstring(cfg_tuple_get(vconfig, "name")); in load_zones_fromconfig()
[all …]

12345678