Home
last modified time | relevance | path

Searched refs:expected_type (Results 1 – 25 of 1981) sorted by last modified time

12345678910>>...80

/dports/x11-toolkits/gtk30/gtk+-3.24.31/gtk/
H A Dgtkbuilderparser.c416 GType expected_type = g_type_parent (parsed_type); in parse_template() local
426 if (parent_type != expected_type) in parse_template()
431 parent_class, g_type_name (expected_type)); in parse_template()
/dports/x11-toolkits/open-motif/motif-2.3.8/clients/uil/
H A DUilDefI.h487 extern void sar_value_type_error _ARGUMENTS(( yystype *value_frame , int expected_type ));
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/policy/core/common/
H A Dschema.cc265 bool CheckType(const base::Value* value, base::Value::Type expected_type) { in CheckType() argument
266 return value->type() == expected_type || in CheckType()
267 (value->is_int() && expected_type == base::Value::Type::DOUBLE); in CheckType()
310 base::Value::Type expected_type = base::Value::Type::NONE; in ValidateAttributesAndTypes() local
312 if (MapSchemaKeyToValueType(it.first, begin, end, &expected_type)) { in ValidateAttributesAndTypes()
313 if (!CheckType(&it.second, expected_type)) { in ValidateAttributesAndTypes()
/dports/www/chromium-legacy/chromium-88.0.4324.182/tools/json_schema_compiler/
H A Dfeature_compiler.py523 def _GetCheckedValue(self, key, expected_type, expected_values, argument
544 if expected_type and t is not expected_type:
609 expected_type = None
611 expected_type = expected['subtype']
619 cpp_sub_value = self._GetCheckedValue(key, expected_type,
626 cpp_value = self._GetCheckedValue(key, expected_type, expected_values,
/dports/www/chromium-legacy/chromium-88.0.4324.182/net/nqe/
H A Dnetwork_quality_estimator_unittest.cc1583 EffectiveConnectionType expected_type; in TEST_F() member
1627 EXPECT_EQ(test.expected_type, estimator.GetEffectiveConnectionType()); in TEST_F()
1639 EffectiveConnectionType expected_type; in TEST_F() member
1709 EXPECT_EQ(test.expected_type, estimator.GetEffectiveConnectionType()); in TEST_F()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/tools/json_schema_compiler/
H A Dfeature_compiler.py419 def _GetCheckedValue(self, key, expected_type, expected_values, argument
440 if expected_type and t is not expected_type:
505 expected_type = None
507 expected_type = expected['subtype']
515 cpp_sub_value = self._GetCheckedValue(key, expected_type,
523 cpp_value = self._GetCheckedValue(key, expected_type, expected_values,
/dports/www/mod_php74/php-7.4.27/ext/mysqli/
H A Dmysqli_api.c1768 int expected_type; local
1782 expected_type = mysqli_options_get_option_zval_type(mysql_option);
1783 if (expected_type != Z_TYPE_P(mysql_value)) {
1784 switch (expected_type) {
1797 switch (expected_type) {
/dports/www/node10/node-v10.24.1/deps/v8/src/runtime/
H A Druntime-intl.cc196 CONVERT_ARG_HANDLE_CHECKED(String, expected_type, 1); in RUNTIME_FUNCTION()
204 String::cast(*tag)->Equals(*expected_type)); in RUNTIME_FUNCTION()
/dports/www/mod_php80/php-8.0.15/ext/mysqli/
H A Dmysqli_api.c1698 int expected_type; local
1712 expected_type = mysqli_options_get_option_zval_type(mysql_option);
1713 if (expected_type != Z_TYPE_P(mysql_value)) {
1714 switch (expected_type) {
1727 switch (expected_type) {
/dports/www/mod_php81/php-8.1.1/ext/mysqli/
H A Dmysqli_api.c1745 int expected_type; local
1759 expected_type = mysqli_options_get_option_zval_type(mysql_option);
1760 if (expected_type != Z_TYPE_P(mysql_value)) {
1761 switch (expected_type) {
1774 switch (expected_type) {
/dports/www/mod_php73/php-7.3.33/ext/mysqli/
H A Dmysqli_api.c1772 int expected_type; local
1786 expected_type = mysqli_options_get_option_zval_type(mysql_option);
1787 if (expected_type != Z_TYPE_P(mysql_value)) {
1788 switch (expected_type) {
1799 switch (expected_type) {
/dports/sysutils/py-ansible-core/ansible-core-2.11.6/test/units/config/
H A Dtest_manager.py92 def test_ensure_type(self, value, expected_type, python_type): argument
93 assert isinstance(ensure_type(value, expected_type), python_type)
/dports/sysutils/py-ansible-base/ansible-base-2.10.15/test/units/config/
H A Dtest_manager.py80 def test_ensure_type(self, value, expected_type, python_type): argument
81 assert isinstance(ensure_type(value, expected_type), python_type)
/dports/sysutils/ansible2/ansible-2.9.27/lib/ansible/modules/cloud/amazon/
H A Delasticache_parameter_group.py181 expected_type = str_to_type[modifiable_params[parameter][1]]
182 if not isinstance(new_value, expected_type):
183 if expected_type == str:
188 elif expected_type == int:
/dports/sysutils/ansible2/ansible-2.9.27/lib/ansible/module_utils/network/ftd/
H A Dfdm_swagger_client.py504 expected_type = prop[PropName.TYPE]
525 'expected_type': expected_type,
544 expected_type = model_prop_val[PropName.TYPE]
549 if expected_type == PropType.OBJECT:
554 elif expected_type == PropType.ARRAY:
557 elif not self._is_correct_simple_types(expected_type, actually_value):
582 def _is_correct_simple_types(expected_type, value, allow_null=True): argument
592 elif expected_type == PropType.STRING:
594 elif expected_type == PropType.BOOLEAN:
596 elif expected_type == PropType.INTEGER:
[all …]
/dports/sysutils/ansible2/ansible-2.9.27/test/units/config/
H A Dtest_manager.py80 def test_ensure_type(self, value, expected_type, python_type): argument
81 assert isinstance(ensure_type(value, expected_type), python_type)
/dports/sysutils/ansible2/ansible-2.9.27/test/integration/targets/win_inet_proxy/library/
H A Dwin_phonebook_entry.ps1378 $expected_type = switch ($type) { variable
482 dwType = $expected_type variable
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/dellemc/openmanage/tests/unit/plugins/modules/
H A Dtest_ome_smart_fabric.py1078 def test_validate_device_type_case_01(self, ome_default_args, identifier, expected_type): argument
1082 …ytest.raises(Exception, match=DEVICE_SERVICE_TAG_TYPE_ERROR_MSG.format(identifier, expected_type)):
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/theforeman/foreman/plugins/module_utils/
H A D_apypie.py154 if param_description.expected_type == 'array':
157 elif param_description.expected_type == 'hash':
159 … if (param_description.expected_type == 'numeric' and isinstance(value, base_string)):
169 …and ((param_description.expected_type == 'boolean' and not isinstance(value, bool) and not (isinst…
170 … or (param_description.expected_type == 'numeric' and not isinstance(value, int))
171 … or (param_description.expected_type == 'string' and not isinstance(value, (base_string, int))))):
219 if param.expected_type == 'hash' and param.params:
795 self.expected_type = kwargs.get('expected_type')
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/community/network/plugins/module_utils/network/ftd/
H A Dfdm_swagger_client.py511 expected_type = prop[PropName.TYPE]
532 'expected_type': expected_type,
551 expected_type = model_prop_val[PropName.TYPE]
556 if expected_type == PropType.OBJECT:
561 elif expected_type == PropType.ARRAY:
564 elif not self._is_correct_simple_types(expected_type, actually_value):
589 def _is_correct_simple_types(expected_type, value, allow_null=True): argument
599 elif expected_type == PropType.STRING:
601 elif expected_type == PropType.BOOLEAN:
603 elif expected_type == PropType.INTEGER:
[all …]
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/community/aws/plugins/modules/
H A Delasticache_parameter_group.py171 expected_type = str_to_type[modifiable_params[parameter][1]]
172 if not isinstance(new_value, expected_type):
173 if expected_type == str:
178 elif expected_type == int:
/dports/sysutils/gnome-control-center/gnome-control-center-41.2/panels/power/
H A Dcc-power-panel.c773 const GVariantType *expected_type, in set_sleep_type() argument
/dports/net-mgmt/net-snmp/net-snmp-5.9/snmplib/
H A Dasn1.c1183 asn_parse_sequence(u_char * data, size_t * datalength, u_char * type, u_char expected_type, /* … in asn_parse_sequence() argument
1187 if (data && (*type != expected_type)) { in asn_parse_sequence()
1191 (u_char) * type, (u_char) expected_type); in asn_parse_sequence()
/dports/math/oleo/oleo-1.99.16/src/
H A Dxrdb.c403 x_get_resource (rdb, name, class, expected_type, ret_value) in x_get_resource() argument
406 XrmRepresentation expected_type;
418 && (type == expected_type))
/dports/math/py-statsmodels/statsmodels-0.13.1/statsmodels/tools/validation/tests/
H A Dtest_validation.py193 expected_type = pd.Series if use_pandas else np.ndarray
194 assert isinstance(wrapped, expected_type)
198 assert isinstance(wrapped, expected_type)
202 assert isinstance(wrapped, expected_type)
205 expected_type = pd.DataFrame if use_pandas else np.ndarray
207 assert isinstance(wrapped, expected_type)
211 assert isinstance(wrapped, expected_type)

12345678910>>...80