Searched refs:NSLDAPI_MALLOC (Results 1 – 22 of 22) sorted by relevance
41 *a = (char **)NSLDAPI_MALLOC( 2 * sizeof(char *) ); in ldap_charray_add()151 new = (char **)NSLDAPI_MALLOC( (i + 1) * sizeof(char *) ); in ldap_charray_dup()195 res = (char **)NSLDAPI_MALLOC( (i + 1) * sizeof(char *) ); in ldap_str2charray()
309 if ( ( ctrlp = (LDAPControl **)NSLDAPI_MALLOC( sizeof(LDAPControl *)354 if (( *ldctrls = (LDAPControl **)NSLDAPI_MALLOC(( count + 1 ) * in nsldapi_dup_controls()384 if (( rctrl = (LDAPControl *)NSLDAPI_MALLOC( sizeof( LDAPControl ))) in ldap_control_dup()425 if (( ctrl_dst->ldctl_value.bv_val = NSLDAPI_MALLOC( len )) in ldap_control_copy_contents()463 if (( *ctrlp = (LDAPControl *)NSLDAPI_MALLOC( sizeof(LDAPControl))) in nsldapi_build_control()
318 new_key = (LDAPsortkey*)NSLDAPI_MALLOC(sizeof(LDAPsortkey)); in read_next_token()324 new_key->sk_attrtype = (char *)NSLDAPI_MALLOC(attrdesc_size + 1); in read_next_token()326 new_key->sk_matchruleoid = (char *)NSLDAPI_MALLOC( in read_next_token()372 pointer_array = (LDAPsortkey**)NSLDAPI_MALLOC(sizeof(LDAPsortkey*) in ldap_create_sort_keylist()
100 if (( dxs = (char **)NSLDAPI_MALLOC( 2 * sizeof( char * ))) == NULL || in nsldapi_getdxbyname()200 dxs = (char **)NSLDAPI_MALLOC( 2 * sizeof( char * )); in decode_answer()
477 if ( (ld = (LDAP*)NSLDAPI_MALLOC( sizeof(struct ldap) )) == NULL ) { in ldap_init()484 if (( ld->ld_io_fns_ptr = (struct ldap_io_fns *)NSLDAPI_MALLOC( in ldap_init()698 *hostp = NSLDAPI_MALLOC( len + 1 ); in ldap_x_hostlist_next()797 (p = (char *)NSLDAPI_MALLOC( strlen( s ) + 1 )) == NULL ) in nsldapi_strdup()
200 result = (_SubStringIndex *)NSLDAPI_MALLOC( sizeof(*result) in parse_subtypes()225 *langp = (char *)NSLDAPI_MALLOC( len + 1 ); in parse_subtypes()371 baseTarget = (char *)NSLDAPI_MALLOC( len + 1 ); in internal_ldap_get_lang_values()
161 if ( (rdns = (char **)NSLDAPI_MALLOC( 8 * sizeof(char *) )) == NULL ) { in ldap_explode_dns()257 if (( rdns = (char **)NSLDAPI_MALLOC( 8 in ldap_explode()
1072 if ( (o = oo = (Byte *)NSLDAPI_MALLOC( 2 * len + 64 )) == NULL ) { in ldap_t61_to_8859()1609 if ( (o = oo = (Byte *)NSLDAPI_MALLOC( 2 * len + 64 )) == NULL ) { in ldap_8859_to_t61()1732 if ( (o = oo = (Byte *)NSLDAPI_MALLOC( 2 * strlen( s ) + 64 )) == NULL ) {1786 if ( (o = oo = (Byte *)NSLDAPI_MALLOC( 2 * strlen( s ) + 64 )) == NULL ) {
155 if ( (dns = (char **)NSLDAPI_MALLOC( in ldap_ufn_search_ctx()176 if ( (dns = (char **)NSLDAPI_MALLOC( in ldap_ufn_search_ctx()305 if ( (pbuf = (char *)NSLDAPI_MALLOC( strlen( ld->ld_ufnprefix ) + 1 )) in ldap_ufn_search_ct()
95 kt = (keything_t**)NSLDAPI_MALLOC( count * (sizeof(keything_t*) + sizeof(keything_t)) ); in ldap_keysort_entries()216 if ( (et = (struct entrything *)NSLDAPI_MALLOC( count * in ldap_multisort_entries()
63 if ( (*map = (FriendlyMap)NSLDAPI_MALLOC( (entries + 1) * in ldap_friendly_name()
136 if (( line = NSLDAPI_MALLOC( p - linestart )) == NULL ) { in next_line()
83 mods = (LDAPMod **)NSLDAPI_MALLOC( GRABSIZE * sizeof(LDAPMod *) ); in nsldapi_add_result_to_cache()
172 if (( buf = NSLDAPI_MALLOC( LDAP_DTMPL_BUFSIZ )) == NULL ) { in do_entry2text()468 if (( buf = NSLDAPI_MALLOC( LDAP_DTMPL_BUFSIZ )) == NULL ) { in do_entry2text_search()649 if (( buf = NSLDAPI_MALLOC( LDAP_DTMPL_BUFSIZ )) == NULL ) { in do_vals2text()1106 if (( members = (char **)NSLDAPI_MALLOC( (count + 1) in searchaction()
245 if ( (ld->ld_abandoned = (int *)NSLDAPI_MALLOC( 2 in do_abandon()
582 = NSLDAPI_MALLOC( ld->ld_dns_bufsize );587 ldhpbuf = ldhpbuf_allocd = NSLDAPI_MALLOC(1264 newpollfds = (struct pollfd *)NSLDAPI_MALLOC(1382 newpollfds = (LDAP_X_PollFD *)NSLDAPI_MALLOC(
128 if (( buf = NSLDAPI_MALLOC( (size_t)len )) == NULL ) { in ldap_init_templates()403 if (( attrs = (char **)NSLDAPI_MALLOC( sizeof( char * ))) == NULL ) { in ldap_tmplattrs()
87 if (( buf = NSLDAPI_MALLOC( (size_t)len )) == NULL ) { in ldap_init_searchprefs()
76 if (( buf = NSLDAPI_MALLOC( (size_t)len )) == NULL ) { in ldap_init_getfilter()
607 #define NSLDAPI_MALLOC( size ) ldap_x_malloc( size ) macro
438 if ((sb->sb_sasl_ibuf = NSLDAPI_MALLOC(bufsiz)) == NULL) { in nsldapi_sasl_install()
1079 *referralsp = (char *)NSLDAPI_MALLOC( strlen( s ) + in nsldapi_append_referral()