Lines Matching refs:sf
39 _IO_strfile sf; in __vasprintf_internal() local
49 sf._sbf._f._lock = NULL; in __vasprintf_internal()
51 _IO_no_init (&sf._sbf._f, _IO_USER_LOCK, -1, NULL, NULL); in __vasprintf_internal()
52 _IO_JUMPS (&sf._sbf) = &_IO_str_jumps; in __vasprintf_internal()
53 _IO_str_init_static_internal (&sf, string, init_string_size, string); in __vasprintf_internal()
54 sf._sbf._f._flags &= ~_IO_USER_BUF; in __vasprintf_internal()
55 sf._s._allocate_buffer_unused = (_IO_alloc_type) malloc; in __vasprintf_internal()
56 sf._s._free_buffer_unused = (_IO_free_type) free; in __vasprintf_internal()
57 ret = __vfprintf_internal (&sf._sbf._f, format, args, mode_flags); in __vasprintf_internal()
60 free (sf._sbf._f._IO_buf_base); in __vasprintf_internal()
65 needed = sf._sbf._f._IO_write_ptr - sf._sbf._f._IO_write_base + 1; in __vasprintf_internal()
66 allocated = sf._sbf._f._IO_write_end - sf._sbf._f._IO_write_base; in __vasprintf_internal()
68 *result_ptr = (char *) realloc (sf._sbf._f._IO_buf_base, needed); in __vasprintf_internal()
74 memcpy (*result_ptr, sf._sbf._f._IO_buf_base, needed - 1); in __vasprintf_internal()
75 free (sf._sbf._f._IO_buf_base); in __vasprintf_internal()
79 *result_ptr = (char *) realloc (sf._sbf._f._IO_buf_base, needed); in __vasprintf_internal()
82 *result_ptr = sf._sbf._f._IO_buf_base; in __vasprintf_internal()