/picolibc-3.5.0-3.4.0/newlib/libc/iconv/ccs/ |
D | ccsbi.h | 13 * Enable CCS tables if encoding needs them. 17 * CCS tables aren't linked if Newlib was configuted to use external CCS tables. 21 #if defined (_ICONV_FROM_ENCODING_BIG5) 24 #if defined (_ICONV_TO_ENCODING_BIG5) 28 #if defined (_ICONV_FROM_ENCODING_EUC_TW) 31 #if defined (_ICONV_TO_ENCODING_EUC_TW) 35 #if defined (_ICONV_FROM_ENCODING_EUC_TW) 38 #if defined (_ICONV_TO_ENCODING_EUC_TW) 42 #if defined (_ICONV_FROM_ENCODING_EUC_TW) 45 #if defined (_ICONV_TO_ENCODING_EUC_TW) [all …]
|
D | ccsbi.c | 14 #if defined (ICONV_TO_UCS_CCS_BIG5) \ 18 #if defined (ICONV_TO_UCS_CCS_CNS11643_PLANE1) \ 22 #if defined (ICONV_TO_UCS_CCS_CNS11643_PLANE14) \ 26 #if defined (ICONV_TO_UCS_CCS_CNS11643_PLANE2) \ 30 #if defined (ICONV_TO_UCS_CCS_CP775) \ 34 #if defined (ICONV_TO_UCS_CCS_CP850) \ 38 #if defined (ICONV_TO_UCS_CCS_CP852) \ 42 #if defined (ICONV_TO_UCS_CCS_CP855) \ 46 #if defined (ICONV_TO_UCS_CCS_CP866) \ 50 #if defined (ICONV_TO_UCS_CCS_ISO_8859_1) \ [all …]
|
/picolibc-3.5.0-3.4.0/newlib/libc/iconv/lib/ |
D | aliasesbi.c | 11 #if defined (_ICONV_FROM_ENCODING_BIG5) \ 15 #if defined (_ICONV_FROM_ENCODING_CP775) \ 19 #if defined (_ICONV_FROM_ENCODING_CP850) \ 23 #if defined (_ICONV_FROM_ENCODING_CP852) \ 27 #if defined (_ICONV_FROM_ENCODING_CP855) \ 31 #if defined (_ICONV_FROM_ENCODING_CP866) \ 35 #if defined (_ICONV_FROM_ENCODING_EUC_JP) \ 39 #if defined (_ICONV_FROM_ENCODING_EUC_KR) \ 43 #if defined (_ICONV_FROM_ENCODING_EUC_TW) \ 47 #if defined (_ICONV_FROM_ENCODING_ISO_8859_1) \ [all …]
|
/picolibc-3.5.0-3.4.0/newlib/libc/iconv/ces/ |
D | cesbi.c | 13 #if defined (ICONV_TO_UCS_CES_EUC) \ 18 # if defined (_ICONV_FROM_ENCODING_EUC_JP) \ 22 # if defined (_ICONV_FROM_ENCODING_EUC_KR) \ 26 # if defined (_ICONV_FROM_ENCODING_EUC_TW) \ 34 #if defined (ICONV_TO_UCS_CES_TABLE) \ 39 # if defined (_ICONV_FROM_ENCODING_CP775) \ 43 # if defined (_ICONV_FROM_ENCODING_CP850) \ 47 # if defined (_ICONV_FROM_ENCODING_CP852) \ 51 # if defined (_ICONV_FROM_ENCODING_CP855) \ 55 # if defined (_ICONV_FROM_ENCODING_CP866) \ [all …]
|
D | table.c | 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28 #if defined (ICONV_TO_UCS_CES_TABLE) \ 52 * linked-in tables. If not found, it tries to load it from external file 53 * (only if corespondent capability was enabled in Newlib configuration). 81 if (ccsp->type == TABLE_EXTERNAL) in table_close() 88 #if defined (ICONV_FROM_UCS_CES_TABLE) 98 if (strcmp (_iconv_ccs[i]->name, encoding) == 0) in table_init_from_ucs() 104 if (biccsp != NULL) in table_init_from_ucs() 106 if (biccsp->from_ucs == NULL in table_init_from_ucs() 135 if (in > 0xFFFF || in == INVALC) in table_convert_from_ucs() [all …]
|
/picolibc-3.5.0-3.4.0/newlib/libc/stdlib/ |
D | strtodg.c | 42 #if defined (_HAVE_LONG_DOUBLE) && !defined (_LDBL_EQ_DBL) || 1 64 if (a->_wds < b->_wds) { in sum() 68 if (!c) in sum() 107 if (carry) { in sum() 108 if (c->_wds == c->_maxwds) { in sum() 110 if (!b) { in sum() 131 if (n < b->_wds) { in rshift() 134 if (k &= kmask) { in rshift() 141 if ((*x1 = y) !=0) in rshift() 148 if ((b->_wds = x1 - b->_x) == 0) in rshift() [all …]
|
D | gdtoa-gdtoa.c | 57 if (!k) 61 if (b == NULL) 73 if (!i) { 95 * compute with fewer bits and propagate the carry if necessary 110 * multiple-precision integer arithmetic only if we cannot 131 the returned string. If not null, *rve is set to point 132 to the end of the return value. If d is +-Infinity or NaN, 156 (if applicable). 174 if (dtoa_result) { 197 if (b == NULL) [all …]
|
D | strtod.c | 57 The substring contains no characters if <[str]> is empty, consists 58 entirely of whitespace, or if the first non-whitespace 60 digit, and cannot be parsed as infinity or NaN. If the platform 62 If the substring is empty, no conversion is done, and 66 <[str]>) is stored in <<*<[tail]>>>. If you want no 76 locale specified by the locale object locale. If <[locale]> is 84 These functions return the converted substring value, if any. If 85 no conversion could be performed, 0 is returned. If the correct 88 <<ERANGE>> is stored in errno. If the correct value would cause 192 if (!scale || (i = 2*P + 1 - ((dword0(x) & Exp_mask) >> Exp_shift)) <= 0) in sulp() [all …]
|
D | dtoa.c | 47 if (!b || !S) in quorem() 52 /*debug*/ if (b->_wds > n) in quorem() 55 if (b->_wds < n) in quorem() 63 /*debug*/ if (q > 9) in quorem() 66 if (q) in quorem() 94 if (!*bxe) in quorem() 102 if (cmp (b, S) >= 0) in quorem() 135 if (!*bxe) in quorem() 156 * compute with fewer bits and propagate the carry if necessary 171 * multiple-precision integer arithmetic only if we cannot [all …]
|
/picolibc-3.5.0-3.4.0/newlib/libc/tinystdio/ |
D | vfprintf.c | 29 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 88 #if defined(_WANT_IO_LONG_DOUBLE) && __SIZEOF_LONG_DOUBLE__ > __SIZEOF_DOUBLE__ 108 #if PRINTF_LEVEL == PRINTF_STD || PRINTF_LEVEL == PRINTF_FLT 110 #if ((PRINTF_LEVEL >= PRINTF_FLT) || defined(_WANT_IO_LONG_LONG)) 114 #if ((PRINTF_LEVEL >= PRINTF_FLT) || defined(_WANT_IO_POS_ARGS)) 123 if ((flags) & FL_LONG) { \ 124 if ((flags) & FL_REPD_TYPE) \ 130 if ((flags) & FL_SHORT) { \ 131 if ((flags) & FL_REPD_TYPE) \ 142 if ((flags) & FL_LONG) { \ [all …]
|
D | dtoa_engine.h | 26 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 93 #if DTOA_MAX_10_EXP >= 1 && DTOA_MAX_10_EXP < 2 96 #if DTOA_MAX_10_EXP >= 2 && DTOA_MAX_10_EXP < 4 99 #if DTOA_MAX_10_EXP >= 4 && DTOA_MAX_10_EXP < 8 102 #if DTOA_MAX_10_EXP >= 8 && DTOA_MAX_10_EXP < 16 105 #if DTOA_MAX_10_EXP >= 16 && DTOA_MAX_10_EXP < 32 108 #if DTOA_MAX_10_EXP >= 32 && DTOA_MAX_10_EXP < 64 111 #if DTOA_MAX_10_EXP >= 64 && DTOA_MAX_10_EXP < 128 114 #if DTOA_MAX_10_EXP >= 128 && DTOA_MAX_10_EXP < 256 117 #if DTOA_MAX_10_EXP >= 256 && DTOA_MAX_10_EXP < 512 [all …]
|
D | vfscanf.c | 29 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 50 #if defined(SCANF_FLOAT) || defined(_WANT_IO_POS_ARGS) 85 if (!IS_EOF(c)) in scanf_getc() 94 if (!IS_EOF(c)) in scanf_ungetc() 102 if (!(flags & FL_STAR)) { in putval() 103 if (flags & FL_CHAR) in putval() 106 else if (flags & FL_LONGLONG) in putval() 109 else if (flags & FL_LONG) in putval() 111 else if (flags & FL_SHORT) in putval() 131 if (!--width || IS_EOF(i = scanf_getc(stream, lenp))) in conv_int() [all …]
|
/picolibc-3.5.0-3.4.0/newlib/libc/stdio/ |
D | vfscanf.c | 62 If <<vscanf>> attempts to read at end-of-file, the return value 65 If no fields were stored, the return value is <<0>>. 129 /* Currently a test is made to see if long double processing is warranted. 133 #if defined _WANT_IO_LONG_DOUBLE && (LDBL_MANT_DIG > DBL_MANT_DIG) 149 #if defined _WANT_IO_LONG_LONG \ 232 #if defined (STRING_ONLY) && defined (INTEGER_ONLY) 241 if (c == EOF) in sungetc() 249 * If we are in the middle of ungetc'ing, just continue. in sungetc() 253 if (HASUB (fp)) in sungetc() 255 if (fp->_r >= fp->_ub._size && __submore (fp)) in sungetc() [all …]
|
D | vfwscanf.c | 64 If <<vwscanf>> attempts to read at end-of-file, the return value 67 If no fields were stored, the return value is <<0>>. 131 /* Currently a test is made to see if long double processing is warranted. 135 #if defined _WANT_IO_LONG_DOUBLE && (LDBL_MANT_DIG > DBL_MANT_DIG) 141 #if ((MAXEXP+MAXFRACT+3) > MB_LEN_MAX) 155 #if defined _WANT_IO_LONG_LONG \ 241 if (wc == WEOF) in sungetwc() 248 * just back up over the string if we aren't at the start in sungetwc() 250 if (fp->_bf._base != NULL && fp->_p > fp->_bf._base) in sungetwc() 267 if (fp->_r <= 0 && _ssrefill ( fp)) in sfgetwc() [all …]
|
D | nano-vfscanf_float.c | 46 /* Scan a floating point number as if by strtod. */ in _scanf_float() 58 if (pdata->width == 0 || pdata->width > BUF - 1) in _scanf_float() 61 if (pdata->width - 1 > BUF - 2) in _scanf_float() 78 if (pdata->flags & NDIGITS) in _scanf_float() 82 if (width_left) in _scanf_float() 99 if (nancount + infcount == 0) in _scanf_float() 108 if (pdata->flags & SIGNOK) in _scanf_float() 116 if (nancount == 0 && zeroes == 0 in _scanf_float() 124 if (nancount == 2) in _scanf_float() 129 if (infcount == 1 || infcount == 4) in _scanf_float() [all …]
|
D | nano-vfscanf_i.c | 26 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 55 if (pdata->width == 0) in _scanf_chars() 59 if ((pdata->flags & SUPPRESS) == 0) in _scanf_chars() 68 if ((pdata->flags & SUPPRESS) == 0) in _scanf_chars() 72 if (--pdata->width == 0) in _scanf_chars() 75 if ((fp->_r <= 0 && pdata->pfn_refill (fp))) in _scanf_chars() 81 if (n == 0 && pdata->code == CT_CCL) in _scanf_chars() 84 if ((pdata->flags & SUPPRESS) == 0) in _scanf_chars() 87 if (pdata->code != CT_CHAR) in _scanf_chars() 106 /* Scan an integer as if by strtol/strtoul. */ in _scanf_i() [all …]
|
D | fmemopen.c | 22 starts writing at the first NUL byte. If <[buf]> is NULL, then 23 <[size]> bytes are automatically provided as if by <<malloc>>, with 30 than <[size]>. If <[mode]> starts with <<r>>, the position starts at 31 <<0>>, and file size starts at <[size]> if <[buf]> was provided. If 33 and if <[buf]> was provided, the first byte is set to NUL. If 35 location of the first NUL byte, or else <[size]> if <[buf]> was 44 if there is still room; if the stream is not also open for reading, a 54 <<NULL>> is returned, and <<errno>> will be set to EINVAL if <[size]> 55 is zero or <[mode]> is invalid, ENOMEM if <[buf]> was NULL and memory 56 could not be allocated, or EMFILE if too many streams are already [all …]
|
/picolibc-3.5.0-3.4.0/ |
D | find-copyright | 72 if m: 75 if m: 79 if not have_cpr: 84 if regex.search(line): 87 if end: 90 if modified.search(line): 93 if derived.search(line): 96 if only_upper: 97 if lower.search(line): 105 if not m: [all …]
|
/picolibc-3.5.0-3.4.0/newlib/libm/ld/ld80/ |
D | e_powl.c | 98 * If i is even, A[i] + B[i/2] gives additional accuracy. 171 /* The following if denormal numbers are supported, else -MEXP: */ 193 if( y == 0.0L ) { in powl() 194 if (issignalingl(x)) in powl() 199 if( x == 1.0L ) { in powl() 200 if (issignalingl(y)) in powl() 206 /* Set iyflg to 1 if y is an integer. */ in powl() 209 /* flag = 1 if x is negative */ in powl() 214 if( iyflg && nflg ) in powl() 220 if( x == 0.0L) { in powl() [all …]
|
/picolibc-3.5.0-3.4.0/newlib/libc/machine/xtensa/ |
D | strcmp.S | 29 #if XCHAL_HAVE_L32R 44 #if XCHAL_HAVE_L32R && XCHAL_HAVE_LOOPS && XCHAL_HAVE_DENSITY && __XTENSA_EL__ && XCHAL_HAVE_FLIX3 68 If the zero-overhead loop option is available, use an (almost) 80 If they are, we are definitely not done. 81 If they are not, we are probably done, but need to check for zero. */ 113 bany a11, a10, .Lunaligned // if they have different alignment 118 beqz a9, .Leq // bytes equal, if zero, strings are equal 122 bnone a2, a10, .Laligned // if s1/s2 now aligned 126 bne a8, a9, .Lretdiff // if different, return difference 127 beqz a8, .Leq // bytes equal, if zero, strings are equal [all …]
|
/picolibc-3.5.0-3.4.0/newlib/libm/test/ |
D | test.c | 55 if (strcmp(av[i],"-v")==0) in main() 57 if (strcmp(av[i],"-nomath2") == 0) in main() 59 if (strcmp(av[i],"-nostrin") == 0) in main() 61 if (strcmp(av[i],"-nois") == 0) in main() 63 if (strcmp(av[i],"-nomath") == 0) in main() 65 if (strcmp(av[i],"-nocvt") == 0) in main() 68 if (strcmp(av[i],"-noiee") == 0) in main() 71 if (strcmp(av[i],"-generate") == 0) { in main() 76 if (cvt) in main() 79 if (math2) in main() [all …]
|
/picolibc-3.5.0-3.4.0/newlib/libc/include/sys/ |
D | unistd.h | 26 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 53 #if __BSD_VISIBLE || (__XSI_VISIBLE >= 4 && __POSIX_VISIBLE < 200112) 57 #if __POSIX_VISIBLE >= 199209 60 #if __XSI_VISIBLE 63 #if __XSI_VISIBLE && __XSI_VISIBLE < 700 66 #if __XSI_VISIBLE && __XSI_VISIBLE < 600 69 #if __BSD_VISIBLE || (__XSI_VISIBLE && __XSI_VISIBLE < 500) 74 #if __GNU_VISIBLE 78 #if __XSI_VISIBLE 81 #if __BSD_VISIBLE || (__XSI_VISIBLE && __XSI_VISIBLE < 500) [all …]
|
/picolibc-3.5.0-3.4.0/newlib/libc/time/ |
D | strptime.c | 30 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 83 if (strncasecmp_l (*buf, strs[i], len, locale) == 0) { in match_string() 113 if (timeptr->tm_yday < 0) { in set_week_number_sun() 130 if (timeptr->tm_yday < 0) { in set_week_number_mon() 146 if (fday < 4) in set_week_number_mon4() 150 if (timeptr->tm_yday < 0) { in set_week_number_mon4() 168 if (isspace_l ((unsigned char) c, locale)) { in strptime_l() 171 } else if (c == '%' && format[1] != '\0') { in strptime_l() 173 if (c == 'E' || c == 'O') in strptime_l() 178 if (ret < 0) in strptime_l() [all …]
|
/picolibc-3.5.0-3.4.0/newlib/libc/posix/ |
D | fnmatch.c | 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 66 if ((flags & FNM_LEADING_DIR) && *string == '/') in fnmatch() 70 if (*string == EOS) in fnmatch() 72 if (*string == '/' && (flags & FNM_PATHNAME)) in fnmatch() 74 if (*string == '.' && (flags & FNM_PERIOD) && in fnmatch() 86 if (*string == '.' && (flags & FNM_PERIOD) && in fnmatch() 92 if (c == EOS) in fnmatch() 93 if (flags & FNM_PATHNAME) in fnmatch() 99 else if (c == '/' && flags & FNM_PATHNAME) { in fnmatch() 100 if ((string = strchr(string, '/')) == NULL) in fnmatch() [all …]
|
/picolibc-3.5.0-3.4.0/newlib/libc/search/ |
D | hash.c | 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 35 #if defined(LIBC_SCCS) && !defined(lint) 73 #if (_BYTE_ORDER == _LITTLE_ENDIAN) 121 if ((flags & O_ACCMODE) == O_WRONLY) { 126 if (!(hashp = (HTAB *)calloc(1, sizeof(HTAB)))) 131 * Even if user wants write only, we need to be able to read 139 if (!file || (flags & O_TRUNC) || 145 if (errno == ENOENT) 149 if (file) { 150 if ((hashp->fp = open(file, flags, mode)) == -1) [all …]
|