Home
last modified time | relevance | path

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

/PHP-7.3/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.3/main/streams/
H A Dxp_socket.c56 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 Dplain_wrapper.c611 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 Dmemory.c231 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 Duserspace.c914 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 Dstreams.c1327 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 Dxp_ssl.c2383 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 Dphp_pgsql.h234 static int php_pgsql_fd_set_option(php_stream *stream, int option, int value, void *ptrparam);
H A Dpgsql.c5403 static int php_pgsql_fd_set_option(php_stream *stream, int option, int value, void *ptrparam) /* {{… argument
/PHP-7.3/main/
H A Dphp_streams.h129 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);

Completed in 64 milliseconds