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

/PHP_TRUNK/main/streams/
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 Dxp_socket.c58 static int php_tcp_sockop_set_option(php_stream *stream, int option, int value, void *ptrparam);
287 static int php_sockop_set_option(php_stream *stream, int option, int value, void *ptrparam) argument
345 sock->timeout = *(struct timeval*)ptrparam;
350 add_assoc_bool((zval *)ptrparam, "timed_out", sock->timeout_event);
351 add_assoc_bool((zval *)ptrparam, "blocked", sock->is_blocked);
352 add_assoc_bool((zval *)ptrparam, "eof", stream->eof);
356 xparam = (php_stream_xport_param *)ptrparam;
813 static int php_tcp_sockop_set_option(php_stream *stream, int option, int value, void *ptrparam) argument
820 xparam = (php_stream_xport_param *)ptrparam;
841 return php_sockop_set_option(stream, option, value, ptrparam);
[all...]
H A Dplain_wrapper.c601 static int php_stdiop_set_option(php_stream *stream, int option, int value, void *ptrparam) argument
639 if (ptrparam)
640 size = *(size_t *)ptrparam;
664 if ((zend_uintptr_t) ptrparam == PHP_STREAM_LOCK_SUPPORTED) {
679 php_stream_mmap_range *range = (php_stream_mmap_range*)ptrparam;
742 php_stream_mmap_range *range = (php_stream_mmap_range*)ptrparam;
841 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 30 milliseconds