Lines Matching refs:stream

1476 	php_stream *stream;  in PHP_FUNCTION()  local
1482stream = php_stream_open_wrapper(file, "rb", ENFORCE_SAFE_MODE | IGNORE_PATH | IGNORE_URL_WIN | RE… in PHP_FUNCTION()
1483 if (stream == NULL) { in PHP_FUNCTION()
1501 while (b < hdr_size && (n = php_stream_read(stream, (char*)&font[b], hdr_size - b))) { in PHP_FUNCTION()
1507 if (php_stream_eof(stream)) { in PHP_FUNCTION()
1512 php_stream_close(stream); in PHP_FUNCTION()
1515 i = php_stream_tell(stream); in PHP_FUNCTION()
1516 php_stream_seek(stream, 0, SEEK_END); in PHP_FUNCTION()
1517 body_size_check = php_stream_tell(stream) - hdr_size; in PHP_FUNCTION()
1518 php_stream_seek(stream, i, SEEK_SET); in PHP_FUNCTION()
1531 php_stream_close(stream); in PHP_FUNCTION()
1537 php_stream_close(stream); in PHP_FUNCTION()
1544 php_stream_close(stream); in PHP_FUNCTION()
1550 while (b < body_size && (n = php_stream_read(stream, &font->data[b], body_size - b))) { in PHP_FUNCTION()
1557 if (php_stream_eof(stream)) { in PHP_FUNCTION()
1562 php_stream_close(stream); in PHP_FUNCTION()
1565 php_stream_close(stream); in PHP_FUNCTION()
2415 php_stream *stream; in _php_image_create_from() local
2434stream = php_stream_open_wrapper(file, "rb", ENFORCE_SAFE_MODE|REPORT_ERRORS|IGNORE_PATH|IGNORE_UR… in _php_image_create_from()
2435 if (stream == NULL) { in _php_image_create_from()
2444 if (php_stream_is(stream, PHP_STREAM_IS_STDIO)) { in _php_image_create_from()
2445 if (FAILURE == php_stream_cast(stream, PHP_STREAM_AS_STDIO, (void**)&fp, REPORT_ERRORS)) { in _php_image_create_from()
2456 buff_size = php_stream_copy_to_mem(stream, &buff, PHP_STREAM_COPY_ALL, 1); in _php_image_create_from()
2485 …if (FAILURE == php_stream_cast(stream, PHP_STREAM_AS_STDIO | PHP_STREAM_CAST_TRY_HARD, (void **) &… in _php_image_create_from()
2522 php_stream_close(stream); in _php_image_create_from()
2528 php_stream_close(stream); in _php_image_create_from()