Home
last modified time | relevance | path

Searched refs:type_or_id (Results 1 – 2 of 2) sorted by relevance

/dports/devel/py-anyconfig/anyconfig-0.9.11/src/anyconfig/
H A Dprocessors.py104 def maybe_processor(type_or_id, cls=anyconfig.models.processor.Processor): argument
113 if isinstance(type_or_id, cls):
114 return type_or_id
116 if type(type_or_id) == type(cls) and issubclass(type_or_id, cls):
117 return type_or_id()
122 def find_by_type_or_id(type_or_id, prs): argument
133 return pcls.cid() == type_or_id or pcls.type() == type_or_id
137 raise UnknownProcessorTypeError(type_or_id)
/dports/editors/vim/vim-8.2.3745/src/
H A Dtextprop.c903 prop_type_or_id_in_list(int *types_or_ids, int len, int type_or_id) in prop_type_or_id_in_list() argument
908 if (types_or_ids[i] == type_or_id) in prop_type_or_id_in_list()