Lines Matching refs:str
55 #define GET_STR_VA(sz, str, fmt, ap) \ argument
58 sz = mpfr_vasprintf (&(str), fmt, ap); \
61 if (str) \
62 mpfr_free_str (str); \
67 #define GET_STR(sz, str, fmt) \ argument
72 sz = mpfr_vasprintf (&(str), fmt, ap); \
76 if (str) \
77 mpfr_free_str (str); \
85 char *str; in mpfr_printf() local
88 GET_STR (ret, str, fmt); in mpfr_printf()
89 ret = printf ("%s", str); in mpfr_printf()
91 mpfr_free_str (str); in mpfr_printf()
98 char *str; in mpfr_vprintf() local
101 GET_STR_VA (ret, str, fmt, ap); in mpfr_vprintf()
102 ret = printf ("%s", str); in mpfr_vprintf()
104 mpfr_free_str (str); in mpfr_vprintf()
112 char *str; in mpfr_fprintf() local
115 GET_STR (ret, str, fmt); in mpfr_fprintf()
116 ret = fprintf (fp, "%s", str); in mpfr_fprintf()
118 mpfr_free_str (str); in mpfr_fprintf()
125 char *str; in mpfr_vfprintf() local
128 GET_STR_VA (ret, str, fmt, ap); in mpfr_vfprintf()
129 ret = fprintf (fp, "%s", str); in mpfr_vfprintf()
131 mpfr_free_str (str); in mpfr_vfprintf()
139 char *str; in mpfr_sprintf() local
142 GET_STR (ret, str, fmt); in mpfr_sprintf()
143 ret = sprintf (buf, "%s", str); in mpfr_sprintf()
145 mpfr_free_str (str); in mpfr_sprintf()
152 char *str; in mpfr_vsprintf() local
155 GET_STR_VA (ret, str, fmt, ap); in mpfr_vsprintf()
156 ret = sprintf (buf, "%s", str); in mpfr_vsprintf()
158 mpfr_free_str (str); in mpfr_vsprintf()
165 char *str; in mpfr_snprintf() local
169 GET_STR (ret, str, fmt); in mpfr_snprintf()
176 strncpy (buf, str, min_size); in mpfr_snprintf()
180 mpfr_free_str (str); in mpfr_snprintf()
187 char *str; in mpfr_vsnprintf() local
191 GET_STR_VA (ret, str, fmt, ap); in mpfr_vsnprintf()
198 strncpy (buf, str, min_size); in mpfr_vsnprintf()
202 mpfr_free_str (str); in mpfr_vsnprintf()