/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/contrib/slapd-modules/allowed/ |
H A D | allowed.c | 134 aa_add_oc( ObjectClass *oc, ObjectClass ***ocpp, AttributeType ***atpp ) argument 140 if ( (*ocpp)[ i ] == oc ) { 151 (*ocpp)[ i ] = oc; 154 if ( oc->soc_required ) { 157 for ( i = 0; oc->soc_required[ i ] != NULL; i++ ) { 158 aa_add_at( oc->soc_required[ i ], atpp ); 162 if ( oc->soc_allowed ) { 165 for ( i = 0; oc->soc_allowed[ i ] != NULL; i++ ) { 166 aa_add_at( oc->soc_allowed[ i ], atpp ); 236 ObjectClass *oc local 329 ObjectClass *oc; local [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/servers/slapd/ |
H A D | oc.c | 3 /* oc.c - object class routines */ 4 /* OpenLDAP: pkg/ldap/servers/slapd/oc.c,v 1.77.2.12 2010/04/13 20:23:17 kurt Exp */ 61 ObjectClass *oc, 65 * set_flags should only be true if oc is one of operational 73 assert( !( e == NULL || oc == NULL ) ); 76 if ( e == NULL || oc == NULL ) { 83 return (e->e_ocflags & oc->soc_flags & SLAP_OC__MASK) != 0; 95 oc->soc_oclass.oc_oid, 0 ); 112 if ( objectClass == oc ) { 117 && is_object_subclass( oc, objectClas 59 is_entry_objectclass( Entry* e, ObjectClass *oc, unsigned flags ) argument 207 ObjectClass *oc = oc_bvfind( ocname ); local 713 oc_add( LDAPObjectClass *oc, int user, ObjectClass **rsoc, ObjectClass *prev, const char **err ) argument 827 ObjectClass *oc; local 885 ObjectClass *oc; local 914 LDAPObjectClass *oc; local [all...] |
H A D | schema_check.c | 31 ObjectClass *oc, 59 ObjectClass *sc, *oc, **socs = NULL; local 151 rc = structural_class( aoc->a_vals, &oc, &socs, text, textbuf, textlen, 158 attr_merge_one( e, ad_structuralObjectClass, &oc->soc_cname, NULL ); 160 sc = oc; 211 if ( oc == NULL ) { 218 } else if ( sc != oc ) { 223 asc->a_vals[0].bv_val, oc->soc_cname.bv_val ); 235 sc = oc; 324 /* check that the entry has required attrs for each oc */ 507 oc_check_required( Entry *e, ObjectClass *oc, struct berval *ocname ) argument 591 ObjectClass *oc = socs[i]; local 634 ObjectClass *oc, **socs; local [all...] |
H A D | ad.c | 534 ObjectClass *oc; local 608 oc = oc_bvfind( &ocname ); 609 if ( oc && attrs->an_name.bv_val[0] == '!' ) { 617 oc = oc_bvfind( &attrs->an_name ); 619 attrs->an_oc = oc; 623 oc = attrs->an_oc; 624 if( oc != NULL ) { 626 if ( oc == slap_schema.si_oc_extensibleObject ) { 631 if( oc->soc_required ) { 635 for ( i = 0; oc 1052 ObjectClass *oc; local [all...] |
H A D | schemaparse.c | 188 LDAPObjectClass *oc; local 193 oc = ldap_str2objectclass(line, &code, &err, LDAP_SCHEMA_ALLOW_ALL ); 194 if ( !oc ) { 203 if ( oc->oc_oid == NULL ) { 213 code = oc_add( oc, 1, soc, prev, &err ); 225 ldap_objectclass_free( oc ); 228 ldap_memfree( oc );
|
H A D | schema_prep.c | 95 ObjectClass *oc; local 99 oc = oc_bvfind( in ); 100 if( oc == NULL ) return LDAP_INVALID_SYNTAX; 102 ber_dupbv_x( out, &oc->soc_cname, ctx ); 182 ObjectClass *oc = oc_bvfind( value ); local 196 if ( oc == NULL ) { 201 *matchp = ( asserted != oc ); 215 ObjectClass *oc = oc_bvfind( value ); local 229 if ( oc == NULL ) { 235 *matchp = ( asserted != oc ); 272 ObjectClass *oc = socs[i]; local 1285 LDAPObjectClass *oc; local 1360 rootDseObjectClass( Backend *be, Entry *e, ObjectClass *oc, const char** text, char *textbuf, size_t textlen ) argument 1381 aliasObjectClass( Backend *be, Entry *e, ObjectClass *oc, const char** text, char *textbuf, size_t textlen ) argument 1400 referralObjectClass( Backend *be, Entry *e, ObjectClass *oc, const char** text, char *textbuf, size_t textlen ) argument 1419 subentryObjectClass( Backend *be, Entry *e, ObjectClass *oc, const char** text, char *textbuf, size_t textlen ) argument 1446 dynamicObjectClass( Backend *be, Entry *e, ObjectClass *oc, const char** text, char *textbuf, size_t textlen ) argument [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/contrib/ldapc++/src/ |
H A D | LDAPObjClass.cpp | 23 LDAPObjClass::LDAPObjClass (const LDAPObjClass &oc){ argument 27 oid = oc.oid; 28 desc = oc.desc; 29 names = oc.names; 30 must = oc.must; 31 may = oc.may; 32 kind = oc.kind; 33 sup = oc.sup;
|
H A D | LDAPSchema.h | 47 * @param oc description of one objectclass (string returned by search 52 void setObjectClasses (const StringList &oc);
|
H A D | LDAPSchema.cpp | 33 LDAPObjClass oc ( (*i) ); 34 StringList names = oc.getNames(); 42 object_classes [lc_name] = LDAPObjClass (oc);
|
H A D | LDAPObjClass.h | 38 LDAPObjClass( const LDAPObjClass& oc );
|
/netbsd-6-1-5-RELEASE/dist/dhcp/server/ |
H A D | dhcp.c | 66 struct option_cache *oc; local 155 oc = lookup_option (&dhcp_universe, packet -> options, 157 if (!oc) 166 &global_scope, oc, MDL)) 193 if ((oc = lookup_option (&dhcp_universe, packet -> options, 195 if (!oc -> expression) 196 while (oc -> data.len && 197 oc -> data.data [oc -> data.len - 1] == 0) { 199 oc 413 struct option_cache *oc; local 692 struct option_cache *oc; local 834 struct option_cache *oc; local 954 struct option_cache *oc; local 1299 struct option_cache *oc = (struct option_cache *)0; local 1504 struct option_cache *oc; local 2951 struct option_cache *oc; local 3792 struct option_cache *oc; local [all...] |
H A D | ddns.c | 228 struct option_cache *oc; local 254 if (!(oc = lookup_option (&server_universe, state -> options, 260 &lease -> scope, oc, MDL)) { 264 if (!(oc = lookup_option (&fqdn_universe, packet -> options, 270 &lease -> scope, oc, MDL)) 274 if (!(oc = lookup_option (&fqdn_universe, packet -> options, 277 if (!(oc = lookup_option (&fqdn_universe, packet -> options, 283 &lease -> scope, oc, MDL)) 292 if ((oc = lookup_option (&server_universe, state -> options, 298 &lease -> scope, oc, MD [all...] |
H A D | bootp.c | 61 struct option_cache *oc; local 162 if ((oc = lookup_option (&server_universe, options, SV_ALLOW_BOOTP)) && 166 &lease -> scope, oc, MDL)) { 172 if ((oc = lookup_option (&server_universe, 177 &lease -> scope, oc, MDL)) { 204 oc = (struct option_cache *)0; 207 if (option_cache_allocate (&oc, MDL)) { 209 (&oc -> expression, 213 oc -> option = 216 options, oc); [all...] |
H A D | dhcpd.c | 616 struct option_cache *oc; local 634 oc = lookup_option (&server_universe, options, SV_LEASE_FILE_NAME); 635 if (oc && 639 &global_scope, oc, MDL)) { 649 oc = lookup_option (&server_universe, options, SV_PID_FILE_NAME); 650 if (oc && 654 &global_scope, oc, MDL)) { 665 oc = lookup_option (&server_universe, options, SV_OMAPI_PORT); 666 if (oc && 670 &global_scope, oc, MD [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/tests/data/ |
H A D | slapd-nis-master.conf | 17 include @SCHEMADIR@/others_nis.oc.conf 19 include @SCHEMADIR@/nis.oc.conf 21 include @SCHEMADIR@/internet_mail.oc.conf
|
/netbsd-6-1-5-RELEASE/external/bsd/atf/dist/atf-sh/ |
H A D | atf-check.cpp | 591 run_output_check(const output_check oc, const atf::fs::path& path, argument 596 if (oc.type == oc_empty) { 598 if (!oc.negated && !is_empty) { 602 } else if (oc.negated && is_empty) { 607 } else if (oc.type == oc_file) { 608 const bool equals = compare_files(path, atf::fs::path(oc.value)); 609 if (!oc.negated && !equals) { 612 print_diff(atf::fs::path(oc.value), path); 614 } else if (oc.negated && equals) { 616 cat_file(atf::fs::path(oc [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/unit/atf-src/atf-sh/ |
H A D | atf-check.cpp | 590 run_output_check(const output_check oc, const atf::fs::path& path, argument 595 if (oc.type == oc_empty) { 597 if (!oc.negated && !is_empty) { 601 } else if (oc.negated && is_empty) { 606 } else if (oc.type == oc_file) { 607 const bool equals = compare_files(path, atf::fs::path(oc.value)); 608 if (!oc.negated && !equals) { 611 print_diff(atf::fs::path(oc.value), path); 613 } else if (oc.negated && equals) { 615 cat_file(atf::fs::path(oc [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/contrib/ldapc++/examples/ |
H A D | readSchema.cpp | 49 const LDAPAttribute* oc = entry->getAttributes()->getAttributeByName("objectClasses"); local 51 schema.setObjectClasses((oc->getValues()));
|
/netbsd-6-1-5-RELEASE/sys/arch/zaurus/stand/zboot/ |
H A D | bootmenu.c | 260 char input[80], *ic, *oc; local 318 oc = input; 321 *oc++ = *ic; 325 oc--; 326 for (; *oc == ' ' && oc > input; oc--); 327 *++oc = '\0';
|
/netbsd-6-1-5-RELEASE/sys/arch/i386/stand/lib/ |
H A D | bootmenu.c | 304 char input[80], *ic, *oc; local 363 oc = input; 366 *oc++ = *ic; 370 oc--; 371 for (; *oc == ' ' && oc > input; oc--); 372 *++oc = '\0';
|
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/libraries/libldap/ |
H A D | schema.c | 68 ldap_objectclass2name( LDAPObjectClass * oc ) 70 return( choose_name( oc->oc_names, oc->oc_oid ) ); 531 ldap_objectclass2str( LDAPObjectClass * oc ) 534 if (ldap_objectclass2bv( oc, &bv )) 541 ldap_objectclass2bv( LDAPObjectClass * oc, struct berval *bv ) argument 552 print_numericoid(ss, oc->oc_oid); 555 if ( oc->oc_names ) { 557 print_qdescrs(ss,oc->oc_names); 560 if ( oc 2379 ldap_objectclass_free(LDAPObjectClass * oc) argument 2407 LDAPObjectClass * oc; local [all...] |
/netbsd-6-1-5-RELEASE/dist/dhcp/client/ |
H A D | dhclient.c | 733 struct option_cache *oc; local 777 oc = lookup_option (&dhcp_universe, client -> new -> options, 780 if (oc && 783 &global_scope, oc, MDL)) { 808 oc = lookup_option (&dhcp_universe, client -> new -> options, 810 if (oc && 813 &global_scope, oc, MDL)) { 837 oc = lookup_option (&dhcp_universe, client -> new -> options, 839 if (oc && 842 &global_scope, oc, MD 957 struct option_cache *oc; local 1225 struct option_cache *oc; local 1839 struct option_cache *oc; local 1979 struct option_cache *oc; local 2066 struct option_cache *oc; local 2120 struct option_cache *oc; local 2232 write_lease_option(struct option_cache *oc, struct packet *packet, struct lease *lease, struct client_state *client_state, struct option_state *in_options, struct option_state *cfg_options, struct binding_scope **scope, struct universe *u, void *stuff) argument 2474 client_option_envadd(struct option_cache *oc, struct packet *packet, struct lease *lease, struct client_state *client_state, struct option_state *in_options, struct option_state *cfg_options, struct binding_scope **scope, struct universe *u, void *stuff) argument 2519 struct option_cache *oc; local 2862 struct option_cache *oc; local 3118 struct option_cache *oc; local [all...] |
/netbsd-6-1-5-RELEASE/gnu/dist/groff/src/preproc/refer/ |
H A D | token.h | 40 void set(token_type, const char *sk = 0, const char *oc = 0);
|
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/servers/slapd/back-sql/ |
H A D | add.c | 275 backsql_oc_map_rec *oc, 311 ad->ad_cname.bv_val, sm_ops[ sm_op ], BACKSQL_OC_NAME( oc ) ); 317 at = backsql_ad2at( oc, ad ); 322 ad->ad_cname.bv_val, BACKSQL_OC_NAME( oc ), 0 ); 742 backsql_oc_map_rec *oc, 754 at_rec = backsql_ad2at( oc, at->a_desc ); 762 BACKSQL_OC_NAME( oc ) ); 780 BACKSQL_OC_NAME( oc ) ); 806 if ( dn_match( at_val, &oc->bom_oc->soc_cname ) ) 924 backsql_oc_map_rec *oc local 271 backsql_modify_internal( Operation *op, SlapReply *rs, SQLHDBC dbh, backsql_oc_map_rec *oc, backsql_entryID *e_id, Modifications *modlist ) argument 738 backsql_add_attr( Operation *op, SlapReply *rs, SQLHDBC dbh, backsql_oc_map_rec *oc, Attribute *at, unsigned long new_keyval ) argument [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.dg/opt/ |
H A D | new1.C | 53 QScriptClassInfo *oc = 0); 57 QScriptClassInfo *oc) 55 newObject(QScriptValueImpl *o, const QScriptValueImpl &proto, QScriptClassInfo *oc) argument
|