Lines Matching refs:res
84 stream->res = NULL; in forget_persistent_resource_id_numbers()
125 (*stream)->res = regentry; in php_stream_from_persistent_id()
130 (*stream)->res = zend_register_resource(*stream, le_pstream); in php_stream_from_persistent_id()
311 ret->res = zend_register_resource(ret, persistent_id ? le_pstream : le_stream); in _php_stream_alloc()
444 if ((close_options & PHP_STREAM_FREE_RSRC_DTOR) == 0 && stream->res) { in _php_stream_free()
446 zend_list_close(stream->res); in _php_stream_free()
449 zend_list_delete(stream->res); in _php_stream_free()
450 stream->res = NULL; in _php_stream_free()
480 if (stream->readfilters.head->res != NULL) { in _php_stream_free()
481 zend_list_close(stream->readfilters.head->res); in _php_stream_free()
486 if (stream->writefilters.head->res != NULL) { in _php_stream_free()
487 zend_list_close(stream->writefilters.head->res); in _php_stream_free()
521 zend_list_delete(context->res); in _php_stream_free()
2141 stream->ctx = context->res;
2142 GC_REFCOUNT(context->res)++;
2147 zend_list_delete(oldcontext->res);
2181 context->res = zend_register_resource(context, php_le_stream_context());