Home
last modified time | relevance | path

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

12

/openbsd-src/usr.sbin/ldapd/
H A Dschema.c67 lookup_attribute_by_name(struct schema *schema, char *name) in lookup_attribute_by_name() argument
72 on = RB_FIND(oidname_tree, &schema->attr_names, &find); in lookup_attribute_by_name()
80 lookup_attribute_by_oid(struct schema *schema, char *oid) in lookup_attribute_by_oid() argument
85 return RB_FIND(attr_type_tree, &schema->attr_types, &find); in lookup_attribute_by_oid()
89 lookup_attribute(struct schema *schema, char *oid_or_name) in lookup_attribute() argument
92 return lookup_attribute_by_oid(schema, oid_or_name); in lookup_attribute()
93 return lookup_attribute_by_name(schema, oid_or_name); in lookup_attribute()
97 lookup_object_by_oid(struct schema *schema, char *oid) in lookup_object_by_oid() argument
102 return RB_FIND(object_tree, &schema->objects, &find); in lookup_object_by_oid()
106 lookup_object_by_name(struct schema *schema, char *name) in lookup_object_by_name() argument
[all …]
H A Dsyntax.c32 static int syntax_is_##TYPE(struct schema *schema, char *value, size_t len)
114 syntax_is_octet_string(struct schema *schema, char *value, size_t len) in syntax_is_octet_string() argument
123 syntax_is_directory_string(struct schema *schema, char *value, size_t len) in syntax_is_directory_string() argument
139 syntax_is_printable_string(struct schema *schema, char *value, size_t len) in syntax_is_printable_string() argument
158 syntax_is_ia5_string(struct schema *schema, char *value, size_t len) in syntax_is_ia5_string() argument
176 syntax_is_integer(struct schema *schema, char *value, size_t len) in syntax_is_integer() argument
189 syntax_is_dn(struct schema *schema, char *value, size_t len) in syntax_is_dn() argument
191 if (!syntax_is_directory_string(schema, value, len)) in syntax_is_dn()
200 syntax_is_oid(struct schema *schema, char *value, size_t len) in syntax_is_oid() argument
212 if (lookup_object_by_name(schema, value) != NULL || in syntax_is_oid()
[all …]
H A Dschema.h45 struct schema;
49 int (*is_valid)(struct schema *schema, char *value,
138 struct schema struct
154 struct schema *schema_new(void); argument
155 int schema_parse(struct schema *schema,
164 struct attr_type *lookup_attribute_by_oid(struct schema *schema, char *oid);
165 struct attr_type *lookup_attribute_by_name(struct schema *schema, char *name);
166 struct attr_type *lookup_attribute(struct schema *schema, char *oid_or_name);
167 struct object *lookup_object_by_oid(struct schema *schema, char *oid);
168 struct object *lookup_object_by_name(struct schema *schema, char *name);
[all …]
H A DMakefile9 validate.c uuid.c schema.c imsgev.c syntax.c matching.c
20 SCHEMA_FILES= bsd.schema \
21 core.schema \
22 inetorgperson.schema \
23 nis.schema
27 ${INSTALL} -C -o root -g wheel -m 0644 ${.CURDIR}/schema/$$i ${DESTDIR}/etc/ldap/; \
H A Dvalidate.c80 !at->syntax->is_valid(conf->schema, val, elm->be_len)) { in validate_attribute()
136 if ((at = lookup_attribute(conf->schema, na)) == NULL) { in validate_dn()
321 if ((obj = lookup_object(conf->schema, s)) == NULL) { in validate_entry()
404 if ((at = lookup_attribute(conf->schema, s)) == NULL) { in validate_entry()
H A Dsearch.c59 at = lookup_attribute(conf->schema, adesc); in is_operational()
584 RB_FOREACH(obj, object_tree, &conf->schema->objects) { in ldap_search_subschema()
598 RB_FOREACH(at, attr_type_tree, &conf->schema->attr_types) { in ldap_search_subschema()
667 plan->at = lookup_attribute(conf->schema, "name"); in plan_get_attr()
670 plan->at = lookup_attribute(conf->schema, attr); in plan_get_attr()
H A Dparse.y143 | grammar schema '\n'
396 schema : SCHEMA STRING {
399 ret = schema_parse(conf->schema, $2);
842 conf->schema = schema_new(); in parse_config()
843 if (conf->schema == NULL) in parse_config()
H A Dmodify.c167 at = lookup_attribute(conf->schema, s); in ldap_add()
300 at = lookup_attribute(conf->schema, attr); in ldap_modify()
H A Dldapd.h252 struct schema *schema; member
/openbsd-src/etc/examples/
H A Dldapd.conf3 schema "/etc/ldap/core.schema"
4 schema "/etc/ldap/inetorgperson.schema"
5 schema "/etc/ldap/nis.schema"
6 schema "/etc/ldap/bsd.schema"
/openbsd-src/regress/usr.sbin/ldapd/
H A Dnldapd.conf1 schema "/etc/ldap/core.schema"
2 schema "/etc/ldap/inetorgperson.schema"
3 schema "/etc/ldap/nis.schema"
H A Dldapd.conf1 schema "/etc/ldap/core.schema"
2 schema "/etc/ldap/inetorgperson.schema"
3 schema "/etc/ldap/nis.schema"
/openbsd-src/gnu/usr.bin/perl/cpan/CPAN/lib/CPAN/
H A DKwalify.pm95 if (my $schema = $schema_loaded->{$schema_name}) {
101 eval { Kwalify::validate($schema, $data) };
/openbsd-src/gnu/llvm/lldb/source/Plugins/Trace/intel-pt/
H A DTraceIntelPTBundleLoader.cpp228 static std::string schema; in GetSchema() local
229 if (schema.empty()) { in GetSchema()
230 schema = R"({ in GetSchema()
317 return schema; in GetSchema()
/openbsd-src/gnu/llvm/lldb/source/Commands/
H A DCommandObjectTrace.cpp362 StringRef schema = PluginManager::GetTraceSchema(index++); in DoExecute() local
363 if (schema.empty()) in DoExecute()
366 result.AppendMessage(schema); in DoExecute()
/openbsd-src/gnu/usr.bin/perl/cpan/CPAN-Meta-YAML/t/tml-spec/
H A Dunicode.tml282 # default schema. No quotes.
297 # default schema. No quotes.
356 # default schema. No quotes.
364 # default schema. No quotes.
/openbsd-src/usr.bin/file/magdir/
H A Dvxl14 >0 leshort >0 schema version no %d
/openbsd-src/usr.sbin/ldapctl/
H A DMakefile8 index.c attributes.c schema.c syntax.c matching.c
/openbsd-src/gnu/llvm/lldb/source/Core/
H A DPluginManager.cpp1054 llvm::StringRef schema, DebuggerInitializeCallback debugger_init_callback) in TraceInstance()
1058 schema(schema), in TraceInstance()
1061 llvm::StringRef schema; member
1076 llvm::StringRef schema, DebuggerInitializeCallback debugger_init_callback) { in RegisterPlugin() argument
1079 create_callback_for_live_process, schema, debugger_init_callback); in RegisterPlugin()
1104 return instance.schema; in GetTraceSchema()
1111 return instance->schema; in GetTraceSchema()
/openbsd-src/gnu/llvm/lldb/source/Target/
H A DTrace.cpp148 StringRef schema = PluginManager::GetTraceSchema(name); in FindPluginSchema() local
149 if (!schema.empty()) in FindPluginSchema()
150 return schema; in FindPluginSchema()
/openbsd-src/usr.sbin/smtpd/
H A Dmta_session.c454 const char *schema; in mta_connect() local
518 schema = "smtp://"; in mta_connect()
520 schema = "smtp+tls://"; in mta_connect()
522 schema = "smtps://"; in mta_connect()
524 schema = "lmtp://"; in mta_connect()
526 schema = "smtp+notls://"; in mta_connect()
530 s->id, schema, sa_to_text(s->route->dst->sa), in mta_connect()
/openbsd-src/gnu/llvm/lldb/docs/use/
H A Dintel_pt.rst222 You can see the full schema by typing
226 trace schema intel-pt
/openbsd-src/lib/libcbor/
H A DREADME.md7 …nerating [CBOR](http://tools.ietf.org/html/rfc7049), the general-purpose schema-less binary data f…
/openbsd-src/gnu/llvm/llvm/docs/
H A Dyaml2obj.rst51 Here's a simplified Kwalify_ schema with an extension to allow alternate types.
H A DYamlIO.rst197 When parsing a YAML document, if the input does not match your schema (as
209 Has a key (shoe-size) that is not defined in the schema. YAML I/O will
218 Similar errors are produced for other input not conforming to the schema.
395 the above schema, a same valid YAML document is:
905 have need for multiple documents. The top level node in their YAML schema

12