Home
last modified time | relevance | path

Searched refs:expected_type (Results 1 – 25 of 1853) sorted by relevance

12345678910>>...75

/dports/lang/cparser/cparser-0.9.14/
H A Dformat_check.c325 type_t *expected_type; in internal_check_printf_format() local
404 expected_type = type_wchar_t; in internal_check_printf_format()
409 expected_type = type_int; in internal_check_printf_format()
427 expected_type = type_wchar_t_ptr; in internal_check_printf_format()
451 expected_type = type_void_ptr; in internal_check_printf_format()
708 type_t *expected_type; in check_scanf_format() local
778 expected_type = type_wchar_t; in check_scanf_format()
783 case FMT_MOD_NONE: expected_type = type_char; break; in check_scanf_format()
784 case FMT_MOD_l: expected_type = type_wchar_t; break; in check_scanf_format()
811 expected_type = type_wchar_t; in check_scanf_format()
[all …]
/dports/textproc/py-openpyxl/openpyxl-2.6.4/openpyxl/packaging/
H A Dextended.py49 Manager = NestedText(expected_type=unicode, allow_none=True)
50 Company = NestedText(expected_type=unicode, allow_none=True)
51 Pages = NestedText(expected_type=int, allow_none=True)
52 Words = NestedText(expected_type=int,allow_none=True)
53 Characters = NestedText(expected_type=int, allow_none=True)
55 Lines = NestedText(expected_type=int, allow_none=True)
57 Slides = NestedText(expected_type=int, allow_none=True)
58 Notes = NestedText(expected_type=int, allow_none=True)
59 TotalTime = NestedText(expected_type=int, allow_none=True)
61 MMClips = NestedText(expected_type=int, allow_none=True)
[all …]
/dports/devel/py-libcst/libcst-0.3.23/libcst/
H A D_type_enforce.py44 if is_classvar(expected_type):
46 if hasattr(expected_type, "__type__"): # py36
47 expected_type = expected_type.__type__ or Any
49 classvar_args = get_args(expected_type)
52 if is_typevar(expected_type):
57 expected_origin_type = get_origin(expected_type) or expected_type
62 elif is_union_type(expected_type):
68 if hasattr(expected_type, "__values__"): # py36
69 literal_values = expected_type.__values__
159 if expected_type is float:
[all …]
/dports/textproc/py-openpyxl/openpyxl-2.6.4/openpyxl/chart/
H A Ddata_source.py45 self.expected_type = unicode
47 self.expected_type = float
71 pt = Sequence(expected_type=NumVal)
89 f = NestedText(expected_type=unicode)
110 v = NestedText(expected_type=unicode)
125 pt = Sequence(expected_type=StrVal)
143 f = NestedText(expected_type=unicode, allow_none=True)
160 numRef = Typed(expected_type=NumRef, allow_none=True)
176 pt = Sequence(expected_type=StrVal)
191 lvl = Sequence(expected_type=Level)
[all …]
H A Dplotarea.py50 spPr = Typed(expected_type=GraphicalProperties, allow_none=True)
52 txPr = Typed(expected_type=RichText, allow_none=True)
53 extLst = Typed(expected_type=ExtensionList, allow_none=True)
79 layout = Typed(expected_type=Layout, allow_none=True)
80 dTable = Typed(expected_type=DataTable, allow_none=True)
81 spPr = Typed(expected_type=GraphicalProperties, allow_none=True)
83 extLst = Typed(expected_type=ExtensionList, allow_none=True)
106 valAx = MultiSequencePart(expected_type=NumericAxis, store="_axes")
107 catAx = MultiSequencePart(expected_type=TextAxis, store="_axes")
108 dateAx = MultiSequencePart(expected_type=DateAxis, store="_axes")
[all …]
/dports/cad/stepcode/stepcode-0.8/src/exp2python/python/SCL/
H A DTypeChecker.py48 def check_type(instance, expected_type): argument
56 print "Expected type: ", expected_type
58 if (isinstance(expected_type,ENUMERATION)):
59 allowed_ids = expected_type.get_enum_ids()
64 elif (isinstance(expected_type,SELECT)):
66 allowed_types = expected_type.get_allowed_basic_types()
76 elif (isinstance(expected_type, BaseType.Aggregate)):
78 if not (type(instance) == type(expected_type)):
81 elif not (instance.get_type() == expected_type.get_type()):
84 …r('Expected %s:%s base type but passed %s:%s base type'%(type(expected_type),expected_type.get_typ…
[all …]
/dports/textproc/py-openpyxl/openpyxl-2.6.4/openpyxl/drawing/
H A Dfill.py56 fgClr = Typed(expected_type=ColorChoice, allow_none=True)
58 bgClr = Typed(expected_type=ColorChoice, allow_none=True)
119 scrgbClr = Typed(expected_type=RGBPercent, allow_none=True)
123 hslClr = Typed(expected_type=HSLColor, allow_none=True)
124 sysClr = Typed(expected_type=SystemColor, allow_none=True)
227 hslClr = Typed(expected_type=HSLColor, allow_none=True)
228 sysClr = Typed(expected_type=SystemColor, allow_none=True)
279 blur = Typed(expected_type=BlurEffect, allow_none=True)
285 hsl = Typed(expected_type=HSLEffect, allow_none=True)
287 tint = Typed(expected_type=TintEffect, allow_none=True)
[all …]
H A Dtext.py150 latin = Typed(expected_type=Font, allow_none=True)
151 ea = Typed(expected_type=Font, allow_none=True)
152 cs = Typed(expected_type=Font, allow_none=True)
153 sym = Typed(expected_type=Font, allow_none=True)
280 tab = Typed(expected_type=TabStop, allow_none=True)
355 buClr = Typed(expected_type=Color, allow_none=True)
360 buFont = Typed(expected_type=Font, allow_none=True)
482 t = NestedText(expected_type=unicode)
543 r = Sequence(expected_type=RegularTextRun)
545 br = Typed(expected_type=LineBreak, allow_none=True)
[all …]
H A Dgeometry.py81 off = Typed(expected_type=Point2D, allow_none=True)
83 chOff = Typed(expected_type=Point2D, allow_none=True)
114 off = Typed(expected_type=Point2D, allow_none=True)
260 anchor = Typed(expected_type=Point3D, )
261 norm = Typed(expected_type=Vector3D, )
262 up = Typed(expected_type=Vector3D, )
279 camera = Typed(expected_type=Camera, )
280 lightRig = Typed(expected_type=LightRig, )
425 pos = Typed(expected_type=AdjPoint2D, )
479 pathLst = Typed(expected_type=Path2DList, )
[all …]
H A Dconnector.py48 stCxn = Typed(expected_type=Connection, allow_none=True)
49 endCxn = Typed(expected_type=Connection, allow_none=True)
66 cNvPr = Typed(expected_type=NonVisualDrawingProps, )
83 nvCxnSpPr = Typed(expected_type=ConnectorNonVisual)
84 spPr = Typed(expected_type=GraphicalProperties)
85 style = Typed(expected_type=ShapeStyle, allow_none=True)
107 cNvPr = Typed(expected_type=NonVisualDrawingProps)
121 nvSpPr = Typed(expected_type=ShapeMeta, allow_none=True)
123 spPr = Typed(expected_type=GraphicalProperties)
125 style = Typed(expected_type=ShapeStyle, allow_none=True)
[all …]
/dports/databases/percona57-pam-for-mysql/boost_1_59_0/libs/type_traits/test/
H A Dcheck_type.hpp26 #define BOOST_CHECK_TYPE(type_expression, expected_type)\ argument
28 if(!::boost::is_same< type_expression, expected_type >::value){\
31 << BOOST_STRINGIZE(type_expression) << ", " << BOOST_STRINGIZE(expected_type)\
33 << typeid(::boost::is_same< type_expression, expected_type >).name());\
39 #define BOOST_CHECK_TYPE3(type_expression, type_expression_suffix, expected_type)\ argument
41 if(!::boost::is_same< type_expression, type_expression_suffix, expected_type >::value){\
46 … << typeid(::boost::is_same< type_expression, type_expression_suffix, expected_type >).name());\
52 #define BOOST_CHECK_TYPE4(type_expression, suffix1, suffix2, expected_type)\ argument
54 if(!::boost::is_same< type_expression, suffix1, suffix2, expected_type >::value){\
57 … << BOOST_STRINGIZE((type_expression, suffix1, suffix2)) << ", " << BOOST_STRINGIZE(expected_type)\
[all …]
/dports/databases/mysqlwsrep57-server/boost_1_59_0/libs/type_traits/test/
H A Dcheck_type.hpp26 #define BOOST_CHECK_TYPE(type_expression, expected_type)\ argument
28 if(!::boost::is_same< type_expression, expected_type >::value){\
31 << BOOST_STRINGIZE(type_expression) << ", " << BOOST_STRINGIZE(expected_type)\
33 << typeid(::boost::is_same< type_expression, expected_type >).name());\
39 #define BOOST_CHECK_TYPE3(type_expression, type_expression_suffix, expected_type)\ argument
41 if(!::boost::is_same< type_expression, type_expression_suffix, expected_type >::value){\
46 … << typeid(::boost::is_same< type_expression, type_expression_suffix, expected_type >).name());\
52 #define BOOST_CHECK_TYPE4(type_expression, suffix1, suffix2, expected_type)\ argument
54 if(!::boost::is_same< type_expression, suffix1, suffix2, expected_type >::value){\
57 … << BOOST_STRINGIZE((type_expression, suffix1, suffix2)) << ", " << BOOST_STRINGIZE(expected_type)\
[all …]
/dports/databases/percona57-server/boost_1_59_0/libs/type_traits/test/
H A Dcheck_type.hpp26 #define BOOST_CHECK_TYPE(type_expression, expected_type)\ argument
28 if(!::boost::is_same< type_expression, expected_type >::value){\
31 << BOOST_STRINGIZE(type_expression) << ", " << BOOST_STRINGIZE(expected_type)\
33 << typeid(::boost::is_same< type_expression, expected_type >).name());\
39 #define BOOST_CHECK_TYPE3(type_expression, type_expression_suffix, expected_type)\ argument
41 if(!::boost::is_same< type_expression, type_expression_suffix, expected_type >::value){\
46 … << typeid(::boost::is_same< type_expression, type_expression_suffix, expected_type >).name());\
52 #define BOOST_CHECK_TYPE4(type_expression, suffix1, suffix2, expected_type)\ argument
54 if(!::boost::is_same< type_expression, suffix1, suffix2, expected_type >::value){\
57 … << BOOST_STRINGIZE((type_expression, suffix1, suffix2)) << ", " << BOOST_STRINGIZE(expected_type)\
[all …]
/dports/databases/xtrabackup/boost_1_59_0/libs/type_traits/test/
H A Dcheck_type.hpp26 #define BOOST_CHECK_TYPE(type_expression, expected_type)\ argument
28 if(!::boost::is_same< type_expression, expected_type >::value){\
31 << BOOST_STRINGIZE(type_expression) << ", " << BOOST_STRINGIZE(expected_type)\
33 << typeid(::boost::is_same< type_expression, expected_type >).name());\
39 #define BOOST_CHECK_TYPE3(type_expression, type_expression_suffix, expected_type)\ argument
41 if(!::boost::is_same< type_expression, type_expression_suffix, expected_type >::value){\
46 … << typeid(::boost::is_same< type_expression, type_expression_suffix, expected_type >).name());\
52 #define BOOST_CHECK_TYPE4(type_expression, suffix1, suffix2, expected_type)\ argument
54 if(!::boost::is_same< type_expression, suffix1, suffix2, expected_type >::value){\
57 … << BOOST_STRINGIZE((type_expression, suffix1, suffix2)) << ", " << BOOST_STRINGIZE(expected_type)\
[all …]
/dports/databases/percona57-client/boost_1_59_0/libs/type_traits/test/
H A Dcheck_type.hpp26 #define BOOST_CHECK_TYPE(type_expression, expected_type)\ argument
28 if(!::boost::is_same< type_expression, expected_type >::value){\
31 << BOOST_STRINGIZE(type_expression) << ", " << BOOST_STRINGIZE(expected_type)\
33 << typeid(::boost::is_same< type_expression, expected_type >).name());\
39 #define BOOST_CHECK_TYPE3(type_expression, type_expression_suffix, expected_type)\ argument
41 if(!::boost::is_same< type_expression, type_expression_suffix, expected_type >::value){\
46 … << typeid(::boost::is_same< type_expression, type_expression_suffix, expected_type >).name());\
52 #define BOOST_CHECK_TYPE4(type_expression, suffix1, suffix2, expected_type)\ argument
54 if(!::boost::is_same< type_expression, suffix1, suffix2, expected_type >::value){\
57 … << BOOST_STRINGIZE((type_expression, suffix1, suffix2)) << ", " << BOOST_STRINGIZE(expected_type)\
[all …]
/dports/devel/boost-libs/boost_1_72_0/libs/type_traits/test/
H A Dcheck_type.hpp26 #define BOOST_CHECK_TYPE(type_expression, expected_type)\ argument
28 if(!::boost::is_same< type_expression, expected_type >::value){\
31 << BOOST_STRINGIZE(type_expression) << ", " << BOOST_STRINGIZE(expected_type)\
33 << typeid(::boost::is_same< type_expression, expected_type >).name());\
39 #define BOOST_CHECK_TYPE3(type_expression, type_expression_suffix, expected_type)\ argument
41 if(!::boost::is_same< type_expression, type_expression_suffix, expected_type >::value){\
46 … << typeid(::boost::is_same< type_expression, type_expression_suffix, expected_type >).name());\
52 #define BOOST_CHECK_TYPE4(type_expression, suffix1, suffix2, expected_type)\ argument
54 if(!::boost::is_same< type_expression, suffix1, suffix2, expected_type >::value){\
57 … << BOOST_STRINGIZE((type_expression, suffix1, suffix2)) << ", " << BOOST_STRINGIZE(expected_type)\
[all …]
/dports/devel/boost-docs/boost_1_72_0/libs/type_traits/test/
H A Dcheck_type.hpp26 #define BOOST_CHECK_TYPE(type_expression, expected_type)\ argument
28 if(!::boost::is_same< type_expression, expected_type >::value){\
31 << BOOST_STRINGIZE(type_expression) << ", " << BOOST_STRINGIZE(expected_type)\
33 << typeid(::boost::is_same< type_expression, expected_type >).name());\
39 #define BOOST_CHECK_TYPE3(type_expression, type_expression_suffix, expected_type)\ argument
41 if(!::boost::is_same< type_expression, type_expression_suffix, expected_type >::value){\
46 … << typeid(::boost::is_same< type_expression, type_expression_suffix, expected_type >).name());\
52 #define BOOST_CHECK_TYPE4(type_expression, suffix1, suffix2, expected_type)\ argument
54 if(!::boost::is_same< type_expression, suffix1, suffix2, expected_type >::value){\
57 … << BOOST_STRINGIZE((type_expression, suffix1, suffix2)) << ", " << BOOST_STRINGIZE(expected_type)\
[all …]
/dports/devel/boost-python-libs/boost_1_72_0/libs/type_traits/test/
H A Dcheck_type.hpp26 #define BOOST_CHECK_TYPE(type_expression, expected_type)\ argument
28 if(!::boost::is_same< type_expression, expected_type >::value){\
31 << BOOST_STRINGIZE(type_expression) << ", " << BOOST_STRINGIZE(expected_type)\
33 << typeid(::boost::is_same< type_expression, expected_type >).name());\
39 #define BOOST_CHECK_TYPE3(type_expression, type_expression_suffix, expected_type)\ argument
41 if(!::boost::is_same< type_expression, type_expression_suffix, expected_type >::value){\
46 … << typeid(::boost::is_same< type_expression, type_expression_suffix, expected_type >).name());\
52 #define BOOST_CHECK_TYPE4(type_expression, suffix1, suffix2, expected_type)\ argument
54 if(!::boost::is_same< type_expression, suffix1, suffix2, expected_type >::value){\
57 … << BOOST_STRINGIZE((type_expression, suffix1, suffix2)) << ", " << BOOST_STRINGIZE(expected_type)\
[all …]
/dports/devel/hyperscan/boost_1_75_0/libs/type_traits/test/
H A Dcheck_type.hpp26 #define BOOST_CHECK_TYPE(type_expression, expected_type)\ argument
28 if(!::boost::is_same< type_expression, expected_type >::value){\
31 << BOOST_STRINGIZE(type_expression) << ", " << BOOST_STRINGIZE(expected_type)\
33 << typeid(::boost::is_same< type_expression, expected_type >).name());\
39 #define BOOST_CHECK_TYPE3(type_expression, type_expression_suffix, expected_type)\ argument
41 if(!::boost::is_same< type_expression, type_expression_suffix, expected_type >::value){\
46 … << typeid(::boost::is_same< type_expression, type_expression_suffix, expected_type >).name());\
52 #define BOOST_CHECK_TYPE4(type_expression, suffix1, suffix2, expected_type)\ argument
54 if(!::boost::is_same< type_expression, suffix1, suffix2, expected_type >::value){\
57 … << BOOST_STRINGIZE((type_expression, suffix1, suffix2)) << ", " << BOOST_STRINGIZE(expected_type)\
[all …]
/dports/devel/glib20/glib-2.70.4/gio/
H A Dgsettings-mapping.c26 const GVariantType *expected_type)
38 if (g_variant_type_equal (expected_type, G_VARIANT_TYPE_INT16))
43 else if (g_variant_type_equal (expected_type, G_VARIANT_TYPE_UINT16))
48 else if (g_variant_type_equal (expected_type, G_VARIANT_TYPE_INT32))
81 const GVariantType *expected_type)
93 if (g_variant_type_equal (expected_type, G_VARIANT_TYPE_INT16))
147 if (g_variant_type_equal (expected_type, G_VARIANT_TYPE_INT16))
330 const GVariantType *expected_type,
355 return g_settings_set_mapping_int (value, expected_type);
358 return g_settings_set_mapping_float (value, expected_type);
[all …]
/dports/x11-toolkits/gtk40/gtk-4.4.1/gtk/
H A Dgsettings-mapping.c26 const GVariantType *expected_type) in g_settings_set_mapping_int() argument
38 if (g_variant_type_equal (expected_type, G_VARIANT_TYPE_INT16)) in g_settings_set_mapping_int()
43 else if (g_variant_type_equal (expected_type, G_VARIANT_TYPE_UINT16)) in g_settings_set_mapping_int()
48 else if (g_variant_type_equal (expected_type, G_VARIANT_TYPE_INT32)) in g_settings_set_mapping_int()
81 const GVariantType *expected_type) in g_settings_set_mapping_float() argument
93 if (g_variant_type_equal (expected_type, G_VARIANT_TYPE_INT16)) in g_settings_set_mapping_float()
147 if (g_variant_type_equal (expected_type, G_VARIANT_TYPE_INT16)) in g_settings_set_mapping_unsigned_int()
330 const GVariantType *expected_type, in g_settings_set_mapping() argument
355 return g_settings_set_mapping_int (value, expected_type); in g_settings_set_mapping()
358 return g_settings_set_mapping_float (value, expected_type); in g_settings_set_mapping()
[all …]
/dports/textproc/py-openpyxl/openpyxl-2.6.4/openpyxl/descriptors/
H A Dbase.py32 expected_type = type(None) variable in Typed
51 def _convert(expected_type, value): argument
76 expected_type = float variable in Max
96 expected_type = float variable in Min
150 expected_type = long variable in Integer
155 expected_type = float variable in Float
160 expected_type = bool variable in Bool
171 expected_type = basestring variable in String
181 expected_type = bytes variable in ASCII
186 expected_type = tuple variable in Tuple
[all …]
/dports/science/py-OpenMC/openmc-0.12.2/openmc/
H A Dcheckvalue.py29 if not isinstance(value, expected_type):
30 if isinstance(expected_type, Iterable):
33 [t.__name__ for t in expected_type]))
36 name, value, expected_type.__name__)
106 if isinstance(current_item, expected_type):
267 if this_filetype != expected_type:
269 obj.filename, expected_type))
300 self.expected_type = expected_type
316 self.expected_type)
330 check_type(self.name, item, self.expected_type)
[all …]
/dports/science/openmc/openmc-0.12.2/openmc/
H A Dcheckvalue.py29 if not isinstance(value, expected_type):
30 if isinstance(expected_type, Iterable):
33 [t.__name__ for t in expected_type]))
36 name, value, expected_type.__name__)
106 if isinstance(current_item, expected_type):
267 if this_filetype != expected_type:
269 obj.filename, expected_type))
300 self.expected_type = expected_type
316 self.expected_type)
330 check_type(self.name, item, self.expected_type)
[all …]
/dports/textproc/py-openpyxl/openpyxl-2.6.4/openpyxl/pivot/
H A Dcache.py216 query = Typed(expected_type=Query, )
264 set = Typed(expected_type=OLAPSet, )
282 m = Typed(expected_type=Missing, )
283 n = Typed(expected_type=Number, )
284 e = Typed(expected_type=Error, )
285 s = Typed(expected_type=Text)
608 m = Sequence(expected_type=Missing)
609 n = Sequence(expected_type=Number)
610 b = Sequence(expected_type=Boolean)
611 e = Sequence(expected_type=Error)
[all …]

12345678910>>...75