| /netbsd-src/external/bsd/openldap/dist/libraries/libldap/ |
| H A D | charray.c | 40 *a = (char **) LDAP_MALLOC( 2 * sizeof(char *) ); in ldap_charray_add() 162 new = (char **) LDAP_MALLOC( (i + 1) * sizeof(char *) ); in ldap_charray_dup() 205 res = (char **) LDAP_MALLOC( (i + 1) * sizeof(char *) ); in ldap_str2charray() 260 s = LDAP_MALLOC ( len + 1 ); in ldap_charray2str()
|
| H A D | controls.c | 185 *ctrls = LDAP_MALLOC( 1 * sizeof(LDAPControl *) ); in ldap_pvt_get_controls() 315 new = (LDAPControl **) LDAP_MALLOC( (i+1) * sizeof(LDAPControl *) ); in ldap_controls_dup() 349 new = (LDAPControl *) LDAP_MALLOC( sizeof(LDAPControl) ); in ldap_control_dup() 364 (char *) LDAP_MALLOC( c->ldctl_value.bv_len + 1 ); in ldap_control_dup() 456 ctrl = (LDAPControl *) LDAP_MALLOC( sizeof(LDAPControl) ); in ldap_create_control()
|
| H A D | sortctrl.c | 139 *key = LDAP_MALLOC(sizeof(LDAPSortKey)); in readNextKey() 143 (*key)->attributeType = LDAP_MALLOC(attrLen+1); in readNextKey() 154 (*key)->orderingRule = LDAP_MALLOC(oidLen+1); in readNextKey()
|
| H A D | utf-8-conv.c | 395 wcs = (wchar_t *)LDAP_MALLOC(wcsize * sizeof(wchar_t)); in ldap_x_utf8s_to_mbs() 472 wcs = (wchar_t *)LDAP_MALLOC( wcsize * sizeof(wchar_t) ); in ldap_x_mbs_to_utf8s()
|
| H A D | vc.c | 106 *diagmsg = LDAP_MALLOC( diagmsg_bv.bv_len + 1 ); in ldap_parse_verify_credentials() 129 *ctrls = LDAP_MALLOC(1 * sizeof(LDAPControl *)); in ldap_parse_verify_credentials()
|
| H A D | free.c | 58 return LDAP_MALLOC( s ); in ldap_memalloc()
|
| H A D | t61.c | 383 dst->bv_val = LDAP_MALLOC( wlen+1 ); in ldap_t61s_to_utf8s() 641 dst->bv_val = LDAP_MALLOC( tlen+1 ); in ldap_utf8s_to_t61s()
|
| H A D | tls2.c | 994 lo->ldo_tls_cacert.bv_val = LDAP_MALLOC( lo->ldo_tls_cacert.bv_len ); in ldap_pvt_tls_set_option() 1007 lo->ldo_tls_cert.bv_val = LDAP_MALLOC( lo->ldo_tls_cert.bv_len ); in ldap_pvt_tls_set_option() 1020 lo->ldo_tls_key.bv_val = LDAP_MALLOC( lo->ldo_tls_key.bv_len ); in ldap_pvt_tls_set_option() 1432 tmpStr=LDAP_MALLOC(bitLength + STR_OVERHEAD + 1); in der_to_ldap_BitString() 1537 newDN = (LDAPDN)LDAP_MALLOC( dnsize ); in ldap_X509dn2bv() 1581 oidbuf = LDAP_MALLOC( oidsize ); in ldap_X509dn2bv()
|
| H A D | tls_g.c | 169 buf->data = LDAP_MALLOC( st.st_size + 1 ); in tlsg_getfile() 883 der->bv_val = LDAP_MALLOC( der->bv_len ); in tlsg_session_peercert() 940 key.data = LDAP_MALLOC( len ); in tlsg_session_pinning() 954 keyhash.bv_val = LDAP_MALLOC( keyhash.bv_len ); in tlsg_session_pinning()
|
| H A D | getvalues.c | 200 new = LDAP_MALLOC( (i+1)*sizeof(char *) ); /* Alloc array of pointers */ in ldap_value_dup()
|
| H A D | url.c | 808 s = LDAP_MALLOC( len + 1 ); in ldap_url_desc2str() 1223 dest = LDAP_MALLOC( sizeof(LDAPURLDesc) ); in ldap_url_dup() 1468 s = LDAP_MALLOC(size); in ldap_url_list2hosts() 1512 s = LDAP_MALLOC( size ); in ldap_url_list2urls()
|
| H A D | pagectrl.c | 266 *cookiep = LDAP_MALLOC( sizeof( struct berval ) ); in ldap_parse_page_control()
|
| H A D | sort.c | 133 if ( (et = (struct entrything *) LDAP_MALLOC( count * in ldap_sort_entries()
|
| H A D | schema.c | 122 ss = LDAP_MALLOC(sizeof(safe_string)); in new_safe_string() 126 ss->val = LDAP_MALLOC(size); in new_safe_string() 160 char *ret = LDAP_MALLOC(ss->pos+1); in safe_strdup() 1048 res = LDAP_MALLOC(q-p+1); in get_token() 1075 res = LDAP_MALLOC(q-p+1); in get_token() 1153 res = LDAP_MALLOC(len+1); in ldap_int_parse_numericoid() 2133 at->at_oid = LDAP_MALLOC(len+1); in ldap_str2attributetype() 2511 oc->oc_oid = LDAP_MALLOC(len+1); in ldap_str2objectclass() 2797 cr->cr_oid = LDAP_MALLOC(len+1); in ldap_str2contentrule()
|
| H A D | options.c | 154 info->ldapai_extensions = LDAP_MALLOC(sizeof(char *) * in ldap_get_option() 964 ll = LDAP_MALLOC( sizeof( *ll )); in ldap_set_option()
|
| H A D | tls_o.c | 141 BIO_METHOD *method = LDAP_MALLOC( sizeof(BIO_METHOD) ); in BIO_meth_new() 1068 der->bv_val = LDAP_MALLOC(der->bv_len); in tlso_session_peercert() 1088 tmp = LDAP_MALLOC( len ); in tlso_session_pinning()
|
| H A D | utf-8.c | 274 utf8s->bv_val = LDAP_MALLOC( l+1 ); in ldap_ucs_to_utf8s()
|
| H A D | getdn.c | 195 values = LDAP_MALLOC( sizeof( char * ) ); in ldap_explode_dn() 204 values = LDAP_MALLOC( sizeof( char * ) * ( 1 + iRDN ) ); in ldap_explode_dn() 240 values = LDAP_MALLOC( sizeof( char * ) * ( 1 + iAVA ) ); in ldap_explode_rdn() 265 str = LDAP_MALLOC( l + 1 ); in ldap_explode_rdn() 275 str = LDAP_MALLOC( l + 1 ); in ldap_explode_rdn()
|
| H A D | dnssrv.c | 272 request = LDAP_MALLOC(strlen(domain) + sizeof("_ldap._tcp.")); in ldap_domain2hostlist()
|
| H A D | tpool.c | 251 pool->ltp_wqs = LDAP_MALLOC(numqs * sizeof(struct ldap_int_thread_poolq_s *)); in ldap_pvt_thread_pool_init_q() 416 task = (ldap_int_thread_task_t *) LDAP_MALLOC(sizeof(*task)); in ldap_pvt_thread_pool_submit2()
|
| H A D | init.c | 395 path = LDAP_MALLOC(strlen(home) + strlen(file) + sizeof( LDAP_DIRSEP ".")); in openldap_ldap_init_w_userconf()
|
| H A D | open.c | 166 LDAP_MALLOC( len + 1 + gopts->ldo_tls_pin.bv_len ); in ldap_create()
|
| H A D | request.c | 1225 (char ***) LDAP_MALLOC( sizeof(void *) * 2); in ldap_chase_v3referrals() 1508 *referralsp = (char *)LDAP_MALLOC( strlen( s ) + LDAP_REF_STR_LEN in ldap_append_referral()
|
| H A D | ldap-int.h | 662 #define LDAP_MALLOC(s) (ber_memalloc_x((s),NULL)) macro
|
| H A D | os-ip.c | 76 new = (struct timeval *) LDAP_MALLOC(sizeof(struct timeval)); in ldap_int_timeval_dup()
|