Lines Matching refs:sort_keys
390 LDAPSortKey** sort_keys = NULL; in _php_ldap_control_from_array() local
550 sort_keys = safe_emalloc((num_keys+1), sizeof(LDAPSortKey*), 0); in _php_ldap_control_from_array()
568 sort_keys[i] = emalloc(sizeof(LDAPSortKey)); in _php_ldap_control_from_array()
574 sort_keys[i]->attributeType = ZSTR_VAL(tmpstrings1[num_tmpstrings1]); in _php_ldap_control_from_array()
583 sort_keys[i]->orderingRule = ZSTR_VAL(tmpstrings2[num_tmpstrings2]); in _php_ldap_control_from_array()
586 sort_keys[i]->orderingRule = NULL; in _php_ldap_control_from_array()
590 sort_keys[i]->reverseOrder = zend_is_true(tmp); in _php_ldap_control_from_array()
592 sort_keys[i]->reverseOrder = 0; in _php_ldap_control_from_array()
595 sort_keys[num_keys] = NULL; in _php_ldap_control_from_array()
598 rc = ldap_create_sort_control_value(ld, sort_keys, &control_value); in _php_ldap_control_from_array()
707 if (sort_keys != NULL) { in _php_ldap_control_from_array()
708 LDAPSortKey** sortp = sort_keys; in _php_ldap_control_from_array()
713 efree(sort_keys); in _php_ldap_control_from_array()
714 sort_keys = NULL; in _php_ldap_control_from_array()