Searched refs:ch_malloc (Results 76 - 100 of 128) sorted by relevance

123456

/netbsd-current/external/bsd/openldap/dist/servers/slapd/back-mdb/
H A Dtools.c137 int *ptr = ch_malloc( sizeof( int ));
529 holes = ch_malloc( nhmax * sizeof(dn_id) * 2 );
1438 ic = ch_malloc( sizeof( mdb_tool_idl_cache ) + itmp.kstr.bv_len + 4 );
1493 ice = ch_malloc( sizeof( mdb_tool_idl_cache_entry ));
1564 num = ch_malloc(STACKSIZ * (sizeof(ID) + sizeof(rec)));
H A Dsearch.c311 ret = ch_malloc( MDB_idl_um_size * sizeof( ID2 ));
484 candidates = ch_malloc(( MDB_idl_um_size + MDB_idl_db_size ) * sizeof ( ID ));
1336 ic = ch_malloc(( mdb->mi_search_stack_depth + 2 ) * MDB_idl_um_size
1416 stack = ch_malloc( (depth + 1) * MDB_idl_um_size * sizeof( ID ) );
/netbsd-current/external/bsd/openldap/dist/servers/slapd/
H A Dsyncrepl.c418 attrs = (char**) ch_malloc( 3 * sizeof(char*) );
424 attrs = (char**) ch_malloc( (n+1)* sizeof(char*) );
430 attrs = (char**) ch_malloc( 3 * sizeof(char*) );
738 newsids = ch_malloc( sizeof(int) * i );
739 newcsns = ch_malloc( sizeof(struct berval) * ( i + 1 ));
1069 si->si_syncCookie.sids = ch_malloc( si->si_cookieState->cs_num *
2312 mod = (Modifications *) ch_malloc( sizeof( Modifications ) );
2405 mod = (Modifications *) ch_malloc( sizeof( Modifications ) );
2432 mod = (Modifications *) ch_malloc( sizeof( Modifications ) );
2438 mod->sml_values = ch_malloc(
[all...]
H A Dad.c388 d2 = ch_malloc(sizeof(AttributeDescription) + dlen);
770 desc = ch_malloc(sizeof(AttributeDescription) + 1 +
1159 lcur = line = (char *) ch_malloc( lmax );
H A Dmr.c233 compat_syn = ch_malloc( sizeof(Syntax *) * (i+1) );
H A Dldapsync.c515 new->sids = ch_malloc( src->numcsns * sizeof(int) );
H A Dschema_init.c2125 words = (char **)ch_malloc( count * sizeof(char *) );
2126 values = (char **)ch_malloc( count * sizeof(char *) );
2228 newkeys = (struct berval *)ch_malloc( (keycount + wordcount + 1)
2275 keys = (struct berval *)ch_malloc( sizeof(struct berval) );
2292 keys = (struct berval *)ch_malloc( (count + 1) * sizeof(struct berval) );
3780 normalized->bv_val = ch_malloc( normalized->bv_len + 1 );
4279 normalized->bv_val = ch_malloc( normalized->bv_len + 1 );
4964 normalized->bv_val = ch_malloc( normalized->bv_len + 1 );
5726 normalized->bv_val = ch_malloc( 14 );
H A Dsasl.c600 mod = (Modifications *)ch_malloc( sizeof(Modifications) );
605 mod->sml_values = (struct berval *)ch_malloc( (pr[i].nvalues + 1) *
1091 ret = ch_malloc( sizeof( slapd_map_data ) + flen );
H A Dsaslauthz.c1151 fstr->bv_val = ch_malloc( fstr->bv_len + 1 );
1621 bva = ch_malloc( (nSaslRegexp+1) * sizeof(struct berval) );
1627 bva[i].bv_val = ch_malloc( bva[i].bv_len+1 );
H A Dcomponent.c676 cav.cav_ptr = cav.cav_buf = ch_malloc (cr_len+2);
H A Dschema_prep.c1264 syn = ch_malloc( sizeof( Syntax ) );
1285 MatchingRule *mr = ch_malloc( sizeof( MatchingRule ) );
/netbsd-current/external/bsd/openldap/dist/servers/slapd/overlays/
H A Dppolicy.c1337 p = ch_malloc( sizeof( pw_hist ));
1386 bv->bv_val = ch_malloc( nlen + 1 );
2449 ml = (Modifications *) ch_malloc( sizeof( Modifications ) );
2462 ml = (Modifications *) ch_malloc( sizeof( Modifications ) );
2474 ml = (Modifications *) ch_malloc( sizeof( Modifications ) );
2486 ml = (Modifications *) ch_malloc( sizeof( Modifications ) );
2701 ml->sml_values = (BerVarray) ch_malloc( 2 * sizeof( struct berval ) );
3022 mods = (Modifications *) ch_malloc( sizeof( Modifications ) );
3324 syn = ch_malloc( sizeof( Syntax ));
3329 mr = ch_malloc( sizeo
[all...]
H A Dsyncprov.c1124 sr = ch_malloc( sizeof( syncres ));
1135 ri = ch_malloc( srsize );
1154 ri = ch_malloc( srsize );
1666 se = ch_malloc( sizeof( slog_entry ) + opc->suuid.bv_len +
1694 sl->sl_mincsn = ch_malloc( 2*sizeof( struct berval ));
1695 sl->sl_sids = ch_malloc( sizeof( int ));
2763 mt = ch_malloc( sizeof(modtarget) );
2883 g2 = ch_malloc( sizeof(GroupAssertion) + g1->ga_len );
3104 sop = ch_malloc( sizeof( syncops ));
3939 si->si_sids = ch_malloc( sizeo
[all...]
H A Drwm.c596 ml = ch_malloc( sizeof( Modifications ) );
620 ml = ch_malloc( sizeof( Modifications ));
631 bva = ch_malloc( (num+1) * sizeof( struct berval ));
638 bva = ch_malloc( (num+1) * sizeof( struct berval ));
1275 (*ap)->a_nvals = ch_malloc( (last+1) * sizeof(struct berval) );
H A Dpcache.c453 temp2 = ch_malloc( ftemp->bv_len + 1 );
788 tempstr.bv_val = ch_malloc( strlen( lud->lud_filter ) + 1 );
1567 CachedQuery* new_cached_query = (CachedQuery*) ch_malloc(sizeof(CachedQuery));
3896 bv.bv_val = ch_malloc( bv.bv_len+1 );
3924 bv.bv_val = ch_malloc( bv.bv_len+1 );
3944 bv.bv_val = ch_malloc( bv.bv_len + 1 );
4390 bv.bv_val = ch_malloc( bv.bv_len + 1 );
4538 cm = (cache_manager *)ch_malloc(sizeof(cache_manager));
4541 qm = (query_manager*)ch_malloc(sizeof(query_manager));
H A Dsssvlv.c759 sn2 = ch_malloc( len );
1362 si = (sssvlv_info *)ch_malloc(sizeof(sssvlv_info));
H A Drwmmap.c926 *pa_nvals = ch_malloc( ( last + 2 ) * sizeof(struct berval) );
1092 *pa_nvals = ch_malloc( ( last + 2 ) * sizeof(struct berval) );
/netbsd-current/external/bsd/openldap/dist/servers/slapd/back-ldap/
H A Dchain.c1566 c->value_bv.bv_val = ch_malloc( c->value_bv.bv_len + 1 );
1793 lc = ch_malloc( sizeof( ldap_chain_t ) );
2136 = ch_malloc( li->li_monitor_info.lmi_conn_rdn.bv_len + 1 );
2144 = ch_malloc( li->li_monitor_info.lmi_ops_rdn.bv_len + 1 );
/netbsd-current/external/bsd/openldap/dist/contrib/slapd-modules/nssov/
H A Dnssov.h276 mi->mi_attrs = ch_malloc( i*sizeof(AttributeName)); \
H A Dnssov.c638 ssd.bv_val = ch_malloc( ssd.bv_len + 1 );
658 map.bv_val = ch_malloc(map.bv_len + 1);
/netbsd-current/external/bsd/openldap/dist/servers/lloadd/
H A Dbind.c72 client->c_auth.bv_val = ch_malloc( client->c_auth.bv_len + 1 );
300 client->c_auth.bv_val = ch_malloc( client->c_auth.bv_len + 1 );
/netbsd-current/external/bsd/openldap/dist/servers/slapd/back-meta/
H A Dconfig.c1364 bv2.bv_val = ch_malloc( bv2.bv_len + 1 );
1379 bv.bv_val = ch_malloc( bv.bv_len + 1 );
1457 bv.bv_val = ch_malloc( bv.bv_len + 1 );
2553 bv.bv_val = ch_malloc( bv.bv_len + 1 );
/netbsd-current/external/bsd/openldap/dist/contrib/slapd-modules/samba4/
H A Drdnval.c540 mod = (Modifications *) ch_malloc( sizeof( Modifications ) );
/netbsd-current/external/bsd/openldap/dist/servers/slapd/back-ndb/
H A Dmodify.cpp83 id2 = (int *)ch_malloc( mod->sm_numvals * sizeof( int ));
/netbsd-current/external/bsd/openldap/dist/servers/slapd/back-sql/
H A Dconfig.c356 bv.bv_val = ch_malloc( bv.bv_len + 1 );

Completed in 716 milliseconds

123456