/picolibc-3.7.0-3.6.0/newlib/libc/string/ |
D | strsignal.c | 57 char *buffer; in strsignal() local 60 buffer = _signal_buf; in strsignal() 63 sprintf (buffer, "Real-time signal %d", signal - SIGRTMIN); in strsignal() 64 return buffer; in strsignal() 71 buffer = "Hangup"; in strsignal() 76 buffer = "Interrupt"; in strsignal() 81 buffer = "Quit"; in strsignal() 86 buffer = "Illegal instruction"; in strsignal() 91 buffer = "Trace/breakpoint trap"; in strsignal() 99 buffer = "IOT trap"; in strsignal() [all …]
|
D | memset.c | 65 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()
|
D | xpg_strerror_r.c | 9 char *buffer, in __xpg_strerror_r() argument 20 memcpy (buffer, error, n - 1); in __xpg_strerror_r() 21 buffer[n - 1] = '\0'; in __xpg_strerror_r() 24 strcpy (buffer, error); in __xpg_strerror_r()
|
D | strerror_r.c | 70 char *buffer, in strerror_r() argument 77 return strcpy (buffer, error); in strerror_r()
|
D | memccpy.c | 115 unsigned long buffer = (unsigned long)(*aligned_src); in memccpy() 116 buffer ^= mask; in memccpy() 117 if (DETECTNULL (buffer)) in memccpy()
|
/picolibc-3.7.0-3.6.0/newlib/libm/test/ |
D | dcvt.c | 57 print_nan (char *buffer, in print_nan() argument 65 strcpy(buffer, "nan"); in print_nan() 71 strcpy(buffer, "infinity"); in print_nan() 77 buffer[i++] = ' '; in print_nan() 79 buffer[i++] = 0; in print_nan() 80 return buffer; in print_nan() 87 char *buffer ; /* Destination of conversion */ member 293 in->buffer[buffer_idx++] = nextdigit(&(in->value)); in _cvte() 306 in->buffer[buffer_idx++] = '.'; in _cvte() 310 in->buffer[buffer_idx++] = '.'; in _cvte() [all …]
|
D | convert.c | 27 static char buffer[500]; variable 252 r = ecvt_r(pdd->value, pdd->e1, &a2, &a3, buffer, sizeof(buffer)); in test_ecvt_r() 255 test_sok(buffer,pdd->estring); in test_ecvt_r() 260 r = ecvtf_r(pdd->value, pdd->e1, &a2, &a3, buffer, sizeof(buffer)); in test_ecvt_r() 263 test_scok(buffer,pdd->estring, 6); in test_ecvt_r() 294 r = fcvt_r(pdd->value, pdd->f1, &a2, &a3, buffer, sizeof(buffer)); in test_fcvt_r() 297 test_scok(buffer,pdd->fstring,10); in test_fcvt_r() 304 static char fbuffer[sizeof(buffer)]; in test_fcvt_r() 311 v1 = strtod(buffer, &sde); in test_fcvt_r() 314 int x = strlen(buffer) - strlen(fbuffer); in test_fcvt_r() [all …]
|
D | test.h | 215 char buffer[100];\ 216 sprintf(buffer,"%s_vec.c",x);\ 217 f = fopen(buffer,"w");\
|
/picolibc-3.7.0-3.6.0/newlib/libc/tinystdio/ryu/ |
D | ryu_parse.h | 39 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-3.7.0-3.6.0/semihost/ |
D | getentropy.c | 41 getentropy(void *buffer, size_t length) in getentropy() argument 43 uint8_t *b = buffer; in getentropy()
|
/picolibc-3.7.0-3.6.0/newlib/testsuite/newlib.time/ |
D | tzset.c | 167 char buffer[128]; in test_TimezoneStrings() local 176 snprintf(buffer, 128, "winter time, timezone = \"%s\"", ptr.tzstr); in test_TimezoneStrings() 179 … TEST_ASSERT_EQUAL_INT_MESSAGE(winter_time + ptr.offset_seconds, mktime(&winter_tm_copy), buffer); in test_TimezoneStrings() 183 snprintf(buffer, 128, "summer time, timezone = \"%s\"", ptr.tzstr); in test_TimezoneStrings() 186 …ST_ASSERT_EQUAL_INT_MESSAGE(summer_time + ptr.dst_offset_seconds, mktime(&summer_tm_copy), buffer); in test_TimezoneStrings()
|
/picolibc-3.7.0-3.6.0/test/ |
D | time-sprintf.c | 36 char buffer[300]; in Test5() local 40 sprintf( buffer, s_testFmt, s_testData ); in Test5()
|
D | meson.build | 433 args: ['this is a long string that should overflow the buffer'],
|
/picolibc-3.7.0-3.6.0/newlib/libc/stdlib/ |
D | ecvtbuf.c | 468 char *buffer, in _dcvt() argument 480 print_f (buffer, invalue, precision, type, precision == 0 ? dot : 1, 3); in _dcvt() 486 _gcvt (invalue, precision, buffer, type, dot); in _dcvt() 490 print_e (buffer, invalue, precision, type, dot); in _dcvt() 492 return buffer; in _dcvt()
|
/picolibc-3.7.0-3.6.0/newlib/libc/machine/mep/ |
D | setjmp.S | 30 # $1 is the address of the buffer. We return 0 in $0. 69 # $1 is the address of the buffer. $2 is the value setjmp
|
/picolibc-3.7.0-3.6.0/newlib/libc/ssp/ |
D | ssp.tex | 22 to prevent buffer overflows. These are enabled when compiling with 27 The following functions use object size checking to detect buffer overflows
|
/picolibc-3.7.0-3.6.0/newlib/libc/machine/msp430/ |
D | setjmp.S | 32 ; Upon entry r12 points to the jump buffer. 68 ; Upon entry r12 points to the jump buffer and
|
/picolibc-3.7.0-3.6.0/newlib/libc/time/ |
D | strftime.c | 573 CHAR *buffer; member 627 adi->buffer = (CHAR *) malloc ((len + 1) * sizeof (CHAR)); in get_alt_digits() 628 if (!adi->buffer) in get_alt_digits() 636 mbstowcs (adi->buffer, alt_digits, len + 1); in get_alt_digits() 638 ALT_STRCPY (adi->buffer, alt_digits); in get_alt_digits() 641 for (len = 0, aa = adi->buffer; (ae = STRCHR (aa, CQ(';'))) != NULL; in get_alt_digits() 655 free (adi->buffer); in free_alt_digits()
|
/picolibc-3.7.0-3.6.0/newlib/libc/stdio/ |
D | stdio.tex | 58 * fmemopen:: Open a stream around a fixed-length buffer 85 * open_memstream:: Open a write stream around an arbitrary-length buffer
|
/picolibc-3.7.0-3.6.0/newlib/ |
D | README | 57 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
|
D | ChangeLog-2015 | 1617 * 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-3.7.0-3.6.0/newlib/libc/machine/i960/ |
D | strncpy_ca.S | 213 movl 0,g6 # blank out remainder of input buffer
|
/picolibc-3.7.0-3.6.0/ |
D | README.md | 516 value on buffer overflow, add ftello/fseeko, fputc return value, 587 15. Tinystdio version of fcvt now has a static buffer large enough to 592 to prevent buffer overruns.
|
/picolibc-3.7.0-3.6.0/doc/ |
D | printf.md | 249 getc and ungetc may corrupt the state of the input buffer.
|