Home
last modified time | relevance | path

Searched refs:NSLDAPI_CALLOC (Results 1 – 17 of 17) sorted by relevance

/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dcache.c104 mods[i] = (LDAPMod *)NSLDAPI_CALLOC( 1, sizeof(LDAPMod) ); in nsldapi_add_result_to_cache()
140 mods[i] = (LDAPMod *)NSLDAPI_CALLOC( 1, sizeof(LDAPMod) ); in nsldapi_add_result_to_cache()
H A Dgetfilter.c110 ( lfdp = (LDAPFiltDesc *)NSLDAPI_CALLOC(1, sizeof( LDAPFiltDesc))) in ldap_init_getfilter_buf()
131 if (( nextflp = (LDAPFiltList *)NSLDAPI_CALLOC( 1, in ldap_init_getfilter_buf()
167 if (( nextfip = (LDAPFiltInfo *)NSLDAPI_CALLOC( 1, in ldap_init_getfilter_buf()
518 if (( words = (char **)NSLDAPI_CALLOC( 1, sizeof( char * ))) == NULL ) { in break_into_words()
H A Ddisptmpl.c481 if (( tmpl = (struct ldap_disptmpl *)NSLDAPI_CALLOC( 1, in read_next_tmpl()
532 if (( ocp = (struct ldap_oclist *)NSLDAPI_CALLOC( 1, in read_next_tmpl()
611 if (( adp = (struct ldap_adddeflist *)NSLDAPI_CALLOC( 1, in read_next_tmpl()
645 if (( ip = (struct ldap_tmplitem *)NSLDAPI_CALLOC( 1, in read_next_tmpl()
695 if (( ip->ti_args = (char **)NSLDAPI_CALLOC( i + 1, in read_next_tmpl()
H A Dsrchpref.c263 if (( so = (struct ldap_searchobj *)NSLDAPI_CALLOC( 1, in read_next_searchobj()
376 if (( *sa = ( struct ldap_searchattr * )NSLDAPI_CALLOC( 1, in read_next_searchobj()
409 if (( *sm = ( struct ldap_searchmatch * )NSLDAPI_CALLOC( 1, in read_next_searchobj()
H A Dopen.c510 ((ld->ld_mutex = (void **) NSLDAPI_CALLOC( LDAP_MAX_LOCK, sizeof(void *))) == NULL )) { in ldap_init()
592 if (( srv = (LDAPServer *)NSLDAPI_CALLOC( 1, sizeof( LDAPServer ))) == in nsldapi_open_ldap_defconn()
651 *statusp = NSLDAPI_CALLOC( 1, sizeof( struct ldap_x_hostlist_status )); in ldap_x_hostlist_first()
H A Durl.c198 if (( ludp = (LDAPURLDesc *)NSLDAPI_CALLOC( 1, sizeof( LDAPURLDesc ))) in nsldapi_url_parse()
342 if (( ludp->lud_attrs = (char **)NSLDAPI_CALLOC( nattrs + 1, in nsldapi_url_parse()
437 if (( srv = (LDAPServer *)NSLDAPI_CALLOC( 1, sizeof( LDAPServer ))) in ldap_url_search()
H A Dmemcache.c264 if ((*cachep = (LDAPMemCache*)NSLDAPI_CALLOC(1, in ldap_memcache_init()
297 (*cachep)->ldmemc_basedns = (char**)NSLDAPI_CALLOC(i + 1, in ldap_memcache_init()
425 pCur = (ldapmemcacheld*)NSLDAPI_CALLOC(1, sizeof(ldapmemcacheld)); in ldap_memcache_set()
647 if ((keystr = (char*)NSLDAPI_CALLOC(len, sizeof(char))) == NULL) { in ldap_memcache_createkey()
1209 p->ber_buf = (char*)NSLDAPI_CALLOC(1, p->ber_len);
1246 if ((*ppCurNew = (LDAPMessage*)NSLDAPI_CALLOC(1,
1434 pRes = (ldapmemcacheRes*)NSLDAPI_CALLOC(1, sizeof(ldapmemcacheRes));
1810 if ((*ppTable = (HashTable*)NSLDAPI_CALLOC(1, sizeof(HashTable))) == NULL)
1813 (*ppTable)->table = (HashTableNode*)NSLDAPI_CALLOC(size_limit,
H A Ddsparse.c56 if (( toks = (char **)NSLDAPI_CALLOC( 1, sizeof( char * ))) == NULL ) { in ldap_next_line_tokens()
H A Drequest.c233 if (( lr = (LDAPRequest *)NSLDAPI_CALLOC( 1, sizeof( LDAPRequest ))) == in nsldapi_send_server_request()
370 if (( lc = (LDAPConn *)NSLDAPI_CALLOC( 1, sizeof( LDAPConn ))) == NULL in nsldapi_new_connection()
989 if (( srv = (LDAPServer *)NSLDAPI_CALLOC( 1, sizeof( LDAPServer ))) in chase_one_referral()
1312 if (( srv = (LDAPServer *)NSLDAPI_CALLOC( 1, in dn2servers()
H A Dgetdxbyname.c206 (char *)NSLDAPI_CALLOC( 1, txt_len + 1 )) in decode_answer()
H A Dgetdn.c287 if (( rdns[ count-1 ] = (char *)NSLDAPI_CALLOC( in ldap_explode()
H A Dos-ip.c1055 if (( iosp = (NSLDAPIIOStatus *)NSLDAPI_CALLOC( 1,
1717 if (( csip = (NSLDAPICompatSocketInfo *)NSLDAPI_CALLOC( 1,
1767 if (( defcsip = (NSLDAPICompatSocketInfo *)NSLDAPI_CALLOC( 1,
1778 } else if (( ld->ld_io_fns_ptr = (struct ldap_io_fns *)NSLDAPI_CALLOC(
H A Dgetoption.c396 if (( aip->ldapai_extensions = NSLDAPI_CALLOC( in nsldapi_get_api_info()
H A Dcontrol.c196 if (( newctrl = (struct ldapcontrol *)NSLDAPI_CALLOC( 1, in nsldapi_get_controls()
H A Dresult.c697 if ( (new = (LDAPMessage*)NSLDAPI_CALLOC( 1, sizeof(struct ldapmsg) ))
1337 newlp = (LDAPPend *)NSLDAPI_CALLOC( 1,
H A Dldap-int.h608 #define NSLDAPI_CALLOC( nelem, elsize ) ldap_x_calloc( nelem, elsize ) macro
H A Dsasl.c878 if ( (mech = NSLDAPI_CALLOC(1, slen)) == NULL) { in nsldapi_get_sasl_mechs()