/PHP-8.3/Zend/ |
H A D | zend_sort.c | 25 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 D | zend_sort.h | 24 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 D | zend_strtod.c | 1070 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 D | zend_operators.c | 3614 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 D | array_diff_single_array.phpt | 7 $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 D | 003.phpt | 9 function cmp ($a, $b) { 18 uasort ($data, 'cmp'); 23 uksort ($data, 'cmp'); 27 usort ($data, 'cmp');
|
H A D | uasort_basic1.phpt | 8 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 D | usort_basic.phpt | 11 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 D | uasort_basic2.phpt | 8 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 D | uksort_basic.phpt | 8 function cmp($a, $b) { 15 uasort($a, "cmp");
|
H A D | usort_variation10.phpt | 11 function cmp($value1, $value2) 29 var_dump( usort($array_arg, 'cmp') ); 36 var_dump( usort($array_arg, 'cmp') );
|
H A D | uasort_variation11.phpt | 12 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 D | arrayObject_uasort_basic1.phpt | 13 function cmp($value1, $value2) { 25 $ao->uasort('cmp');
|
H A D | arrayObject_uksort_basic1.phpt | 12 function cmp($value1, $value2) { 24 $ao->uksort('cmp');
|
/PHP-8.3/Zend/tests/ |
H A D | runtime_compile_time_binary_operands.phpt | 113 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 D | strcmp_unterminated.phpt | 2 strnat(case)cmp(): potential OOB access for unterminated strings
|
/PHP-8.3/ext/spl/ |
H A D | spl_heap.c | 54 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 D | zend_jit_x86.dasc | 278 | 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 D | zend_jit_arm64.dasc | 382 | 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 D | json_scanner.re | 175 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 D | string.c | 5563 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 D | array.c | 577 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 D | var_unserializer.re | 985 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 D | parse_tz.c | 590 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 D | shtool | 923 if cmp -s "$src" "$dst"; then
|