/PHP-5.3/ext/standard/tests/math/ |
H A D | abs_error.phpt | 2 Test abs() function : error conditions - incorrect number of args 5 /* Prototype : number abs ( mixed $number ) 11 * Pass incorrect number of arguments to abs() to test behaviour 14 echo "*** Testing abs() : error conditions ***\n"; 20 var_dump(abs($arg_0, $extra_arg)); 23 var_dump(abs()); 28 *** Testing abs() : error conditions *** 32 Warning: abs() expects exactly 1 parameter, 2 given in %s on line %d 37 Warning: abs() expects exactly 1 parameter, 0 given in %s on line %d
|
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_variation.phpt | 2 Test abs() function : usage variations - different data types as $number arg 5 /* Prototype : number abs ( mixed $number ) 11 * Pass different data types as $number argument to abs() to test behaviour 14 echo "*** Testing abs() : usage variations ***\n"; 24 return "abs"; 30 abs 55 /*19*/ "abs", 56 'abs', 72 // loop through each element of $inputs to check the behavior of abs() 76 var_dump(abs($input) ); [all …]
|
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));
|
/PHP-5.3/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-5.3/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 | 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)) {
|
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)) {
|
/PHP-5.3/ext/date/lib/ |
H A D | interval.c | 63 rt->days = abs(floor((one->sse - two->sse - (dst_h_corr * 3600) - (dst_m_corr * 60)) / 86400)); in timelib_diff()
|
H A D | tm2unixtime.c | 166 time->d -= (7 - (abs(time->relative.weekday) - current_dow)); in do_adjust_for_weekday()
|
/PHP-5.3/ext/standard/ |
H A D | php_math.h | 53 PHP_FUNCTION(abs);
|
H A D | math.c | 150 f1 = php_intpow10(abs(places)); in _php_math_round() 156 f2 = php_intpow10(abs(precision_places)); in _php_math_round() 166 f2 = php_intpow10(abs(places - precision_places)); in _php_math_round() 186 if (abs(places) < 23) { in _php_math_round() 277 PHP_FUNCTION(abs) in PHP_FUNCTION() argument
|
H A D | array.c | 2630 pad_size_abs = abs(pad_size); in PHP_FUNCTION()
|
H A D | basic_functions.c | 2871 PHP_FE(abs, arginfo_abs)
|
/PHP-5.3/tests/ |
H A D | quicktester.inc | 59 $result = abs(($left-$right) / $left) < 1e-12;
|
/PHP-5.3/ext/date/ |
H A D | php_date.c | 1124 localtime ? abs(offset->offset / 3600) : 0, in date_format() 1126 localtime ? abs((offset->offset % 3600) / 60) : 0 in date_format() 1143 abs(offset->offset / 3600), in date_format() 1144 abs((offset->offset % 3600) / 60) in date_format() 1157 localtime ? abs(offset->offset / 3600) : 0, in date_format() 1158 localtime ? abs((offset->offset % 3600) / 60) : 0 in date_format() 1166 localtime ? abs(offset->offset / 3600) : 0, in date_format() 2160 abs(utc_offset / 60), in date_object_get_properties() 2161 abs((utc_offset % 60))); in date_object_get_properties() 3327 abs(utc_offset / 60), in PHP_FUNCTION() [all …]
|
/PHP-5.3/ |
H A D | CODING_STANDARDS | 223 /* {{{ proto int abs(int number) 225 PHP_FUNCTION(abs)
|
H A D | ltmain.sh | 5731 [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; 5732 *) abs=`pwd`"/$lib" ;; 5734 newdlfiles="$newdlfiles $abs" 5740 [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; 5741 *) abs=`pwd`"/$lib" ;; 5743 newdlprefiles="$newdlprefiles $abs"
|
/PHP-5.3/ext/gd/libgd/ |
H A D | gd.c | 1111 dx = abs (x2 - x1); in gdImageLine() 1112 dy = abs (y2 - y1); in gdImageLine() 1347 if (abs(dx) > abs(dy)) { in gdImageAALine() 1405 dx = abs(x2 - x1); in gdImageDashedLine() 1406 dy = abs(y2 - y1); in gdImageDashedLine()
|
/PHP-5.3/ext/soap/ |
H A D | php_encoding.c | 3038 …zeof(tzbuf), "%c%02d:%02d", (ta->tm_gmtoff < 0) ? '-' : '+', abs(ta->tm_gmtoff / 3600), abs( (ta->… in to_xml_datetime_ex() 3041 …st ? _timezone - 3600:_timezone)>0)?'-':'+', abs((ta->tm_isdst ? _timezone - 3600 : _timezone) / 3… in to_xml_datetime_ex() 3043 …isdst ? timezone - 3600:timezone)>0)?'-':'+', abs((ta->tm_isdst ? timezone - 3600 : timezone) / 36… in to_xml_datetime_ex()
|
/PHP-5.3/ext/gmp/ |
H A D | gmp.c | 828 num_len = mpz_sizeinbase(*gmpnum, abs(base));
|
/PHP-5.3/ext/exif/ |
H A D | exif.c | 1018 strlcpy(ret, tag_table[i].Desc, abs(len)); in exif_get_tagname() 1031 strlcpy(ret, tmp, abs(len)); in exif_get_tagname()
|
/PHP-5.3/ext/standard/tests/misc/ |
H A D | browscap.ini | 2386 [Mozilla/5.0 (compatible; Scrubby/*; http://www.scrubtheweb.com/abs/meta-check.html)]
|
/PHP-5.3/ext/sqlite3/libsqlite/ |
H A D | sqlite3.c | 83744 FUNCTION(abs, 1, 0, 0, absFunc ),
|