Lines Matching refs:sort_keys
392 LDAPSortKey** sort_keys = NULL; in _php_ldap_control_from_array() local
552 sort_keys = safe_emalloc((num_keys+1), sizeof(LDAPSortKey*), 0); in _php_ldap_control_from_array()
570 sort_keys[i] = emalloc(sizeof(LDAPSortKey)); in _php_ldap_control_from_array()
576 sort_keys[i]->attributeType = ZSTR_VAL(tmpstrings1[num_tmpstrings1]); in _php_ldap_control_from_array()
585 sort_keys[i]->orderingRule = ZSTR_VAL(tmpstrings2[num_tmpstrings2]); in _php_ldap_control_from_array()
588 sort_keys[i]->orderingRule = NULL; in _php_ldap_control_from_array()
592 sort_keys[i]->reverseOrder = zend_is_true(tmp); in _php_ldap_control_from_array()
594 sort_keys[i]->reverseOrder = 0; in _php_ldap_control_from_array()
597 sort_keys[num_keys] = NULL; in _php_ldap_control_from_array()
600 rc = ldap_create_sort_control_value(ld, sort_keys, &control_value); in _php_ldap_control_from_array()
708 if (sort_keys != NULL) { in _php_ldap_control_from_array()
709 LDAPSortKey** sortp = sort_keys; in _php_ldap_control_from_array()
714 efree(sort_keys); in _php_ldap_control_from_array()
715 sort_keys = NULL; in _php_ldap_control_from_array()