/picolibc-3.7.0-3.6.0/newlib/libc/stdlib/ |
D | a64l.c | 63 char ch; in a64l() local 82 ch = *(--ptr); in a64l() 85 if (ch >= 'a') in a64l() 86 digit = (ch - 'a') + 38; in a64l() 87 else if (ch >= 'A') in a64l() 88 digit = (ch - 'A') + 12; in a64l() 89 else if (ch >= '0') in a64l() 90 digit = (ch - '0') + 2; in a64l() 91 else if (ch == '/') in a64l() 96 switch (ch) in a64l() [all …]
|
D | mbtowc_r.c | 533 int ch; in __utf8_mbtowc() local 546 ch = t[i++]; in __utf8_mbtowc() 548 ch = state->__value.__wchb[0]; in __utf8_mbtowc() 550 if (ch == '\0') in __utf8_mbtowc() 557 if (ch <= 0x7f) in __utf8_mbtowc() 561 *pwc = ch; in __utf8_mbtowc() 564 if (ch >= 0xc0 && ch <= 0xdf) in __utf8_mbtowc() 567 state->__value.__wchb[0] = ch; in __utf8_mbtowc() 574 ch = t[i++]; in __utf8_mbtowc() 575 if (ch < 0x80 || ch > 0xbf) in __utf8_mbtowc() [all …]
|
/picolibc-3.7.0-3.6.0/newlib/testsuite/newlib.search/ |
D | hsearchtest.c | 66 char ch[2]; in main() local 73 ch[1] = '\0'; in main() 77 ch[0] = 'a' + i; in main() 78 e.key = strdup(ch); /* ptr to provided key is kept! */ in main() 83 TEST(strcmp(ep->key, ch) == 0); in main() 88 e.key = ch; in main() 92 ch[0] = 'a' + i; in main() 95 TEST(strcmp(ep->key, ch) == 0); in main() 100 ch[0] = 'a'; in main() 104 TEST(strcmp(ep->key, ch) == 0); in main() [all …]
|
/picolibc-3.7.0-3.6.0/test/semihost/ |
D | semihost-readc.c | 45 int ch; in main() local 49 ch = sys_semihost_getc(stdin); in main() 50 printf("got %c expect %c\n", ch, e); in main() 51 if ((int) (uint8_t) e != ch) { in main() 53 (uint8_t) e, ch, i); in main()
|
/picolibc-3.7.0-3.6.0/newlib/libc/stdio/ |
D | vfwprintf.c | 359 register wchar_t ch; /* character from fmt */ in VFWPRINTF() local 652 rflag: ch = *fmt++; in VFWPRINTF() 653 reswitch: switch (ch) { in VFWPRINTF() 701 ch = *fmt++; in VFWPRINTF() 703 n = 10 * n + to_digit (ch); in VFWPRINTF() 704 ch = *fmt++; in VFWPRINTF() 705 } while (is_digit (ch)); in VFWPRINTF() 707 if (ch == L'$') { in VFWPRINTF() 743 if ((ch = *fmt++) == L'*') { in VFWPRINTF() 753 ch = *fmt++; in VFWPRINTF() [all …]
|
D | vfprintf.c | 393 register int ch; /* character from fmt */ in VFPRINTF() local 705 rflag: ch = *fmt++; in VFPRINTF() 706 reswitch: switch (ch) { in VFPRINTF() 738 ch = *fmt++; in VFPRINTF() 740 n = 10 * n + to_digit (ch); in VFPRINTF() 741 ch = *fmt++; in VFPRINTF() 742 } while (is_digit (ch)); in VFPRINTF() 744 if (ch == '$') { in VFPRINTF() 780 if ((ch = *fmt++) == '*') { in VFPRINTF() 790 ch = *fmt++; in VFPRINTF() [all …]
|
D | getdelim.c | 54 int ch; in __getdelim() local 89 if ((ch = getc_unlocked (fp)) == EOF) in __getdelim() 96 *ptr++ = ch; in __getdelim() 97 if (ch == delim) in __getdelim()
|
D | nano-vfprintf_float.c | 53 int flags, char *sign, int *decpt, int ch, int *length, 69 char *sign, int *decpt, int ch, int *length, char *buf) in __cvt() argument 85 if (ch == 'f' || ch == 'F') in __cvt() 94 if (ch == 'e' || ch == 'E') in __cvt() 105 if ((ch != 'g' && ch != 'G') || flags & ALT) in __cvt() 108 if (ch == 'f' || ch == 'F') in __cvt()
|
D | fputc_u.c | 34 int ch, in fputc_unlocked() argument 38 return putc_unlocked ( ch, file); in fputc_unlocked()
|
D | fputc.c | 92 int ch, in fputc() argument 98 result = putc ( ch, file); in fputc()
|
D | nano-vfprintf_local.h | 170 #define PAD(howmany, ch) { \ argument 174 if (pfunc (fp, &(ch), 1) == EOF) \ 179 #define PRINTANDPAD(p, ep, len, ch) { \ argument 185 PAD((len) - (temp_n > 0 ? temp_n : 0), (ch)); \
|
/picolibc-3.7.0-3.6.0/newlib/libc/machine/mips/ |
D | strncpy.c | 52 int ch; in strncpy() local 59 *dst++ = ch = *src++; in strncpy() 60 if (__builtin_expect (ch == '\0', 0)) in strncpy() 79 int ch; in strncpy() 92 *dst++ = ch = *src++; in strncpy() 94 if (ch == '\0') in strncpy() 149 *dst++ = ch = *src++; in strncpy() 150 if (ch == '\0') in strncpy()
|
/picolibc-3.7.0-3.6.0/newlib/libm/complex/ |
D | csinf.c | 42 float ch, sh; in csinf() local 44 _cchshf(cimagf(z), &ch, &sh); in csinf() 45 return (float complex) (sinf(crealf(z)) * ch) + (cosf(crealf(z)) * sh) * I; in csinf()
|
D | ccosf.c | 42 float ch, sh; in ccosf() local 44 _cchshf(cimagf(z), &ch, &sh); in ccosf() 45 return (float complex) (cosf(crealf(z)) * ch) - (sinf(crealf(z)) * sh) * I; in ccosf()
|
D | csin.c | 75 double ch, sh; in csin() local 77 _cchsh(cimag(z), &ch, &sh); in csin() 78 return (double complex) (sin(creal(z)) * ch) + (cos(creal(z)) * sh) * (double complex) I; in csin()
|
D | ccos.c | 75 double ch, sh; in ccos() local 77 _cchsh(cimag(z), &ch, &sh); in ccos() 78 return (double complex) (cos(creal(z)) * ch) - (sin(creal(z)) * sh) * (double complex) I; in ccos()
|
D | csinl.c | 41 long double ch, sh; in csinl() local 43 _cchshl(cimagl(z), &ch, &sh); in csinl() 44 …return (long double complex) (sinl(creall(z)) * ch) + (cosl(creall(z)) * sh) * (long double comple… in csinl()
|
D | ccosl.c | 41 long double ch, sh; in ccosl() local 43 _cchshl(cimagl(z), &ch, &sh); in ccosl() 44 …return (long double complex) (cosl(creall(z)) * ch) - (sinl(creall(z)) * sh) * (long double comple… in ccosl()
|
/picolibc-3.7.0-3.6.0/newlib/libc/machine/riscv/ |
D | strcpy.c | 56 char ch; in strcpy() local 59 ch = *src; in strcpy() 62 *(dst - 1) = ch; in strcpy() 63 } while (ch); in strcpy()
|
/picolibc-3.7.0-3.6.0/newlib/libc/time/ |
D | tzset.c | 122 int i, ch; in _tzset_unlocked() local 263 tz->__tzrule[i].ch = 'M'; in _tzset_unlocked() 275 ch = 'J'; in _tzset_unlocked() 279 ch = 'D'; in _tzset_unlocked() 290 tz->__tzrule[0].ch = 'M'; in _tzset_unlocked() 297 tz->__tzrule[1].ch = 'M'; in _tzset_unlocked() 305 tz->__tzrule[i].ch = ch; in _tzset_unlocked()
|
/picolibc-3.7.0-3.6.0/semihost/ |
D | sys_getc.c | 42 uint8_t ch = sys_semihost(SYS_READC, 0); in sys_semihost_getc() local 43 return ch; in sys_semihost_getc()
|
D | read.c | 48 int ch = sys_semihost_getc((FILE *) 0); in read() local 49 *(char *) buf = ch; in read()
|
/picolibc-3.7.0-3.6.0/newlib/libc/include/ |
D | unctrl.h | 37 #define unctrllen(ch) __unctrllen[(ch) & 0xff] argument
|
/picolibc-3.7.0-3.6.0/newlib/libc/machine/spu/ |
D | putc.c | 40 int ch; member 57 args.ch = c;
|
D | fputc.c | 40 int ch; member 57 args.ch = c;
|