Lines Matching refs:num_attribs
765 int num_attribs = 0, ret = 1, i, errno, argcount = ZEND_NUM_ARGS(); in php_ldap_do_search() local
783 num_attribs = zend_hash_num_elements(Z_ARRVAL_P(attrs)); in php_ldap_do_search()
784 ldap_attrs = safe_emalloc((num_attribs+1), sizeof(char *), 0); in php_ldap_do_search()
786 for (i = 0; i<num_attribs; i++) { in php_ldap_do_search()
796 ldap_attrs[num_attribs] = NULL; in php_ldap_do_search()
1476 int i, j, num_attribs, num_values; in php_ldap_do_modify() local
1491 num_attribs = zend_hash_num_elements(Z_ARRVAL_P(entry)); in php_ldap_do_modify()
1492 ldap_mods = safe_emalloc((num_attribs+1), sizeof(LDAPMod *), 0); in php_ldap_do_modify()
1493 num_berval = safe_emalloc(num_attribs, sizeof(int), 0); in php_ldap_do_modify()
1503 for (i = 0; i < num_attribs; i++) { in php_ldap_do_modify()
1549 num_attribs = i + 1; in php_ldap_do_modify()
1562 ldap_mods[num_attribs] = NULL; in php_ldap_do_modify()
1578 for (i = 0; i < num_attribs; i++) { in php_ldap_do_modify()