/PHP-7.0/ |
H A D | CODING_STANDARDS | 245 /* {{{ proto int abs(int number) 247 PHP_FUNCTION(abs)
|
H A D | UPGRADING.INTERNALS | 115 abs, llabs, _abs64 ZEND_ABS for use with zend_long
|
/PHP-7.0/Zend/ |
H A D | zend_long.h | 105 # define ZEND_ABS abs
|
/PHP-7.0/ext/date/lib/ |
H A D | tm2unixtime.c | 177 time->d -= (7 - (abs(time->relative.weekday) - current_dow)); in do_adjust_for_weekday()
|
/PHP-7.0/ext/date/ |
H A D | php_date.c | 1175 localtime ? abs(offset->offset / 3600) : 0, in date_format() 1194 abs(offset->offset / 3600), in date_format() 1195 abs((offset->offset % 3600) / 60) in date_format() 1208 localtime ? abs(offset->offset / 3600) : 0, in date_format() 1217 localtime ? abs(offset->offset / 3600) : 0, in date_format() 2261 abs(utc_offset / 60), in date_object_get_properties() 2262 abs((utc_offset % 60))); in date_object_get_properties() 2353 abs(tzobj->tzi.utc_offset / 60), in date_object_get_properties_timezone() 2354 abs((tzobj->tzi.utc_offset % 60))); in date_object_get_properties_timezone() 3821 abs(utc_offset / 60), in PHP_FUNCTION() [all …]
|
/PHP-7.0/ext/exif/ |
H A D | exif.c | 1002 strlcpy(ret, tag_table[i].Desc, abs(len)); in exif_get_tagname() 1015 strlcpy(ret, tmp, abs(len)); in exif_get_tagname()
|
/PHP-7.0/ext/gd/libgd/ |
H A D | gd.c | 1122 dx = abs (x2 - x1); in gdImageLine() 1123 dy = abs (y2 - y1); in gdImageLine() 1313 if (abs(dx) > abs(dy)) { in gdImageAALine() 1383 dx = abs(x2 - x1); in gdImageDashedLine() 1384 dy = abs(y2 - y1); in gdImageDashedLine()
|
/PHP-7.0/ext/gd/tests/ |
H A D | bug49600.phpt | 19 if ( abs($x[0] - $y[0]) > 1 20 || abs($x[2] - $y[2]) > 1 21 || abs($x[4] - $y[4]) > 1 22 || abs($x[6] - $y[6]) > 1 ) {
|
/PHP-7.0/ext/gmp/ |
H A D | gmp.c | 760 num_len = mpz_sizeinbase(gmpnum, abs(base)); in gmp_strval()
|
/PHP-7.0/ext/interbase/tests/ |
H A D | 003.phpt | 98 if(abs($row->V_DOUBLE - $v_double) > abs($v_double / 1E15)){ 103 if(abs($row->V_FLOAT - $v_float) > abs($v_float / 1E7)){
|
H A D | 006.phpt | 75 if(abs($row->V_DOUBLE - $v_double) > abs($v_double / 1E15)) { 80 if(abs($row->V_FLOAT - $v_float) > abs($v_float / 1E7)) {
|
H A D | 007.phpt | 92 if(abs($row->V_DOUBLE[$i] - $v_double[$i]) > abs($v_double[$i] / 1E15)) { 97 if(abs($row->V_FLOAT[$i] - $v_float[$i]) > abs($v_float[$i] / 1E7)) {
|
/PHP-7.0/ext/intl/tests/ |
H A D | calendar_createInstance_basic.phpt | 26 var_dump(abs($timeMillis - $time * 1000) < 2000);
|
H A D | calendar_getNow_basic.phpt | 15 var_dump(abs($now - $proc_now) < 500); 16 var_dump(abs($time * 1000 - $proc_now) < 2000);
|
/PHP-7.0/ext/pdo_pgsql/tests/ |
H A D | bug69752.phpt | 46 if (abs($first_time_usage - $usage) > 3){
|
H A D | getnotify.phpt | 74 var_dump($diff >= 1 || 1 - abs($diff) < .05); 82 var_dump($diff < 1 || abs(1 - abs($diff)) < .05);
|
/PHP-7.0/ext/soap/ |
H A D | php_encoding.c | 2918 …zeof(tzbuf), "%c%02d:%02d", (ta->tm_gmtoff < 0) ? '-' : '+', abs(ta->tm_gmtoff / 3600), abs( (ta->… in to_xml_datetime_ex() 2921 …st ? _timezone - 3600:_timezone)>0)?'-':'+', abs((ta->tm_isdst ? _timezone - 3600 : _timezone) / 3… in to_xml_datetime_ex() 2923 …isdst ? timezone - 3600:timezone)>0)?'-':'+', abs((ta->tm_isdst ? timezone - 3600 : timezone) / 36… in to_xml_datetime_ex()
|
/PHP-7.0/ext/sqlite3/libsqlite/ |
H A D | sqlite3.c | 104993 FUNCTION(abs, 1, 0, 0, absFunc ),
|
/PHP-7.0/ext/standard/ |
H A D | basic_functions.c | 2884 PHP_FE(abs, arginfo_abs)
|
H A D | image.c | 169 result->height = abs((int32_t)result->height); in php_handle_bmp()
|
H A D | math.c | 152 f1 = php_intpow10(abs(places)); in _php_math_round() 160 f2 = php_intpow10(abs((int)use_precision)); in _php_math_round() 173 f2 = php_intpow10(abs((int)use_precision)); in _php_math_round() 193 if (abs(places) < 23) { in _php_math_round() 301 PHP_FUNCTION(abs) in PHP_FUNCTION() argument
|
H A D | php_math.h | 55 PHP_FUNCTION(abs);
|
/PHP-7.0/ext/standard/tests/math/ |
H A D | abs.phpt | 12 1 === abs(-1) 13 1.5 === abs(-1.5) 14 1 === abs("-1") 15 1.5 === abs("-1.5") 16 -LONG_MIN+1 === abs(LONG_MIN-1) 17 -LONG_MIN === abs(LONG_MIN) 18 -(LONG_MIN+1) === abs(LONG_MIN+1)
|
H A D | abs_basic.phpt | 2 Test abs() function : basic functionality 7 /* Prototype : number abs ( mixed $number ) 12 echo "*** Testing abs() : basic functionality ***\n"; 30 $res = abs($values[$i]); 36 *** Testing abs() : basic functionality ***
|
H A D | abs_basiclong_64bit.phpt | 2 Test abs function : 64bit long tests 24 var_dump(abs($longVal));
|