Searched refs:ch_malloc (Results 1 - 25 of 128) sorted by relevance

123456

/netbsd-current/external/bsd/openldap/dist/servers/slapd/
H A Doperational.c40 a->a_vals = ch_malloc( 2 * sizeof( struct berval ) );
45 a->a_nvals = ch_malloc( 2 * sizeof( struct berval ) );
65 a->a_vals = ch_malloc( 2 * sizeof( struct berval ) );
69 a->a_nvals = ch_malloc( 2 * sizeof( struct berval ) );
86 a->a_vals = ch_malloc( 2 * sizeof( struct berval ) );
H A Dch_malloc.c1 /* $NetBSD: ch_malloc.c,v 1.3 2021/08/14 16:14:58 christos Exp $ */
3 /* ch_malloc.c - malloc routines that test returns from malloc and friends */
32 __RCSID("$NetBSD: ch_malloc.c,v 1.3 2021/08/14 16:14:58 christos Exp $");
46 (BER_MEMALLOC_FN *)ch_malloc,
53 ch_malloc( function
60 Debug( LDAP_DEBUG_ANY, "ch_malloc of %lu bytes failed\n",
78 return( ch_malloc( size ) );
H A Dreferral.c116 muck.bv_val = ch_malloc( muck.bv_len + 1 );
220 refs = ch_malloc( ( i + 1 ) * sizeof( struct berval ) );
290 refs = ch_malloc( (i + 1) * sizeof(struct berval));
H A Dsl_malloc.c66 * slap_sl_context() or ch_malloc.c:ch_free/ch_realloc().
68 * Allocations cannot yet return failure. Like ch_malloc, they succeed
212 sh = ch_malloc(sizeof(struct slab_heap));
213 base = ch_malloc(size);
250 ch_malloc(order * sizeof(struct sh_freelist));
267 ch_malloc(order * sizeof(unsigned char *));
274 sh->sh_map[i] = (unsigned char *) ch_malloc(nummaps);
389 "sl_malloc %lu: ch_malloc\n",
391 return ch_malloc(size);
693 so_block = (struct slab_object *)ch_malloc(
[all...]
H A Dzn_malloc.c177 zh->zh_zones = (void **)ch_malloc(zh->zh_maxzones * sizeof(void*));
178 zh->zh_znlock = (ldap_pvt_thread_rdwr_t *)ch_malloc(
180 zh->zh_maps = (unsigned char ***)ch_malloc(
185 ch_malloc(order * sizeof(struct zh_freelist));
197 ch_malloc(order * sizeof(unsigned char *));
204 zh->zh_maps[i][j] = (unsigned char *)ch_malloc(nummaps);
337 "zn_malloc %lu: ch_malloc\n",
342 return (void*)ch_malloc(size);
349 ch_malloc((zh->zh_zoneorder - order_start + 1) *
357 zh->zh_maps[i][j] = (unsigned char *)ch_malloc(nummap
[all...]
H A Doidm.c197 bva = ch_malloc( (num+1) * sizeof(struct berval) );
212 bva[i].bv_val = ch_malloc( bva[i].bv_len + 1 );
H A Dmodify.c950 mod = (Modifications *) ch_malloc( sizeof( Modifications ) );
957 mod->sml_values = (BerVarray) ch_malloc( 2 * sizeof( struct berval ) );
968 mod = (Modifications *) ch_malloc( sizeof( Modifications ) );
975 mod->sml_values = (BerVarray) ch_malloc( 2 * sizeof( struct berval ) );
980 (BerVarray) ch_malloc( 2 * sizeof( struct berval ) );
989 mod = (Modifications *) ch_malloc( sizeof( Modifications ) );
996 mod->sml_values = (BerVarray) ch_malloc( 2 * sizeof( struct berval ) );
1042 mod = (Modifications *) ch_malloc( sizeof(Modifications) );
/netbsd-current/external/bsd/openldap/dist/servers/lloadd/
H A Dlibevent_support.c37 ch_malloc( sizeof(ldap_pvt_thread_mutex_t) );
87 ch_malloc( sizeof(ldap_pvt_thread_cond_t) );
/netbsd-current/external/bsd/openldap/dist/contrib/slapd-modules/smbk5pwd/
H A Dsmbk5pwd.c45 #define malloc ch_malloc
148 out->bv_val = ch_malloc(HASHLEN*2 + 1);
408 keys = ch_malloc( (ent.keys.len + 1) * sizeof(struct berval));
430 ml = ch_malloc(sizeof(Modifications));
444 ml = ch_malloc(sizeof(Modifications));
454 ml->sml_values = ch_malloc( 2 * sizeof(struct berval));
455 ml->sml_values[0].bv_val = ch_malloc( 64 );
474 wcs = ch_malloc((l+1) * sizeof(wchar_t));
489 ml = ch_malloc(sizeof(Modifications));
494 keys = ch_malloc(
[all...]
/netbsd-current/external/bsd/openldap/dist/servers/slapd/back-meta/
H A Dadd.c87 attrs = ch_malloc( sizeof( LDAPMod * )*i );
113 attrs[ i ] = ch_malloc( sizeof( LDAPMod ) );
125 (struct berval **)ch_malloc( ( j + 1 ) *
165 attrs[ i ]->mod_bvalues = ch_malloc( ( j + 1 ) * sizeof( struct berval * ) );
H A Dmodify.c82 mods = ch_malloc( sizeof( LDAPMod )*i );
88 modv = ( LDAPMod ** )ch_malloc( ( i + 1 )*sizeof( LDAPMod * ) );
134 (struct berval **)ch_malloc( ( j + 1 ) *
168 (struct berval **)ch_malloc( ( j + 1 ) *
/netbsd-current/external/bsd/openldap/dist/servers/slapd/back-perl/
H A Dcompare.c41 avastr = ch_malloc( avalen + 1 );
H A Dinit.c111 be->be_private = (PerlBackend *) ch_malloc( sizeof(PerlBackend) );
/netbsd-current/external/bsd/openldap/dist/contrib/slapd-modules/samba4/
H A Dpguid.c102 mod = (Modifications *) ch_malloc( sizeof( Modifications ) );
107 mod->sml_values = ch_malloc( sizeof( struct berval ) * 2 );
156 mod = (Modifications *) ch_malloc( sizeof( Modifications ) );
161 mod->sml_values = ch_malloc( sizeof( struct berval ) * 2 );
345 mod = (Modifications *) ch_malloc( sizeof( Modifications ) );
350 mod->sml_values = ch_malloc( sizeof( struct berval ) * 2 );
/netbsd-current/external/bsd/openldap/dist/servers/slapd/back-ldap/
H A Dmodify.c63 modv = (LDAPMod **)ch_malloc( ( i + 1 )*sizeof( LDAPMod * )
86 (struct berval **)ch_malloc( ( j + 1 )*sizeof( struct berval * ) );
H A Dadd.c72 attrs = (LDAPMod **)ch_malloc( sizeof( LDAPMod * )*i
90 ch_malloc( ( j + 1 )*sizeof( struct berval * ) );
/netbsd-current/external/bsd/openldap/dist/servers/slapd/back-sql/
H A Dapi.c50 ba2 = ch_malloc( sizeof( backsql_api ) );
61 ba2->ba_argv = ch_malloc( argc * sizeof(char *));
146 * with a newly allocated one using ch_malloc()
194 * with a newly allocated one using ch_malloc()
H A Doperational.c64 a->a_vals = (BerVarray) ch_malloc( 2 * sizeof( struct berval ) );
68 a->a_nvals = (BerVarray) ch_malloc( 2 * sizeof( struct berval ) );
84 a->a_vals = ch_malloc( 2 * sizeof( struct berval ) );
/netbsd-current/external/bsd/openldap/dist/contrib/slapd-modules/addpartial/
H A Daddpartial-overlay.c104 mod = (Modifications *) ch_malloc(sizeof(
143 mod = (Modifications *) ch_malloc(sizeof(
197 mod = (Modifications *) ch_malloc(sizeof(
229 mod = (Modifications *) ch_malloc(sizeof(
/netbsd-current/external/bsd/openldap/dist/servers/slapd/back-ndb/
H A Dconfig.cpp241 ln = (ListNode *)ch_malloc( sizeof(ListNode));
266 ln = (ListNode *)ch_malloc( sizeof(ListNode));
291 ln = (ListNode *)ch_malloc( sizeof(ListNode));
316 ln = (ListNode *)ch_malloc( sizeof(ListNode));
/netbsd-current/external/bsd/openldap/dist/servers/slapd/back-wt/
H A Dctx.c33 wc = ch_malloc( sizeof( wt_ctx ) );
H A Ddn2entry.c86 eh.bv.bv_val = ch_malloc( eh.bv.bv_len );
/netbsd-current/external/bsd/openldap/dist/servers/slapd/back-dnssrv/
H A Dreferral.c102 url.bv_val = ch_malloc( url.bv_len + 1 );
/netbsd-current/external/bsd/openldap/dist/servers/slapd/back-sock/
H A Dresult.c58 buf = (char *) ch_malloc( BUFSIZ );
/netbsd-current/external/bsd/openldap/dist/servers/slapd/overlays/
H A Ddyngroup.c67 bv.bv_val = ch_malloc( bv.bv_len + 1 );
117 a2 = ch_malloc( sizeof(adpair) );

Completed in 240 milliseconds

123456