/php-src/ext/standard/tests/file/ |
H A D | userstreams_003.phpt | 18 function stream_set_option($option, $value, $ptrparam) { 21 echo "ptrparam:\n"; 22 var_dump($ptrparam); 66 ptrparam: 77 ptrparam: 88 ptrparam: 104 ptrparam: 115 ptrparam: 126 ptrparam: 137 ptrparam: [all …]
|
/php-src/main/streams/ |
H A D | xp_socket.c | 54 static int php_tcp_sockop_set_option(php_stream *stream, int option, int value, void *ptrparam); 331 static int php_sockop_set_option(php_stream *stream, int option, int value, void *ptrparam) in php_sockop_set_option() argument 401 sock->timeout = *(struct timeval*)ptrparam; in php_sockop_set_option() 406 add_assoc_bool((zval *)ptrparam, "timed_out", sock->timeout_event); in php_sockop_set_option() 407 add_assoc_bool((zval *)ptrparam, "blocked", sock->is_blocked); in php_sockop_set_option() 408 add_assoc_bool((zval *)ptrparam, "eof", stream->eof); in php_sockop_set_option() 412 xparam = (php_stream_xport_param *)ptrparam; in php_sockop_set_option() 900 static int php_tcp_sockop_set_option(php_stream *stream, int option, int value, void *ptrparam) in php_tcp_sockop_set_option() argument 907 xparam = (php_stream_xport_param *)ptrparam; in php_tcp_sockop_set_option() 928 return php_sockop_set_option(stream, option, value, ptrparam); in php_tcp_sockop_set_option()
|
H A D | plain_wrapper.c | 670 static int php_stdiop_set_option(php_stream *stream, int option, int value, void *ptrparam) in php_stdiop_set_option() argument 708 if (ptrparam) in php_stdiop_set_option() 709 size = *(size_t *)ptrparam; in php_stdiop_set_option() 733 if ((uintptr_t) ptrparam == PHP_STREAM_LOCK_SUPPORTED) { in php_stdiop_set_option() 748 php_stream_mmap_range *range = (php_stream_mmap_range*)ptrparam; in php_stdiop_set_option() 808 php_stream_mmap_range *range = (php_stream_mmap_range*)ptrparam; in php_stdiop_set_option() 943 ptrdiff_t new_size = *(ptrdiff_t*)ptrparam; in php_stdiop_set_option() 994 add_assoc_bool((zval*)ptrparam, "timed_out", 0); in php_stdiop_set_option() 995 add_assoc_bool((zval*)ptrparam, "blocked", (flags & O_NONBLOCK)? 0 : 1); in php_stdiop_set_option() 996 add_assoc_bool((zval*)ptrparam, "eof", stream->eof); in php_stdiop_set_option()
|
H A D | memory.c | 220 static int php_stream_memory_set_option(php_stream *stream, int option, int value, void *ptrparam) … in php_stream_memory_set_option() argument 235 newsize = *(size_t*)ptrparam; in php_stream_memory_set_option() 516 static int php_stream_temp_set_option(php_stream *stream, int option, int value, void *ptrparam) /*… in php_stream_temp_set_option() argument 523 zend_hash_copy(Z_ARRVAL_P((zval*)ptrparam), Z_ARRVAL(ts->meta), zval_add_ref); in php_stream_temp_set_option() 528 return php_stream_set_option(ts->innerstream, option, value, ptrparam); in php_stream_temp_set_option()
|
H A D | userspace.c | 866 static int php_userstreamop_set_option(php_stream *stream, int option, int value, void *ptrparam) { in php_userstreamop_set_option() argument 943 ptrdiff_t new_size = *(ptrdiff_t*) ptrparam; in php_userstreamop_set_option() 987 if (ptrparam) { in php_userstreamop_set_option() 988 ZVAL_LONG(&args[2], *(long *)ptrparam); in php_userstreamop_set_option() 994 struct timeval tv = *(struct timeval*)ptrparam; in php_userstreamop_set_option()
|
H A D | streams.c | 1429 PHPAPI int _php_stream_set_option(php_stream *stream, int option, int value, void *ptrparam) in _php_stream_set_option() argument 1434 ret = stream->ops->set_option(stream, option, value, ptrparam); in _php_stream_set_option()
|
/php-src/ext/pgsql/ |
H A D | php_pgsql.h | 91 static int php_pgsql_fd_set_option(php_stream *stream, int option, int value, void *ptrparam);
|
H A D | pgsql.c | 4389 static int php_pgsql_fd_set_option(php_stream *stream, int option, int value, void *ptrparam) /* {{… in php_pgsql_fd_set_option() argument
|
/php-src/ext/openssl/ |
H A D | xp_ssl.c | 2388 static int php_openssl_sockop_set_option(php_stream *stream, int option, int value, void *ptrparam)… in php_openssl_sockop_set_option() argument 2391 php_stream_xport_crypto_param *cparam = (php_stream_xport_crypto_param *)ptrparam; in php_openssl_sockop_set_option() 2392 php_stream_xport_param *xparam = (php_stream_xport_param *)ptrparam; in php_openssl_sockop_set_option() 2438 add_assoc_zval((zval *)ptrparam, "crypto", &tmp); in php_openssl_sockop_set_option() 2441 add_assoc_bool((zval *)ptrparam, "timed_out", sslsock->s.timeout_event); in php_openssl_sockop_set_option() 2442 add_assoc_bool((zval *)ptrparam, "blocked", sslsock->s.is_blocked); in php_openssl_sockop_set_option() 2443 add_assoc_bool((zval *)ptrparam, "eof", stream->eof); in php_openssl_sockop_set_option() 2623 php_stream_socket_ops.set_option(stream, option, value, ptrparam); in php_openssl_sockop_set_option() 2652 return php_stream_socket_ops.set_option(stream, option, value, ptrparam); in php_openssl_sockop_set_option()
|
/php-src/main/ |
H A D | php_streams.h | 128 int (*set_option)(php_stream *stream, int option, int value, void *ptrparam); 390 PHPAPI int _php_stream_set_option(php_stream *stream, int option, int value, void *ptrparam);
|