Home | History | Annotate | Download | only in lib

Lines Matching defs:SNPRINTF

33      SNPRINTF           The system's snprintf (or similar) function.
34 This may be either snprintf or swprintf.
36 of the said SNPRINTF function. This may be either
46 /* Tell glibc's <stdio.h> to provide a prototype for snprintf().
70 #include <stdio.h> /* snprintf(), sprintf() */
156 # define SNPRINTF snwprintf
158 # define SNPRINTF _snwprintf
162 # define SNPRINTF swprintf
166 /* Use snprintf if it exists under the name 'snprintf' or '_snprintf'.
167 But don't use it on BeOS, since BeOS snprintf produces no output if the
169 Also don't use it on Linux libc5, since there snprintf with size = 1
177 /* Windows. The mingw function snprintf() has fewer bugs than the MSVCRT
180 # define SNPRINTF snprintf
181 /* Here we need to call the native snprintf, not rpl_snprintf. */
182 # undef snprintf
184 # define SNPRINTF _snprintf
188 # define SNPRINTF snprintf
189 /* Here we need to call the native snprintf, not rpl_snprintf. */
190 # undef snprintf
1532 of sprintf or SNPRINTF of a single conversion directive. */
1809 sprintf or snprintf. */
3180 SNPRINTF (p, 6 + 1, decimal_format, exponent);
3331 SNPRINTF (p, 6 + 1, decimal_format, exponent);
3793 SNPRINTF (p, 6 + 1, decimal_format, exponent);
3974 SNPRINTF (p, 6 + 1, decimal_format, exponent);
4257 SNPRINTF (p, 6 + 1, decimal_format, exponent);
4450 SNPRINTF (p, 6 + 1, decimal_format, exponent);
4766 /* Construct the format string for calling snprintf or
4879 ones - we know that snprintf's return value conforms to
4890 snprintf does not write more than the specified number
4891 of bytes. (snprintf (buf, 3, "%d %d", 4567, 89) writes
4893 - Although the gl_SNPRINTF_RETVAL_C99 test fails, snprintf
4908 /* Construct the arguments for calling snprintf or sprintf. */
4924 /* The SNPRINTF result is appended after result[0..length].
4925 The latter is an array of DCHAR_T; SNPRINTF appends an
4931 where an snprintf() with maxlen==1 acts like sprintf(). */
4935 /* Prepare checking whether snprintf returns the count
4949 /* SNPRINTF can fail if its second argument is
4958 retcount = SNPRINTF ((TCHAR_T *) (result + length), \
4963 retcount = SNPRINTF ((TCHAR_T *) (result + length), \
4968 retcount = SNPRINTF ((TCHAR_T *) (result + length), \
5111 /* Portability: Not all implementations of snprintf()
5113 bytes that snprintf() has produced or would have
5117 /* Verify that snprintf() has NUL-terminated its
5128 /* snprintf() doesn't understand the '%n'
5133 at the snprintf() return value. */
5139 /* Look at the snprintf() return value. */
5143 /* HP-UX 10.20 snprintf() is doubly deficient:
5190 /* SNPRINTF or sprintf failed. Save and use the errno
5210 If such an overflow occurs, a C99 compliant snprintf()
5212 snprintf() function returns only count = maxlen - 1. To
5230 eternally if snprintf() reports a too small
5514 /* The snprintf() result did fit. */
5565 says that snprintf() fails with errno = EOVERFLOW in this case, but
5566 that's only because snprintf() returns an 'int'. This function does
5595 #undef SNPRINTF