Home
last modified time | relevance | path

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

12

/PHP-7.1/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 float, 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-7.1/ext/sockets/
H A Dsockaddr_conv.c85 int php_set_inet_addr(struct sockaddr_in *sin, char *string, php_socket *php_sock) /* {{{ */ 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 Dsockaddr_conv.h24 int php_set_inet_addr(struct sockaddr_in *sin, char *string, php_socket *php_sock);
H A Dsockets.c1212 struct sockaddr_in *sin; local
1295 struct sockaddr_in *sin; local
1455 struct sockaddr_in sin = {0}; local
1462 sin.sin_family = AF_INET;
1690 struct sockaddr_in sin; local
1738 slen = sizeof(sin);
1739 memset(&sin, 0, slen);
1740 sin.sin_family = AF_INET;
1816 struct sockaddr_in sin; local
1853 memset(&sin, 0, sizeof(sin));
[all …]
/PHP-7.1/Zend/tests/
H A Dbug70804.phpt9 $foo = +(-sin(0));
H A Dbug52355.phpt9 $foo = -sin(0);
H A Dbug43343.phpt11 Parse error: %s error%sexpecting%sT_NS_SEPARATOR%sin %sbug43343.php on line 5
H A Dbug75290.phpt6 var_dump((new ReflectionFunction('sin'))->getClosure());
H A Dbug69599.phpt7 sin(...[0]);
H A Dbug38779.phpt32 Parse error: %s error%sin Loader://qqq.php on line %d
H A Dbug38779_1.phpt51 Parse error: %s error%sin %s on line %d
/PHP-7.1/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-7.1/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-7.1/ext/gd/tests/
H A Dbug43073.phpt38 $sin_t = sin(deg2rad($delta_t));
H A Dbug53504.phpt81 $test['y'] - $width * sin(deg2rad($test['angle'])), $blue);
/PHP-7.1/ext/standard/
H A Dphp_math.h33 PHP_FUNCTION(sin);
/PHP-7.1/ext/mysqli/tests/
H A D010.phpt35 sin(0.6), 1.00000000000001, 888888888888888)");
/PHP-7.1/ext/standard/tests/strings/
H A Dchunk_split_variation4.phpt172 sin
/PHP-7.1/ext/gd/libgd/
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));
/PHP-7.1/ext/date/lib/
H A Dastro.c45 #define sind(x) sin((x)*DEGRAD)
/PHP-7.1/main/
H A Dnetwork.c995 struct sockaddr_in *sin = (struct sockaddr_in *) addr; local
996 sin->sin_family = AF_INET;
997 sin->sin_port = htons(port);
998 sin->sin_addr.s_addr = htonl(INADDR_ANY);

Completed in 36 milliseconds

12