Home
last modified time | relevance | path

Searched refs:sf (Results 1 – 25 of 29) sorted by relevance

12

/glibc-2.36/libio/
Dvasprintf.c39 _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()
[all …]
Dstrfile.h90 _IO_strfile_read (_IO_strfile *sf, const char *string) in _IO_strfile_read() argument
92 sf->_sbf._f._lock = NULL; in _IO_strfile_read()
93 _IO_no_init (&sf->_sbf._f, _IO_USER_LOCK, -1, NULL, NULL); in _IO_strfile_read()
94 _IO_JUMPS (&sf->_sbf) = &_IO_str_jumps; in _IO_strfile_read()
95 _IO_str_init_static_internal (sf, (char*)string, 0, NULL); in _IO_strfile_read()
96 return &sf->_sbf._f; in _IO_strfile_read()
103 _IO_strfile_readw (_IO_strfile *sf, struct _IO_wide_data *wd, in _IO_strfile_readw() argument
106 sf->_sbf._f._lock = NULL; in _IO_strfile_readw()
107 _IO_no_init (&sf->_sbf._f, _IO_USER_LOCK, 0, wd, &_IO_wstr_jumps); in _IO_strfile_readw()
108 _IO_fwide (&sf->_sbf._f, 1); in _IO_strfile_readw()
[all …]
Dvsnprintf.c96 _IO_strnfile sf; in __vsnprintf_internal() local
99 sf.f._sbf._f._lock = NULL; in __vsnprintf_internal()
106 string = sf.overflow_buf; in __vsnprintf_internal()
107 maxlen = sizeof (sf.overflow_buf); in __vsnprintf_internal()
110 _IO_no_init (&sf.f._sbf._f, _IO_USER_LOCK, -1, NULL, NULL); in __vsnprintf_internal()
111 _IO_JUMPS (&sf.f._sbf) = &_IO_strn_jumps; in __vsnprintf_internal()
113 _IO_str_init_static_internal (&sf.f, string, maxlen - 1, string); in __vsnprintf_internal()
114 ret = __vfprintf_internal (&sf.f._sbf._f, format, args, mode_flags); in __vsnprintf_internal()
116 if (sf.f._sbf._f._IO_buf_base != sf.overflow_buf) in __vsnprintf_internal()
117 *sf.f._sbf._f._IO_write_ptr = '\0'; in __vsnprintf_internal()
Diovsprintf.c73 _IO_strfile sf; in __vsprintf_internal() local
77 sf._sbf._f._lock = NULL; in __vsprintf_internal()
79 _IO_no_init (&sf._sbf._f, _IO_USER_LOCK, -1, NULL, NULL); in __vsprintf_internal()
87 _IO_JUMPS (&sf._sbf) = &_IO_str_chk_jumps; in __vsprintf_internal()
91 _IO_JUMPS (&sf._sbf) = &_IO_str_jumps; in __vsprintf_internal()
92 _IO_str_init_static_internal (&sf, string, in __vsprintf_internal()
96 ret = __vfprintf_internal (&sf._sbf._f, format, args, mode_flags); in __vsprintf_internal()
98 *sf._sbf._f._IO_write_ptr = '\0'; in __vsprintf_internal()
Dvswprintf.c95 _IO_wstrnfile sf; in __vswprintf_internal() local
99 sf.f._sbf._f._lock = NULL; in __vswprintf_internal()
107 _IO_no_init (&sf.f._sbf._f, _IO_USER_LOCK, 0, &wd, &_IO_wstrn_jumps); in __vswprintf_internal()
108 _IO_fwide (&sf.f._sbf._f, 1); in __vswprintf_internal()
110 _IO_wstr_init_static (&sf.f._sbf._f, string, maxlen - 1, string); in __vswprintf_internal()
111 ret = __vfwprintf_internal ((FILE *) &sf.f._sbf, format, args, mode_flags); in __vswprintf_internal()
113 if (sf.f._sbf._f._wide_data->_IO_buf_base == sf.overflow_buf) in __vswprintf_internal()
119 *sf.f._sbf._f._wide_data->_IO_write_ptr = '\0'; in __vswprintf_internal()
Dstrops.c34 _IO_str_init_static_internal (_IO_strfile *sf, char *ptr, size_t size, in _IO_str_init_static_internal() argument
37 FILE *fp = &sf->_sbf._f; in _IO_str_init_static_internal()
64 sf->_s._allocate_buffer_unused = (_IO_alloc_type) 0; in _IO_str_init_static_internal()
68 _IO_str_init_static (_IO_strfile *sf, char *ptr, int size, char *pstart) in _IO_str_init_static() argument
70 return _IO_str_init_static_internal (sf, ptr, size < 0 ? -1 : size, pstart); in _IO_str_init_static()
74 _IO_str_init_readonly (_IO_strfile *sf, const char *ptr, int size) in _IO_str_init_readonly() argument
76 _IO_str_init_static_internal (sf, (char *) ptr, size < 0 ? -1 : size, NULL); in _IO_str_init_readonly()
77 sf->_sbf._f._flags |= _IO_NO_WRITES; in _IO_str_init_readonly()
Diovsscanf.c37 _IO_strfile sf; in _IO_vsscanf() local
38 FILE *f = _IO_strfile_read (&sf, string); in _IO_vsscanf()
Diovswscanf.c38 _IO_strfile sf; in __vswscanf() local
40 FILE *f = _IO_strfile_readw (&sf, &wd, string); in __vswscanf()
Dswscanf.c33 _IO_strfile sf; in __swscanf() local
35 FILE *f = _IO_strfile_readw (&sf, &wd, s); in __swscanf()
/glibc-2.36/sysdeps/ieee754/ldbl-opt/
Dnldbl-compat.c298 _IO_strfile sf; in weak_alias() local
299 FILE *f = _IO_strfile_read (&sf, s); in weak_alias()
315 _IO_strfile sf; in strong_alias() local
316 FILE *f = _IO_strfile_read (&sf, s); in strong_alias()
369 _IO_strfile sf; in libc_hidden_def() local
371 FILE *f = _IO_strfile_readw (&sf, &wd, s); in libc_hidden_def()
386 _IO_strfile sf; in __nldbl_vswscanf() local
388 FILE *f = _IO_strfile_readw (&sf, &wd, s); in __nldbl_vswscanf()
861 _IO_strfile sf; in libc_hidden_def() local
862 FILE *f = _IO_strfile_read (&sf, s); in libc_hidden_def()
[all …]
/glibc-2.36/stdio-common/
Disoc99_vsscanf.c32 _IO_strfile sf; in __isoc99_vsscanf() local
33 FILE *f = _IO_strfile_read (&sf, string); in __isoc99_vsscanf()
Disoc99_sscanf.c27 _IO_strfile sf; in __isoc99_sscanf() local
28 FILE *f = _IO_strfile_read (&sf, s); in __isoc99_sscanf()
Dsscanf.c33 _IO_strfile sf; in __sscanf() local
34 FILE *f = _IO_strfile_read (&sf, s); in __sscanf()
/glibc-2.36/sysdeps/ieee754/ldbl-128ibm-compat/
Dieee128-vsscanf.c25 _IO_strfile sf; in ___ieee128_vsscanf() local
26 FILE *fp = _IO_strfile_read (&sf, string); in ___ieee128_vsscanf()
Dieee128-isoc99_vsscanf.c25 _IO_strfile sf; in ___ieee128_isoc99_vsscanf() local
26 FILE *fp = _IO_strfile_read (&sf, string); in ___ieee128_isoc99_vsscanf()
Dieee128-vswscanf.c27 _IO_strfile sf; in ___ieee128_vswscanf() local
29 FILE *fp = _IO_strfile_readw (&sf, &wd, string); in ___ieee128_vswscanf()
Dieee128-isoc99_vswscanf.c26 _IO_strfile sf; in ___ieee128_isoc99_vswscanf() local
28 FILE *fp = _IO_strfile_readw (&sf, &wd, string); in ___ieee128_isoc99_vswscanf()
Dieee128-sscanf.c29 _IO_strfile sf; in ___ieee128_sscanf() local
30 FILE *fp = _IO_strfile_read (&sf, string); in ___ieee128_sscanf()
Dieee128-isoc99_sscanf.c30 _IO_strfile sf; in ___ieee128_isoc99_sscanf() local
31 FILE *fp = _IO_strfile_read (&sf, string); in ___ieee128_isoc99_sscanf()
Dieee128-swscanf.c29 _IO_strfile sf; in ___ieee128_swscanf() local
31 FILE *fp = _IO_strfile_readw (&sf, &wd, string); in ___ieee128_swscanf()
Dieee128-isoc99_swscanf.c30 _IO_strfile sf; in ___ieee128_isoc99_swscanf() local
32 FILE *fp = _IO_strfile_readw (&sf, &wd, string); in ___ieee128_isoc99_swscanf()
/glibc-2.36/wcsmbs/
Disoc99_vswscanf.c33 _IO_strfile sf; in __isoc99_vswscanf() local
35 FILE *f = _IO_strfile_readw (&sf, &wd, string); in __isoc99_vswscanf()
Disoc99_swscanf.c28 _IO_strfile sf; in __isoc99_swscanf() local
30 FILE *f = _IO_strfile_readw (&sf, &wd, s); in __isoc99_swscanf()
/glibc-2.36/math/
Datest-sincos.c152 const double sf = pow (2, mpbpl); in do_test() local
175 ds2 = (ds2 - s2[j]) * sf; in do_test()
177 dc2 = (dc2 - c2[j]) * sf; in do_test()
Datest-exp.c113 const double sf = pow (2, mpbpl); in do_test() local
133 de2 = (de2 - e2[j]) * sf; in do_test()

12