Lines Matching refs:zstream
404 ZVAL_UNDEF(&php_sock->zstream); in php_create_socket()
414 if (Z_ISUNDEF(php_sock->zstream)) { in php_destroy_socket()
419 zval_ptr_dtor(&php_sock->zstream); in php_destroy_socket()
984 if (!Z_ISUNDEF(php_sock->zstream)) {
987 …stream = zend_fetch_resource2_ex(&php_sock->zstream, NULL, php_file_le_stream(), php_file_le_pstre…
1025 if (!Z_ISUNDEF(php_sock->zstream)) {
1027 …stream = zend_fetch_resource2_ex(&php_sock->zstream, NULL, php_file_le_stream(), php_file_le_pstre…
1086 if (!Z_ISUNDEF(php_sock->zstream)) {
1088 php_stream_from_zval_no_verify(stream, &php_sock->zstream);
2335 zval *zstream; local
2340 if (zend_parse_parameters(ZEND_NUM_ARGS(), "r", &zstream) == FAILURE) {
2343 php_stream_from_zval(stream, zstream);
2368 ZVAL_COPY(&retsock->zstream, zstream);
2397 if (!Z_ISUNDEF(socket->zstream)) {
2398 RETURN_ZVAL(&socket->zstream, 1, 0);
2468 php_stream_to_zval(stream, &socket->zstream);
2470 RETURN_ZVAL(&socket->zstream, 1, 0);