/PHP-8.1/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 | 3271 int cmp = strcmp(&ptr[-digits], long_min_digits); local 3273 if (!(cmp < 0 || (cmp == 0 && *str == '-'))) {
|
/PHP-8.1/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.1/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.1/Zend/tests/ |
H A D | runtime_compile_time_binary_operands.phpt | 109 function prepareBinaryLine($op1, $op2, $cmp, $operator) { 118 $result = makeParam($cmp()); 126 function prepareUnaryLine($op, $cmp, $operator) { 134 $result = makeParam($cmp());
|
/PHP-8.1/ext/standard/tests/strings/ |
H A D | strcmp_unterminated.phpt | 2 strnat(case)cmp(): potential OOB access for unterminated strings
|
/PHP-8.1/ext/spl/ |
H A D | spl_heap.c | 58 spl_ptr_heap_cmp_func cmp; member 264 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 270 heap->cmp = cmp; in spl_ptr_heap_init() 293 …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() 336 …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() 341 if(heap->cmp(bottom, spl_heap_elem(heap, j), cmp_userdata) < 0) { in spl_ptr_heap_delete_top() 368 heap->cmp = from->cmp; in spl_ptr_heap_clone() 689 intern->heap->cmp = new_cmp; in PHP_METHOD() 690 } else if (new_cmp != intern->heap->cmp) { /* Despecialize on type conflict. */ in PHP_METHOD() 691 intern->heap->cmp = spl_ptr_pqueue_elem_cmp; in PHP_METHOD()
|
/PHP-8.1/ext/standard/ |
H A D | string.c | 5465 char cmp; local 5505 cmp = needle[0]; 5664 cmp = _mm_and_si128(lt, gt); 5665 if (_mm_movemask_epi8(cmp)) { 5666 cmp = _mm_and_si128(cmp, add); 5672 cmp = _mm_and_si128(lt, gt); 5674 cmp = _mm_and_si128(cmp, sub); 5680 cmp = _mm_and_si128(lt, gt); 5682 cmp = _mm_and_si128(cmp, add); 5688 cmp = _mm_and_si128(lt, gt); [all …]
|
H A D | array.c | 632 bucket_compare_func_t cmp; in PHP_FUNCTION() local 642 zend_hash_sort(Z_ARRVAL_P(array), cmp, 0); in PHP_FUNCTION() 653 bucket_compare_func_t cmp; in PHP_FUNCTION() local 663 zend_hash_sort(Z_ARRVAL_P(array), cmp, 0); in PHP_FUNCTION() 789 bucket_compare_func_t cmp; in PHP_FUNCTION() local 799 zend_hash_sort(Z_ARRVAL_P(array), cmp, 0); in PHP_FUNCTION() 810 bucket_compare_func_t cmp; in PHP_FUNCTION() local 831 bucket_compare_func_t cmp; in PHP_FUNCTION() local 852 bucket_compare_func_t cmp; in PHP_FUNCTION() local 4434 bucket_compare_func_t cmp; local [all …]
|
H A D | var_unserializer.re | 957 int cmp = strncmp((char*)YYCURSOR - MAX_LENGTH_OF_LONG, long_min_digits, MAX_LENGTH_OF_LONG - 1); 959 if (!(cmp < 0 || (cmp == 0 && start[2] == '-'))) {
|
/PHP-8.1/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 1921 | cmp RX, EX->call 5199 | cmp r1, 0 5240 | cmp r1, 0 9494 | cmp r0, r1 9499 | cmp r0, func 9785 | cmp r0, r1 [all …]
|
H A D | zend_jit_arm64.dasc | 373 | cmp reg, wzr 375 | cmp reg, #val 380 | cmp reg, tmp_reg 386 | cmp reg, xzr 388 | cmp reg, #val 393 | cmp reg, tmp_reg 399 | cmp reg, xzr 401 | cmp reg, #val 1295 | cmp type, #val 1304 | cmp type, #val [all …]
|
/PHP-8.1/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.1/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.1/build/ |
H A D | shtool | 923 if cmp -s "$src" "$dst"; then
|