Home
last modified time | relevance | path

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

12

/PHP-7.0/Zend/
H A Dzend_signal.c168 struct sigaction sa = {{0}}; in zend_signal_handler() local
181 sa.sa_handler = SIG_DFL; in zend_signal_handler()
182 sigemptyset(&sa.sa_mask); in zend_signal_handler()
212 struct sigaction sa = {{0}}; in zend_sigaction() local
250 struct sigaction sa = {{0}}; in zend_signal() local
252 sa.sa_flags = 0; in zend_signal()
253 sa.sa_handler = handler; in zend_signal()
266 struct sigaction sa = {{0}}; in zend_signal_register() local
269 if ((sa.sa_flags & SA_SIGINFO) && sa.sa_sigaction == handler) { in zend_signal_register()
281 sa.sa_sigaction = handler; in zend_signal_register()
[all …]
/PHP-7.0/sapi/fpm/fpm/
H A Dfpm_sockets.c80 if (sa->sa_family == AF_INET) { in fpm_get_in_addr()
81 return &(((struct sockaddr_in*)sa)->sin_addr); in fpm_get_in_addr()
84 return &(((struct sockaddr_in6*)sa)->sin6_addr); in fpm_get_in_addr()
88 static int fpm_get_in_port(struct sockaddr *sa) /* {{{ */ in fpm_get_in_port() argument
90 if (sa->sa_family == AF_INET) { in fpm_get_in_port()
94 return ntohs(((struct sockaddr_in6*)sa)->sin6_port); in fpm_get_in_port()
104 inet_ntop(sa->sa_family, fpm_get_in_addr(sa), key, INET6_ADDRSTRLEN); in fpm_sockets_hash_op()
169 sock = socket(sa->sa_family, SOCK_STREAM, 0); in fpm_sockets_new_listening_socket()
186 unlink( ((struct sockaddr_un *) sa)->sun_path); in fpm_sockets_new_listening_socket()
190 if (0 > bind(sock, sa, socklen)) { in fpm_sockets_new_listening_socket()
[all …]
/PHP-7.0/main/
H A Dnetwork.c442 sa = *sal;
454 ((struct sockaddr_in6 *)sa)->sin6_family = sa->sa_family;
460 ((struct sockaddr_in *)sa)->sin_family = sa->sa_family;
467 sa = NULL;
470 if (sa) {
682 memset(&sa, 0, sizeof(sa));
702 memset(&sa, 0, sizeof(sa));
815 sa = *sal;
838 ((struct sockaddr_in *)sa)->sin_family = sa->sa_family;
845 sa = NULL;
[all …]
H A Dfastcgi.c243 struct sockaddr sa; member
490 sa_t sa; in fcgi_init() local
491 socklen_t len = sizeof(sa); in fcgi_init()
632 sa->lpSecurityDescriptor = sd; in prepare_named_pipe_acl()
660 sa_t sa; in fcgi_listen() local
687 memset(&sa.sa_inet, 0, sizeof(sa.sa_inet)); in fcgi_listen()
721 memset(&sa, 0, sizeof(saw)); in fcgi_listen()
749 memset(&sa.sa_unix, 0, sizeof(sa.sa_unix)); in fcgi_listen()
761 if ((listen_socket = socket(sa.sa.sa_family, SOCK_STREAM, 0)) < 0 || in fcgi_listen()
1402 sa_t sa; local
[all …]
/PHP-7.0/ext/standard/tests/assert/
H A Dassert_basic5.phpt18 $sa = "0 != 0";
19 var_dump($r2=assert($sa));
20 $sa = "0 == 0";
21 var_dump($r2=assert($sa));
29 Warning: assert(): assert($sa): "0 != 0" failed in %s on line 10
H A Dassert_basic1.phpt17 $sa = "0 != 0";
18 var_dump($r2=assert($sa));
19 $sa = "0 == 0";
20 var_dump($r2=assert($sa));
H A Dassert_basic.phpt16 $sa = "0 != 0";
17 var_dump($r2=assert($sa));
18 $sa = "0 == 0";
19 var_dump($r2=assert($sa));
H A Dassert_basic3.phpt18 $sa = "0 != 0";
19 var_dump($r2=assert($sa));
25 Warning: assert(): assert($sa): "0 != 0" failed in %s on line 10
H A Dassert_error.phpt16 $sa = "threemeninaboat";
18 var_dump($r2=assert($sa));
22 var_dump($r2=assert($sa));
H A Dassert_variation.phpt32 $sa = "0 != 0";
33 var_dump($r2=assert($sa));
40 var_dump($r2=assert($sa));
47 var_dump($r2=assert($sa));
55 var_dump($r2=assert($sa));
62 var_dump($r2=assert($sa));
70 var_dump($r2=assert($sa));
H A Dassert_error4.phpt13 $sa = "0 $ 0";
14 var_dump($r2 = assert($sa, "Describing what was asserted"));
H A Dassert_basic6.phpt18 $sa = "0 != 0";
19 var_dump($r2 = assert($sa, "0 is 0"));
H A Dassert_error1.phpt30 $sa="0 != 0";
31 var_dump($r2 = assert($sa, "message", 1));
/PHP-7.0/ext/com_dotnet/
H A Dcom_saproxy.c92 SAFEARRAY *sa; in saproxy_read_dimension() local
139 sa = V_ARRAY(&proxy->obj->v); in saproxy_read_dimension()
140 dims = SafeArrayGetDim(sa); in saproxy_read_dimension()
149 SafeArrayGetLBound(sa, proxy->dimensions, &lbound); in saproxy_read_dimension()
150 SafeArrayGetUBound(sa, proxy->dimensions, &ubound); in saproxy_read_dimension()
182 res = SafeArrayGetElement(sa, indices, &v); in saproxy_read_dimension()
185 res = SafeArrayGetElement(sa, indices, &v.lVal); in saproxy_read_dimension()
481 SAFEARRAY *sa; in saproxy_iter_get_data() local
485 sa = V_ARRAY(&I->proxy->obj->v); in saproxy_iter_get_data()
493 SafeArrayGetElement(sa, I->indices, &v); in saproxy_iter_get_data()
[all …]
H A Dcom_variant.c37 SAFEARRAY *sa = NULL; in safe_array_from_zval() local
65 sa = SafeArrayCreate(VT_VARIANT, 1, &bound); in safe_array_from_zval()
68 SafeArrayAccessData(sa, &va); in safe_array_from_zval()
69 va = (VARIANT*)sa->pvData; in safe_array_from_zval()
82 SafeArrayUnaccessData(sa); in safe_array_from_zval()
84 V_ARRAY(v) = sa; in safe_array_from_zval()
93 if (sa) { in safe_array_from_zval()
94 SafeArrayUnlock(sa); in safe_array_from_zval()
95 SafeArrayDestroy(sa); in safe_array_from_zval()
/PHP-7.0/ext/zip/lib/
H A Dzip_source_win32a.c42 …mp_a(_zip_source_win32_read_file_t *ctx, void **temp, zip_uint32_t value, PSECURITY_ATTRIBUTES sa);
91 …emp_a(_zip_source_win32_read_file_t *ctx, void **temp, zip_uint32_t value, PSECURITY_ATTRIBUTES sa) in _win32_create_temp_a() argument
106 …return CreateFileA((const char *)*temp, GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ, sa, CREATE_… in _win32_create_temp_a()
H A Dzip_source_win32w.c42 …mp_w(_zip_source_win32_read_file_t *ctx, void **temp, zip_uint32_t value, PSECURITY_ATTRIBUTES sa);
91 …emp_w(_zip_source_win32_read_file_t *ctx, void **temp, zip_uint32_t value, PSECURITY_ATTRIBUTES sa) in _win32_create_temp_w() argument
106 …return CreateFileW((const wchar_t *)*temp, GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ, sa, CREA… in _win32_create_temp_w()
H A Dzip_source_win32handle.c421 SECURITY_ATTRIBUTES sa; in _win32_create_temp_file() local
444 sa.nLength = sizeof(SECURITY_ATTRIBUTES); in _win32_create_temp_file()
445 sa.bInheritHandle = FALSE; in _win32_create_temp_file()
446 sa.lpSecurityDescriptor = psd; in _win32_create_temp_file()
447 psa = &sa; in _win32_create_temp_file()
/PHP-7.0/ext/sockets/
H A Dsockets.c950 php_sockaddr_storage sa; local
1206 struct sockaddr *sa; local
1235 switch (sa->sa_family) {
1251 sin = (struct sockaddr_in *) sa;
1268 s_un = (struct sockaddr_un *) sa;
1289 struct sockaddr *sa; local
1314 switch (sa->sa_family) {
1331 sin = (struct sockaddr_in *) sa;
1537 sa->sun_family = AF_UNIX;
1556 sa->sin_family = AF_INET;
[all …]
/PHP-7.0/sapi/cli/
H A Dphp_cli_server.c1191 if (sa) { in php_network_listen_socket()
1192 pefree(sa, 1); in php_network_listen_socket()
1193 sa = NULL; in php_network_listen_socket()
1205 if (!sa) { in php_network_listen_socket()
1218 if (!sa) { in php_network_listen_socket()
1284 if (sa) { in php_network_listen_socket()
1285 pefree(sa, 1); in php_network_listen_socket()
2441 if (!sa) { in php_cli_server_do_event_for_each_fd_callback()
2450 pefree(sa, 1); in php_cli_server_do_event_for_each_fd_callback()
2454 pefree(sa, 1); in php_cli_server_do_event_for_each_fd_callback()
[all …]
/PHP-7.0/ext/openssl/tests/
H A Dopenssl_pbkdf2_basic.phpt18 var_dump(bin2hex(openssl_pbkdf2("pass\0word", "sa\0lt", 16, 4096)));
/PHP-7.0/ext/ftp/
H A Dftp.c743 struct sockaddr *sa; in ftp_pasv() local
758 sa = (struct sockaddr *) &ftp->pasvaddr; in ftp_pasv()
760 if (getpeername(ftp->fd, sa, &n) < 0) { in ftp_pasv()
765 if (sa->sa_family == AF_INET6) { in ftp_pasv()
766 struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *) sa; in ftp_pasv()
816 sin = (struct sockaddr_in *) sa; in ftp_pasv()
1519 struct sockaddr *sa; in ftp_getdata() local
1536 sa = (struct sockaddr *) &ftp->localaddr; in ftp_getdata()
1568 php_any_addr(sa->sa_family, &addr, 0); in ftp_getdata()
1589 if (sa->sa_family == AF_INET6) { in ftp_getdata()
[all …]
/PHP-7.0/ext/oci8/tests/
H A Dbug35973.phpt45 string(%d) "%sa"
/PHP-7.0/ext/phar/tests/zip/
H A D033a.phpt44 Cannot modify permissions for file "a.php" in phar "%sa.phar.zip", write operations are prohibited
/PHP-7.0/ext/standard/tests/strings/
H A Dstrval_variation2.phpt22 $sa = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xab\xac\xad\xae\xaf";
49 echo bin2hex(strval($sa));

Completed in 76 milliseconds

12