Lines Matching refs:j
1302 int i, j, num_attribs, num_values, dn_len; in php_ldap_do_modify() local
1366 for (j = 0; j < num_values; j++) { in php_ldap_do_modify()
1367 if (zend_hash_index_find(Z_ARRVAL_PP(value), j, (void **) &ivalue) != SUCCESS) { in php_ldap_do_modify()
1369 num_berval[i] = j; in php_ldap_do_modify()
1375 ldap_mods[i]->mod_bvalues[j] = (struct berval *) emalloc (sizeof(struct berval)); in php_ldap_do_modify()
1376 ldap_mods[i]->mod_bvalues[j]->bv_len = Z_STRLEN_PP(ivalue); in php_ldap_do_modify()
1377 ldap_mods[i]->mod_bvalues[j]->bv_val = Z_STRVAL_PP(ivalue); in php_ldap_do_modify()
1401 for (j = 0; j < num_berval[i]; j++) { in php_ldap_do_modify()
1402 efree(ldap_mods[i]->mod_bvalues[j]); in php_ldap_do_modify()
1532 int i, j, k; in PHP_FUNCTION() local
1609 for (j = 0; j < num_modprops; j++) { in PHP_FUNCTION()
1765 for (j = 0; j < num_modvals; j++) { in PHP_FUNCTION()
1767 zend_hash_index_find(Z_ARRVAL_P(vals), j, (void **) &fetched); in PHP_FUNCTION()
1771 ldap_mods[i]->mod_bvalues[j] = safe_emalloc(1, sizeof(struct berval), 0); in PHP_FUNCTION()
1774 ldap_mods[i]->mod_bvalues[j]->bv_len = Z_STRLEN_P(modval); in PHP_FUNCTION()
1775 ldap_mods[i]->mod_bvalues[j]->bv_val = estrndup(Z_STRVAL_P(modval), Z_STRLEN_P(modval)); in PHP_FUNCTION()
1800 for (j = 0; ldap_mods[i]->mod_bvalues[j] != NULL; j++) { in PHP_FUNCTION()
1802 efree(ldap_mods[i]->mod_bvalues[j]->bv_val); in PHP_FUNCTION()
1805 efree(ldap_mods[i]->mod_bvalues[j]); in PHP_FUNCTION()