/picolibc-3.7.0-3.6.0/newlib/libc/stdlib/ |
D | wctomb_r.c | 18 mbstate_t *state) in __ascii_wctomb() argument 25 (void) state; in __ascii_wctomb() 47 mbstate_t *state) in __utf8_wctomb() argument 55 if (sizeof (wchar_t) == 2 && state->__count == -4 in __utf8_wctomb() 62 tmp = ((uint32_t) state->__value.__wchb[0] << 16 | (uint32_t) state->__value.__wchb[1] << 8) in __utf8_wctomb() 67 state->__count = 0; in __utf8_wctomb() 92 state->__value.__wchb[0] = (tmp >> 16) & 0xff; in __utf8_wctomb() 93 state->__value.__wchb[1] = (tmp >> 8) & 0xff; in __utf8_wctomb() 94 state->__count = -4; in __utf8_wctomb() 98 if (state->__count == -4) in __utf8_wctomb() [all …]
|
D | mbtowc_r.c | 20 mbstate_t *state) in __ascii_mbtowc() argument 25 (void) state; in __ascii_mbtowc() 87 int iso_idx, mbstate_t *state) in ___iso_mbtowc() argument 125 mbstate_t *state) in __iso_8859_1_mbtowc() argument 127 return ___iso_mbtowc (r, pwc, s, n, -1, state); in __iso_8859_1_mbtowc() 132 mbstate_t *state) in __iso_8859_2_mbtowc() argument 134 return ___iso_mbtowc (r, pwc, s, n, 0, state); in __iso_8859_2_mbtowc() 139 mbstate_t *state) in __iso_8859_3_mbtowc() argument 141 return ___iso_mbtowc (r, pwc, s, n, 1, state); in __iso_8859_3_mbtowc() 146 mbstate_t *state) in __iso_8859_4_mbtowc() argument [all …]
|
D | mbstowcs.c | 59 mbstate_t state; in mbstowcs() local 60 state.__count = 0; in mbstowcs() 70 bytes = __MBTOWC (pwcs, t, MB_CUR_MAX, &state); in mbstowcs() 73 state.__count = 0; in mbstowcs()
|
D | wcstombs.c | 60 mbstate_t state; in wcstombs() local 61 state.__count = 0; in wcstombs() 73 bytes = __WCTOMB (buff, *pwcs++, &state); in wcstombs() 84 bytes = __WCTOMB (buff, *pwcs, &state); in wcstombs()
|
/picolibc-3.7.0-3.6.0/test/ |
D | long_double.c | 222 } state = LDOUBLE_INT; in naive_strtold() local 233 if (state == LDOUBLE_INT) { in naive_strtold() 234 state = LDOUBLE_FRAC; in naive_strtold() 240 if (state == LDOUBLE_INT || state == LDOUBLE_FRAC) { in naive_strtold() 241 state = LDOUBLE_EXP; in naive_strtold() 247 if (state == LDOUBLE_EXP) { in naive_strtold() 253 if (state == LDOUBLE_EXP) { in naive_strtold() 264 if (state == LDOUBLE_INT || state == LDOUBLE_FRAC) { in naive_strtold() 265 state = LDOUBLE_EXP; in naive_strtold() 272 if (state == LDOUBLE_INT || state == LDOUBLE_FRAC) { in naive_strtold() [all …]
|
/picolibc-3.7.0-3.6.0/newlib/libc/iconv/ces/ |
D | utf-16.c | 95 register int *state; in utf_16_convert_from_ucs() local 101 state = (int *)data; in utf_16_convert_from_ucs() 102 bytes = (*state == UTF16_SYSTEM_ENDIAN) ? sizeof (ucs2_t) * 2 in utf_16_convert_from_ucs() 113 if (*state == UTF16_SYSTEM_ENDIAN) in utf_16_convert_from_ucs() 116 *state |= UTF16_BOM_WRITTEN; in utf_16_convert_from_ucs() 121 switch (*state) in utf_16_convert_from_ucs() 143 switch (*state) in utf_16_convert_from_ucs() 195 int *state; in utf_16_convert_to_ucs() local 203 state = (int *)data; in utf_16_convert_to_ucs() 206 if (*state == UTF16_UNDEFINED) in utf_16_convert_to_ucs() [all …]
|
/picolibc-3.7.0-3.6.0/newlib/libc/ctype/ |
D | tolower_l.c | 27 mbstate_t state; in tolower_l() local 29 memset (&state, 0, sizeof state); in tolower_l() 30 if (locale->mbtowc (_REENT, &wc, s, 1, &state) >= 0 in tolower_l() 33 &state) == 1) in tolower_l()
|
D | toupper_l.c | 29 mbstate_t state; in toupper_l() local 31 memset (&state, 0, sizeof state); in toupper_l() 32 if (locale->mbtowc (_REENT, &wc, s, 1, &state) >= 0 in toupper_l() 35 &state) == 1) in toupper_l()
|
/picolibc-3.7.0-3.6.0/newlib/libc/machine/spu/ |
D | spu_timer_stop.c | 55 if (__spu_timers[id].state == SPU_TIMER_ACTIVE || in spu_timer_stop() 56 __spu_timers[id].state == SPU_TIMER_HANDLED) in spu_timer_stop() 62 t = (__spu_timers[id].state == SPU_TIMER_ACTIVE) in spu_timer_stop() 65 pn = (__spu_timers[id].state == SPU_TIMER_ACTIVE) in spu_timer_stop() 92 __spu_timers[id].state = SPU_TIMER_STOPPED; in spu_timer_stop()
|
D | spu_timer_free.c | 53 if (__spu_timers[id].state == SPU_TIMER_STOPPED) in spu_timer_free() 75 __spu_timers[id].state = SPU_TIMER_FREE; in spu_timer_free() 84 return (__spu_timers[id].state == SPU_TIMER_FREE) ? in spu_timer_free()
|
D | spu_timer_svcs.c | 84 (__spu_timers + id)->state = SPU_TIMER_STOPPED; in spu_timer_alloc() 109 if (__spu_timers[id].state != SPU_TIMER_STOPPED) in spu_timer_start()
|
D | spu_timer_slih.c | 122 start->state = SPU_TIMER_ACTIVE; in __spu_timer_start() 198 active->state = SPU_TIMER_HANDLED; in spu_clock_slih()
|
D | spu_timer_internal.h | 59 spu_timer_state_t state __attribute__ ((__aligned__ (16))); member
|
/picolibc-3.7.0-3.6.0/newlib/libc/iconv/lib/ |
D | ucsconv.h | 109 mbstate_t *state); 124 mbstate_t *state); 184 mbstate_t *state); 188 mbstate_t *state);
|
D | nullconv.c | 106 mbstate_t *state, in null_conversion_get_state() argument 110 (void) state; in null_conversion_get_state() 118 mbstate_t *state, in null_conversion_set_state() argument 122 (void) state; in null_conversion_set_state()
|
D | ucsconv.c | 250 mbstate_t *state, in ucs_based_conversion_get_state() argument 259 uc->to_ucs.handlers->get_state (uc->to_ucs.data, state); in ucs_based_conversion_get_state() 261 *state = nullstate; /* internal copy */ in ucs_based_conversion_get_state() 266 uc->from_ucs.handlers->get_state (uc->from_ucs.data, state); in ucs_based_conversion_get_state() 268 *state = nullstate; /* internal copy */ in ucs_based_conversion_get_state() 277 mbstate_t *state, in ucs_based_conversion_set_state() argument 285 return uc->to_ucs.handlers->set_state (uc->to_ucs.data, state); in ucs_based_conversion_set_state() 290 return uc->from_ucs.handlers->set_state (uc->from_ucs.data, state); in ucs_based_conversion_set_state()
|
D | conv.h | 135 mbstate_t *state, 154 mbstate_t *state,
|
/picolibc-3.7.0-3.6.0/newlib/libc/stdio/ |
D | vfscanf.c | 406 mbstate_t state; /* value to keep track of multibyte state */ in _SVFSCANF() local 580 memset (&state, 0, sizeof (state)); in _SVFSCANF() 588 nbytes = __MBTOWC (&wc, (char *) fmt, MB_CUR_MAX, &state); in _SVFSCANF() 592 memset (&state, 0, sizeof (state)); in _SVFSCANF() 944 mbstate_t state; in _SVFSCANF() local 963 if (mbslen != 3 || state.__count != 4) in _SVFSCANF() 964 memset (&state, 0, sizeof (mbstate_t)); in _SVFSCANF() 965 if ((mbslen = mbrtowc (wcp, buf, s, &state)) in _SVFSCANF() 974 if (mbslen != 3 || state.__count != 4) in _SVFSCANF() 1062 mbstate_t state; in _SVFSCANF() local [all …]
|
D | vfwprintf.c | 387 mbstate_t state; /* mbtowc calls from library must not change state */ in VFWPRINTF() local 443 memset (&state, '\0', sizeof (state)); in VFWPRINTF() 446 MB_CUR_MAX, &state); in VFWPRINTF() 663 memset (&state, '\0', sizeof (state)); in VFWPRINTF() 666 MB_CUR_MAX, &state); in VFWPRINTF() 1729 __STATE state, next_state; in get_arg() local 1749 state = START; in get_arg() 1758 while (state != DONE) in get_arg() 1762 next_state = __state_table[state][chtype]; in get_arg() 1763 action = __action_table[state][chtype]; in get_arg() [all …]
|
D | vfprintf.c | 454 mbstate_t state; /* mbtowc calls from library must not change state */ in VFPRINTF() local 470 memset (&state, '\0', sizeof (state)); in VFPRINTF() 659 &state)) != 0) { in VFPRINTF() 662 memset (&state, 0, sizeof state); in VFPRINTF() 1808 __STATE state, next_state; in get_arg() local 1851 state = START; in get_arg() 1860 while (state != DONE) in get_arg() 1864 next_state = __state_table[state][chtype]; in get_arg() 1865 action = __action_table[state][chtype]; in get_arg() 1866 state = next_state; in get_arg()
|
/picolibc-3.7.0-3.6.0/newlib/libc/machine/rx/ |
D | setjmp.S | 33 # careful to always leave the stack in a usable state in case an
|
/picolibc-3.7.0-3.6.0/doc/ |
D | tls.md | 5 state held by the library not the application. One obvious example is 9 numerous other examples of this kind of state.
|
D | printf.md | 249 getc and ungetc may corrupt the state of the input buffer.
|
/picolibc-3.7.0-3.6.0/newlib/libc/iconv/ |
D | iconv.tex | 1679 @code{_iconv_nls_get_state} - returns the current encoding's shift state 1683 @code{_iconv_nls_set_state} sets the current encoding's shift state (the
|
/picolibc-3.7.0-3.6.0/ |
D | README.md | 392 * Fix FPSCR state for Arm8.1-M low overhead loops (thanks to David
|