Lines Matching refs:num_attribs
529 int num_attribs, i; in php_ldap_control_from_array() local
532 num_attribs = zend_hash_num_elements(Z_ARRVAL_P(tmp)); in php_ldap_control_from_array()
533 ldap_attrs = safe_emalloc((num_attribs+1), sizeof(char *), 0); in php_ldap_control_from_array()
534 tmpstrings1 = safe_emalloc(num_attribs, sizeof(zend_string*), 0); in php_ldap_control_from_array()
537 for (i = 0; i<num_attribs; i++) { in php_ldap_control_from_array()
552 ldap_attrs[num_attribs] = NULL; in php_ldap_control_from_array()
1478 uint32_t num_attribs = zend_hash_num_elements(attributes); in php_ldap_do_search() local
1480 if (num_attribs == 0) { in php_ldap_do_search()
1489 ldap_attrs = safe_emalloc(num_attribs+1, sizeof(char *), 0); in php_ldap_do_search()
1508 ldap_attrs[num_attribs] = NULL; in php_ldap_do_search()
2239 uint32_t num_attribs = zend_hash_num_elements(attributes_ht); in php_ldap_do_modify() local
2240 if (num_attribs == 0) { in php_ldap_do_modify()
2245 ldap_mods = safe_emalloc((num_attribs+1), sizeof(LDAPMod *), 0); in php_ldap_do_modify()
2247 memset(ldap_mods, 0, sizeof(LDAPMod *) * (num_attribs+1)); in php_ldap_do_modify()
2333 ldap_mods[num_attribs] = NULL; in php_ldap_do_modify()