Lines Matching defs:stream
250 #define PHP_STREAM_CONTEXT(stream) \ argument
265 #define php_stream_get_resource_id(stream) ((php_stream *)(stream))->res->handle argument
267 #define php_stream_auto_cleanup(stream) { (stream)->__exposed = 1; } argument
271 #define php_stream_to_zval(stream, zval) { ZVAL_RES(zval, (stream)->res); (stream)->__exposed = 1; } argument
310 #define php_stream_free(stream, close_options) _php_stream_free((stream), (close_options)) argument
311 #define php_stream_close(stream) _php_stream_free((stream), PHP_STREAM_FREE_CLOSE) argument
312 #define php_stream_pclose(stream) _php_stream_free((stream), PHP_STREAM_FREE_CLOSE_PERSISTENT) argument
315 #define php_stream_rewind(stream) _php_stream_seek((stream), 0L, SEEK_SET) argument
316 #define php_stream_seek(stream, offset, whence) _php_stream_seek((stream), (offset), (whence)) argument
319 #define php_stream_tell(stream) _php_stream_tell((stream)) argument
322 #define php_stream_read(stream, buf, count) _php_stream_read((stream), (buf), (count)) argument
327 #define php_stream_write_string(stream, str) _php_stream_write(stream, str, strlen(str)) argument
328 #define php_stream_write(stream, buf, count) _php_stream_write(stream, (buf), (count)) argument
331 #define php_stream_fill_read_buffer(stream, size) _php_stream_fill_read_buffer((stream), (size)) argument
339 #define php_stream_eof(stream) _php_stream_eof((stream)) argument
342 #define php_stream_getc(stream) _php_stream_getc((stream)) argument
345 #define php_stream_putc(stream, c) _php_stream_putc((stream), (c)) argument
348 #define php_stream_flush(stream) _php_stream_flush((stream), 0) argument
351 #define php_stream_sync(stream, d) _php_stream_sync((stream), (d)) argument
354 #define php_stream_gets(stream, buf, maxlen) _php_stream_get_line((stream), (buf), (maxlen), NULL) argument
356 #define php_stream_get_line(stream, buf, maxlen, retlen) _php_stream_get_line((stream), (buf), (max… argument
361 #define php_stream_puts(stream, buf) _php_stream_puts((stream), (buf)) argument
364 #define php_stream_stat(stream, ssb) _php_stream_stat((stream), (ssb)) argument
391 #define php_stream_set_option(stream, option, value, ptrvalue) _php_stream_set_option((stream), (op… argument
393 #define php_stream_set_chunk_size(stream, size) _php_stream_set_option((stream), PHP_STREAM_OPTION_… argument
432 #define php_stream_supports_lock(stream) (_php_stream_set_option((stream), PHP_STREAM_OPTION_LOCKIN… argument
433 #define php_stream_lock(stream, mode) _php_stream_set_option((stream), PHP_STREAM_OPTION_LOCKING, … argument
444 #define php_stream_truncate_supported(stream) (_php_stream_set_option((stream), PHP_STREAM_OPTION_T… argument
448 #define php_stream_truncate_set_size(stream, size) _php_stream_truncate_set_size((stream), (size)) argument
452 #define php_stream_populate_meta_data(stream, zv) (_php_stream_set_option((stream), PHP_STREAM_OPTI… argument
467 #define php_stream_sync_supported(stream) (_php_stream_set_option((stream), PHP_STREAM_OPTION_SYNC_… argument
493 #define php_stream_passthru(stream) _php_stream_passthru((stream) STREAMS_CC) argument
521 #define php_stream_can_cast(stream, as) _php_stream_cast((stream), (as), NULL, 0) argument
522 #define php_stream_cast(stream, as, ret, show_err) _php_stream_cast((stream), (as), (ret), (show_er… argument
526 #define php_stream_is(stream, anops) ((stream)->ops == anops) argument
529 #define php_stream_is_persistent(stream) (stream)->is_persistent argument