Home
last modified time | relevance | path

Searched refs:cmp (Results 1 – 25 of 30) sorted by relevance

12

/PHP-8.3/Zend/
H A Dzend_sort.c25 if (cmp(a, b) > 0) { in zend_sort_2()
32 if (!(cmp(a, b) > 0)) { in zend_sort_3()
37 if (cmp(a, b) > 0) { in zend_sort_3()
42 if (!(cmp(c, b) > 0)) { in zend_sort_3()
47 if (cmp(b, c) > 0) { in zend_sort_3()
55 if (cmp(c, d) > 0) { in zend_sort_4()
57 if (cmp(b, c) > 0) { in zend_sort_4()
59 if (cmp(a, b) > 0) { in zend_sort_4()
69 if (cmp(d, e) > 0) { in zend_sort_5()
71 if (cmp(c, d) > 0) { in zend_sort_5()
[all …]
H A Dzend_sort.h24 ZEND_API void zend_sort(void *base, size_t nmemb, size_t siz, compare_func_t cmp, swap_func_t swp);
25 ZEND_API void zend_insert_sort(void *base, size_t nmemb, size_t siz, compare_func_t cmp, swap_func_…
H A Dzend_strtod.c1070 cmp in cmp() function
1123 i = cmp(a,b);
2247 if (cmp(b, S) >= 0) {
3113 i = cmp(delta, bs);
3162 if (cmp(delta, bs) <= 0)
3254 if (cmp(delta, bs) > 0)
4211 if (cmp(b,S) < 0) { in zend_dtoa()
4251 j = cmp(b, mlo); in zend_dtoa()
4253 j1 = delta->sign ? 1 : cmp(b, delta); in zend_dtoa()
4293 j1 = cmp(b, S); in zend_dtoa()
[all …]
H A Dzend_operators.c3614 int cmp = strcmp(&ptr[-digits], long_min_digits); local
3616 if (!(cmp < 0 || (cmp == 0 && *str == '-'))) {
/PHP-8.3/ext/standard/tests/array/
H A Darray_diff_single_array.phpt7 $cmp = function($a, $b) { return $a <=> $b; };
10 var_dump(array_diff_ukey($array, $cmp));
12 var_dump(array_diff_uassoc($array, $cmp));
13 var_dump(array_udiff($array, $cmp));
14 var_dump(array_udiff_assoc($array, $cmp));
15 var_dump(array_udiff_uassoc($array, $cmp, $cmp));
H A D003.phpt9 function cmp ($a, $b) {
18 uasort ($data, 'cmp');
23 uksort ($data, 'cmp');
27 usort ($data, 'cmp');
H A Duasort_basic1.phpt8 function cmp($value1, $value2)
23 var_dump( uasort($int_values, 'cmp') );
29 var_dump( uasort($string_values, 'cmp') );
35 var_dump( uasort($numeric_key_arg, 'cmp') );
41 var_dump( uasort($string_key_arg, 'cmp') );
H A Dusort_basic.phpt11 function cmp($value1, $value2)
27 var_dump( usort($int_values, 'cmp') );
34 var_dump( usort($string_values, 'cmp') );
41 var_dump( usort($numeric_key_arg, 'cmp') );
48 var_dump( usort($string_key_arg, 'cmp') );
H A Duasort_basic2.phpt8 function cmp($value1, $value2)
23 var_dump( uasort($int_values1, 'cmp') );
29 var_dump( uasort($int_values2, 'cmp') );
35 var_dump( uasort($int_values3, 'cmp') );
H A Duksort_basic.phpt8 function cmp($a, $b) {
15 uasort($a, "cmp");
H A Dusort_variation10.phpt11 function cmp($value1, $value2)
29 var_dump( usort($array_arg, 'cmp') );
36 var_dump( usort($array_arg, 'cmp') );
H A Duasort_variation11.phpt12 function cmp($value1, $value2)
27 var_dump( uasort($array_arg, 'cmp') );
33 var_dump( uasort($array_arg, 'cmp') );
/PHP-8.3/ext/spl/tests/
H A DarrayObject_uasort_basic1.phpt13 function cmp($value1, $value2) {
25 $ao->uasort('cmp');
H A DarrayObject_uksort_basic1.phpt12 function cmp($value1, $value2) {
24 $ao->uksort('cmp');
/PHP-8.3/Zend/tests/
H A Druntime_compile_time_binary_operands.phpt113 function prepareBinaryLine($op1, $op2, $cmp, $operator) {
122 $result = makeParam($cmp());
130 function prepareUnaryLine($op, $cmp, $operator) {
138 $result = makeParam($cmp());
/PHP-8.3/ext/standard/tests/strings/
H A Dstrcmp_unterminated.phpt2 strnat(case)cmp(): potential OOB access for unterminated strings
/PHP-8.3/ext/spl/
H A Dspl_heap.c54 spl_ptr_heap_cmp_func cmp; member
254 static spl_ptr_heap *spl_ptr_heap_init(spl_ptr_heap_cmp_func cmp, spl_ptr_heap_ctor_func ctor, spl_… in spl_ptr_heap_init() argument
260 heap->cmp = cmp; in spl_ptr_heap_init()
285 …for (i = heap->count; i > 0 && heap->cmp(spl_heap_elem(heap, (i-1)/2), elem, cmp_userdata) < 0; i … in spl_ptr_heap_insert()
332 …if (j != heap->count && heap->cmp(spl_heap_elem(heap, j+1), spl_heap_elem(heap, j), cmp_userdata) … in spl_ptr_heap_delete_top()
337 if(heap->cmp(bottom, spl_heap_elem(heap, j), cmp_userdata) < 0) { in spl_ptr_heap_delete_top()
366 heap->cmp = from->cmp; in spl_ptr_heap_clone()
707 intern->heap->cmp = new_cmp; in PHP_METHOD()
708 } else if (new_cmp != intern->heap->cmp) { /* Despecialize on type conflict. */ in PHP_METHOD()
709 intern->heap->cmp = spl_ptr_pqueue_elem_cmp; in PHP_METHOD()
/PHP-8.3/ext/opcache/jit/
H A Dzend_jit_x86.dasc278 | cmp mem, tmp_reg
452 | cmp IPl, addr
1219 | cmp type, val
1224 | cmp type, val
1938 | cmp RX, EX->call
5170 | cmp r1, 0
5211 | cmp r1, 0
9392 | cmp r0, r1
9397 | cmp r0, func
9683 | cmp r0, r1
[all …]
H A Dzend_jit_arm64.dasc382 | cmp reg, wzr
384 | cmp reg, #val
389 | cmp reg, tmp_reg
395 | cmp reg, xzr
397 | cmp reg, #val
402 | cmp reg, tmp_reg
408 | cmp reg, xzr
410 | cmp reg, #val
1310 | cmp type, #val
1319 | cmp type, #val
[all …]
/PHP-8.3/ext/json/
H A Djson_scanner.re175 int cmp = strncmp((char *) (s->token + negative), LONG_MIN_DIGITS, PHP_JSON_INT_MAX_LENGTH);
176 if (!(cmp < 0 || (cmp == 0 && negative))) {
/PHP-8.3/ext/standard/
H A Dstring.c5563 cmp = _mm_and_si128(lt, gt);
5564 if (_mm_movemask_epi8(cmp)) {
5565 cmp = _mm_and_si128(cmp, add);
5571 cmp = _mm_and_si128(lt, gt);
5572 if (_mm_movemask_epi8(cmp)) {
5573 cmp = _mm_and_si128(cmp, sub);
5579 cmp = _mm_and_si128(lt, gt);
5580 if (_mm_movemask_epi8(cmp)) {
5581 cmp = _mm_and_si128(cmp, add);
5587 cmp = _mm_and_si128(lt, gt);
[all …]
H A Darray.c577 bucket_compare_func_t cmp; in PHP_FUNCTION() local
587 zend_hash_sort(Z_ARRVAL_P(array), cmp, 0); in PHP_FUNCTION()
598 bucket_compare_func_t cmp; in PHP_FUNCTION() local
608 zend_hash_sort(Z_ARRVAL_P(array), cmp, 0); in PHP_FUNCTION()
736 bucket_compare_func_t cmp; in PHP_FUNCTION() local
746 zend_array_sort(Z_ARRVAL_P(array), cmp, 0); in PHP_FUNCTION()
757 bucket_compare_func_t cmp; in PHP_FUNCTION() local
778 bucket_compare_func_t cmp; in PHP_FUNCTION() local
799 bucket_compare_func_t cmp; in PHP_FUNCTION() local
4798 bucket_compare_func_t cmp; local
[all …]
H A Dvar_unserializer.re985 int cmp = strncmp((char*)YYCURSOR - MAX_LENGTH_OF_LONG, long_min_digits, MAX_LENGTH_OF_LONG - 1);
987 if (!(cmp < 0 || (cmp == 0 && start[2] == '-'))) {
/PHP-8.3/ext/date/lib/
H A Dparse_tz.c590 int cmp = timelib_strcasecmp(timezone, tzdb->index[mid].id); in seek_to_tz_position() local
592 if (cmp < 0) { in seek_to_tz_position()
594 } else if (cmp > 0) { in seek_to_tz_position()
/PHP-8.3/build/
H A Dshtool923 if cmp -s "$src" "$dst"; then

Completed in 190 milliseconds

12