Searched refs:sstream (Results 1 – 4 of 4) sorted by relevance
41 struct __file_str *sstream = (struct __file_str *) stream; in __file_str_put_alloc() local42 if (sstream->pos == sstream->end) { in __file_str_put_alloc()43 size_t old_size = sstream->size; in __file_str_put_alloc()44 char *old = sstream->end - old_size; in __file_str_put_alloc()49 sstream->size = new_size; in __file_str_put_alloc()50 sstream->pos = new + old_size; in __file_str_put_alloc()51 sstream->end = new + new_size; in __file_str_put_alloc()53 *sstream->pos++ = c; in __file_str_put_alloc()
41 struct __file_str *sstream = (struct __file_str *) stream; in __file_wstr_get() local44 if (((sstream->pos - sstream->end) & (sizeof(wchar_t) - 1)) == 0) in __file_wstr_get()47 memcpy(&c, sstream->pos, sizeof(wchar_t)); in __file_wstr_get()51 rv = (unsigned char) *sstream->pos; in __file_wstr_get()52 sstream->pos++; in __file_wstr_get()
41 struct __file_str *sstream = (struct __file_str *) stream; in __file_str_put() local49 if (sstream->pos != sstream->end) in __file_str_put()50 *sstream->pos++ = c; in __file_str_put()
41 struct __file_str *sstream = (struct __file_str *) stream; in __file_str_get() local44 rv = (unsigned char) *sstream->pos; in __file_str_get()47 sstream->pos++; in __file_str_get()