/PHP-7.3/ext/standard/tests/file/ |
H A D | userstreams_003.phpt | 17 function stream_set_option($option, $value, $ptrparam) { 20 echo "ptrparam:\n"; 21 var_dump($ptrparam); 65 ptrparam: 76 ptrparam: 87 ptrparam: 103 ptrparam: 114 ptrparam: 125 ptrparam: 136 ptrparam: [all …]
|
/PHP-7.3/main/streams/ |
H A D | xp_socket.c | 56 static int php_tcp_sockop_set_option(php_stream *stream, int option, int value, void *ptrparam); 301 static int php_sockop_set_option(php_stream *stream, int option, int value, void *ptrparam) in php_sockop_set_option() argument 359 sock->timeout = *(struct timeval*)ptrparam; in php_sockop_set_option() 364 add_assoc_bool((zval *)ptrparam, "timed_out", sock->timeout_event); in php_sockop_set_option() 365 add_assoc_bool((zval *)ptrparam, "blocked", sock->is_blocked); in php_sockop_set_option() 366 add_assoc_bool((zval *)ptrparam, "eof", stream->eof); in php_sockop_set_option() 370 xparam = (php_stream_xport_param *)ptrparam; in php_sockop_set_option() 850 static int php_tcp_sockop_set_option(php_stream *stream, int option, int value, void *ptrparam) in php_tcp_sockop_set_option() argument 857 xparam = (php_stream_xport_param *)ptrparam; in php_tcp_sockop_set_option() 878 return php_sockop_set_option(stream, option, value, ptrparam); in php_tcp_sockop_set_option()
|
H A D | plain_wrapper.c | 611 static int php_stdiop_set_option(php_stream *stream, int option, int value, void *ptrparam) in php_stdiop_set_option() argument 649 if (ptrparam) in php_stdiop_set_option() 650 size = *(size_t *)ptrparam; in php_stdiop_set_option() 674 if ((zend_uintptr_t) ptrparam == PHP_STREAM_LOCK_SUPPORTED) { in php_stdiop_set_option() 689 php_stream_mmap_range *range = (php_stream_mmap_range*)ptrparam; in php_stdiop_set_option() 749 php_stream_mmap_range *range = (php_stream_mmap_range*)ptrparam; in php_stdiop_set_option() 860 ptrdiff_t new_size = *(ptrdiff_t*)ptrparam; in php_stdiop_set_option() 910 add_assoc_bool((zval*)ptrparam, "timed_out", 0); in php_stdiop_set_option() 911 add_assoc_bool((zval*)ptrparam, "blocked", (flags & O_NONBLOCK)? 0 : 1); in php_stdiop_set_option() 912 add_assoc_bool((zval*)ptrparam, "eof", stream->eof); in php_stdiop_set_option()
|
H A D | memory.c | 231 static int php_stream_memory_set_option(php_stream *stream, int option, int value, void *ptrparam) … in php_stream_memory_set_option() argument 246 newsize = *(size_t*)ptrparam; in php_stream_memory_set_option() 542 static int php_stream_temp_set_option(php_stream *stream, int option, int value, void *ptrparam) /*… in php_stream_temp_set_option() argument 549 zend_hash_copy(Z_ARRVAL_P((zval*)ptrparam), Z_ARRVAL(ts->meta), zval_add_ref); in php_stream_temp_set_option() 554 return php_stream_set_option(ts->innerstream, option, value, ptrparam); in php_stream_temp_set_option()
|
H A D | userspace.c | 914 static int php_userstreamop_set_option(php_stream *stream, int option, int value, void *ptrparam) { in php_userstreamop_set_option() argument 997 ptrdiff_t new_size = *(ptrdiff_t*) ptrparam; in php_userstreamop_set_option() 1045 if (ptrparam) { in php_userstreamop_set_option() 1046 ZVAL_LONG(&args[2], *(long *)ptrparam); in php_userstreamop_set_option() 1052 struct timeval tv = *(struct timeval*)ptrparam; in php_userstreamop_set_option()
|
H A D | streams.c | 1327 PHPAPI int _php_stream_set_option(php_stream *stream, int option, int value, void *ptrparam) in _php_stream_set_option() argument 1332 ret = stream->ops->set_option(stream, option, value, ptrparam); in _php_stream_set_option()
|
/PHP-7.3/ext/openssl/ |
H A D | xp_ssl.c | 2383 static int php_openssl_sockop_set_option(php_stream *stream, int option, int value, void *ptrparam)… in php_openssl_sockop_set_option() argument 2386 php_stream_xport_crypto_param *cparam = (php_stream_xport_crypto_param *)ptrparam; in php_openssl_sockop_set_option() 2387 php_stream_xport_param *xparam = (php_stream_xport_param *)ptrparam; in php_openssl_sockop_set_option() 2432 add_assoc_zval((zval *)ptrparam, "crypto", &tmp); in php_openssl_sockop_set_option() 2435 add_assoc_bool((zval *)ptrparam, "timed_out", sslsock->s.timeout_event); in php_openssl_sockop_set_option() 2436 add_assoc_bool((zval *)ptrparam, "blocked", sslsock->s.is_blocked); in php_openssl_sockop_set_option() 2437 add_assoc_bool((zval *)ptrparam, "eof", stream->eof); in php_openssl_sockop_set_option() 2516 php_stream_socket_ops.set_option(stream, option, value, ptrparam); in php_openssl_sockop_set_option() 2545 return php_stream_socket_ops.set_option(stream, option, value, ptrparam); in php_openssl_sockop_set_option()
|
/PHP-7.3/ext/pgsql/ |
H A D | php_pgsql.h | 234 static int php_pgsql_fd_set_option(php_stream *stream, int option, int value, void *ptrparam);
|
H A D | pgsql.c | 5403 static int php_pgsql_fd_set_option(php_stream *stream, int option, int value, void *ptrparam) /* {{… argument
|
/PHP-7.3/main/ |
H A D | php_streams.h | 129 int (*set_option)(php_stream *stream, int option, int value, void *ptrparam); 372 PHPAPI int _php_stream_set_option(php_stream *stream, int option, int value, void *ptrparam);
|