/PHP-5.3/main/ |
H A D | php_network.h | 119 PHPAPI int php_poll2(php_pollfd *ufds, unsigned int nfds, int timeout); 138 # define php_poll2(ufds, nfds, timeout) poll(ufds, nfds, timeout) argument 172 static inline int php_pollfd_for_ms(php_socket_t fd, int events, int timeout) in php_pollfd_for_ms() argument 181 n = php_poll2(&p, 1, timeout); in php_pollfd_for_ms() 224 int socktype, int asynchronous, struct timeval *timeout, char **error_string, 232 struct timeval *timeout, 236 #define php_connect_nonb(sock, addr, addrlen, timeout) \ argument 247 struct timeval *timeout, 271 struct timeval timeout; member 300 …k_open_host(host, port, socktype, timeout, persistent) _php_stream_sock_open_host((host), (port), … argument [all …]
|
H A D | network.c | 304 struct timeval *timeout, argument 709 struct timeval *timeout, argument 781 if (timeout) { 879 timeout ? &working_timeout : NULL, 888 if (timeout) { 908 if (timeout) { 1037 sock->timeout.tv_sec = FG(default_socket_timeout); 1038 sock->timeout.tv_usec = 0; 1166 if (timeout >= 0) { 1167 tv.tv_sec = timeout / 1000; [all …]
|
/PHP-5.3/main/streams/ |
H A D | php_stream_transport.h | 32 struct timeval *timeout, 51 struct timeval *timeout, 57 #define php_stream_xport_create(name, namelen, options, flags, persistent_id, timeout, context, est… argument 58 …_php_stream_xport_create(name, namelen, options, flags, persistent_id, timeout, context, estr, eco… 70 struct timeval *timeout, 86 struct timeval *timeout, 146 struct timeval *timeout; member
|
H A D | transports.c | 54 struct timeval *timeout, in _php_stream_xport_create() argument 69 if (timeout == NULL) { in _php_stream_xport_create() 70 timeout = &default_timeout; in _php_stream_xport_create() 133 (char*)name, namelen, persistent_id, options, flags, timeout, in _php_stream_xport_create() 145 timeout, &error_text, error_code TSRMLS_CC)) { in _php_stream_xport_create() 227 struct timeval *timeout, in php_stream_xport_connect() argument 239 param.inputs.timeout = timeout; in php_stream_xport_connect() 287 struct timeval *timeout, in php_stream_xport_accept() argument 297 param.inputs.timeout = timeout; in php_stream_xport_accept()
|
H A D | xp_socket.c | 64 if (sock->timeout.tv_sec == -1) in php_sockop_write() 67 ptimeout = &sock->timeout; in php_sockop_write() 125 if (sock->timeout.tv_sec == -1) in php_sock_stream_wait_for_data() 128 ptimeout = &sock->timeout; in php_sock_stream_wait_for_data() 282 if (sock->timeout.tv_sec == -1) { in php_sockop_set_option() 286 tv = sock->timeout; in php_sockop_set_option() 312 sock->timeout = *(struct timeval*)ptrparam; in php_sockop_set_option() 678 xparam->inputs.timeout, in php_tcp_sockop_connect() 719 xparam->inputs.timeout, in php_tcp_sockop_accept() 784 struct timeval *timeout, in php_stream_generic_socket_factory() argument [all …]
|
/PHP-5.3/ext/standard/tests/network/ |
H A D | fsockopen_error.phpt | 5 …oto resource fsockopen(string hostname, int port [, int errno [, string errstr [, float timeout]]]) 20 $timeout = 10.5; 22 var_dump( fsockopen($hostname, $port, $errno, $errstr, $timeout, $extra_arg) ); 34 $timeout = 1.5; 35 var_dump( fsockopen($hostname, $port, $errno, $errstr, $timeout) ); 43 $timeout = 1.5; 44 var_dump( fsockopen($hostname, $port, $errno, $errstr, $timeout) );
|
H A D | fsockopen_basic.phpt | 5 …oto resource fsockopen(string hostname, int port [, int errno [, string errstr [, float timeout]]]) 22 $timeout = 1.5; 25 $client = fsockopen($hostname, $port, $errno, $errstr, $timeout);
|
/PHP-5.3/sapi/fpm/fpm/events/ |
H A D | select.c | 39 static int fpm_event_select_wait(struct fpm_event_queue_s *queue, unsigned long int timeout); 86 static int fpm_event_select_wait(struct fpm_event_queue_s *queue, unsigned long int timeout) /* {{{… in fpm_event_select_wait() argument 97 t.tv_sec = timeout / 1000; in fpm_event_select_wait() 98 t.tv_usec = (timeout % 1000) * 1000; in fpm_event_select_wait()
|
H A D | port.c | 34 static int fpm_event_port_wait(struct fpm_event_queue_s *queue, unsigned long int timeout); 117 static int fpm_event_port_wait(struct fpm_event_queue_s *queue, unsigned long int timeout) /* {{{ */ in fpm_event_port_wait() argument 123 t.tv_sec = (int)(timeout / 1000); in fpm_event_port_wait() 124 t.tv_nsec = (timeout % 1000) * 1000 * 1000; in fpm_event_port_wait()
|
H A D | kqueue.c | 36 static int fpm_event_kqueue_wait(struct fpm_event_queue_s *queue, unsigned long int timeout); 119 static int fpm_event_kqueue_wait(struct fpm_event_queue_s *queue, unsigned long int timeout) /* {{{… in fpm_event_kqueue_wait() argument 128 t.tv_sec = timeout / 1000; in fpm_event_kqueue_wait() 129 t.tv_nsec = (timeout % 1000) * 1000 * 1000; in fpm_event_kqueue_wait()
|
H A D | epoll.c | 33 static int fpm_event_epoll_wait(struct fpm_event_queue_s *queue, unsigned long int timeout); 116 static int fpm_event_epoll_wait(struct fpm_event_queue_s *queue, unsigned long int timeout) /* {{{ … in fpm_event_epoll_wait() argument 124 ret = epoll_wait(epollfd, epollfds, nepollfds, timeout); in fpm_event_epoll_wait()
|
H A D | devpoll.c | 37 static int fpm_event_devpoll_wait(struct fpm_event_queue_s *queue, unsigned long int timeout); 148 static int fpm_event_devpoll_wait(struct fpm_event_queue_s *queue, unsigned long int timeout) /* {{… in fpm_event_devpoll_wait() argument 157 dopoll.dp_timeout = (int)timeout; in fpm_event_devpoll_wait()
|
H A D | poll.c | 34 static int fpm_event_poll_wait(struct fpm_event_queue_s *queue, unsigned long int timeout); 133 static int fpm_event_poll_wait(struct fpm_event_queue_s *queue, unsigned long int timeout) /* {{{ */ in fpm_event_poll_wait() argument 144 ret = poll(active_pollfds, npollfds, timeout); in fpm_event_poll_wait()
|
/PHP-5.3/sapi/fpm/fpm/ |
H A D | fpm_events.h | 17 struct timeval timeout; /* next time to trigger */ member 37 int (*wait)(struct fpm_event_queue_s *queue, unsigned long int timeout); 46 int fpm_event_add(struct fpm_event_s *ev, unsigned long int timeout);
|
H A D | fpm_events.c | 32 #define fpm_event_set_timeout(ev, now) timeradd(&(now), &(ev)->frequency, &(ev)->timeout); 371 unsigned long int timeout; in fpm_event_loop() local 386 ms = q->ev->timeout; in fpm_event_loop() 388 if (timercmp(&q->ev->timeout, &ms, <)) { in fpm_event_loop() 389 ms = q->ev->timeout; in fpm_event_loop() 397 timeout = 1000; in fpm_event_loop() 400 timeout = (tmp.tv_sec * 1000) + (tmp.tv_usec / 1000) + 1; in fpm_event_loop() 403 ret = module->wait(fpm_event_queue_fd, timeout); in fpm_event_loop() 419 if (timercmp(&now, &q->ev->timeout, >) || timercmp(&now, &q->ev->timeout, ==)) { in fpm_event_loop()
|
/PHP-5.3/win32/ |
H A D | time.c | 150 int timeout = value->it_value.tv_sec * 1000 + value->it_value.tv_usec; 155 if (timeout > 0) { 164 realtimer = timeSetEvent(timeout, 100, (LPTIMECALLBACK) setitimer_timeout, (UINT) msg, repeat); 168 virttimer = timeSetEvent(timeout, 100, (LPTIMECALLBACK) setitimer_timeout, (UINT) msg, repeat); 172 proftimer = timeSetEvent(timeout, 100, (LPTIMECALLBACK) setitimer_timeout, (UINT) msg, repeat);
|
/PHP-5.3/ext/snmp/ |
H A D | snmp.c | 120 ZEND_ARG_INFO(0, timeout) 128 ZEND_ARG_INFO(0, timeout) 136 ZEND_ARG_INFO(0, timeout) 144 ZEND_ARG_INFO(0, timeout) 172 ZEND_ARG_INFO(0, timeout) 180 ZEND_ARG_INFO(0, timeout) 188 ZEND_ARG_INFO(0, timeout) 196 ZEND_ARG_INFO(0, timeout) 204 ZEND_ARG_INFO(0, timeout) 832 session.timeout = timeout; in php_snmp() [all …]
|
/PHP-5.3/ext/standard/ |
H A D | fsock.c | 38 double timeout = FG(default_socket_timeout); in php_fsockopen_stream() local 50 …NUM_ARGS() TSRMLS_CC, "s|lzzd", &host, &host_len, &port, &zerrno, &zerrstr, &timeout) == FAILURE) { in php_fsockopen_stream() 66 conv = (unsigned long) (timeout * 1000000.0); in php_fsockopen_stream()
|
/PHP-5.3/ext/openssl/ |
H A D | xp_ssl.c | 427 *timeout; in php_openssl_enable_crypto() local 450 timeout = sslsock->is_client ? &sslsock->connect_timeout : &sslsock->s.timeout; in php_openssl_enable_crypto() 451 has_timeout = !sslsock->s.is_blocked && (timeout->tv_sec || timeout->tv_usec); in php_openssl_enable_crypto() 476 if (elapsed_time.tv_sec > timeout->tv_sec || in php_openssl_enable_crypto() 477 (elapsed_time.tv_sec == timeout->tv_sec && in php_openssl_enable_crypto() 478 elapsed_time.tv_usec > timeout->tv_usec)) { in php_openssl_enable_crypto() 610 xparam->inputs.timeout, in php_openssl_tcp_sockop_accept() 688 if (sslsock->s.timeout.tv_sec == -1) { in php_openssl_sockop_set_option() 890 struct timeval *timeout, in php_openssl_ssl_socket_factory() argument 902 sslsock->s.timeout.tv_usec = 0; in php_openssl_ssl_socket_factory() [all …]
|
/PHP-5.3/ext/curl/ |
H A D | multi.c | 158 static void _make_timeval_struct(struct timeval *to, double timeout) /* {{{ */ in _make_timeval_struct() argument 162 conv = (unsigned long) (timeout * 1000000.0); in _make_timeval_struct() 178 double timeout = 1.0; in PHP_FUNCTION() local 181 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|d", &z_mh, &timeout) == FAILURE) { in PHP_FUNCTION() 187 _make_timeval_struct(&to, timeout); in PHP_FUNCTION()
|
/PHP-5.3/ext/mbstring/libmbfl/tests/conv_encoding.tests/ |
H A D | cp51932_cp50220raw.exp | 3 set timeout 1
|
H A D | ujis_sjis.exp | 3 set timeout 1
|
H A D | utf8_sjis.exp | 3 set timeout 1
|
/PHP-5.3/ext/mbstring/libmbfl/tests/strwidth.tests/ |
H A D | strwidth.exp | 3 set timeout 1
|
/PHP-5.3/ext/standard/tests/streams/ |
H A D | stream_get_meta_data_socket_variation2.phpt | 20 echo "\n\nSet a timeout on the client and attempt a read:\n"; 57 Set a timeout on the client and attempt a read:
|