Home
last modified time | relevance | path

Searched refs:ptrparam (Results 1 – 10 of 10) sorted by relevance

/PHP-7.0/ext/standard/tests/file/
H A Duserstreams_003.phpt17 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.0/main/streams/
H A Dxp_socket.c58 static int php_tcp_sockop_set_option(php_stream *stream, int option, int value, void *ptrparam);
297 static int php_sockop_set_option(php_stream *stream, int option, int value, void *ptrparam) in php_sockop_set_option() argument
355 sock->timeout = *(struct timeval*)ptrparam; in php_sockop_set_option()
360 add_assoc_bool((zval *)ptrparam, "timed_out", sock->timeout_event); in php_sockop_set_option()
361 add_assoc_bool((zval *)ptrparam, "blocked", sock->is_blocked); in php_sockop_set_option()
362 add_assoc_bool((zval *)ptrparam, "eof", stream->eof); in php_sockop_set_option()
366 xparam = (php_stream_xport_param *)ptrparam; in php_sockop_set_option()
833 static int php_tcp_sockop_set_option(php_stream *stream, int option, int value, void *ptrparam) in php_tcp_sockop_set_option() argument
840 xparam = (php_stream_xport_param *)ptrparam; in php_tcp_sockop_set_option()
861 return php_sockop_set_option(stream, option, value, ptrparam); in php_tcp_sockop_set_option()
H A Dplain_wrapper.c607 static int php_stdiop_set_option(php_stream *stream, int option, int value, void *ptrparam) in php_stdiop_set_option() argument
645 if (ptrparam) in php_stdiop_set_option()
646 size = *(size_t *)ptrparam; in php_stdiop_set_option()
670 if ((zend_uintptr_t) ptrparam == PHP_STREAM_LOCK_SUPPORTED) { in php_stdiop_set_option()
685 php_stream_mmap_range *range = (php_stream_mmap_range*)ptrparam; in php_stdiop_set_option()
748 php_stream_mmap_range *range = (php_stream_mmap_range*)ptrparam; in php_stdiop_set_option()
847 ptrdiff_t new_size = *(ptrdiff_t*)ptrparam; in php_stdiop_set_option()
866 add_assoc_bool((zval*)ptrparam, "timed_out", 0); in php_stdiop_set_option()
867 add_assoc_bool((zval*)ptrparam, "blocked", (flags & O_NONBLOCK)? 0 : 1); in php_stdiop_set_option()
868 add_assoc_bool((zval*)ptrparam, "eof", stream->eof); in php_stdiop_set_option()
H A Dmemory.c247 static int php_stream_memory_set_option(php_stream *stream, int option, int value, void *ptrparam) … in php_stream_memory_set_option() argument
262 newsize = *(size_t*)ptrparam; in php_stream_memory_set_option()
535 static int php_stream_temp_set_option(php_stream *stream, int option, int value, void *ptrparam) /*… in php_stream_temp_set_option() argument
542 zend_hash_copy(Z_ARRVAL_P((zval*)ptrparam), Z_ARRVAL(ts->meta), zval_add_ref); in php_stream_temp_set_option()
547 return php_stream_set_option(ts->innerstream, option, value, ptrparam); in php_stream_temp_set_option()
H A Duserspace.c923 static int php_userstreamop_set_option(php_stream *stream, int option, int value, void *ptrparam) { in php_userstreamop_set_option() argument
1006 ptrdiff_t new_size = *(ptrdiff_t*) ptrparam; in php_userstreamop_set_option()
1054 if (ptrparam) { in php_userstreamop_set_option()
1055 ZVAL_LONG(&args[2], *(long *)ptrparam); in php_userstreamop_set_option()
1061 struct timeval tv = *(struct timeval*)ptrparam; in php_userstreamop_set_option()
H A Dstreams.c1345 PHPAPI int _php_stream_set_option(php_stream *stream, int option, int value, void *ptrparam) in _php_stream_set_option() argument
1350 ret = stream->ops->set_option(stream, option, value, ptrparam); in _php_stream_set_option()
/PHP-7.0/ext/openssl/
H A Dxp_ssl.c2300 static int php_openssl_sockop_set_option(php_stream *stream, int option, int value, void *ptrparam) in php_openssl_sockop_set_option() argument
2303 php_stream_xport_crypto_param *cparam = (php_stream_xport_crypto_param *)ptrparam; in php_openssl_sockop_set_option()
2304 php_stream_xport_param *xparam = (php_stream_xport_param *)ptrparam; in php_openssl_sockop_set_option()
2351 add_assoc_zval((zval *)ptrparam, "crypto", &tmp); in php_openssl_sockop_set_option()
2354 add_assoc_bool((zval *)ptrparam, "timed_out", sslsock->s.timeout_event); in php_openssl_sockop_set_option()
2355 add_assoc_bool((zval *)ptrparam, "blocked", sslsock->s.is_blocked); in php_openssl_sockop_set_option()
2356 add_assoc_bool((zval *)ptrparam, "eof", stream->eof); in php_openssl_sockop_set_option()
2443 php_stream_socket_ops.set_option(stream, option, value, ptrparam); in php_openssl_sockop_set_option()
2472 return php_stream_socket_ops.set_option(stream, option, value, ptrparam); in php_openssl_sockop_set_option()
/PHP-7.0/ext/pgsql/
H A Dphp_pgsql.h237 static int php_pgsql_fd_set_option(php_stream *stream, int option, int value, void *ptrparam);
H A Dpgsql.c5370 static int php_pgsql_fd_set_option(php_stream *stream, int option, int value, void *ptrparam) /* {{… argument
/PHP-7.0/main/
H A Dphp_streams.h131 int (*set_option)(php_stream *stream, int option, int value, void *ptrparam);
370 PHPAPI int _php_stream_set_option(php_stream *stream, int option, int value, void *ptrparam);

Completed in 88 milliseconds