Searched refs:_sf (Results 1 – 2 of 2) sorted by relevance
/glibc-2.36/libio/ |
D | memstream.c | 26 _IO_strfile _sf; member 80 new_f->fp._sf._sbf._f._lock = &new_f->lock; in __open_memstream() 89 _IO_init_internal (&new_f->fp._sf._sbf._f, 0); in __open_memstream() 90 _IO_JUMPS_FILE_plus (&new_f->fp._sf._sbf) = &_IO_mem_jumps; in __open_memstream() 91 _IO_str_init_static_internal (&new_f->fp._sf, buf, BUFSIZ, buf); in __open_memstream() 92 new_f->fp._sf._sbf._f._flags &= ~_IO_USER_BUF; in __open_memstream() 93 new_f->fp._sf._s._allocate_buffer_unused = (_IO_alloc_type) malloc; in __open_memstream() 94 new_f->fp._sf._s._free_buffer_unused = (_IO_free_type) free; in __open_memstream() 100 new_f->fp._sf._sbf._f._flags2 |= _IO_FLAGS2_NEED_LOCK; in __open_memstream() 102 return (FILE *) &new_f->fp._sf._sbf; in __open_memstream()
|
D | wmemstream.c | 27 _IO_strfile _sf; member 81 new_f->fp._sf._sbf._f._lock = &new_f->lock; in open_wmemstream() 90 _IO_no_init (&new_f->fp._sf._sbf._f, 0, 0, &new_f->wd, &_IO_wmem_jumps); in open_wmemstream() 91 _IO_fwide (&new_f->fp._sf._sbf._f, 1); in open_wmemstream() 92 _IO_wstr_init_static (&new_f->fp._sf._sbf._f, buf, in open_wmemstream() 94 new_f->fp._sf._sbf._f._flags2 &= ~_IO_FLAGS2_USER_WBUF; in open_wmemstream() 95 new_f->fp._sf._s._allocate_buffer_unused = (_IO_alloc_type) malloc; in open_wmemstream() 96 new_f->fp._sf._s._free_buffer_unused = (_IO_free_type) free; in open_wmemstream() 102 new_f->fp._sf._sbf._f._flags2 |= _IO_FLAGS2_NEED_LOCK; in open_wmemstream() 104 return (FILE *) &new_f->fp._sf._sbf; in open_wmemstream()
|