Searched refs:NSLDAPI_MALLOC (Results 1 - 22 of 22) sorted by relevance

/osnet-11/usr/src/lib/libldap5/sources/ldap/common/
H A Dcharray.c43 *a = (char **)NSLDAPI_MALLOC( 2 * sizeof(char *) );
153 new = (char **)NSLDAPI_MALLOC( (i + 1) * sizeof(char *) );
197 res = (char **)NSLDAPI_MALLOC( (i + 1) * sizeof(char *) );
H A Dsortctrl.c320 new_key = (LDAPsortkey*)NSLDAPI_MALLOC(sizeof(LDAPsortkey));
326 new_key->sk_attrtype = (char *)NSLDAPI_MALLOC(attrdesc_size + 1);
328 new_key->sk_matchruleoid = (char *)NSLDAPI_MALLOC(
374 pointer_array = (LDAPsortkey**)NSLDAPI_MALLOC(sizeof(LDAPsortkey*)
H A Dcontrol.c311 if ( ( ctrlp = (LDAPControl **)NSLDAPI_MALLOC( sizeof(LDAPControl *)
356 if (( *ldctrls = (LDAPControl **)NSLDAPI_MALLOC(( count + 1 ) *
386 if (( rctrl = (LDAPControl *)NSLDAPI_MALLOC( sizeof( LDAPControl )))
427 if (( ctrl_dst->ldctl_value.bv_val = NSLDAPI_MALLOC( len ))
465 if (( *ctrlp = (LDAPControl *)NSLDAPI_MALLOC( sizeof(LDAPControl)))
H A Dgetdxbyname.c102 if (( dxs = (char **)NSLDAPI_MALLOC( 2 * sizeof( char * ))) == NULL ||
202 dxs = (char **)NSLDAPI_MALLOC( 2 * sizeof( char * ));
H A Dfriendly.c72 if ( (*map = (FriendlyMap)NSLDAPI_MALLOC( (entries + 1) *
H A Dgetvalues.c202 result = (_SubStringIndex *)NSLDAPI_MALLOC( sizeof(*result)
227 *langp = (char *)NSLDAPI_MALLOC( len + 1 );
373 baseTarget = (char *)NSLDAPI_MALLOC( len + 1 );
H A Dcache.c85 mods = (LDAPMod **)NSLDAPI_MALLOC( GRABSIZE * sizeof(LDAPMod *) );
H A Ddsparse.c139 if (( line = NSLDAPI_MALLOC( p - linestart )) == NULL ) {
H A Dopen.c479 if ( (ld = (LDAP*)NSLDAPI_MALLOC( sizeof(struct ldap) )) == NULL ) {
486 if (( ld->ld_io_fns_ptr = (struct ldap_io_fns *)NSLDAPI_MALLOC(
715 *hostp = NSLDAPI_MALLOC( len + 1 );
814 (p = (char *)NSLDAPI_MALLOC( strlen( s ) + 1 )) == NULL )
H A Dgetdn.c169 if ( (rdns = (char **)NSLDAPI_MALLOC( 8 * sizeof(char *) )) == NULL ) {
264 if (( rdns = (char **)NSLDAPI_MALLOC( 8
H A Dsort.c97 kt = (keything_t**)NSLDAPI_MALLOC( count * (sizeof(keything_t*) + sizeof(keything_t)) );
218 if ( (et = (struct entrything *)NSLDAPI_MALLOC( count *
H A Dufn.c157 if ( (dns = (char **)NSLDAPI_MALLOC(
178 if ( (dns = (char **)NSLDAPI_MALLOC(
307 if ( (pbuf = (char *)NSLDAPI_MALLOC( strlen( ld->ld_ufnprefix ) + 1 ))
H A Dabandon.c247 if ( (ld->ld_abandoned = (int *)NSLDAPI_MALLOC( 2
H A Dcharset.c1074 if ( (o = oo = (Byte *)NSLDAPI_MALLOC( 2 * len + 64 )) == NULL ) {
1611 if ( (o = oo = (Byte *)NSLDAPI_MALLOC( 2 * len + 64 )) == NULL ) {
1734 if ( (o = oo = (Byte *)NSLDAPI_MALLOC( 2 * strlen( s ) + 64 )) == NULL ) {
1788 if ( (o = oo = (Byte *)NSLDAPI_MALLOC( 2 * strlen( s ) + 64 )) == NULL ) {
H A Dtmplout.c174 if (( buf = NSLDAPI_MALLOC( LDAP_DTMPL_BUFSIZ )) == NULL ) {
472 if (( buf = NSLDAPI_MALLOC( LDAP_DTMPL_BUFSIZ )) == NULL ) {
653 if (( buf = NSLDAPI_MALLOC( LDAP_DTMPL_BUFSIZ )) == NULL ) {
1112 if (( members = (char **)NSLDAPI_MALLOC( (count + 1)
H A Ddisptmpl.c131 if (( buf = NSLDAPI_MALLOC( (size_t)len )) == NULL ) {
406 if (( attrs = (char **)NSLDAPI_MALLOC( sizeof( char * ))) == NULL ) {
H A Dos-ip.c581 = NSLDAPI_MALLOC( ld->ld_dns_bufsize );
586 ldhpbuf = ldhpbuf_allocd = NSLDAPI_MALLOC(
1263 newpollfds = (struct pollfd *)NSLDAPI_MALLOC(
1381 newpollfds = (LDAP_X_PollFD *)NSLDAPI_MALLOC(
H A Dsrchpref.c88 if (( buf = NSLDAPI_MALLOC( (size_t)len )) == NULL ) {
H A Dgetfilter.c79 if (( buf = NSLDAPI_MALLOC( (size_t)len )) == NULL ) {
H A Dldap-int.h606 #define NSLDAPI_MALLOC( size ) ldap_x_malloc( size ) macro
H A Drequest.c1081 *referralsp = (char *)NSLDAPI_MALLOC( strlen( s ) +
H A Dsasl.c438 if ((sb->sb_sasl_ibuf = NSLDAPI_MALLOC(bufsiz)) == NULL) {

Completed in 283 milliseconds