Home
last modified time | relevance | path

Searched refs:STREAM_OPEN (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/cmd/sort/
H A Dstreams_stdio.c50 ASSERT(!(str->s_status & STREAM_OPEN)); in stream_stdio_open_for_write()
64 stream_set(str, STREAM_OPEN | STREAM_OUTPUT); in stream_stdio_open_for_write()
87 ASSERT(str->s_status & STREAM_OPEN); in stream_stdio_prime()
177 ASSERT(str->s_status & STREAM_OPEN); in stream_stdio_fetch()
277 ASSERT(str->s_status & STREAM_OPEN); in stream_stdio_fetch_overwrite()
320 if (str->s_status & STREAM_OPEN && !(str->s_status & STREAM_NOTFILE)) in stream_stdio_is_closable()
328 ASSERT(str->s_status & STREAM_OPEN); in stream_stdio_close()
345 stream_unset(str, STREAM_OPEN | STREAM_PRIMED | STREAM_OUTPUT); in stream_stdio_close()
352 ASSERT(str->s_status & STREAM_OPEN); in stream_stdio_send_eol()
362 ASSERT(str->s_status & STREAM_OPEN); in stream_stdio_flush()
[all …]
H A Dstreams_wide.c56 ASSERT(str->s_status & STREAM_OPEN); in stream_wide_prime()
131 ASSERT(str->s_status & STREAM_OPEN); in stream_wide_fetch()
197 ASSERT(str->s_status & STREAM_OPEN); in stream_wide_fetch_overwrite()
238 ASSERT(str->s_status & STREAM_OPEN); in stream_wide_send_eol()
248 ASSERT(str->s_status & STREAM_OPEN); in stream_wide_put_line()
268 ASSERT(str->s_status & STREAM_OPEN); in stream_wide_put_line_unique()
H A Dstreams_mmap.c115 if (str->s_status & STREAM_OPEN) in stream_mmap_is_closable()
125 stream_unset(str, STREAM_OPEN); in stream_mmap_close()
135 if (!(str->s_status & STREAM_OPEN) || in stream_mmap_free()
H A Dstreams.c197 stream_set(str, STREAM_ARRAY | STREAM_OPEN); in stream_open_for_read()
206 stream_set(str, STREAM_OPEN | (S->m_single_byte_locale ? in stream_open_for_read()
234 stream_set(str, STREAM_MMAP | STREAM_OPEN); in stream_open_for_read()
263 stream_set(str, STREAM_OPEN | (S->m_single_byte_locale ? STREAM_SINGLE : in stream_open_for_read()
372 stream_unset(out_streamp, STREAM_OPEN); in stream_push_to_temporary()
570 stream_set(dest, STREAM_OPEN); in stream_insert()
H A Dstreams_array.c58 ASSERT(str->s_status & STREAM_OPEN); in stream_array_fetch()
84 stream_unset(str, STREAM_OPEN | STREAM_PRIMED); in stream_array_close()
H A Dinternal.c345 if (!(cur_stream->s_status & STREAM_OPEN)) { in internal_sort()
366 stream_set(sort_stream, STREAM_OPEN | STREAM_ARRAY); in internal_sort()
393 if (!(cur_stream->s_status & STREAM_OPEN) && in internal_sort()
H A Dtypes.h110 #define STREAM_OPEN 0x0010 macro
H A Dmerge.c76 stream_unset(ostrp, STREAM_OPEN); in prepare_output_stream()