Lines Matching refs:sort_keys
290 LDAPSortKey** sort_keys = NULL; in _php_ldap_control_from_array() local
450 sort_keys = safe_emalloc((num_keys+1), sizeof(LDAPSortKey*), 0); in _php_ldap_control_from_array()
468 sort_keys[i] = emalloc(sizeof(LDAPSortKey)); in _php_ldap_control_from_array()
474 sort_keys[i]->attributeType = ZSTR_VAL(tmpstrings1[num_tmpstrings1]); in _php_ldap_control_from_array()
483 sort_keys[i]->orderingRule = ZSTR_VAL(tmpstrings2[num_tmpstrings2]); in _php_ldap_control_from_array()
486 sort_keys[i]->orderingRule = NULL; in _php_ldap_control_from_array()
490 sort_keys[i]->reverseOrder = zend_is_true(tmp); in _php_ldap_control_from_array()
492 sort_keys[i]->reverseOrder = 0; in _php_ldap_control_from_array()
495 sort_keys[num_keys] = NULL; in _php_ldap_control_from_array()
498 rc = ldap_create_sort_control_value(ld, sort_keys, &control_value); in _php_ldap_control_from_array()
606 if (sort_keys != NULL) { in _php_ldap_control_from_array()
607 LDAPSortKey** sortp = sort_keys; in _php_ldap_control_from_array()
612 efree(sort_keys); in _php_ldap_control_from_array()
613 sort_keys = NULL; in _php_ldap_control_from_array()