NSLDAPI_CALLOC
mods[i] = (LDAPMod *)NSLDAPI_CALLOC( 1, sizeof(LDAPMod) );
mods[i] = (LDAPMod *)NSLDAPI_CALLOC( 1, sizeof(LDAPMod) );
if (( newctrl = (struct ldapcontrol *)NSLDAPI_CALLOC( 1,
if (( tmpl = (struct ldap_disptmpl *)NSLDAPI_CALLOC( 1,
if (( ocp = (struct ldap_oclist *)NSLDAPI_CALLOC( 1,
if (( adp = (struct ldap_adddeflist *)NSLDAPI_CALLOC( 1,
if (( ip = (struct ldap_tmplitem *)NSLDAPI_CALLOC( 1,
if (( ip->ti_args = (char **)NSLDAPI_CALLOC( i + 1,
if (( toks = (char **)NSLDAPI_CALLOC( 1, sizeof( char * ))) == NULL ) {
if (( rdns[ count-1 ] = (char *)NSLDAPI_CALLOC(
(char *)NSLDAPI_CALLOC( 1, txt_len + 1 ))
( lfdp = (LDAPFiltDesc *)NSLDAPI_CALLOC(1, sizeof( LDAPFiltDesc)))
if (( nextflp = (LDAPFiltList *)NSLDAPI_CALLOC( 1,
if (( nextfip = (LDAPFiltInfo *)NSLDAPI_CALLOC( 1,
if (( words = (char **)NSLDAPI_CALLOC( 1, sizeof( char * ))) == NULL ) {
if (( aip->ldapai_extensions = NSLDAPI_CALLOC(
p->ber_buf = (char*)NSLDAPI_CALLOC(1, p->ber_len);
if ((*ppCurNew = (LDAPMessage*)NSLDAPI_CALLOC(1,
pRes = (ldapmemcacheRes*)NSLDAPI_CALLOC(1, sizeof(ldapmemcacheRes));
if ((*ppTable = (HashTable*)NSLDAPI_CALLOC(1, sizeof(HashTable))) == NULL)
(*ppTable)->table = (HashTableNode*)NSLDAPI_CALLOC(size_limit,
if ((*cachep = (LDAPMemCache*)NSLDAPI_CALLOC(1,
(*cachep)->ldmemc_basedns = (char**)NSLDAPI_CALLOC(i + 1,
pCur = (ldapmemcacheld*)NSLDAPI_CALLOC(1, sizeof(ldapmemcacheld));
if ((keystr = (char*)NSLDAPI_CALLOC(len, sizeof(char))) == NULL) {
((ld->ld_mutex = (void **) NSLDAPI_CALLOC( LDAP_MAX_LOCK, sizeof(void *))) == NULL )) {
if (( srv = (LDAPServer *)NSLDAPI_CALLOC( 1, sizeof( LDAPServer ))) ==
*statusp = NSLDAPI_CALLOC( 1, sizeof( struct ldap_x_hostlist_status ));
if (( iosp = (NSLDAPIIOStatus *)NSLDAPI_CALLOC( 1,
if (( csip = (NSLDAPICompatSocketInfo *)NSLDAPI_CALLOC( 1,
if (( defcsip = (NSLDAPICompatSocketInfo *)NSLDAPI_CALLOC( 1,
} else if (( ld->ld_io_fns_ptr = (struct ldap_io_fns *)NSLDAPI_CALLOC(
if (( srv = (LDAPServer *)NSLDAPI_CALLOC( 1,
if (( lr = (LDAPRequest *)NSLDAPI_CALLOC( 1, sizeof( LDAPRequest ))) ==
if (( lc = (LDAPConn *)NSLDAPI_CALLOC( 1, sizeof( LDAPConn ))) == NULL
if (( srv = (LDAPServer *)NSLDAPI_CALLOC( 1, sizeof( LDAPServer )))
newlp = (LDAPPend *)NSLDAPI_CALLOC( 1,
if ( (new = (LDAPMessage*)NSLDAPI_CALLOC( 1, sizeof(struct ldapmsg) ))
if ( (mech = NSLDAPI_CALLOC(1, slen)) == NULL) {
if (( so = (struct ldap_searchobj *)NSLDAPI_CALLOC( 1,
if (( *sa = ( struct ldap_searchattr * )NSLDAPI_CALLOC( 1,
if (( *sm = ( struct ldap_searchmatch * )NSLDAPI_CALLOC( 1,
if (( ludp = (LDAPURLDesc *)NSLDAPI_CALLOC( 1, sizeof( LDAPURLDesc )))
if (( ludp->lud_attrs = (char **)NSLDAPI_CALLOC( nattrs + 1,
if (( srv = (LDAPServer *)NSLDAPI_CALLOC( 1, sizeof( LDAPServer )))