Lines Matching refs:ldap_res
1175 LDAPMessage *ldap_res; in PHP_FUNCTION() local
1222 rc = ldap_result(ld->link, msgid, 1 /* LDAP_MSG_ALL */, NULL, &ldap_res); in PHP_FUNCTION()
1230 RETVAL_RES(zend_register_resource(ldap_res, le_result)); in PHP_FUNCTION()
1433 LDAPMessage *ldap_res = NULL; in php_ldap_do_search() local
1583 rcs[i] = ldap_result(lds[i]->link, LDAP_RES_ANY, 1 /* LDAP_MSG_ALL */, NULL, &ldap_res); in php_ldap_do_search()
1586 ZVAL_RES(&resource, zend_register_resource(ldap_res, le_result)); in php_ldap_do_search()
1628 …VAL(ldap_filter), ldap_attrs, ldap_attrsonly, lserverctrls, NULL, NULL, ldap_sizelimit, &ldap_res); in php_ldap_do_search()
1641 if (ldap_res != NULL) { in php_ldap_do_search()
1642 ldap_msgfree(ldap_res); in php_ldap_do_search()
1656 RETVAL_RES(zend_register_resource(ldap_res, le_result)); in php_ldap_do_search()
2182 LDAPMessage *ldap_res; in php_ldap_do_modify() local
2298 i = ldap_result(ld->link, msgid, 1 /* LDAP_MSG_ALL */, NULL, &ldap_res); in php_ldap_do_modify()
2306 RETVAL_RES(zend_register_resource(ldap_res, le_result)); in php_ldap_do_modify()
2318 i = ldap_result(ld->link, msgid, 1 /* LDAP_MSG_ALL */, NULL, &ldap_res); in php_ldap_do_modify()
2326 RETVAL_RES(zend_register_resource(ldap_res, le_result)); in php_ldap_do_modify()
2416 LDAPMessage *ldap_res; in php_ldap_do_delete() local
2447 rc = ldap_result(ld->link, msgid, 1 /* LDAP_MSG_ALL */, NULL, &ldap_res); in php_ldap_do_delete()
2455 RETVAL_RES(zend_register_resource(ldap_res, le_result)); in php_ldap_do_delete()
3566 LDAPMessage *ldap_res; in php_ldap_do_rename() local
3618 rc = ldap_result(ld->link, msgid, 1 /* LDAP_MSG_ALL */, NULL, &ldap_res); in php_ldap_do_rename()
3626 RETVAL_RES(zend_register_resource(ldap_res, le_result)); in php_ldap_do_rename()
3897 LDAPMessage *ldap_res; in PHP_FUNCTION() local
3971 rc = ldap_result(ld->link, msgid, 1 /* LDAP_MSG_ALL */, NULL, &ldap_res); in PHP_FUNCTION()
3979 RETVAL_RES(zend_register_resource(ldap_res, le_result)); in PHP_FUNCTION()
3999 LDAPMessage* ldap_res = NULL; in PHP_FUNCTION() local
4037 rc = ldap_result(ld->link, msgid, 1 /* LDAP_MSG_ALL */, NULL, &ldap_res); in PHP_FUNCTION()
4038 if ((rc < 0) || !ldap_res) { in PHP_FUNCTION()
4045 rc = ldap_parse_passwd(ld->link, ldap_res, &lgenpasswd); in PHP_FUNCTION()
4052 …rc = ldap_parse_result(ld->link, ldap_res, &err, NULL, &errmsg, NULL, (myargcount > 4 ? &lserverct… in PHP_FUNCTION()
4081 if (ldap_res != NULL) { in PHP_FUNCTION()
4082 ldap_msgfree(ldap_res); in PHP_FUNCTION()