Home
last modified time | relevance | path

Searched refs:sin (Results 1 – 25 of 32) sorted by relevance

12

/PHP-5.5/ext/standard/tests/math/
H A Dsin_basic.phpt26 echo "sin 30 = ";
35 echo "sin 60 = ";
44 echo "sin 90 = ";
53 echo "sin 180 = ";
62 echo "sin 270 = ";
71 echo "sin 360 = ";
81 sin 30 = float(%f)
83 sin 60 = float(%f)
85 sin 90 = float(%f)
87 sin 180 = float(%f)
[all …]
H A Dsin_error.phpt2 Test wrong number of arguments for sin()
6 * proto float sin(float number)
14 var_dump(sin($arg_0, $extra_arg));
17 var_dump(sin());
23 Warning: sin() expects exactly 1 parameter, 2 given in %s on line %d
28 Warning: sin() expects exactly 1 parameter, 0 given in %s on line %d
H A Dsin_variation.phpt2 Test variations in usage of sin()
8 * proto float sin(float number)
13 //Test sin with a different input values
32 $res = sin($values[$i]);
48 Warning: sin() expects parameter 1 to be double, string given in %s on line %d
H A Dsin_basiclong_64bit.phpt2 Test sin function : 64bit long tests
24 var_dump(sin($longVal));
/PHP-5.5/ext/sockets/
H A Dsockaddr_conv.c85 int php_set_inet_addr(struct sockaddr_in *sin, char *string, php_socket *php_sock TSRMLS_DC) /* {{{… in php_set_inet_addr() argument
91 sin->sin_addr.s_addr = tmp.s_addr; in php_set_inet_addr()
106 memcpy(&(sin->sin_addr.s_addr), host_entry->h_addr_list[0], host_entry->h_length); in php_set_inet_addr()
H A Dsockets.c1183 struct sockaddr_in *sin; local
1260 struct sockaddr_in *sin; local
1415 struct sockaddr_in sin = {0}; local
1422 sin.sin_family = AF_INET;
1642 struct sockaddr_in sin; local
1686 slen = sizeof(sin);
1687 memset(&sin, 0, slen);
1688 sin.sin_family = AF_INET;
1760 struct sockaddr_in sin; local
1789 memset(&sin, 0, sizeof(sin));
[all …]
H A Dsockaddr_conv.h24 int php_set_inet_addr(struct sockaddr_in *sin, char *string, php_socket *php_sock TSRMLS_DC);
/PHP-5.5/ext/standard/tests/assert/
H A Dassert02.phpt38 Parse error: %s error%sin %sassert02.php(14) : assert code on line 1
45 Parse error: %s error%sin %sassert02.php(19) : assert code on line 1
/PHP-5.5/Zend/tests/
H A Dbug43343.phpt11 Parse error: %s error%sexpecting%sT_NS_SEPARATOR%sin %sbug43343.php on line 5
H A Dbug38779.phpt32 Parse error: %s error%sin Loader://qqq.php on line %d
H A Dbug38779_1.phpt43 Parse error: %s error%sin %s on line %d
/PHP-5.5/tests/lang/
H A Dbug21820.phpt13 Parse error: %s error, %s(T_STRING)%s(T_VARIABLE)%s(T_NUM_STRING)%sin %sbug21820.php on line %d
/PHP-5.5/ext/standard/tests/general_functions/
H A Dparse_ini_string_002.phpt100 Warning: syntax error, unexpected '='%sin Unknown on line 2
104 Warning: syntax error, unexpected '='%sin Unknown on line 2
/PHP-5.5/ext/gd/tests/
H A Dbug43073_1.phpt22 $sin_t = sin(deg2rad($delta_t));
H A Dbug43073.phpt22 $sin_t = sin(deg2rad($delta_t));
/PHP-5.5/ext/standard/
H A Dphp_math.h32 PHP_FUNCTION(sin);
/PHP-5.5/ext/gd/libgd/
H A Dgd_interpolation.c297 (-1.0f/sqrt(2.0f)*(sin(x)+cos(x)))); in KernelBessel_Order1()
427 return R * sin(x*M_PI) * sin(x * M_PI/ R) / (x * M_PI * x * M_PI); in filter_lanczos8()
444 return R * sin(x*M_PI) * sin(x * M_PI / R) / (x * M_PI * x * M_PI); in filter_lanczos3()
591 return (sin(M_PI * (double) x) / (M_PI * (double) x)); in filter_sinc()
1706 const gdFixed f_sin = gd_ftofx(sin(-_angle)); in gdImageRotateNearestNeighbour()
1755 const gdFixed f_sin = gd_ftofx(sin(-_angle)); in gdImageRotateGeneric()
1808 unsigned int new_width = abs((int)(src_w*cos(_angle))) + abs((int)(src_h*sin(_angle) + 0.5f)); in gdImageRotateBilinear()
1809 unsigned int new_height = abs((int)(src_w*sin(_angle))) + abs((int)(src_h*cos(_angle) + 0.5f)); in gdImageRotateBilinear()
1814 const gdFixed f_sin = gd_ftofx(sin(-_angle)); in gdImageRotateBilinear()
1923 …const unsigned int new_width = abs((int)(src_w*cos(_angle))) + abs((int)(src_h*sin(_angle) + 0.5f)… in gdImageRotateBicubicFixed()
[all …]
H A Dgd_matrix.c201 const double sin_t = sin (angle * M_PI / 180.0); in gdAffineRotate()
H A Dgd_arc_f_buggy.c245 s_sin = (long) ((double) 32768 * sin ((double) s * M_PI / (double) 180));
255 e_sin = (long) ((double) 32768 * sin ((double) e * M_PI / (double) 180));
610 a_sin = (long) ((double) 32768 * sin ((double) angle * M_PI / (double) 180));
H A Dgdft.c785 double sin_a = sin (angle);
1123 double d1 = sin (angle + 0.78539816339744830962);
1124 double d2 = sin (angle - 0.78539816339744830962);
/PHP-5.5/ext/mysqli/tests/
H A D010.phpt35 sin(0.6), 1.00000000000001, 888888888888888)");
/PHP-5.5/ext/standard/tests/strings/
H A Dchunk_split_variation4.phpt172 sin
/PHP-5.5/main/
H A Dnetwork.c952 struct sockaddr_in *sin = (struct sockaddr_in *) addr; local
953 sin->sin_family = AF_INET;
954 sin->sin_port = htons(port);
955 sin->sin_addr.s_addr = htonl(INADDR_ANY);
/PHP-5.5/ext/date/lib/
H A Dastro.c40 #define sind(x) sin((x)*DEGRAD)
/PHP-5.5/ext/ftp/
H A Dftp.c709 struct sockaddr_in *sin; in ftp_pasv() local
780 sin = (struct sockaddr_in *) sa; in ftp_pasv()
781 sin->sin_family = AF_INET; in ftp_pasv()
782 sin->sin_addr = ipbox.ia[0]; in ftp_pasv()
783 sin->sin_port = ipbox.s[2]; in ftp_pasv()

Completed in 51 milliseconds

12