Home
last modified time | relevance | path

Searched refs:schema (Results 1 – 25 of 71) sorted by relevance

123

/freebsd-12-stable/sys/dev/pci/
Dpci_iov_schema.c156 pci_iov_schema_add_bool(nvlist_t *schema, const char *name, uint32_t flags, in pci_iov_schema_add_bool() argument
163 nvlist_set_error(schema, ENOMEM); in pci_iov_schema_add_bool()
172 nvlist_move_nvlist(schema, name, entry); in pci_iov_schema_add_bool()
176 pci_iov_schema_add_string(nvlist_t *schema, const char *name, uint32_t flags, in pci_iov_schema_add_string() argument
183 nvlist_set_error(schema, ENOMEM); in pci_iov_schema_add_string()
192 nvlist_move_nvlist(schema, name, entry); in pci_iov_schema_add_string()
196 pci_iov_schema_int(nvlist_t *schema, const char *name, const char *type, in pci_iov_schema_int() argument
203 nvlist_set_error(schema, ENOMEM); in pci_iov_schema_int()
212 nvlist_move_nvlist(schema, name, entry); in pci_iov_schema_int()
216 pci_iov_schema_add_uint8(nvlist_t *schema, const char *name, uint32_t flags, in pci_iov_schema_add_uint8() argument
[all …]
Dpci_iov.c93 static void pci_iov_build_pf_schema(nvlist_t *schema,
95 static void pci_iov_build_vf_schema(nvlist_t *schema,
122 nvlist_t *schema; in pci_iov_attach_method() local
129 schema = NULL; in pci_iov_attach_method()
155 schema = pci_iov_build_schema(&pf_schema, &vf_schema); in pci_iov_attach_method()
156 if (schema == NULL) { in pci_iov_attach_method()
161 error = pci_iov_validate_schema(schema); in pci_iov_attach_method()
164 iov->iov_schema = schema; in pci_iov_attach_method()
181 nvlist_destroy(schema); in pci_iov_attach_method()
233 nvlist_t *schema, *pf_driver, *vf_driver; in pci_iov_build_schema() local
[all …]
Dschema_private.h32 int pci_iov_validate_schema(const nvlist_t *schema);
/freebsd-12-stable/usr.sbin/iovctl/
Diovctl.c59 nvlist_t *schema; in get_schema() local
63 arg.schema = NULL; in get_schema()
70 arg.schema = malloc(arg.len); in get_schema()
71 if (arg.schema == NULL) in get_schema()
83 schema = nvlist_unpack(arg.schema, arg.len, NV_FLAG_IGNORE_CASE); in get_schema()
84 if (schema == NULL) in get_schema()
87 free(arg.schema); in get_schema()
88 return (schema); in get_schema()
278 nvlist_t *schema, *config; in config_action() local
286 schema = get_schema(fd); in config_action()
[all …]
Dvalidate.c170 const nvlist_t *subsystem, *schema, *config; in validate_subsystem() local
176 schema = nvlist_get_nvlist(device_schema, subsystem_name); in validate_subsystem()
179 while ((name = nvlist_next(schema, &type, &cookie)) != NULL) { in validate_subsystem()
180 config = nvlist_get_nvlist(schema, name); in validate_subsystem()
196 validate_device(const nvlist_t *device, const nvlist_t *schema, in validate_device() argument
200 validate_subsystem(device, schema, DRIVER_CONFIG_NAME, config_name); in validate_device()
201 validate_subsystem(device, schema, IOV_CONFIG_NAME, config_name); in validate_device()
225 validate_config(nvlist_t *config, const nvlist_t *schema, const regex_t *vf_pat) in validate_config() argument
237 validate_device(pf, nvlist_get_nvlist(schema, PF_CONFIG_NAME), in validate_config()
242 vf_schema = nvlist_get_nvlist(schema, VF_SCHEMA_NAME); in validate_config()
Dparse.c172 const nvlist_t *schema) in add_config() argument
176 type = nvlist_get_string(schema, TYPE_SCHEMA_NAME); in add_config()
203 const char *subsystem, const nvlist_t *schema) in parse_device_config() argument
215 driver_schema = nvlist_get_nvlist(schema, DRIVER_CONFIG_NAME); in parse_device_config()
216 iov_schema = nvlist_get_nvlist(schema, IOV_CONFIG_NAME); in parse_device_config()
256 parse_config_file(const char *filename, const nvlist_t *schema) in parse_config_file() argument
288 pf_schema = nvlist_get_nvlist(schema, PF_CONFIG_NAME); in parse_config_file()
289 vf_schema = nvlist_get_nvlist(schema, VF_SCHEMA_NAME); in parse_config_file()
323 validate_config(config, schema, &vf_pat); in parse_config_file()
/freebsd-12-stable/contrib/libucl/src/
Ducl_schema.c43 static bool ucl_schema_validate (const ucl_object_t *schema,
149 ucl_schema_validate_object (const ucl_object_t *schema, in ucl_schema_validate_object() argument
160 while (ret && (elt = ucl_object_iterate (schema, &iter, true)) != NULL) { in ucl_schema_validate_object()
248 prop = ucl_object_lookup (schema, "properties"); in ucl_schema_validate_object()
253 pat = ucl_object_lookup (schema, "patternProperties"); in ucl_schema_validate_object()
304 ucl_schema_validate_number (const ucl_object_t *schema, in ucl_schema_validate_number() argument
313 while (ret && (elt = ucl_object_iterate (schema, &iter, true)) != NULL) { in ucl_schema_validate_number()
335 test = ucl_object_lookup (schema, "exclusiveMaximum"); in ucl_schema_validate_number()
351 test = ucl_object_lookup (schema, "exclusiveMinimum"); in ucl_schema_validate_number()
370 ucl_schema_validate_string (const ucl_object_t *schema, in ucl_schema_validate_string() argument
[all …]
/freebsd-12-stable/sys/sys/
Diov_schema.h39 void pci_iov_schema_add_bool(nvlist_t *schema, const char *name,
41 void pci_iov_schema_add_string(nvlist_t *schema, const char *name,
43 void pci_iov_schema_add_uint8(nvlist_t *schema, const char *name,
45 void pci_iov_schema_add_uint16(nvlist_t *schema, const char *name,
47 void pci_iov_schema_add_uint32(nvlist_t *schema, const char *name,
49 void pci_iov_schema_add_uint64(nvlist_t *schema, const char *name,
51 void pci_iov_schema_add_unicast_mac(nvlist_t *schema, const char *name,
/freebsd-12-stable/contrib/libucl/tests/
Dtest_schema.c65 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()
DMakefile.am1 EXTRA_DIST = $(TESTS) basic schema generate.res \
6 schema.test \
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/
DTraceIntelPTSessionFileParser.cpp23 static std::string schema; in GetSchema() local
24 if (schema.empty()) { in GetSchema()
25 schema = TraceSessionFileParser::BuildSchema(R"({ in GetSchema()
35 return schema; in GetSchema()
/freebsd-12-stable/contrib/amd/
Dldap-id.ms22 A directory (X.500 and LDAPv3) schema for Berkely automounter
30 This memo describes a directory (LDAP or X.500) schema for storing
31 amd (Berkely-style automounter) mount info maps. The schema is currently
41 relation between this schema and the automount schema elements in [HOWARD]
44 the intended usage of this schema differs from that of [HOWARD] in many
50 Directory servers implementing this schema SHOULD maintain the
54 schema MAY use the modifyTimestamp information to set the ttl for
286 Information Service", draft-howard-nis-schema-??.txt, Internet
Dldap-id.txt12 A directory (X.500 and LDAPv3) schema for Berkely automounter
17 This memo describes a directory (LDAP or X.500) schema for storing amd (Berkely-
18 style automounter) mount info maps. The schema is currently beeing supported by
26 schema and the automount schema elements in [HOWARD] are mostly superficial. The
28 different syntax for mount maps. Furthermore the intended usage of this schema
33 Directory servers implementing this schema SHOULD maintain the modifyTimestamp
36 wishing to use the amdMap schema MAY use the modifyTimestamp information to set
319 Information Service", draft-howard-nis-schema-??.txt, Internet
DREADME.ldap13 ldap.schema:
15 This is the most current schema.
19 This is an experimental schema for amd mount maps in LDAP. Since
23 The schema is written in the form of an internet-draft but it has
/freebsd-12-stable/contrib/libucl/python/tests/
Dtest_validation.py16 def perform_test(schema, data, valid, description): argument
19 self.assertTrue(ucl.validate(schema, data), msg)
22 ucl.validate(schema, data)
/freebsd-12-stable/contrib/libucl/utils/
Ducl-tool.c42 const char *schema = NULL, *parm, *val; in main() local
78 schema = val; in main()
133 if (schema != NULL) { in main()
138 if (!ucl_parser_add_file(schema_parser, schema)) { in main()
/freebsd-12-stable/contrib/libucl/python/src/
Duclmodule.c261 ucl_object_t *data, *schema; in ucl_validate() local
270 schema = _iterate_python(schemaobj); in ucl_validate()
271 if (!schema) in ucl_validate()
279 r = ucl_object_validate (schema, data, &err); in ucl_validate()
280 ucl_object_unref (schema); in ucl_validate()
/freebsd-12-stable/contrib/libucl/lua/
Dlua_ucl.c949 ucl_object_t *schema; in lua_ucl_parser_validate() local
957 schema = ucl_object_lua_import (L, 2); in lua_ucl_parser_validate()
959 if (schema == NULL) { in lua_ucl_parser_validate()
979 schema = ucl_parser_get_object (schema_parser); in lua_ucl_parser_validate()
989 if (!ucl_object_validate (schema, parser->top_obj, &err)) { in lua_ucl_parser_validate()
999 ucl_object_unref (schema); in lua_ucl_parser_validate()
1118 ucl_object_t *obj, *schema, *ext_refs = NULL; in lua_ucl_object_validate() local
1125 schema = lua_ucl_object_get (L, 2); in lua_ucl_object_validate()
1127 if (schema && obj && ucl_object_type (schema) == UCL_OBJECT) { in lua_ucl_object_validate()
1151 schema_elt = ucl_object_lookup_path_char (schema, path, '/'); in lua_ucl_object_validate()
[all …]
/freebsd-12-stable/contrib/libucl/
DChangeLog.md34 - Fixed serious bugs in schema and arrays iteration
55 - Add schema validation to lua API
56 - Add support for external references to schema validation
97 - Fix schema validation for patternProperties with object data (by Denis Volpato Martins)
/freebsd-12-stable/contrib/llvm-project/lldb/source/Target/
DTrace.cpp93 StringRef schema = PluginManager::GetTraceSchema(plugin_name); in FindPluginSchema() local
94 if (!schema.empty()) in FindPluginSchema()
95 return schema; in FindPluginSchema()
/freebsd-12-stable/contrib/llvm-project/lldb/source/Commands/
DCommandObjectTrace.cpp263 StringRef schema = PluginManager::GetTraceSchema(index++); in DoExecute() local
264 if (schema.empty()) in DoExecute()
267 result.AppendMessage(schema); in DoExecute()
/freebsd-12-stable/contrib/file/magic/Magdir/
Ddataone16 >&0 regex/1024 onedcx/v[0-9]\\.[0-9]+ https://ns.dataone.org/metadata/schema/onedcx/v1.0
23 >&0 regex/1024 mercury/terms/v[0-9]\\.[0-9] https://purl.org/ornl/schema/mercury/terms/v1.0
/freebsd-12-stable/contrib/wpa/src/utils/
Dxml_libxml2.c60 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()
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/Trace/common/
DTraceSessionFileParser.h75 llvm::StringRef schema) in TraceSessionFileParser() argument
77 m_schema(schema) {} in TraceSessionFileParser()
/freebsd-12-stable/contrib/subversion/
DMakefile.in41 SCHEMA_DIR = subversion/svn/schema
778 schema: mkdir-init schema-rng schema-dtd schema-xsd
780 schema-rng: $(SCHEMAS_RNG)
781 schema-dtd: $(SCHEMAS_DTD)
782 schema-xsd: $(SCHEMAS_XSD)
786 schema-clean:

123