Home
last modified time | relevance | path

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

/php-src/Zend/
H A Dzend_signal.c181 struct sigaction sa; in zend_signal_handler() local
232 struct sigaction sa; in zend_sigaction() local
248 memset(&sa, 0, sizeof(sa)); in zend_sigaction()
273 struct sigaction sa; in zend_signal() local
275 memset(&sa, 0, sizeof(sa)); in zend_signal()
276 sa.sa_flags = 0; in zend_signal()
277 sa.sa_handler = handler; in zend_signal()
290 struct sigaction sa; in zend_signal_register() local
293 if ((sa.sa_flags & SA_SIGINFO) && sa.sa_sigaction == handler) { in zend_signal_register()
340 struct sigaction sa; in zend_signal_deactivate() local
[all …]
/php-src/sapi/fpm/fpm/
H A Dfpm_sockets.c121 if (sa->sa_family == AF_INET) { in fpm_get_in_addr()
122 return &(((struct sockaddr_in*)sa)->sin_addr); in fpm_get_in_addr()
125 return &(((struct sockaddr_in6*)sa)->sin6_addr); in fpm_get_in_addr()
131 if (sa->sa_family == AF_INET) { in fpm_get_in_port()
132 return ntohs(((struct sockaddr_in*)sa)->sin_port); in fpm_get_in_port()
135 return ntohs(((struct sockaddr_in6*)sa)->sin6_port); in fpm_get_in_port()
145 inet_ntop(sa->sa_family, fpm_get_in_addr(sa), key, INET6_ADDRSTRLEN); in fpm_sockets_hash_op()
211 sock = socket(sa->sa_family, SOCK_STREAM, 0); in fpm_sockets_new_listening_socket()
228 unlink( ((struct sockaddr_un *) sa)->sun_path); in fpm_sockets_new_listening_socket()
232 if (0 > bind(sock, sa, socklen)) { in fpm_sockets_new_listening_socket()
[all …]
/php-src/main/
H A Dnetwork.c431 sa = *sal;
433 switch (sa->sa_family) {
614 memcpy(*addr, sa, sl);
622 switch (sa->sa_family) {
671 php_sockaddr_storage sa; local
673 memset(&sa, 0, sizeof(sa));
691 php_sockaddr_storage sa; local
693 memset(&sa, 0, sizeof(sa));
728 php_sockaddr_storage sa; local
738 sl = sizeof(sa);
[all …]
H A Dfastcgi.c237 struct sockaddr sa; member
484 sa_t sa; in fcgi_init() local
485 socklen_t len = sizeof(sa); in fcgi_init()
621 sa->lpSecurityDescriptor = sd; in prepare_named_pipe_acl()
649 sa_t sa; in fcgi_listen() local
676 memset(&sa.sa_inet, 0, sizeof(sa.sa_inet)); in fcgi_listen()
709 memset(&sa, 0, sizeof(saw)); in fcgi_listen()
737 memset(&sa.sa_unix, 0, sizeof(sa.sa_unix)); in fcgi_listen()
749 if ((listen_socket = socket(sa.sa.sa_family, SOCK_STREAM, 0)) < 0 || in fcgi_listen()
1393 sa_t sa; local
[all …]
H A Dphp_network.h331 struct sockaddr *sa, socklen_t sl,
340 size_t addrlen, struct sockaddr *sa, socklen_t *sl);
/php-src/ext/com_dotnet/
H A Dcom_saproxy.c96 SAFEARRAY *sa; in saproxy_read_dimension() local
148 sa = V_ARRAY(&proxy->obj->v); in saproxy_read_dimension()
149 dims = SafeArrayGetDim(sa); in saproxy_read_dimension()
158 SafeArrayGetLBound(sa, proxy->dimensions, &lbound); in saproxy_read_dimension()
159 SafeArrayGetUBound(sa, proxy->dimensions, &ubound); in saproxy_read_dimension()
191 res = SafeArrayGetElement(sa, indices, &v); in saproxy_read_dimension()
194 res = SafeArrayGetElement(sa, indices, &v.lVal); in saproxy_read_dimension()
480 SAFEARRAY *sa; in saproxy_iter_get_data() local
484 sa = V_ARRAY(&I->proxy->obj->v); in saproxy_iter_get_data()
492 SafeArrayGetElement(sa, I->indices, &v); in saproxy_iter_get_data()
[all …]
H A Dcom_variant.c32 SAFEARRAY *sa = NULL; in safe_array_from_zval() local
60 sa = SafeArrayCreate(VT_VARIANT, 1, &bound); in safe_array_from_zval()
63 SafeArrayAccessData(sa, &va); in safe_array_from_zval()
64 va = (VARIANT*)sa->pvData; in safe_array_from_zval()
79 SafeArrayUnaccessData(sa); in safe_array_from_zval()
81 V_ARRAY(v) = sa; in safe_array_from_zval()
90 if (sa) { in safe_array_from_zval()
91 SafeArrayUnlock(sa); in safe_array_from_zval()
92 SafeArrayDestroy(sa); in safe_array_from_zval()
/php-src/ext/hash/sha3/generic64lc/
H A DKeccakP-1600-64.macros103 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-src/sapi/litespeed/
H A Dlscriu.c153 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 Dlsapilib.c341 struct sigaction sa; in lsapi_signal() local
343 sigaction(signo, NULL, &sa); in lsapi_signal()
345 if (sa.sa_handler == SIG_DFL) in lsapi_signal()
347 sigemptyset(&sa.sa_mask); in lsapi_signal()
348 sa.sa_flags = 0; in lsapi_signal()
349 sa.sa_handler = handler; in lsapi_signal()
350 sigaction(signo, &sa, NULL); in lsapi_signal()
/php-src/ext/sockets/
H A Dsockets.c697 php_sockaddr_storage sa; local
957 struct sockaddr *sa; local
984 switch (sa->sa_family) {
998 sin = (struct sockaddr_in *) sa;
1009 s_un = (struct sockaddr_un *) sa;
1028 struct sockaddr *sa; local
1055 switch (sa->sa_family) {
1071 sin = (struct sockaddr_in *) sa;
1287 sa->sun_family = AF_UNIX;
1304 sa->sin_family = AF_INET;
[all …]
/php-src/ext/date/tests/
H A Dbug-gh11600.phpt19 string(%d) "h:mm%sa"
/php-src/ext/openssl/tests/
H A Dopenssl_pbkdf2_basic.phpt20 var_dump(bin2hex(openssl_pbkdf2("pass\0word", "sa\0lt", 16, 4096)));
/php-src/sapi/cli/
H A Dphp_cli_server.c1287 struct sockaddr *sa = NULL, **p, **sal; in php_network_listen_socket() local
1294 if (sa) { in php_network_listen_socket()
1295 pefree(sa, 1); in php_network_listen_socket()
1296 sa = NULL; in php_network_listen_socket()
1344 *af = sa->sa_family; in php_network_listen_socket()
1346 if (getsockname(retval, sa, socklen)) { in php_network_listen_socket()
1350 switch (sa->sa_family) { in php_network_listen_socket()
1375 if (sa) { in php_network_listen_socket()
1376 pefree(sa, 1); in php_network_listen_socket()
2715 pefree(sa, 1); in php_cli_server_do_event_for_each_fd_callback()
[all …]
/php-src/ext/standard/tests/file/windows_mb_path/
H A Dbug54028_2.phpt45 string(%d) "%sa"
/php-src/ext/phar/tests/zip/
H A D033a.phpt49 Cannot modify permissions for file "a.php" in phar "%sa.phar.zip", write operations are prohibited
/php-src/ext/ftp/
H A Dftp.c799 struct sockaddr *sa; in ftp_pasv() local
814 sa = (struct sockaddr *) &ftp->pasvaddr; in ftp_pasv()
816 if (getpeername(ftp->fd, sa, &n) < 0) { in ftp_pasv()
821 if (sa->sa_family == AF_INET6) { in ftp_pasv()
822 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *) sa; in ftp_pasv()
872 sin = (struct sockaddr_in *) sa; in ftp_pasv()
1662 struct sockaddr *sa; in ftp_getdata() local
1680 sa = (struct sockaddr *) &ftp->localaddr; in ftp_getdata()
1712 php_any_addr(sa->sa_family, &addr, 0); in ftp_getdata()
1733 if (sa->sa_family == AF_INET6) { in ftp_getdata()
[all …]
/php-src/ext/standard/tests/strings/
H A Dstrval_variation2.phpt17 $sa = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xab\xac\xad\xae\xaf";
44 echo bin2hex(strval($sa));
/php-src/main/streams/
H A Dxp_socket.c301 php_sockaddr_storage sa; in sock_recvfrom() local
302 socklen_t sl = sizeof(sa); in sock_recvfrom()
303 ret = recvfrom(sock->socket, buf, XP_SOCK_BUF_SIZE(buflen), flags, (struct sockaddr*)&sa, &sl); in sock_recvfrom()
312 php_network_populate_name_from_sockaddr((struct sockaddr*)&sa, sl, in sock_recvfrom()
/php-src/.github/scripts/windows/
H A Dtest_task.bat47 set ODBC_TEST_USER=sa
/php-src/ext/standard/
H A Dstreamsfuncs.c366 php_sockaddr_storage sa; in PHP_FUNCTION() local
380 …etwork_parse_network_address_with_port(target_addr, target_addr_len, (struct sockaddr*)&sa, &sl)) { in PHP_FUNCTION()
386 …RETURN_LONG(php_stream_xport_sendto(stream, data, datalen, (int)flags, target_addr_len ? &sa : NUL… in PHP_FUNCTION()
/php-src/ext/pdo_odbc/tests/
H A Dlong_columns.phpt23 // set PDOTEST_USER=sa
/php-src/ext/fileinfo/libmagic/
H A Dapprentice.c1081 size_t sa = file_magic_strength(ma->mp, ma->cont_count); in apprentice_sort() local
1083 if (sa == sb) in apprentice_sort()
1085 else if (sa > sb) in apprentice_sort()
/php-src/ext/mbstring/tests/
H A Dmb_detect_encoding.phpt388 …gün içerisinde tamamlanması taahhüt edilse de UEFA'nın standartlarına uyum sağlamak için projede y…
/php-src/ext/phar/
H A Dphar_object.c774 char *tmp = NULL, sa = '\0'; in PHP_METHOD() local
783 sa = *tmp; in PHP_METHOD()
796 *tmp = sa; in PHP_METHOD()

Completed in 102 milliseconds