Home
last modified time | relevance | path

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

/php-src/ext/standard/tests/file/
H A Duserstreams_003.phpt18 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 Dxp_socket.c54 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 Dplain_wrapper.c670 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 Dmemory.c220 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 Duserspace.c866 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 Dstreams.c1429 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 Dphp_pgsql.h91 static int php_pgsql_fd_set_option(php_stream *stream, int option, int value, void *ptrparam);
H A Dpgsql.c4389 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 Dxp_ssl.c2388 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 Dphp_streams.h128 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);

Completed in 52 milliseconds