Home
last modified time | relevance | path

Searched refs:option_class (Results 1 – 25 of 198) sorted by relevance

12345678

/dports/print/trueprint/trueprint-5.4/src/
H A Doptions.h10 typedef enum option_class { enum
17 } option_class; typedef
41 option_class class,
47 option_class class,
57 option_class class,
66 option_class class,
76 option_class class,
86 option_class class,
96 option_class class,
105 option_class class,
[all …]
H A Doptions.c63 option_class class;
353 option_class class, in noparm_option()
411 option_class class, in optional_string_option()
465 option_class class, in boolean_option()
535 option_class class, in choice_option()
602 option_class class, in char_option()
657 option_class class, in short_option()
727 option_class class, in int_option()
795 option_class class, in string_option()
849 option_class class, in flag_string_option()
[all …]
/dports/science/gramps/gramps-5.1.4/gramps/cli/plug/
H A D__init__.py244 self.option_class = option_class(name, database)
248 menu = self.option_class.menu
257 menu = self.option_class.menu
263 self.option_class.load_previous_values()
375 menu = self.option_class.menu
387 menu = self.option_class.menu
477 menu = self.option_class.menu
693 clr.option_class,
799 menu = item.option_class.menu
805 item.option_class.set_document(doc)
[all …]
/dports/net/ryu/ryu-4.26/ryu/lib/packet/
H A Dgeneve.py131 def __init__(self, option_class=None, type_=None, length=0): argument
133 if option_class is None or type_ is None:
134 (option_class, type_) = self._rev_lookup_type(self.__class__)
135 self.option_class = option_class
150 (option_class, type_,
155 subcls = Option._lookup_type((option_class, type_))
158 subcls(option_class=option_class, type_=type_, length=length,
169 return (struct.pack(self._OPTION_PACK_STR, int(self.option_class),
179 def __init__(self, buf, option_class=None, type_=None, length=0): argument
180 super(OptionDataUnknown, self).__init__(option_class=option_class,
/dports/databases/arrow/apache-arrow-6.0.1/python/pyarrow/
H A Dcompute.py133 if option_class is not None:
137 """.format(option_class.__name__))
138 options_sig = inspect.signature(option_class)
144 """.format(p.name, option_class.__name__))
165 return option_class(**kwargs)
173 return option_class(**options)
174 elif isinstance(options, option_class):
184 if option_class is None:
204 if option_class is not None:
207 options_sig = inspect.signature(option_class)
[all …]
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/arrow/python/pyarrow/
H A Dcompute.py76 def _decorate_compute_function(wrapper, exposed_name, func, option_class): argument
121 if option_class is not None:
128 """.format(option_class.__name__))
146 def _handle_options(name, option_class, options, kwargs): argument
149 return option_class(**kwargs)
157 return option_class(**options)
158 elif isinstance(options, option_class):
162 .format(name, option_class, type(options)))
186 option_class = _get_options_class(func)
194 if option_class is not None:
[all …]
/dports/science/gramps/gramps-5.1.4/gramps/gui/plug/
H A Dtool.py157 def __init__(self, database, name, category, option_class, options_str_dict, argument
161 self.option_class = option_class(name)
162 self.option_class.load_previous_values()
177 for key in self.option_class.handler.options_dict:
179 self.options_dict[key] = self.option_class.handler.options_dict[key]
182 for key in self.option_class.options_help:
184 self.options_help[key] = self.option_class.options_help[key]
193 self.option_class.handler.options_dict[opt] = self.options_dict[opt]
264 clt.option_class.saved_options_dict = clt.options_dict
276 options_class = clt.option_class, name = name, callback = None)
/dports/science/gramps/gramps-5.1.4/gramps/gui/plug/report/
H A D_bookdialog.py475 menu = item.option_class.menu
505 data[2] = item.option_class.get_subject()
569 option_class = item.option_class
815 option_class = item.option_class
820 self.option_class = option_class
843 def init_options(self, option_class): argument
845 if issubclass(option_class, object):
848 self.options = option_class
1048 def init_options(self, option_class): argument
1050 if issubclass(option_class, object):
[all …]
H A D_webreportdialog.py41 def __init__(self, dbstate, uistate, option_class, name, trans_name): argument
44 ReportDialog.__init__(self, dbstate, uistate, option_class,
H A D_reportdialog.py88 def __init__(self, dbstate, uistate, option_class, name, trans_name, argument
103 self.init_options(option_class)
130 def init_options(self, option_class): argument
132 if issubclass(option_class, object):
133 self.options = option_class(self.raw_name, self.db)
135 self.options = option_class
631 def init_doc_options(self, option_class): argument
633 if issubclass(option_class, object):
634 self.doc_options = option_class(self.raw_name, self.db)
636 self.doc_options = option_class
H A D_graphreportdialog.py126 def init_options(self, option_class): argument
128 if issubclass(option_class, object): # Old-style class
129 self.options = option_class(self.raw_name,
132 self.options = option_class
/dports/science/gramps/gramps-5.1.4/gramps/gen/plug/report/
H A D_book.py106 self.option_class = oclass(self.name, self.dbase)
107 self.option_class.load_previous_values()
187 orig_opt_dict = item.option_class.handler.options_dict
188 new_opt_dict = new_item.option_class.handler.options_dict
189 menu = new_item.option_class.menu
511 options = item.option_class.handler.options_dict
690 self.item.option_class.handler.options_dict.update(self.option)
719 ihandler = item.option_class.handler
724 make_default_style = item.option_class.make_default_style
/dports/net/py-pyroute2.protocols/pyroute2.protocols-0.6.5/pr2modules/dhcp/
H A D__init__.py240 option_class = getattr(self, self._decode_map[code]['format'])
241 option = option_class(buf=self.buf, offset=self.offset)
273 option_class = getattr(self, fmt)
275 option = option_class(value,
278 option = option_class(code=self._encode_map[name]['code'],
/dports/devel/tcllib/tcllib-1.20/modules/tool/build/
H A Doption.tcl18 foreach {f v} [::oo::meta::info $class getnull option_class $optclass] {
44 ::oo::meta::info $class branchset option_class $name $dictargs
51 option_class organ {
57 option_class variable {
/dports/devel/tcllibc/tcllib-1.20/modules/tool/build/
H A Doption.tcl18 foreach {f v} [::oo::meta::info $class getnull option_class $optclass] {
44 ::oo::meta::info $class branchset option_class $name $dictargs
51 option_class organ {
57 option_class variable {
/dports/emulators/xbraitenberg/xbraitenberg-0.9/
H A Dclp.c73 unsigned char option_class[256]; member
236 cli->option_class[i] = 0; in Clp_NewParser()
237 cli->option_class['-'] = Clp_Short; in Clp_NewParser()
344 cli->option_class[i] = option_type; in Clp_SetOptionChar()
346 cli->option_class[c] = option_type; in Clp_SetOptionChar()
862 int option_class; in next_argument() local
904 option_class = cli->option_class[ (unsigned char)text[0] ]; in next_argument()
906 option_class = Clp_DoubledLong; in next_argument()
913 option_class &= ~(Clp_Short | Clp_ShortNegated); in next_argument()
917 switch (option_class) { in next_argument()
[all …]
/dports/science/afni/afni-AFNI_21.3.16/src/gifsicledir/
H A Dclp.c66 unsigned char option_class[256]; member
229 cli->option_class[i] = 0; in Clp_NewParser()
230 cli->option_class['-'] = Clp_Short; in Clp_NewParser()
337 cli->option_class[i] = option_type; in Clp_SetOptionChar()
339 cli->option_class[c] = option_type; in Clp_SetOptionChar()
848 int option_class; in next_argument() local
890 option_class = cli->option_class[ (unsigned char)text[0] ]; in next_argument()
892 option_class = Clp_DoubledLong; in next_argument()
899 option_class &= ~(Clp_Short | Clp_ShortNegated); in next_argument()
903 switch (option_class) { in next_argument()
[all …]
/dports/print/t1utils/t1utils-1.32/
H A Dclp.c70 unsigned char option_class[256]; member
235 cli->option_class[i] = 0; in Clp_NewParser()
236 cli->option_class[(int) '-'] = Clp_Short; in Clp_NewParser()
349 cli->option_class[i] = option_type; in Clp_SetOptionChar()
351 cli->option_class[c] = option_type; in Clp_SetOptionChar()
900 int option_class; in next_argument() local
942 option_class = cli->option_class[ (unsigned char)text[0] ]; in next_argument()
944 option_class = Clp_DoubledLong; in next_argument()
951 option_class &= ~(Clp_Short | Clp_ShortNegated); in next_argument()
956 switch (option_class) { in next_argument()
[all …]
/dports/games/xmahjongg/xmahjongg-3.7/liblcdf/
H A Dclp.c70 unsigned char option_class[256]; member
230 cli->option_class[i] = 0; in Clp_NewParser()
342 cli->option_class[i] = option_type; in Clp_SetOptionChar()
344 cli->option_class[(unsigned char) c] = option_type; in Clp_SetOptionChar()
989 int option_class; in next_argument() local
1031 option_class = cli->option_class[(unsigned char)text[0]]; in next_argument()
1033 option_class = Clp_DoubledLong; in next_argument()
1039 && (option_class & (Clp_Long | Clp_LongNegated))) { in next_argument()
1040 option_class &= ~(Clp_Short | Clp_ShortNegated); in next_argument()
1045 switch (option_class) { in next_argument()
[all …]
/dports/devel/pylint/pylint-2.12.1/pylint/config/
H A Doption_parser.py19 def __init__(self, option_class, *args, **kwargs): argument
20 super().__init__(option_class=Option, *args, **kwargs)
/dports/devel/py-optik/optik-1.5.3/lib/
H A Doption_parser.py132 def __init__(self, option_class, conflict_handler, description): argument
139 self.option_class = option_class
212 option = self.option_class(*args, **kwargs)
293 self, parser.option_class, parser.conflict_handler, description)
388 option_class=Option, argument
397 self, option_class, conflict_handler, description)
/dports/devel/tcllib/tcllib-1.20/modules/clay/build/
H A Dmetaclass.tcl142 foreach {f v} [$class clay find option_class $optclass] {
178 $class clay set option_class $name [string trim $f -/:] $v
/dports/devel/tcllibc/tcllib-1.20/modules/clay/build/
H A Dmetaclass.tcl142 foreach {f v} [$class clay find option_class $optclass] {
178 $class clay set option_class $name [string trim $f -/:] $v
/dports/devel/py-testoob/testoob-1.15/src/testoob/compatibility/
H A Doptparse.py749 def __init__ (self, option_class, conflict_handler, description): argument
756 self.option_class = option_class
821 option = self.option_class(*args, **kwargs)
904 self, parser.option_class, parser.conflict_handler, description)
979 option_class=Option, argument
987 self, option_class, conflict_handler, description)
/dports/devel/py-logilab-common/logilab-common-1.8.2/logilab/common/
H A Doptik_ext.py288 def __init__(self, option_class: type = Option, *args: Any, **kwargs: Any) -> None:
292 BaseParser.__init__(self, option_class=option_class, *args, **kwargs) # type: ignore

12345678