Searched defs:ptrparam (Results 1 - 7 of 7) sorted by relevance

/PHP_TRUNK/main/streams/
H A Dxp_socket.c58 static int php_tcp_sockop_set_option(php_stream *stream, int option, int value, void *ptrparam);
285 static int php_sockop_set_option(php_stream *stream, int option, int value, void *ptrparam) argument
333 sock->timeout = *(struct timeval*)ptrparam;
338 add_assoc_bool((zval *)ptrparam, "timed_out", sock->timeout_event);
339 add_assoc_bool((zval *)ptrparam, "blocked", sock->is_blocked);
340 add_assoc_bool((zval *)ptrparam, "eof", stream->eof);
344 xparam = (php_stream_xport_param *)ptrparam;
801 static int php_tcp_sockop_set_option(php_stream *stream, int option, int value, void *ptrparam) argument
808 xparam = (php_stream_xport_param *)ptrparam;
829 return php_sockop_set_option(stream, option, value, ptrparam);
[all...]
H A Dmemory.c247 static int php_stream_memory_set_option(php_stream *stream, int option, int value, void *ptrparam) /* {{{ */ argument
262 newsize = *(size_t*)ptrparam;
530 static int php_stream_temp_set_option(php_stream *stream, int option, int value, void *ptrparam) /* {{{ */ argument
537 zend_hash_copy(Z_ARRVAL_P((zval*)ptrparam), Z_ARRVAL(ts->meta), zval_add_ref);
542 return php_stream_set_option(ts->innerstream, option, value, ptrparam);
H A Dstreams.c1344 PHPAPI int _php_stream_set_option(php_stream *stream, int option, int value, void *ptrparam) argument
1349 ret = stream->ops->set_option(stream, option, value, ptrparam);
H A Duserspace.c915 static int php_userstreamop_set_option(php_stream *stream, int option, int value, void *ptrparam) { argument
998 ptrdiff_t new_size = *(ptrdiff_t*) ptrparam;
1046 if (ptrparam) {
1047 ZVAL_LONG(&args[2], *(long *)ptrparam);
1053 struct timeval tv = *(struct timeval*)ptrparam;
H A Dplain_wrapper.c597 static int php_stdiop_set_option(php_stream *stream, int option, int value, void *ptrparam) argument
635 if (ptrparam)
636 size = *(size_t *)ptrparam;
660 if ((zend_uintptr_t) ptrparam == PHP_STREAM_LOCK_SUPPORTED) {
675 php_stream_mmap_range *range = (php_stream_mmap_range*)ptrparam;
738 php_stream_mmap_range *range = (php_stream_mmap_range*)ptrparam;
837 ptrdiff_t new_size = *(ptrdiff_t*)ptrparam;
/PHP_TRUNK/ext/openssl/
H A Dxp_ssl.c2260 static int php_openssl_sockop_set_option(php_stream *stream, int option, int value, void *ptrparam) argument
2263 php_stream_xport_crypto_param *cparam = (php_stream_xport_crypto_param *)ptrparam;
2264 php_stream_xport_param *xparam = (php_stream_xport_param *)ptrparam;
2310 add_assoc_zval((zval *)ptrparam, "crypto", &tmp);
2313 add_assoc_bool((zval *)ptrparam, "timed_out", sslsock->s.timeout_event);
2314 add_assoc_bool((zval *)ptrparam, "blocked", sslsock->s.is_blocked);
2315 add_assoc_bool((zval *)ptrparam, "eof", stream->eof);
2402 php_stream_socket_ops.set_option(stream, option, value, ptrparam);
2431 return php_stream_socket_ops.set_option(stream, option, value, ptrparam);
/PHP_TRUNK/ext/pgsql/
H A Dpgsql.c5367 static int php_pgsql_fd_set_option(php_stream *stream, int option, int value, void *ptrparam) /* {{{ */ argument

Completed in 28 milliseconds