Lines Matching refs:handle

1545 static void php_zend_stream_closer(void *handle) /* {{{ */  in php_zend_stream_closer()  argument
1547 php_stream_close((php_stream*)handle); in php_zend_stream_closer()
1551 static void php_zend_stream_mmap_closer(void *handle) /* {{{ */ in php_zend_stream_mmap_closer() argument
1553 php_stream_mmap_unmap((php_stream*)handle); in php_zend_stream_mmap_closer()
1554 php_zend_stream_closer(handle); in php_zend_stream_mmap_closer()
1558 static size_t php_zend_stream_fsizer(void *handle) /* {{{ */ in php_zend_stream_fsizer() argument
1561 if (php_stream_stat((php_stream*)handle, &ssb) == 0) { in php_zend_stream_fsizer()
1568 static int php_stream_open_for_zend(const char *filename, zend_file_handle *handle) /* {{{ */ in php_stream_open_for_zend() argument
1570 …return php_stream_open_for_zend_ex(filename, handle, USE_PATH|REPORT_ERRORS|STREAM_OPEN_FOR_INCLUD… in php_stream_open_for_zend()
1574 PHPAPI int php_stream_open_for_zend_ex(const char *filename, zend_file_handle *handle, int mode) /*… in php_stream_open_for_zend_ex() argument
1578 php_stream *stream = php_stream_open_wrapper((char *)filename, "rb", mode, &handle->opened_path); in php_stream_open_for_zend_ex()
1585 handle->filename = (char*)filename; in php_stream_open_for_zend_ex()
1586 handle->free_filename = 0; in php_stream_open_for_zend_ex()
1587 handle->handle.stream.handle = stream; in php_stream_open_for_zend_ex()
1588 handle->handle.stream.reader = (zend_stream_reader_t)_php_stream_read; in php_stream_open_for_zend_ex()
1589 handle->handle.stream.fsizer = php_zend_stream_fsizer; in php_stream_open_for_zend_ex()
1590 handle->handle.stream.isatty = 0; in php_stream_open_for_zend_ex()
1592 memset(&handle->handle.stream.mmap, 0, sizeof(handle->handle.stream.mmap)); in php_stream_open_for_zend_ex()
1600 handle->handle.stream.closer = php_zend_stream_mmap_closer; in php_stream_open_for_zend_ex()
1601 handle->handle.stream.mmap.buf = p; in php_stream_open_for_zend_ex()
1602 handle->handle.stream.mmap.len = mapped_len; in php_stream_open_for_zend_ex()
1603 handle->type = ZEND_HANDLE_MAPPED; in php_stream_open_for_zend_ex()
1605 handle->handle.stream.closer = php_zend_stream_closer; in php_stream_open_for_zend_ex()
1606 handle->type = ZEND_HANDLE_STREAM; in php_stream_open_for_zend_ex()