| /src/sys/dev/pci/ |
| H A D | pci_iov_schema.c | 159 pci_iov_schema_add_bool(nvlist_t *schema, const char *name, uint32_t flags, in pci_iov_schema_add_bool() argument 166 nvlist_set_error(schema, ENOMEM); in pci_iov_schema_add_bool() 175 nvlist_move_nvlist(schema, name, entry); in pci_iov_schema_add_bool() 179 pci_iov_schema_add_string(nvlist_t *schema, const char *name, uint32_t flags, in pci_iov_schema_add_string() argument 186 nvlist_set_error(schema, ENOMEM); in pci_iov_schema_add_string() 195 nvlist_move_nvlist(schema, name, entry); in pci_iov_schema_add_string() 199 pci_iov_schema_int(nvlist_t *schema, const char *name, const char *type, in pci_iov_schema_int() argument 206 nvlist_set_error(schema, ENOMEM); in pci_iov_schema_int() 215 nvlist_move_nvlist(schema, name, entry); in pci_iov_schema_int() 219 pci_iov_schema_add_uint8(nvlist_t *schema, const char *name, uint32_t flags, in pci_iov_schema_add_uint8() argument [all …]
|
| H A D | pci_iov.c | 92 static void pci_iov_build_pf_schema(nvlist_t *schema, 94 static void pci_iov_build_vf_schema(nvlist_t *schema, 120 nvlist_t *schema; in pci_iov_attach_method() local 126 schema = NULL; in pci_iov_attach_method() 153 schema = pci_iov_build_schema(&pf_schema, &vf_schema); in pci_iov_attach_method() 154 if (schema == NULL) { in pci_iov_attach_method() 159 error = pci_iov_validate_schema(schema); in pci_iov_attach_method() 162 iov->iov_schema = schema; in pci_iov_attach_method() 179 nvlist_destroy(schema); in pci_iov_attach_method() 231 nvlist_t *schema, *pf_driver, *vf_driver; in pci_iov_build_schema() local [all …]
|
| /src/sys/contrib/device-tree/Bindings/ |
| H A D | writing-schema.rst | 3 Writing Devicetree Bindings in json-schema 6 Devicetree bindings are written using json-schema vocabulary. Schema files are 11 Also see :ref:`example-schema`. 16 Each schema doc is a structured json-schema which is defined by a set of 18 top-level json-schema properties used are: 21 A json-schema unique identifier string. The string must be a valid 22 URI typically containing the binding's filename and path. For DT schema, it must 24 references to other files specified in schema "$ref" properties. A $ref value 27 components of the current schema file's '$id' value. A URL is used even for 30 $schema [all …]
|
| H A D | Makefile | 4 DT_MK_SCHEMA ?= dt-mk-schema 62 $(obj)/processed-schema.json: $(DT_DOCS) check_dtschema_version FORCE 72 always-y += processed-schema.json 81 dt_compatible_check: $(obj)/processed-schema.json
|
| H A D | submitting-patches.rst | 26 schema format. Repeating "binding" again should also be avoided, so for 31 Conversion of other formats to DT schema:: 33 "dt-bindings: iio: adc: adi,ad7476: Convert to DT schema" 35 2) DT binding files are written in DT schema format using json-schema 41 See Documentation/devicetree/bindings/writing-schema.rst for more details 42 about schema and tools setup.
|
| H A D | .gitignore | 3 /processed-schema*.yaml 4 /processed-schema*.json
|
| H A D | writing-bindings.rst | 71 https://github.com/devicetree-org/dt-schema/blob/main/dtschema/schemas/property-units.yaml 93 - Properties without schema types (e.g. without standard suffix or not defined 94 by schema) need the type, even if this is an enum. 96 - If schema includes other schema (e.g. /schemas/i2c/i2c-controller.yaml) use
|
| /src/contrib/libucl/tests/schema/ |
| H A D | definitions.json.disabled | 4 "schema": {"$ref": "http://highsecure.ru/ucl-schema/schema#"}, 7 "description": "valid definition schema", 19 "schema": {"$ref": "http://highsecure.ru/ucl-schema/schema#"}, 22 "description": "invalid definition schema",
|
| H A D | refRemote.json.disabled | 4 "schema": {"$ref": "http://highsecure.ru/ucl-schema/remotes/integer.json"}, 20 "schema": {"$ref": "http://highsecure.ru/ucl-schema/remotes/subSchemas.json#/integer"}, 36 "schema": { 37 "$ref": "http://highsecure.ru/ucl-schema/remotes/subSchemas.json#/refToInteger" 55 "schema": { 56 "id": "http://highsecure.ru/ucl-schema/remotes/",
|
| /src/crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ |
| H A D | kerberos.ldif | 42 dn: cn=schema 57 dn: cn=schema 70 dn: cn=schema 85 dn: cn=schema 97 dn: cn=schema 125 dn: cn=schema 137 dn: cn=schema 149 dn: cn=schema 163 dn: cn=schema 179 dn: cn=schema [all …]
|
| H A D | kerberos.openldap.ldif | 1 # This LDIF version of the Kerberos schema can be loaded into an 3 # from kerberos.schema using slaptest. 5 dn: cn=kerberos,cn=schema,cn=config
|
| /src/usr.sbin/iovctl/ |
| H A D | iovctl.c | 56 nvlist_t *schema; in get_schema() local 60 arg.schema = NULL; in get_schema() 67 arg.schema = malloc(arg.len); in get_schema() 68 if (arg.schema == NULL) in get_schema() 80 schema = nvlist_unpack(arg.schema, arg.len, NV_FLAG_IGNORE_CASE); in get_schema() 81 if (schema == NULL) in get_schema() 84 free(arg.schema); in get_schema() 85 return (schema); in get_schema() 275 nvlist_t *schema, *config; in config_action() local 283 schema = get_schema(fd); in config_action() [all …]
|
| H A D | validate.c | 167 const nvlist_t *subsystem, *schema, *config; in validate_subsystem() local 173 schema = nvlist_get_nvlist(device_schema, subsystem_name); in validate_subsystem() 176 while ((name = nvlist_next(schema, &type, &cookie)) != NULL) { in validate_subsystem() 177 config = nvlist_get_nvlist(schema, name); in validate_subsystem() 193 validate_device(const nvlist_t *device, const nvlist_t *schema, in validate_device() argument 197 validate_subsystem(device, schema, DRIVER_CONFIG_NAME, config_name); in validate_device() 198 validate_subsystem(device, schema, IOV_CONFIG_NAME, config_name); in validate_device() 222 validate_config(nvlist_t *config, const nvlist_t *schema, const regex_t *vf_pat) in validate_config() argument 234 validate_device(pf, nvlist_get_nvlist(schema, PF_CONFIG_NAME), in validate_config() 239 vf_schema = nvlist_get_nvlist(schema, VF_SCHEMA_NAME); in validate_config()
|
| H A D | parse.c | 192 const nvlist_t *schema) in add_config() argument 196 type = nvlist_get_string(schema, TYPE_SCHEMA_NAME); in add_config() 225 const char *subsystem, const nvlist_t *schema) in parse_device_config() argument 237 driver_schema = nvlist_get_nvlist(schema, DRIVER_CONFIG_NAME); in parse_device_config() 238 iov_schema = nvlist_get_nvlist(schema, IOV_CONFIG_NAME); in parse_device_config() 278 parse_config_file(const char *filename, const nvlist_t *schema) in parse_config_file() argument 310 pf_schema = nvlist_get_nvlist(schema, PF_CONFIG_NAME); in parse_config_file() 311 vf_schema = nvlist_get_nvlist(schema, VF_SCHEMA_NAME); in parse_config_file() 345 validate_config(config, schema, &vf_pat); in parse_config_file()
|
| /src/sys/sys/ |
| H A D | iov_schema.h | 37 void pci_iov_schema_add_bool(nvlist_t *schema, const char *name, 39 void pci_iov_schema_add_string(nvlist_t *schema, const char *name, 41 void pci_iov_schema_add_uint8(nvlist_t *schema, const char *name, 43 void pci_iov_schema_add_uint16(nvlist_t *schema, const char *name, 45 void pci_iov_schema_add_uint32(nvlist_t *schema, const char *name, 47 void pci_iov_schema_add_uint64(nvlist_t *schema, const char *name, 49 void pci_iov_schema_add_unicast_mac(nvlist_t *schema, const char *name, 51 void pci_iov_schema_add_vlan(nvlist_t *schema, const char *name,
|
| /src/contrib/libucl/src/ |
| H A D | ucl_schema.c | 44 static bool ucl_schema_validate (const ucl_object_t *schema, 150 ucl_schema_validate_object (const ucl_object_t *schema, in ucl_schema_validate_object() argument 161 while (ret && (elt = ucl_object_iterate (schema, &iter, true)) != NULL) { in ucl_schema_validate_object() 249 prop = ucl_object_lookup (schema, "properties"); in ucl_schema_validate_object() 254 pat = ucl_object_lookup (schema, "patternProperties"); in ucl_schema_validate_object() 305 ucl_schema_validate_number (const ucl_object_t *schema, in ucl_schema_validate_number() argument 314 while (ret && (elt = ucl_object_iterate (schema, &iter, true)) != NULL) { in ucl_schema_validate_number() 336 test = ucl_object_lookup (schema, "exclusiveMaximum"); in ucl_schema_validate_number() 352 test = ucl_object_lookup (schema, "exclusiveMinimum"); in ucl_schema_validate_number() 371 ucl_schema_validate_string (const ucl_object_t *schema, in ucl_schema_validate_string() argument [all …]
|
| /src/contrib/libucl/tests/ |
| H A D | test_schema.c | 65 perform_test (const ucl_object_t *schema, const ucl_object_t *obj, in perform_test() argument 80 match = ucl_object_validate (schema, data, err); in perform_test() 87 fprintf (stdout, "%s\n", ucl_object_emit (schema, UCL_EMIT_CONFIG)); in perform_test() 99 const ucl_object_t *schema, *tests, *description, *test; in perform_tests() local 106 schema = ucl_object_lookup (obj, "schema"); in perform_tests() 110 if (schema == NULL || tests == NULL || description == NULL) { in perform_tests() 118 if (!perform_test (schema, test, &err)) { in perform_tests()
|
| /src/contrib/kyua/store/ |
| H A D | write_backend.cpp | 109 const fs::path schema = schema_file(); in initialize() local 111 LI(F("Populating new database with schema from %s") % schema); in initialize() 113 db.exec(utils::read_file(schema)); in initialize() 119 "%s") % schema); in initialize() 128 throw error(F("Cannot read database schema '%s'") % schema); in initialize()
|
| /src/sys/contrib/openzfs/scripts/ |
| H A D | convert_wycheproof.pl | 63 my $schema = $data->{schema} // "[unknown]"; 64 if ("$schema" ne 'aead_test_schema.json') { 67 " input file has schema: $schema\n". 89 say " schema: $schema";
|
| /src/sys/contrib/device-tree/Bindings/clock/ |
| H A D | clock-bindings.txt | 1 This file has moved to the clock binding schema: 2 https://github.com/devicetree-org/dt-schema/blob/main/dtschema/schemas/clock/clock.yaml
|
| /src/contrib/libucl/lua/ |
| H A D | lua_ucl.c | 993 ucl_object_t *schema; in lua_ucl_parser_validate() local 1001 schema = ucl_object_lua_import (L, 2); in lua_ucl_parser_validate() 1003 if (schema == NULL) { in lua_ucl_parser_validate() 1023 schema = ucl_parser_get_object (schema_parser); in lua_ucl_parser_validate() 1033 if (!ucl_object_validate (schema, parser->top_obj, &err)) { in lua_ucl_parser_validate() 1043 ucl_object_unref (schema); in lua_ucl_parser_validate() 1162 ucl_object_t *obj, *schema, *ext_refs = NULL; in lua_ucl_object_validate() local 1169 schema = lua_ucl_object_get (L, 2); in lua_ucl_object_validate() 1171 if (schema && obj && ucl_object_type (schema) == UCL_OBJECT) { in lua_ucl_object_validate() 1195 schema_elt = ucl_object_lookup_path_char (schema, path, '/'); in lua_ucl_object_validate() [all …]
|
| /src/contrib/file/magic/Magdir/ |
| H A D | dataone | 21 >&0 regex/1024 onedcx/v[0-9]\\.[0-9]+ https://ns.dataone.org/metadata/schema/onedcx/v1.0 28 >&0 regex/1024 mercury/terms/v[0-9]\\.[0-9] https://purl.org/ornl/schema/mercury/terms/v1.0
|
| /src/contrib/wpa/src/utils/ |
| H A D | xml_libxml2.c | 60 xmlSchemaPtr schema; in xml_validate() local 83 schema = xmlSchemaParse(pctx); in xml_validate() 86 vctx = xmlSchemaNewValidCtxt(schema); in xml_validate() 94 xmlSchemaFree(schema); in xml_validate()
|
| /src/contrib/llvm-project/lldb/source/Commands/ |
| H A D | CommandObjectTrace.cpp | 353 StringRef schema = PluginManager::GetTraceSchema(index++); in DoExecute() local 354 if (schema.empty()) in DoExecute() 357 result.AppendMessage(schema); in DoExecute()
|
| /src/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/ |
| H A D | TraceIntelPTBundleLoader.cpp | 230 static std::string schema; in GetSchema() local 231 if (schema.empty()) { in GetSchema() 232 schema = R"({ in GetSchema() 319 return schema; in GetSchema()
|