Lines Matching refs:cmp
693 compare_func_t cmp; in PHP_FUNCTION() local
701 cmp = php_get_key_compare_func(sort_type, 1); in PHP_FUNCTION()
703 if (zend_hash_sort(Z_ARRVAL_P(array), cmp, 0) == FAILURE) { in PHP_FUNCTION()
716 compare_func_t cmp; in PHP_FUNCTION() local
724 cmp = php_get_key_compare_func(sort_type, 0); in PHP_FUNCTION()
726 if (zend_hash_sort(Z_ARRVAL_P(array), cmp, 0) == FAILURE) { in PHP_FUNCTION()
868 compare_func_t cmp; in PHP_FUNCTION() local
876 cmp = php_get_data_compare_func(sort_type, 0); in PHP_FUNCTION()
878 if (zend_hash_sort(Z_ARRVAL_P(array), cmp, 0) == FAILURE) { in PHP_FUNCTION()
891 compare_func_t cmp; in PHP_FUNCTION() local
899 cmp = php_get_data_compare_func(sort_type, 1); in PHP_FUNCTION()
901 if (zend_hash_sort(Z_ARRVAL_P(array), cmp, 0) == FAILURE) { in PHP_FUNCTION()
914 compare_func_t cmp; in PHP_FUNCTION() local
922 cmp = php_get_data_compare_func(sort_type, 0); in PHP_FUNCTION()
924 if (zend_hash_sort(Z_ARRVAL_P(array), cmp, 1) == FAILURE) { in PHP_FUNCTION()
937 compare_func_t cmp; in PHP_FUNCTION() local
945 cmp = php_get_data_compare_func(sort_type, 1); in PHP_FUNCTION()
947 if (zend_hash_sort(Z_ARRVAL_P(array), cmp, 1) == FAILURE) { in PHP_FUNCTION()
4552 compare_func_t cmp; local
4604 cmp = php_get_data_compare_func(sort_type, 0);
4620 cmp, (swap_func_t)array_bucketindex_swap);
4624 if (cmp(lastkept, cmpdata)) {