Home
last modified time | relevance | path

Searched refs:option_t (Results 1 – 25 of 307) sorted by relevance

12345678910>>...13

/dports/devel/z88dk/z88dk/src/appmake/
H A Dappmake.h52 } option_t;
75 extern option_t c128_options;
81 extern option_t cpc_options;
87 extern option_t dai_options;
93 extern option_t fat_options;
99 extern option_t gal_options;
102 extern option_t gb_options;
126 extern option_t m5_options;
135 extern option_t mc_options;
150 extern option_t mz_options;
[all …]
/dports/print/cups-filters/cups-filters-1.28.10/filter/foomatic-rip/
H A Doptions.h108 } option_t; typedef
120 extern option_t *optionlist;
121 extern option_t *optionlist_sorted_by_order;
132 int option_is_composite(option_t *opt);
133 int option_is_ps_command(option_t *opt);
134 int option_is_jcl_arg(option_t *opt);
135 int option_is_commandline_arg(option_t *opt);
141 int option_is_in_section(option_t *opt, int section);
147 option_t *find_option(const char *name);
155 const char * option_get_value(option_t *opt, int optset);
[all …]
H A Doptions.c281 option_t *opt; in options_free()
323 option_t *opt; in option_count()
333 option_t *opt; in find_option()
878 option_t *dep; in composite_get_command()
986 option_t *dep; in composite_set_values()
1489 option_t *opt; in optionset_copy_values()
1504 option_t *opt; in optionset_delete_values()
1529 option_t *opt; in optionset_equal()
1892 option_t *opt; in ppd_supports_pdf()
1931 option_t *opt; in build_commandline()
[all …]
/dports/print/foomatic-filters/foomatic-filters-4.0.17/
H A Doptions.h108 } option_t; typedef
120 extern option_t *optionlist;
121 extern option_t *optionlist_sorted_by_order;
134 int option_is_composite(option_t *opt);
135 int option_is_ps_command(option_t *opt);
136 int option_is_jcl_arg(option_t *opt);
137 int option_is_commandline_arg(option_t *opt);
143 int option_is_in_section(option_t *opt, int section);
149 option_t *find_option(const char *name);
157 const char * option_get_value(option_t *opt, int optset);
[all …]
H A Doptions.c282 option_t *opt; in options_free()
324 option_t *opt; in option_count()
334 option_t *opt; in find_option()
879 option_t *dep; in composite_get_command()
983 option_t *dep; in composite_set_values()
1488 option_t *opt; in optionset_copy_values()
1503 option_t *opt; in optionset_delete_values()
1528 option_t *opt; in optionset_equal()
1899 option_t *opt; in ppd_supports_pdf()
1936 option_t *opt; in build_commandline()
[all …]
/dports/benchmarks/sysbench/sysbench-1.0.20/src/
H A Dsb_options.h82 } option_t; typedef
97 option_t *sb_find_option(const char *name);
116 int sb_opt_to_flag(option_t *);
118 int sb_opt_to_int(option_t *);
120 unsigned long long sb_opt_to_size(option_t *);
122 double sb_opt_to_double(option_t *);
124 char *sb_opt_to_string(option_t *);
126 sb_list_t *sb_opt_to_list(option_t *);
136 option_t *new_option(void);
146 option_t *add_option(sb_list_t *, const char *);
[all …]
H A Dsb_options.c132 option_t *opt; in set_option()
235 option_t *opt; in sb_get_value_flag()
271 option_t *opt; in sb_get_value_int()
363 option_t *opt; in sb_get_value_double()
390 option_t *opt; in sb_get_value_string()
421 option_t *opt; in sb_get_value_list()
459 option_t *new_option() in new_option()
461 option_t *newopt; in new_option()
463 newopt = (option_t *)malloc(sizeof(option_t)); in new_option()
536 option_t * option; in remove_option()
[all …]
/dports/games/dreamchess/dreamchess-0.3.0/dreamchess/src/include/
H A Doptions.h51 } option_t; typedef
63 option_t *option_group_add_option(option_group_t *group, const char *name);
66 void option_add_value(option_t *option, const char *name, void *data);
67 int option_select_value_by_name(option_t *option, const char *name);
68 int option_select_value_by_index(option_t *option, int index);
69 option_t *option_group_find_option(option_group_t *group, const char *name);
70 int option_select_next_value(option_t *option);
71 int option_select_prev_value(option_t *option);
72 void option_string_set_text(option_t *option, const char *text);
73 option_t *option_group_add_int(option_group_t *group, const char *name);
[all …]
/dports/games/dreamchess/dreamchess-0.3.0/dreamchess/src/
H A Doptions.c53 option_t *option = malloc(sizeof(option_t)); in option_group_add_option()
65 option_t *option = malloc(sizeof(option_t)); in option_group_add_int()
74 option_t *option = malloc(sizeof(option_t)); in option_group_add_string()
84 option_t *option; in option_group_save()
136 option_t *option; in option_cb()
191 int option_select_value_by_name(option_t *option, const char *name) { in option_select_value_by_name()
207 int option_select_value_by_index(option_t *option, int index) { in option_select_value_by_index()
223 int option_select_next_value(option_t *option) { in option_select_next_value()
234 int option_select_prev_value(option_t *option) { in option_select_prev_value()
247 option_t *option; in option_group_find_option()
[all …]
/dports/multimedia/mkvtoolnix/mkvtoolnix-65.0.0/src/common/
H A Dcli_parser.cpp27 parser_c::option_t::option_t() in option_t() function in mtx::cli::parser_c::option_t
32 parser_c::option_t::option_t(parser_c::option_t::option_type_e type, in option_t() function in mtx::cli::parser_c::option_t
42 parser_c::option_t::option_t(std::string name, in option_t() function in mtx::cli::parser_c::option_t
44 : m_type{parser_c::option_t::ot_informational_option} in option_t()
52 parser_c::option_t::option_t(std::string spec, in option_t() function in mtx::cli::parser_c::option_t
56 : m_type{parser_c::option_t::ot_option} in option_t()
66 parser_c::option_t::format_text() { in format_text()
71 …if ((parser_c::option_t::ot_option == m_type) || (parser_c::option_t::ot_informational_option == m… in format_text()
74 else if (parser_c::option_t::ot_section_header == m_type) in format_text()
160 m_options.emplace_back(parser_c::option_t::ot_section_header, title, indent); in add_section_header()
[all …]
H A Dcli_parser.h25 struct option_t { struct
40 option_t(); argument
41 option_t(option_type_e type, translatable_string_c description, int indent = INDENT_DEFAULT);
42option_t(std::string spec, translatable_string_c description, parser_cb_t callback, bool needs_arg…
43 option_t(std::string name, translatable_string_c description);
53 std::map<std::string, option_t> m_option_map;
54 std::vector<option_t> m_options;
/dports/devel/volk/volk-2.2.1/apps/
H A Dvolk-config-info.cc59 our_options.add(option_t("prefix", "", "print the VOLK installation prefix", volk_prefix())); in main()
60 our_options.add(option_t("cc", "", "print the VOLK C compiler version", volk_c_compiler())); in main()
61 our_options.add(option_t("cflags", "", "print the VOLK CFLAGS", volk_compiler_flags())); in main()
62 …our_options.add(option_t("all-machines", "", "print VOLK machines built", volk_available_machines(… in main()
63 our_options.add(option_t("avail-machines", "", "print VOLK machines on the current " in main()
65 our_options.add(option_t("machine", "", "print the current VOLK machine that will be used", in main()
67 our_options.add(option_t("alignment", "", "print the memory alignment", print_alignment)); in main()
68 our_options.add(option_t("malloc", "", "print the malloc implementation used in volk_malloc", in main()
70 our_options.add(option_t("version", "v", "print the VOLK version", volk_version())); in main()
H A Dvolk_option_helpers.cc17 option_t::option_t(std::string longform, std::string shortform, std::string msg, void (*callback)()) in option_t() function in option_t
23 option_t::option_t(std::string longform, std::string shortform, std::string msg, void (*callback)(i… in option_t() function in option_t
29 option_t::option_t(std::string longform, std::string shortform, std::string msg, void (*callback)(f… in option_t() function in option_t
35 option_t::option_t(std::string longform, std::string shortform, std::string msg, void (*callback)(b… in option_t() function in option_t
41 option_t::option_t(std::string longform, std::string shortform, std::string msg, void (*callback)(s… in option_t() function in option_t
47 option_t::option_t(std::string longform, std::string shortform, std::string msg, std::string printv… in option_t() function in option_t
60 internal_list = std::vector<option_t>(); in option_list()
64 void option_list::add(option_t opt) { internal_list.push_back(opt); } in add()
68 for (std::vector<option_t>::iterator this_option = internal_list.begin(); in parse()
164 for (std::vector<option_t>::iterator this_option = internal_list.begin(); in help()
H A Dvolk_option_helpers.h24 class option_t {
26 option_t(std::string longform, std::string shortform, std::string msg, void (*callback)());
27 option_t(std::string longform, std::string shortform, std::string msg, void (*callback)(int));
28 option_t(std::string longform, std::string shortform, std::string msg, void (*callback)(float));
29 option_t(std::string longform, std::string shortform, std::string msg, void (*callback)(bool));
30option_t(std::string longform, std::string shortform, std::string msg, void (*callback)(std::strin…
31 option_t(std::string longform, std::string shortform, std::string msg, std::string printval);
48 void add(option_t opt);
55 std::vector<option_t> internal_list;
/dports/games/xcowsay/xcowsay-1.5.1/src/
H A Dsettings.c41 } option_t; typedef
45 option_t opt;
78 static void assert_int(const option_t *opt) in assert_int()
86 static void assert_bool(const option_t *opt) in assert_bool()
96 option_t *opt = get_option(name); in get_int_option()
103 option_t *opt = get_option(name); in get_bool_option()
110 option_t *opt = get_option(name); in get_string_option()
117 option_t opt = { type, def, name }; in add_option()
147 option_t *opt = get_option(name); in set_int_option()
154 option_t *opt = get_option(name); in set_bool_option()
[all …]
/dports/finance/ledger/ledger-3.2.1/src/
H A Doption.h52 class option_t
61 option_t& operator=(const option_t&);
68 option_t(const char * _name, const char _ch = '\0')
75 option_t(const option_t& other) in option_t() function
84 TRACE_CTOR(option_t, "copy"); in option_t()
87 virtual ~option_t() { in ~option_t()
88 TRACE_DTOR(option_t); in ~option_t()
205 struct name ## option_t : public option_t<type>
208 name ## option_t() : option_t<type>(#name)
210 name ## option_t() : option_t<type>(#name), base
[all …]
/dports/devel/wf-config/wf-config-0.7.1/test/
H A Doption_test.cpp53 option_t<wf::keybinding_t> opt("test123", binding1);
81 CHECK(are_bounds_enabled<option_t<wf::keybinding_t>>::value == false);
82 CHECK(are_bounds_enabled<option_t<wf::buttonbinding_t>>::value == false);
83 CHECK(are_bounds_enabled<option_t<wf::touchgesture_t>>::value == false);
84 CHECK(are_bounds_enabled<option_t<std::string>>::value == false);
94 auto clone = std::static_pointer_cast<option_t<wf::keybinding_t>>(
113 option_t<int> iopt{"int123", 5};
141 option_t<double> dopt{"dbl123", -1.0};
167 CHECK(are_bounds_enabled<option_t<int>>::value);
168 CHECK(are_bounds_enabled<option_t<double>>::value);
[all …]
H A Dfile_test.cpp64 std::make_shared<option_t<int>>("option1", 10));
66 std::make_shared<option_t<int>>("option2", 5));
118 std::make_shared<option_t<std::string>>("test_nofile", ""));
223 auto special_opt = std::make_shared<option_t<int>>("hey_you", 1);
308 std::make_shared<wf::config::option_t<int>>("option1", 1));
365 CHECK(std::dynamic_pointer_cast<option_t<int>>(o1) != nullptr);
366 CHECK(std::dynamic_pointer_cast<option_t<std::string>>(o2) != nullptr);
367 CHECK(std::dynamic_pointer_cast<option_t<std::string>>(o3) != nullptr);
368 CHECK(std::dynamic_pointer_cast<option_t<std::string>>(o4) != nullptr);
369 CHECK(std::dynamic_pointer_cast<option_t<std::string>>(o5) != nullptr);
[all …]
/dports/games/gnuchess/gnuchess-6.2.9/src/engine/
H A Doption.cpp36 struct option_t { struct
47 static option_t Option[] = {
83 static option_t * option_find (const char var[]);
91 option_t * opt; in option_init()
102 option_t * opt; in option_list()
119 option_t * opt; in option_set()
136 option_t * opt; in option_get()
190 static option_t * option_find(const char var[]) { in option_find()
192 option_t * opt; in option_find()
/dports/games/scid/scid/engines/togaII1.2.1a/src/
H A Doption.cpp14 struct option_t { struct
25 static option_t Option[] = { argument
80 static option_t * option_find (const char var[]);
88 option_t * opt; in option_init()
99 option_t * opt; in option_list()
116 option_t * opt; in option_set()
133 option_t * opt; in option_get()
187 static option_t * option_find(const char var[]) { in option_find()
189 option_t * opt; in option_find()
/dports/x11/xstroke/xstroke-0.5.12/
H A Doption.h24 typedef struct option option_t; typedef
29 option_t *options;
33 int option_init(option_t *option, char *name, char *value);
34 void option_deinit(option_t *option);
39 int option_list_append(option_list_t *list, option_t *option);
H A Doption.c22 int option_init(option_t *option, char *name, char *value) in option_init()
30 void option_deinit(option_t *option) in option_deinit()
44 int option_list_append(option_list_t *list, option_t *option) in option_list_append()
46 option_t *new_options; in option_list_append()
50 new_options = realloc(list->options, list->num_options * sizeof(option_t)); in option_list_append()
/dports/games/scid/scid/src/polyglot/
H A Doption.cpp22 struct option_t { struct
29 static option_t Option[] = { argument
78 static option_t * option_find (const char var[]);
133 option_t * opt; in option_set()
150 static option_t * option_find(const char var[]) { in option_find()
152 option_t * opt; in option_find()
/dports/games/polyglot/polyglot-1.4.70b/
H A Doption.h44 } option_t; typedef
50 option_t options[OptionNb];
86 extern option_t * option_find (option_list_t *option, const char var[]);
88 extern void option_insert (option_list_t *option, option_t *new_option);
91 extern option_t * option_next (option_list_t *option);
93 extern void option_free (option_t *option);
/dports/games/gnuchess/gnuchess-6.2.9/src/adapter/
H A Doption.cpp40 struct option_t { struct
47 static option_t Option[] = {
97 static option_t * option_find (const char var[]);
167 option_t * opt; in option_set()
186 option_t * opt; in option_get()
253 static option_t * option_find(const char var[]) { in option_find()
255 option_t * opt; in option_find()

12345678910>>...13