/PHP-8.0/Zend/ |
H A D | zend_signal.c | 177 struct sigaction sa; in zend_signal_handler() local 229 struct sigaction sa; in zend_sigaction() local 245 memset(&sa, 0, sizeof(sa)); in zend_sigaction() 270 struct sigaction sa; in zend_signal() local 272 memset(&sa, 0, sizeof(sa)); in zend_signal() 273 sa.sa_flags = 0; in zend_signal() 274 sa.sa_handler = handler; in zend_signal() 287 struct sigaction sa; in zend_signal_register() local 290 if ((sa.sa_flags & SA_SIGINFO) && sa.sa_sigaction == handler) { in zend_signal_register() 337 struct sigaction sa; in zend_signal_deactivate() local [all …]
|
/PHP-8.0/main/ |
H A D | network.c | 427 sa = *sal; 439 ((struct sockaddr_in6 *)sa)->sin6_family = sa->sa_family; 445 ((struct sockaddr_in *)sa)->sin_family = sa->sa_family; 452 sa = NULL; 455 if (sa) { 676 memset(&sa, 0, sizeof(sa)); 696 memset(&sa, 0, sizeof(sa)); 814 sa = *sal; 837 ((struct sockaddr_in *)sa)->sin_family = sa->sa_family; 844 sa = NULL; [all …]
|
H A D | fastcgi.c | 239 struct sockaddr sa; member 486 sa_t sa; in fcgi_init() local 487 socklen_t len = sizeof(sa); in fcgi_init() 628 sa->lpSecurityDescriptor = sd; in prepare_named_pipe_acl() 656 sa_t sa; in fcgi_listen() local 683 memset(&sa.sa_inet, 0, sizeof(sa.sa_inet)); in fcgi_listen() 717 memset(&sa, 0, sizeof(saw)); in fcgi_listen() 745 memset(&sa.sa_unix, 0, sizeof(sa.sa_unix)); in fcgi_listen() 757 if ((listen_socket = socket(sa.sa.sa_family, SOCK_STREAM, 0)) < 0 || in fcgi_listen() 1403 sa_t sa; local [all …]
|
H A D | php_network.h | 326 struct sockaddr *sa, socklen_t sl, 335 zend_long addrlen, struct sockaddr *sa, socklen_t *sl);
|
/PHP-8.0/sapi/fpm/fpm/ |
H A D | fpm_sockets.c | 117 if (sa->sa_family == AF_INET) { in fpm_get_in_addr() 118 return &(((struct sockaddr_in*)sa)->sin_addr); in fpm_get_in_addr() 121 return &(((struct sockaddr_in6*)sa)->sin6_addr); in fpm_get_in_addr() 125 static int fpm_get_in_port(struct sockaddr *sa) /* {{{ */ in fpm_get_in_port() argument 127 if (sa->sa_family == AF_INET) { in fpm_get_in_port() 131 return ntohs(((struct sockaddr_in6*)sa)->sin6_port); in fpm_get_in_port() 141 inet_ntop(sa->sa_family, fpm_get_in_addr(sa), key, INET6_ADDRSTRLEN); in fpm_sockets_hash_op() 206 sock = socket(sa->sa_family, SOCK_STREAM, 0); in fpm_sockets_new_listening_socket() 223 unlink( ((struct sockaddr_un *) sa)->sun_path); in fpm_sockets_new_listening_socket() 227 if (0 > bind(sock, sa, socklen)) { in fpm_sockets_new_listening_socket() [all …]
|
/PHP-8.0/ext/com_dotnet/ |
H A D | com_saproxy.c | 88 SAFEARRAY *sa; in saproxy_read_dimension() local 140 sa = V_ARRAY(&proxy->obj->v); in saproxy_read_dimension() 141 dims = SafeArrayGetDim(sa); in saproxy_read_dimension() 150 SafeArrayGetLBound(sa, proxy->dimensions, &lbound); in saproxy_read_dimension() 151 SafeArrayGetUBound(sa, proxy->dimensions, &ubound); in saproxy_read_dimension() 183 res = SafeArrayGetElement(sa, indices, &v); in saproxy_read_dimension() 186 res = SafeArrayGetElement(sa, indices, &v.lVal); in saproxy_read_dimension() 473 SAFEARRAY *sa; in saproxy_iter_get_data() local 477 sa = V_ARRAY(&I->proxy->obj->v); in saproxy_iter_get_data() 485 SafeArrayGetElement(sa, I->indices, &v); in saproxy_iter_get_data() [all …]
|
H A D | com_variant.c | 33 SAFEARRAY *sa = NULL; in safe_array_from_zval() local 61 sa = SafeArrayCreate(VT_VARIANT, 1, &bound); in safe_array_from_zval() 64 SafeArrayAccessData(sa, &va); in safe_array_from_zval() 65 va = (VARIANT*)sa->pvData; in safe_array_from_zval() 78 SafeArrayUnaccessData(sa); in safe_array_from_zval() 80 V_ARRAY(v) = sa; in safe_array_from_zval() 89 if (sa) { in safe_array_from_zval() 90 SafeArrayUnlock(sa); in safe_array_from_zval() 91 SafeArrayDestroy(sa); in safe_array_from_zval()
|
/PHP-8.0/sapi/litespeed/ |
H A D | lscriu.c | 153 struct sigaction sa; in lsapi_criu_signal() local 155 sigaction(signo, NULL, &sa); in lsapi_criu_signal() 157 if (sa.sa_handler == SIG_DFL) { in lsapi_criu_signal() 158 sigemptyset(&sa.sa_mask); in lsapi_criu_signal() 159 sa.sa_flags = 0; in lsapi_criu_signal() 160 sa.sa_handler = handler; in lsapi_criu_signal() 161 sigaction(signo, &sa, NULL); in lsapi_criu_signal()
|
H A D | lsapilib.c | 340 struct sigaction sa; in lsapi_signal() local 342 sigaction(signo, NULL, &sa); in lsapi_signal() 344 if (sa.sa_handler == SIG_DFL) in lsapi_signal() 346 sigemptyset(&sa.sa_mask); in lsapi_signal() 347 sa.sa_flags = 0; in lsapi_signal() 348 sa.sa_handler = handler; in lsapi_signal() 349 sigaction(signo, &sa, NULL); in lsapi_signal()
|
/PHP-8.0/ext/hash/sha3/generic64lc/ |
H A D | KeccakP-1600-64.macros | 103 A##sa ^= Da; \ 104 Bku = ROL64(A##sa, 18); \ 148 Ca ^= E##sa; \ 209 A##sa ^= Da; \ 210 Bku = ROL64(A##sa, 18); \ 311 A##sa ^= Da; \ 356 Ca ^= E##sa; \ 417 A##sa ^= Da; \ 481 X##sa = state[20]; \ 508 state[20] = X##sa; \ [all …]
|
/PHP-8.0/ext/sockets/ |
H A D | sockets.c | 829 php_sockaddr_storage sa; local 1085 struct sockaddr *sa; local 1109 switch (sa->sa_family) { 1123 sin = (struct sockaddr_in *) sa; 1138 s_un = (struct sockaddr_un *) sa; 1157 struct sockaddr *sa; local 1181 switch (sa->sa_family) { 1197 sin = (struct sockaddr_in *) sa; 1395 sa->sun_family = AF_UNIX; 1412 sa->sin_family = AF_INET; [all …]
|
/PHP-8.0/ext/openssl/tests/ |
H A D | openssl_pbkdf2_basic.phpt | 18 var_dump(bin2hex(openssl_pbkdf2("pass\0word", "sa\0lt", 16, 4096)));
|
/PHP-8.0/ext/oci8/tests/ |
H A D | bug35973.phpt | 45 string(%d) "%sa"
|
/PHP-8.0/sapi/cli/ |
H A D | php_cli_server.c | 1223 struct sockaddr *sa = NULL, **p, **sal; in php_network_listen_socket() local 1230 if (sa) { in php_network_listen_socket() 1231 pefree(sa, 1); in php_network_listen_socket() 1232 sa = NULL; in php_network_listen_socket() 1280 *af = sa->sa_family; in php_network_listen_socket() 1286 switch (sa->sa_family) { in php_network_listen_socket() 1311 if (sa) { in php_network_listen_socket() 1312 pefree(sa, 1); in php_network_listen_socket() 2599 pefree(sa, 1); in php_cli_server_do_event_for_each_fd_callback() 2603 pefree(sa, 1); in php_cli_server_do_event_for_each_fd_callback() [all …]
|
/PHP-8.0/ext/standard/tests/file/windows_mb_path/ |
H A D | bug54028_2.phpt | 45 string(%d) "%sa"
|
/PHP-8.0/ext/phar/tests/zip/ |
H A D | 033a.phpt | 43 Cannot modify permissions for file "a.php" in phar "%sa.phar.zip", write operations are prohibited
|
/PHP-8.0/ext/ftp/ |
H A D | ftp.c | 779 struct sockaddr *sa; in ftp_pasv() local 794 sa = (struct sockaddr *) &ftp->pasvaddr; in ftp_pasv() 796 if (getpeername(ftp->fd, sa, &n) < 0) { in ftp_pasv() 801 if (sa->sa_family == AF_INET6) { in ftp_pasv() 802 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *) sa; in ftp_pasv() 852 sin = (struct sockaddr_in *) sa; in ftp_pasv() 1621 struct sockaddr *sa; in ftp_getdata() local 1639 sa = (struct sockaddr *) &ftp->localaddr; in ftp_getdata() 1671 php_any_addr(sa->sa_family, &addr, 0); in ftp_getdata() 1692 if (sa->sa_family == AF_INET6) { in ftp_getdata() [all …]
|
/PHP-8.0/ext/standard/tests/strings/ |
H A D | strval_variation2.phpt | 17 $sa = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xab\xac\xad\xae\xaf"; 44 echo bin2hex(strval($sa));
|
/PHP-8.0/main/streams/ |
H A D | xp_socket.c | 278 php_sockaddr_storage sa; in sock_recvfrom() local 279 socklen_t sl = sizeof(sa); in sock_recvfrom() 280 ret = recvfrom(sock->socket, buf, XP_SOCK_BUF_SIZE(buflen), flags, (struct sockaddr*)&sa, &sl); in sock_recvfrom() 289 php_network_populate_name_from_sockaddr((struct sockaddr*)&sa, sl, in sock_recvfrom()
|
/PHP-8.0/.github/scripts/windows/ |
H A D | test_task.bat | 44 set ODBC_TEST_USER=sa
|
/PHP-8.0/ext/standard/ |
H A D | streamsfuncs.c | 354 php_sockaddr_storage sa; in PHP_FUNCTION() local 368 …etwork_parse_network_address_with_port(target_addr, target_addr_len, (struct sockaddr*)&sa, &sl)) { in PHP_FUNCTION() 374 …RETURN_LONG(php_stream_xport_sendto(stream, data, datalen, (int)flags, target_addr_len ? &sa : NUL… in PHP_FUNCTION()
|
/PHP-8.0/ext/pdo_odbc/tests/ |
H A D | long_columns.phpt | 24 // set PDOTEST_USER=sa
|
/PHP-8.0/ext/fileinfo/libmagic/ |
H A D | apprentice.c | 972 size_t sa = apprentice_magic_strength(ma->mp); in apprentice_sort() local 974 if (sa == sb) in apprentice_sort() 976 else if (sa > sb) in apprentice_sort()
|
/PHP-8.0/ext/phar/ |
H A D | phar_object.c | 757 char *tmp = NULL, sa = '\0'; in PHP_METHOD() local 766 sa = *tmp; in PHP_METHOD() 779 *tmp = sa; in PHP_METHOD()
|
/PHP-8.0/build/ |
H A D | php.m4 | 1340 #include <sys/socket.h>]], [[static struct sockaddr sa; int n = (int) sa.sa_len; return n;]])],
|