Home
last modified time | relevance | path

Searched refs:buffer (Results 1 – 23 of 23) sorted by relevance

/picolibc-latest/newlib/libc/string/
Dstrsignal.c58 char *buffer; in strsignal() local
61 buffer = _signal_buf; in strsignal()
64 sprintf (buffer, "Real-time signal %d", signal - SIGRTMIN); in strsignal()
65 return buffer; in strsignal()
72 buffer = "Hangup"; in strsignal()
77 buffer = "Interrupt"; in strsignal()
82 buffer = "Quit"; in strsignal()
87 buffer = "Illegal instruction"; in strsignal()
92 buffer = "Trace/breakpoint trap"; in strsignal()
100 buffer = "IOT trap"; in strsignal()
[all …]
Dmemset.c65 unsigned long buffer; in memset() local
85 buffer = (d << 8) | d; in memset()
86 buffer |= (buffer << 16); in memset()
88 buffer = (buffer << i) | buffer; in memset()
93 *aligned_addr++ = buffer; in memset()
94 *aligned_addr++ = buffer; in memset()
95 *aligned_addr++ = buffer; in memset()
96 *aligned_addr++ = buffer; in memset()
102 *aligned_addr++ = buffer; in memset()
Dxpg_strerror_r.c10 char *buffer,
15 char *buffer, in __xpg_strerror_r() argument
26 memcpy (buffer, error, n - 1); in __xpg_strerror_r()
27 buffer[n - 1] = '\0'; in __xpg_strerror_r()
30 strcpy (buffer, error); in __xpg_strerror_r()
Dstrerror_r.c71 char *buffer, in strerror_r() argument
78 return strcpy (buffer, error); in strerror_r()
Dmemccpy.c115 unsigned long buffer = (unsigned long)(*aligned_src); in memccpy()
116 buffer ^= mask; in memccpy()
117 if (DETECTNULL (buffer)) in memccpy()
/picolibc-latest/newlib/libm/test/
Ddcvt.c56 print_nan (char *buffer, in print_nan() argument
64 strcpy(buffer, "nan"); in print_nan()
70 strcpy(buffer, "infinity"); in print_nan()
76 buffer[i++] = ' '; in print_nan()
78 buffer[i++] = 0; in print_nan()
79 return buffer; in print_nan()
86 char *buffer ; /* Destination of conversion */ member
292 in->buffer[buffer_idx++] = nextdigit(&(in->value)); in _cvte()
305 in->buffer[buffer_idx++] = '.'; in _cvte()
309 in->buffer[buffer_idx++] = '.'; in _cvte()
[all …]
Dconvert.c25 static char buffer[500]; variable
250 r = ecvt_r(pdd->value, pdd->e1, &a2, &a3, buffer, sizeof(buffer)); in test_ecvt_r()
253 test_sok(buffer,pdd->estring); in test_ecvt_r()
258 r = ecvtf_r(pdd->value, pdd->e1, &a2, &a3, buffer, sizeof(buffer)); in test_ecvt_r()
261 test_scok(buffer,pdd->estring, 6); in test_ecvt_r()
292 r = fcvt_r(pdd->value, pdd->f1, &a2, &a3, buffer, sizeof(buffer)); in test_fcvt_r()
295 test_scok(buffer,pdd->fstring,10); in test_fcvt_r()
302 static char fbuffer[sizeof(buffer)]; in test_fcvt_r()
309 v1 = strtod(buffer, &sde); in test_fcvt_r()
312 int x = strlen(buffer) - strlen(fbuffer); in test_fcvt_r()
[all …]
Dtest.h215 char buffer[100];\
216 sprintf(buffer,"%s_vec.c",x);\
217 f = fopen(buffer,"w");\
218 if (!f) { perror(buffer); exit(1); } \
/picolibc-latest/newlib/libc/tinystdio/ryu/
Dryu_parse.h39 enum Status s2d_n(const char * buffer, const int len, double * result);
40 enum Status s2d(const char * buffer, double * result);
42 enum Status s2f_n(const char * buffer, const int len, float * result);
43 enum Status s2f(const char * buffer, float * result);
/picolibc-latest/semihost/
Dgetentropy.c42 getentropy(void *buffer, size_t length) in getentropy() argument
44 uint8_t *b = buffer; in getentropy()
/picolibc-latest/newlib/testsuite/newlib.time/
Dtzset.c170 char buffer[128]; in test_TimezoneStrings() local
179 snprintf(buffer, 128, "winter time, timezone = \"%s\"", ptr.tzstr); in test_TimezoneStrings()
182 … TEST_ASSERT_EQUAL_INT_MESSAGE(winter_time + ptr.offset_seconds, mktime(&winter_tm_copy), buffer); in test_TimezoneStrings()
186 snprintf(buffer, 128, "summer time, timezone = \"%s\"", ptr.tzstr); in test_TimezoneStrings()
189 …ST_ASSERT_EQUAL_INT_MESSAGE(summer_time + ptr.dst_offset_seconds, mktime(&summer_tm_copy), buffer); in test_TimezoneStrings()
/picolibc-latest/test/
Dtime-sprintf.c36 char buffer[300]; in Test5() local
40 sprintf( buffer, s_testFmt, s_testData ); in Test5()
Dmeson.build512 args: ['this is a long string that should overflow the buffer'],
/picolibc-latest/newlib/libc/machine/mep/
Dsetjmp.S32 # $1 is the address of the buffer. We return 0 in $0.
71 # $1 is the address of the buffer. $2 is the value setjmp
/picolibc-latest/newlib/libc/ssp/
Dssp.tex22 to prevent buffer overflows. These are enabled when compiling with
27 The following functions use object size checking to detect buffer overflows
/picolibc-latest/newlib/libc/machine/msp430/
Dsetjmp.S34 ; Upon entry r12 points to the jump buffer.
70 ; Upon entry r12 points to the jump buffer and
/picolibc-latest/newlib/libc/time/
Dstrftime.c572 CHAR *buffer; member
626 adi->buffer = (CHAR *) malloc ((len + 1) * sizeof (CHAR)); in get_alt_digits()
627 if (!adi->buffer) in get_alt_digits()
635 mbstowcs (adi->buffer, alt_digits, len + 1); in get_alt_digits()
637 ALT_STRCPY (adi->buffer, alt_digits); in get_alt_digits()
640 for (len = 0, aa = adi->buffer; (ae = STRCHR (aa, CQ(';'))) != NULL; in get_alt_digits()
654 free (adi->buffer); in free_alt_digits()
/picolibc-latest/newlib/libc/stdio/
Dstdio.tex58 * Function fmemopen:: Open a stream around a fixed-length buffer
85 * Function open_memstream:: Open a write stream around an arbitrary-length buffer
/picolibc-latest/newlib/
DREADME57 Info formatting programs, such as `texinfo-format-buffer' or `makeinfo'.
316 NEWLIB implements the vector buffer mechanism to support stream IO
346 file'. It creates a temorary buffer to do the optimization that
DChangeLog-20151617 * libc/machine/aarch64/memchr.S: Add check for zero-sized buffer.
3143 (_VFPRINTF_R): Use _FVWRITE_IN_STREAMIO to control vector buffer.
3146 to control vector buffer.
4117 again with allocated new buffer if buf is not large enough for
4326 if incoming buffer is NULL.
4845 pwc to pmb and convert to array to avoid buffer overflow. Rename c to
5252 _monetary_locale_buf as buffer pointer.
5254 _numeric_locale_buf as buffer pointer.
5256 as buffer pointer.
5311 is defined. Raise conversion buffer size to make sure it has enough
[all …]
/picolibc-latest/newlib/libc/machine/i960/
Dstrncpy_ca.S215 movl 0,g6 # blank out remainder of input buffer
/picolibc-latest/
DREADME.md247 * Make freopen clear the unget buffer. Thanks to Mostafa Salman.
644 value on buffer overflow, add ftello/fseeko, fputc return value,
715 15. Tinystdio version of fcvt now has a static buffer large enough to
720 to prevent buffer overruns.
/picolibc-latest/doc/
Dprintf.md249 getc and ungetc may corrupt the state of the input buffer.