Lines Matching refs:num_values
923 int num_entries, num_attrib, num_values, i; in PHP_FUNCTION() local
963 num_values = ldap_count_values_len(ldap_value); in PHP_FUNCTION()
967 add_assoc_long(tmp2, "count", num_values); in PHP_FUNCTION()
968 for (i = 0; i < num_values; i++) { in PHP_FUNCTION()
1086 int i, num_values, num_attrib; in PHP_FUNCTION() local
1102 num_values = ldap_count_values_len(ldap_value); in PHP_FUNCTION()
1106 add_assoc_long(tmp, "count", num_values); in PHP_FUNCTION()
1107 for (i = 0; i < num_values; i++) { in PHP_FUNCTION()
1140 int i, num_values, attr_len; in PHP_FUNCTION() local
1154 num_values = ldap_count_values_len(ldap_value_len); in PHP_FUNCTION()
1157 for (i=0; i<num_values; i++) { in PHP_FUNCTION()
1161 add_assoc_long(return_value, "count", num_values); in PHP_FUNCTION()
1264 int i, j, num_attribs, num_values, dn_len; in php_ldap_do_modify() local
1313 num_values = 1; in php_ldap_do_modify()
1315 num_values = zend_hash_num_elements(Z_ARRVAL_PP(value)); in php_ldap_do_modify()
1318 num_berval[i] = num_values; in php_ldap_do_modify()
1319 ldap_mods[i]->mod_bvalues = safe_emalloc((num_values + 1), sizeof(struct berval *), 0); in php_ldap_do_modify()
1322 if ((num_values == 1) && (Z_TYPE_PP(value) != IS_ARRAY)) { in php_ldap_do_modify()
1328 for (j = 0; j < num_values; j++) { in php_ldap_do_modify()
1342 ldap_mods[i]->mod_bvalues[num_values] = NULL; in php_ldap_do_modify()