Searched refs:STREAM_OPEN (Results 1 – 8 of 8) sorted by relevance
/illumos-gate/usr/src/cmd/sort/ |
H A D | streams_stdio.c | 50 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 D | streams_wide.c | 56 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 D | streams_mmap.c | 115 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 D | streams.c | 197 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 D | streams_array.c | 58 ASSERT(str->s_status & STREAM_OPEN); in stream_array_fetch() 84 stream_unset(str, STREAM_OPEN | STREAM_PRIMED); in stream_array_close()
|
H A D | internal.c | 345 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 D | types.h | 110 #define STREAM_OPEN 0x0010 macro
|
H A D | merge.c | 76 stream_unset(ostrp, STREAM_OPEN); in prepare_output_stream()
|