Searched refs:ch_malloc (Results 26 - 50 of 128) sorted by relevance

123456

/netbsd-current/external/bsd/openldap/dist/servers/lloadd/
H A Ddaemon.c251 sap = *sal = ch_malloc( 2 * sizeof(void *) );
306 *sap = ch_malloc( sizeof(struct sockaddr_in6) );
312 *sap = ch_malloc( sizeof(struct sockaddr_in) );
349 sap = *sal = ch_malloc( ( n + 1 ) * sizeof(void *) );
604 l.sl_name.bv_val = ch_malloc( l.sl_name.bv_len + 1 );
623 ch_malloc( sizeof("IP=255.255.255.255:65535") );
640 l.sl_name.bv_val = ch_malloc( l.sl_name.bv_len );
656 li = ch_malloc( sizeof(LloadListener) );
743 lload_listeners = ch_malloc( ( i + 1 ) * sizeof(LloadListener *) );
1256 ch_malloc( lload_daemon_thread
[all...]
H A Depoch.c284 new = ch_malloc( sizeof(struct pending_ref) );
/netbsd-current/external/bsd/openldap/dist/servers/slapd/overlays/
H A Dremoteauth.c209 str = ch_malloc( strlen( map->domain ) +
258 bv.bv_val = ch_malloc( strlen( pin->hostname ) +
363 map = ch_malloc( sizeof(ad_info) );
463 dom = ch_malloc( ch - domain + 1 );
507 ldap_url = ch_malloc( 1 + strlen( LDAP_PREFIX ) + strlen( realm ) );
542 nu = ch_malloc( strlen( ldap_url ) + 2 + strlen( LDAP_PREFIX ) +
553 ldap_url = ch_malloc( 1 + strlen( line ) + strlen( LDAP_PREFIX ) );
H A Daccesslog.c1020 log_attr *la = ch_malloc( sizeof( log_attr ));
1047 lb = ch_malloc( sizeof( log_base ) + mbv.bv_len + ndn.bv_len + 3 + 1 );
1394 bv.bv_val = ch_malloc( bv.bv_len + 1 );
1472 dst->bv_val = ch_malloc( dst->bv_len+1 );
1624 vals = ch_malloc( (i+1) * sizeof( struct berval ));
1660 vals = ch_malloc( (i+1) * sizeof( struct berval ));
1720 vals[i].bv_val = ch_malloc( vals[i].bv_len + 1 );
1763 vals = ch_malloc( (i + 1) * sizeof( struct berval ) );
2693 rdnTimestampMatch = ch_malloc( sizeof( MatchingRule ));
2694 rdnTimestampSyntax = ch_malloc( sizeo
[all...]
H A Dcollect.c145 bv.bv_val = ch_malloc( bv.bv_len + 1 );
239 ci = ch_malloc( sizeof( collect_info ) +
H A Dretcode.c470 cb = ( slap_callback * )ch_malloc( sizeof( slap_callback ) );
747 rd = (retcode_t *)ch_malloc( sizeof( retcode_t ) );
876 ptr = bv.bv_val = ch_malloc( bv.bv_len + 1 );
1236 next = rdi.rdi_line.bv_val = ch_malloc( rdi.rdi_line.bv_len + 1 );
1250 *rdip = ( retcode_item_t * )ch_malloc( sizeof( retcode_item_t ) );
/netbsd-current/external/bsd/openldap/dist/servers/slapd/
H A Dvalue.c290 tmp.bv_val = ch_malloc( tmp.bv_len + 1 );
307 tmp.bv_val = ch_malloc( tmp.bv_len + 1 );
358 a->a_nvals = ch_malloc( (vals+1)*sizeof(struct berval));
364 a->a_nvals[i].bv_val = ch_malloc( a->a_nvals[i].bv_len + 1);
376 indexes = ch_malloc( vals * sizeof(int) );
727 new = ch_malloc( (anum+vnum+1) * sizeof(struct berval));
743 nnew = ch_malloc( (anum+vnum+1) * sizeof(struct berval));
H A Dmods.c93 pmod.sm_values = (BerVarray)ch_malloc(
96 pmod.sm_nvalues = (BerVarray)ch_malloc(
242 id2 = ch_malloc( mod->sm_numvals * sizeof( int ));
H A Dadd.c111 mod = (Modifications *) ch_malloc( sizeof(Modifications) );
543 mod = (Modifications *) ch_malloc( sizeof( Modifications ));
553 mod->sml_values = (struct berval*) ch_malloc(
561 mod->sml_nvalues = (struct berval*) ch_malloc(
H A Dextended.c451 bv = (struct berval *) ch_malloc( sizeof(struct berval) );
454 bv->bv_val = ch_malloc( bv->bv_len + 1 );
H A Dmodrdn.c408 mod_tmp = ( Modifications * )ch_malloc( sizeof( Modifications ) );
412 mod_tmp->sml_values = ( BerVarray )ch_malloc( 2 * sizeof( struct berval ) );
416 mod_tmp->sml_nvalues = ( BerVarray )ch_malloc( 2 * sizeof( struct berval ) );
H A Dcr.c437 bva = ch_malloc( (num+1) * sizeof(struct berval) );
462 bva[i].bv_val = ch_malloc( bva[i].bv_len + 1 );
H A Dsyntax.c435 bva = ch_malloc( (num+1) * sizeof(struct berval) );
452 bva[i].bv_val = ch_malloc( bva[i].bv_len + 1 );
H A Dat.c738 sat->sat_syntax = ch_malloc( sizeof( Syntax ));
746 sat->sat_equality = ch_malloc( sizeof( MatchingRule ));
1007 bva = ch_malloc( (num+1) * sizeof(struct berval) );
1035 bva[i].bv_val = ch_malloc( bva[i].bv_len + 1 );
H A Dentry.c290 atail->a_vals = ch_malloc( (attr_cnt + 1) * sizeof(struct berval));
293 atail->a_nvals = ch_malloc( (attr_cnt + 1) * sizeof(struct berval));
714 bv->bv_val = ch_malloc(len);
979 ret->e_bv.bv_val = ch_malloc( ret->e_bv.bv_len );
/netbsd-current/external/bsd/openldap/dist/servers/slapd/back-asyncmeta/
H A Ddncache.c173 entry = ch_malloc( sizeof( metadncacheentry_t ) + ndn->bv_len + 1 );
/netbsd-current/external/bsd/openldap/dist/servers/slapd/back-meta/
H A Ddncache.c173 entry = ch_malloc( sizeof( metadncacheentry_t ) + ndn->bv_len + 1 );
/netbsd-current/external/bsd/openldap/dist/contrib/slapd-modules/denyop/
H A Ddenyop.c123 oi = (denyop_info *)ch_malloc(sizeof(denyop_info));
/netbsd-current/external/bsd/openldap/dist/contrib/slapd-modules/acl/
H A Dgssacl.c108 bv->bv_val = ch_malloc( bv->bv_len + 1 );
H A Dposixgroup.c141 bv->bv_val = ch_malloc( bv->bv_len + 1 );
/netbsd-current/external/bsd/openldap/dist/servers/slapd/back-wt/
H A Did2entry.c153 eh.bv.bv_val = ch_malloc( eh.bv.bv_len );
/netbsd-current/external/bsd/openldap/dist/servers/slapd/back-dnssrv/
H A Dsearch.c111 url.bv_val = ch_malloc( url.bv_len + 1 );
/netbsd-current/external/bsd/openldap/dist/servers/slapd/back-perl/
H A Dconfig.c98 char **av = ch_malloc( (argc+2) * sizeof(char *));
/netbsd-current/external/bsd/openldap/sbin/slapd/
H A DMakefile24 dn.c compare.c modify.c delete.c modrdn.c ch_malloc.c \
/netbsd-current/external/bsd/openldap/dist/servers/slapd/back-ndb/
H A Dndbio.cpp82 ai = (NdbAttrInfo *)ch_malloc( sizeof( NdbAttrInfo ));
212 oci->no_attrs = (struct ndb_attrinfo **)ch_malloc( col * sizeof(struct ndb_attrinfo *));
273 oci = (NdbOcInfo *)ch_malloc( sizeof( NdbOcInfo )+oc->soc_cname.bv_len+1 );
292 oci->no_attrs = (struct ndb_attrinfo **)ch_malloc( col * sizeof(struct ndb_attrinfo *));
393 oci = (NdbOcInfo *)ch_malloc( sizeof( NdbOcInfo )+oc->soc_cname.bv_len+1 );
556 an = (Attribute **)ch_malloc( 2 * nattrs * sizeof(Attribute *));
953 bv[0].bv_val = (char *)ch_malloc( len+1 );

Completed in 402 milliseconds

123456