Lines Matching refs:streamp
124 stream_unset(stream_t *streamp, flag_t flags) in stream_unset() argument
128 streamp->s_status &= ~(flags & ~STREAM_SOURCE_MASK); in stream_unset()
132 stream_is_primed(stream_t *streamp) in stream_is_primed() argument
134 return (streamp->s_status & STREAM_PRIMED); in stream_is_primed()
316 stream_push_to_chain(stream_t **str_chain, stream_t *streamp) in stream_push_to_chain() argument
321 *str_chain = streamp; in stream_push_to_chain()
322 streamp->s_next = NULL; in stream_push_to_chain()
329 cur_streamp->s_next = streamp; in stream_push_to_chain()
330 streamp->s_previous = cur_streamp; in stream_push_to_chain()
331 streamp->s_next = NULL; in stream_push_to_chain()
357 stream_push_to_temporary(stream_t **str_chain, stream_t *streamp, int flags) in stream_push_to_temporary() argument
362 ASSERT(streamp->s_status & STREAM_ARRAY); in stream_push_to_temporary()
363 stream_set(streamp, STREAM_NOT_FREEABLE | STREAM_TEMPORARY); in stream_push_to_temporary()
364 stream_push_to_chain(str_chain, streamp); in stream_push_to_temporary()
365 return (streamp); in stream_push_to_temporary()
370 if (streamp != NULL) { in stream_push_to_temporary()
371 stream_copy(out_streamp, streamp); in stream_push_to_temporary()
373 ASSERT(streamp->s_element_size == sizeof (char) || in stream_push_to_temporary()
374 streamp->s_element_size == sizeof (wchar_t)); in stream_push_to_temporary()
376 streamp->s_element_size == 1 ? STREAM_SINGLE : STREAM_WIDE); in stream_push_to_temporary()
394 if (streamp != NULL) { in stream_push_to_temporary()
400 if (SOP_PRIME(streamp) != PRIME_SUCCEEDED) in stream_push_to_temporary()
402 stream_dump(streamp, out_streamp); in stream_push_to_temporary()
414 if (streamp != NULL) in stream_push_to_temporary()
415 streamp->s_consumer = NULL; in stream_push_to_temporary()
438 stream_unlink_temporary(stream_t *streamp) in stream_unlink_temporary() argument
440 if (streamp->s_status & STREAM_TEMPORARY) { in stream_unlink_temporary()
441 (void) SOP_FREE(streamp); in stream_unlink_temporary()
443 if (streamp->s_ops.sop_unlink) in stream_unlink_temporary()
444 (void) SOP_UNLINK(streamp); in stream_unlink_temporary()