HomeSort by: relevance | last modified time | path
    Searched refs:ch_malloc (Results 1 - 25 of 128) sorted by relevancy

1 2 3 4 5 6

  /src/external/bsd/openldap/dist/servers/slapd/
operational.c 40 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 ) );
ch_malloc.c 1 /* $NetBSD: ch_malloc.c,v 1.4 2025/09/05 21:16:25 christos Exp $ */
3 /* ch_malloc.c - malloc routines that test returns from malloc and friends */
32 __RCSID("$NetBSD: ch_malloc.c,v 1.4 2025/09/05 21:16:25 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 ) );
referral.c 116 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));
sl_malloc.c 66 * 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...]
zn_malloc.c 177 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(nummaps)
    [all...]
modify.c 950 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) );
oidm.c 197 bva = ch_malloc( (num+1) * sizeof(struct berval) );
212 bva[i].bv_val = ch_malloc( bva[i].bv_len + 1 );
  /src/external/bsd/openldap/dist/servers/lloadd/
libevent_support.c 37 ch_malloc( sizeof(ldap_pvt_thread_mutex_t) );
87 ch_malloc( sizeof(ldap_pvt_thread_cond_t) );
daemon.c 257 sap = *sal = ch_malloc( 2 * sizeof(void *) );
312 *sap = ch_malloc( sizeof(struct sockaddr_in6) );
318 *sap = ch_malloc( sizeof(struct sockaddr_in) );
355 sap = *sal = ch_malloc( ( n + 1 ) * sizeof(void *) );
610 l.sl_name.bv_val = ch_malloc( l.sl_name.bv_len + 1 );
629 ch_malloc( sizeof("IP=255.255.255.255:65535") );
646 l.sl_name.bv_val = ch_malloc( l.sl_name.bv_len );
662 li = ch_malloc( sizeof(LloadListener) );
749 lload_listeners = ch_malloc( ( i + 1 ) * sizeof(LloadListener *) );
1276 ch_malloc( lload_daemon_threads * sizeof(ldap_pvt_thread_t) )
    [all...]
  /src/external/bsd/openldap/dist/contrib/slapd-modules/smbk5pwd/
smbk5pwd.c 45 #define malloc ch_malloc
149 out->bv_val = ch_malloc(HASHLEN*2 + 1);
409 keys = ch_malloc( (ent.keys.len + 1) * sizeof(struct berval));
431 ml = ch_malloc(sizeof(Modifications));
445 ml = ch_malloc(sizeof(Modifications));
455 ml->sml_values = ch_malloc( 2 * sizeof(struct berval));
456 ml->sml_values[0].bv_val = ch_malloc( 64 );
475 wcs = ch_malloc((l+1) * sizeof(wchar_t));
490 ml = ch_malloc(sizeof(Modifications));
495 keys = ch_malloc( 2 * sizeof(struct berval) )
    [all...]
  /src/external/bsd/openldap/dist/servers/slapd/back-meta/
add.c 89 attrs = ch_malloc( sizeof( LDAPMod * )*i );
115 attrs[ i ] = ch_malloc( sizeof( LDAPMod ) );
127 (struct berval **)ch_malloc( ( j + 1 ) *
167 attrs[ i ]->mod_bvalues = ch_malloc( ( j + 1 ) * sizeof( struct berval * ) );
modify.c 85 modv = ch_malloc( ( i + 1 )*sizeof( LDAPMod * ) + i*sizeof( LDAPMod ) );
127 (struct berval **)ch_malloc( ( j + 1 ) *
161 (struct berval **)ch_malloc( ( j + 1 ) *
  /src/external/bsd/openldap/dist/servers/slapd/back-perl/
compare.c 41 avastr = ch_malloc( avalen + 1 );
init.c 111 be->be_private = (PerlBackend *) ch_malloc( sizeof(PerlBackend) );
  /src/external/bsd/openldap/dist/servers/slapd/back-wt/
ctx.c 33 wc = ch_malloc( sizeof( wt_ctx ) );
  /src/external/bsd/openldap/dist/contrib/slapd-modules/samba4/
pguid.c 102 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 );
  /src/external/bsd/openldap/dist/servers/slapd/back-ldap/
add.c 72 attrs = (LDAPMod **)ch_malloc( sizeof( LDAPMod * )*i
90 ch_malloc( ( j + 1 )*sizeof( struct berval * ) );
modify.c 63 modv = (LDAPMod **)ch_malloc( ( i + 1 )*sizeof( LDAPMod * )
86 (struct berval **)ch_malloc( ( j + 1 )*sizeof( struct berval * ) );
  /src/external/bsd/openldap/dist/servers/slapd/back-sql/
api.c 50 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()
operational.c 64 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 ) );
  /src/external/bsd/openldap/dist/contrib/slapd-modules/addpartial/
addpartial-overlay.c 104 mod = (Modifications *) ch_malloc(sizeof(
143 mod = (Modifications *) ch_malloc(sizeof(
197 mod = (Modifications *) ch_malloc(sizeof(
229 mod = (Modifications *) ch_malloc(sizeof(
  /src/external/bsd/openldap/dist/servers/slapd/back-dnssrv/
referral.c 102 url.bv_val = ch_malloc( url.bv_len + 1 );
  /src/external/bsd/openldap/dist/servers/slapd/back-sock/
result.c 58 buf = (char *) ch_malloc( BUFSIZ );
  /src/external/bsd/openldap/dist/servers/slapd/overlays/
dyngroup.c 67 bv.bv_val = ch_malloc( bv.bv_len + 1 );
117 a2 = ch_malloc( sizeof(adpair) );
remoteauth.c 209 str = ch_malloc( strlen( map->domain ) +
259 bv.bv_val = ch_malloc( strlen( pin->hostname ) +
364 map = ch_malloc( sizeof(ad_info) );
464 dom = ch_malloc( ch - domain + 1 );
508 ldap_url = ch_malloc( 1 + strlen( LDAP_PREFIX ) + strlen( realm ) );
543 nu = ch_malloc( strlen( ldap_url ) + 2 + strlen( LDAP_PREFIX ) +
554 ldap_url = ch_malloc( 1 + strlen( line ) + strlen( LDAP_PREFIX ) );

Completed in 30 milliseconds

1 2 3 4 5 6