Home
last modified time | relevance | path

Searched refs:property_spec (Results 1 – 25 of 33) sorted by relevance

12

/dports/devel/py-swagger-spec-validator/swagger_spec_validator-2.7.4/tests/validator20/
H A Dvalidate_definitions_test.py27 def test_api_check_default_succeed(property_spec): argument
31 'property': property_spec,
77 def test_api_check_default_fails(property_spec, validator, instance): argument
81 'property': property_spec,
H A Dvalidate_spec_test.py260 def test_valid_specs_with_check_of_default_types(default_checks_spec_dict, property_spec): argument
262 'properties': {'property': property_spec},
313 def test_failure_due_to_wrong_default_type(default_checks_spec_dict, property_spec, validator, inst… argument
315 'properties': {'property': property_spec},
/dports/devel/py-oslo.vmware/oslo.vmware-3.10.0/oslo_vmware/
H A Dvim_util.py253 property_spec = client_factory.create('ns0:PropertySpec')
254 property_spec.all = all_properties
255 property_spec.pathSet = properties_to_collect
256 property_spec.type = type_
257 return property_spec
315 property_spec = build_property_spec(
321 [property_spec],
348 property_spec = build_property_spec(
355 [property_spec],
/dports/graphics/py-pyinsane2/pyinsane2-2.0.13/pyinsane2/wia/
H A Drawapi.cpp602 propspec.propid = property_spec->id; in _set_property()
605 propvalue.vt = property_spec->vartype; in _set_property()
607 switch(property_spec->vartype) { in _set_property()
609 propvalue.lVal = pyobject_to_int(property_spec, pyvalue, -1); in _set_property()
612 property_spec->name); in _set_property()
621 property_spec->name); in _set_property()
628 property_spec->name); in _set_property()
633 property_spec->name); in _set_property()
639 property_spec->name); in _set_property()
645 property_spec->name); in _set_property()
[all …]
H A Dproperties.h34 int pyobject_to_int(const struct wia_property *property_spec, PyObject *pyvalue, int fail_value);
35 int pyobject_to_clsid(const struct wia_property *property_spec, PyObject *pyvalue, CLSID **out);
H A Dproperties.cpp918 int pyobject_to_int(const struct wia_property *property_spec, PyObject *pyvalue, int fail_value) in pyobject_to_int() argument
930 str2int = (const struct wia_prop_int *)property_spec->possible_values; in pyobject_to_int()
958 wia_log(WIA_WARNING, "set_property(%s): Failed to parse value", property_spec->name); in pyobject_to_int()
962 int pyobject_to_clsid(const struct wia_property *property_spec, PyObject *pyvalue, CLSID **out) in pyobject_to_clsid() argument
969 … wia_log(WIA_WARNING, "set_property(%s): Invalid type for clsid property", property_spec->name); in pyobject_to_clsid()
973 str2clsid = (const struct wia_prop_clsid *)property_spec->possible_values; in pyobject_to_clsid()
985 wia_log(WIA_WARNING, "set_property(%s): Invalid value for clsid property", property_spec->name); in pyobject_to_clsid()
/dports/devel/py-swagger-spec-validator/swagger_spec_validator-2.7.4/swagger_spec_validator/
H A Dvalidator20.py418 def validate_property_default(property_spec, deref): argument
428 deref_property_spec = deref(property_spec)
434 validate_value_type(schema=property_spec, value=deref_property_spec['default'], deref=deref)
438 for property_name, property_spec in iteritems(definition_spec.get('properties', {})):
439 validate_property_default(property_spec, deref)
505 for property_name, property_spec in iteritems(definition.get('properties', {})):
507 definition=property_spec,
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/community/vmware/plugins/plugin_utils/
H A Dinventory.py227 property_spec = vmodl.query.PropertyCollector.PropertySpec
257 property_spec(type=t, all=False, pathSet=["name"])
330 property_spec = property_spec(
337 propSet=[property_spec],
/dports/www/chromium-legacy/chromium-88.0.4324.182/extensions/renderer/bindings/
H A Dargument_spec_builder.cc29 std::unique_ptr<ArgumentSpec> property_spec) { in AddProperty() argument
30 properties_[property_name.as_string()] = std::move(property_spec); in AddProperty()
H A Dargument_spec.cc524 ArgumentSpec* property_spec = nullptr; in ParseArgumentToObject() local
528 property_spec = iter->second.get(); in ParseArgumentToObject()
529 seen_properties.insert(property_spec); in ParseArgumentToObject()
531 property_spec = additional_properties_.get(); in ParseArgumentToObject()
536 allow_unserializable = property_spec->type_ == ArgumentType::ANY; in ParseArgumentToObject()
561 if (!property_spec->optional_) { in ParseArgumentToObject()
578 if (!property_spec->ParseArgument( in ParseArgumentToObject()
H A Dargument_spec_builder.h30 std::unique_ptr<ArgumentSpec> property_spec);
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/extensions/renderer/bindings/
H A Dargument_spec_builder.cc29 std::unique_ptr<ArgumentSpec> property_spec) { in AddProperty() argument
30 properties_[property_name.as_string()] = std::move(property_spec); in AddProperty()
H A Dargument_spec.cc531 ArgumentSpec* property_spec = nullptr; in ParseArgumentToObject() local
535 property_spec = iter->second.get(); in ParseArgumentToObject()
536 seen_properties.insert(property_spec); in ParseArgumentToObject()
538 property_spec = additional_properties_.get(); in ParseArgumentToObject()
543 allow_unserializable = property_spec->type_ == ArgumentType::ANY; in ParseArgumentToObject()
568 if (!property_spec->optional_) { in ParseArgumentToObject()
585 if (!property_spec->ParseArgument( in ParseArgumentToObject()
H A Dargument_spec_builder.h30 std::unique_ptr<ArgumentSpec> property_spec);
/dports/devel/py-cfn-lint/cfn-lint-0.54.2/src/cfnlint/rules/resources/
H A DConfiguration.py118 for _, property_spec in properties_spec.items():
119 if property_spec.get('Required', False):
/dports/sysutils/ansible2/ansible-2.9.27/lib/ansible/modules/cloud/vmware/
H A Dvmware_guest.py1581 if property_spec.get('operation') == 'remove':
1606 if property_spec.get('operation') == 'remove':
1614 property_info.classId = property_spec.get('classId')
1616 property_info.id = property_spec.get('id')
1618 property_info.label = property_spec.get('label')
1622 property_info.value = property_spec.get('value', '')
1645 property_info.classId = property_spec.get('classId')
1647 property_info.id = property_spec.get('id')
1648 property_info.category = property_spec.get('category')
1649 property_info.label = property_spec.get('label')
[all …]
/dports/devel/py-cfn-lint/cfn-lint-0.54.2/src/cfnlint/rules/
H A D__init__.py265 property_spec = cfnlint.helpers.RESOURCE_SPECS['us-east-1'].get('PropertyTypes')
271 if property_spec_name in property_spec:
298 resource_spec_properties = property_spec.get(property_spec_name, {}).get('Properties')
300 if property_spec.get(property_spec_name, {}).get('Type') == 'List':
302 property_type = property_spec.get(property_spec_name, {}).get('ItemType')
/dports/devel/py-cfn-lint/cfn-lint-0.54.2/src/cfnlint/rules/functions/
H A DDynamicReferenceSecureString.py49 for property_spec in self.property_specs:
50 self.resource_sub_property_types.append(property_spec)
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/community/vmware/plugins/modules/
H A Dvmware_guest.py1934 def set_vapp_properties(self, property_spec): argument
1937 property_info.classId = property_spec.get('classId')
1938 property_info.instanceId = property_spec.get('instanceId')
1939 property_info.id = property_spec.get('id')
1940 property_info.category = property_spec.get('category')
1941 property_info.label = property_spec.get('label')
1942 property_info.type = property_spec.get('type', 'string')
1945 property_info.value = property_spec.get('value', '')
1946 property_info.description = property_spec.get('description')
1977 if property_spec.get('operation') == 'remove':
[all …]
/dports/devel/py-cfn-lint/cfn-lint-0.54.2/src/cfnlint/rules/resources/properties/
H A DValuePrimitiveType.py49 for property_spec in self.property_specs:
50 self.resource_sub_property_types.append(property_spec)
/dports/sysutils/ansible2/ansible-2.9.27/lib/ansible/plugins/inventory/
H A Dvmware_vm_inventory.py267 property_spec = vmodl.query.PropertyCollector.PropertySpec(
283 propSet=[property_spec],
/dports/net-mgmt/routers2-extensions/routers2-v2.23/extras/
H A Dcheck_vmware.pl459 my $property_spec = PropertySpec->new(all => 0,
464 $view_type->get_search_filter_spec(@$begin, [$property_spec]);
721 my $property_spec = PropertySpec->new(all => 0,
726 $view_type->get_search_filter_spec(@$begin, [$property_spec]);
/dports/net-mgmt/routers2/routers2-v2.23/extras/
H A Dcheck_vmware.pl459 my $property_spec = PropertySpec->new(all => 0,
464 $view_type->get_search_filter_spec(@$begin, [$property_spec]);
721 my $property_spec = PropertySpec->new(all => 0,
726 $view_type->get_search_filter_spec(@$begin, [$property_spec]);
/dports/net-mgmt/routers2-extras/routers2-v2.23/extras/
H A Dcheck_vmware.pl459 my $property_spec = PropertySpec->new(all => 0,
464 $view_type->get_search_filter_spec(@$begin, [$property_spec]);
721 my $property_spec = PropertySpec->new(all => 0,
726 $view_type->get_search_filter_spec(@$begin, [$property_spec]);
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/community/vmware/plugins/inventory/
H A Dvmware_vm_inventory.py572 property_spec = PropertySpec(
581 propSet=[property_spec],

12