Home
last modified time | relevance | path

Searched full:if (Results 1 – 25 of 2354) sorted by relevance

12345678910>>...95

/picolibc-latest/newlib/libc/iconv/ccs/
Dccsbi.h11 * Enable CCS tables if encoding needs them.
15 * CCS tables aren't linked if Newlib was configuted to use external CCS tables.
19 #if defined (_ICONV_FROM_ENCODING_BIG5)
22 #if defined (_ICONV_TO_ENCODING_BIG5)
26 #if defined (_ICONV_FROM_ENCODING_EUC_TW)
29 #if defined (_ICONV_TO_ENCODING_EUC_TW)
33 #if defined (_ICONV_FROM_ENCODING_EUC_TW)
36 #if defined (_ICONV_TO_ENCODING_EUC_TW)
40 #if defined (_ICONV_FROM_ENCODING_EUC_TW)
43 #if defined (_ICONV_TO_ENCODING_EUC_TW)
[all …]
Dccsbi.c13 #if defined (ICONV_TO_UCS_CCS_BIG5) \
17 #if defined (ICONV_TO_UCS_CCS_CNS11643_PLANE1) \
21 #if defined (ICONV_TO_UCS_CCS_CNS11643_PLANE14) \
25 #if defined (ICONV_TO_UCS_CCS_CNS11643_PLANE2) \
29 #if defined (ICONV_TO_UCS_CCS_CP775) \
33 #if defined (ICONV_TO_UCS_CCS_CP850) \
37 #if defined (ICONV_TO_UCS_CCS_CP852) \
41 #if defined (ICONV_TO_UCS_CCS_CP855) \
45 #if defined (ICONV_TO_UCS_CCS_CP866) \
49 #if defined (ICONV_TO_UCS_CCS_ISO_8859_1) \
[all …]
/picolibc-latest/newlib/libc/iconv/lib/
Daliasesbi.c11 #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-latest/newlib/libc/iconv/ces/
Dcesbi.c11 #if defined (ICONV_TO_UCS_CES_EUC) \
16 # if defined (_ICONV_FROM_ENCODING_EUC_JP) \
20 # if defined (_ICONV_FROM_ENCODING_EUC_KR) \
24 # if defined (_ICONV_FROM_ENCODING_EUC_TW) \
32 #if defined (ICONV_TO_UCS_CES_TABLE) \
37 # if defined (_ICONV_FROM_ENCODING_CP775) \
41 # if defined (_ICONV_FROM_ENCODING_CP850) \
45 # if defined (_ICONV_FROM_ENCODING_CP852) \
49 # if defined (_ICONV_FROM_ENCODING_CP855) \
53 # if defined (_ICONV_FROM_ENCODING_CP866) \
[all …]
Dtable.c23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 #if defined (ICONV_TO_UCS_CES_TABLE) \
50 * linked-in tables. If not found, it tries to load it from external file
51 * (only if corespondent capability was enabled in Newlib configuration).
79 if (ccsp->type == TABLE_EXTERNAL) in table_close()
86 #if defined (ICONV_FROM_UCS_CES_TABLE)
96 if (strcmp (_iconv_ccs[i]->name, encoding) == 0) in table_init_from_ucs()
102 if (biccsp != NULL) in table_init_from_ucs()
104 if (biccsp->from_ucs == NULL in table_init_from_ucs()
133 if (in > 0xFFFF || in == INVALC) in table_convert_from_ucs()
[all …]
/picolibc-latest/newlib/libc/stdlib/
Dstrtodg.c41 #if defined (_HAVE_LONG_DOUBLE) && !defined (_LDBL_EQ_DBL) || 1
63 if (a->_wds < b->_wds) { in sum()
67 if (!c) in sum()
106 if (carry) { in sum()
107 if (c->_wds == c->_maxwds) { in sum()
109 if (!b) { in sum()
130 if (n < b->_wds) { in rshift()
133 if (k &= kmask) { in rshift()
140 if ((*x1 = y) !=0) in rshift()
147 if ((b->_wds = x1 - b->_x) == 0) in rshift()
[all …]
Dstrtod.c57 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
191 if (!scale || (i = 2*P + 1 - ((dword0(x) & Exp_mask) >> Exp_shift)) <= 0) in sulp()
[all …]
Ddtoa.c46 if (!b || !S) in quorem()
51 /*debug*/ if (b->_wds > n) in quorem()
54 if (b->_wds < n) in quorem()
62 /*debug*/ if (q > 9) in quorem()
65 if (q) in quorem()
93 if (!*bxe) in quorem()
101 if (cmp (b, S) >= 0) in quorem()
134 if (!*bxe) in quorem()
155 * compute with fewer bits and propagate the carry if necessary
170 * multiple-precision integer arithmetic only if we cannot
[all …]
/picolibc-latest/newlib/libc/tinystdio/
Dvfprintf.c29 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
75 #if PRINTF_LEVEL == PRINTF_MIN
77 # if defined(_WANT_MINIMAL_IO_LONG_LONG) && __SIZEOF_LONG_LONG__ > __SIZEOF_LONG__
84 # if defined(_WANT_IO_LONG_LONG) && __SIZEOF_LONG_LONG__ > __SIZEOF_LONG__
97 # if __SIZEOF_LONG_LONG__ > __SIZEOF_LONG__
110 # if __SIZEOF_LONG_LONG__ > __SIZEOF_LONG__
120 # if __SIZEOF_LONG_LONG__ > __SIZEOF_LONG__
123 # if defined(_HAS_IO_WCHAR) || defined(WIDE_CHARS)
132 # if defined(_WANT_IO_LONG_DOUBLE) && __SIZEOF_LONG_DOUBLE__ > __SIZEOF_DOUBLE__
140 #if defined(_NEED_IO_WCHAR) && defined(_MB_CAPABLE)
[all …]
Dconv_flt.c29 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
36 #if defined(STRTOD) || defined(STRTOF) || defined(STRTOLD)
40 if (__class == FP_INFINITE || __class == FP_SUBNORMAL || __class == FP_ZERO) \
46 # if defined(STRTOD)
124 # if __SIZEOF_LONG_DOUBLE__ > 8
142 # if __SIZEOF_DOUBLE__ == 4
158 #if FLOAT_MANT_DIG > 53
218 if (!CHECK_WIDTH() || (i = scanf_getc (stream, context)) < 0) in conv_flt()
236 if (CHECK_WIDTH()) { in conv_flt()
237 if ((i = scanf_getc (stream, context)) >= 0) { in conv_flt()
[all …]
/picolibc-latest/newlib/libc/stdio/
Dvfscanf.c62 If <<vscanf>> attempts to read at end-of-file, the return value
65 If no fields were stored, the return value is <<0>>.
127 /* Currently a test is made to see if long double processing is warranted.
131 #if defined _WANT_IO_LONG_DOUBLE && (LDBL_MANT_DIG == 64)
147 #if defined _WANT_IO_LONG_LONG \
234 #if defined (STRING_ONLY) && defined (INTEGER_ONLY)
243 if (c == EOF) in sungetc()
251 * If we are in the middle of ungetc'ing, just continue. in sungetc()
255 if (HASUB (fp)) in sungetc()
257 if (fp->_r >= fp->_ub._size && __submore (fp)) in sungetc()
[all …]
Dvfwscanf.c64 If <<vwscanf>> attempts to read at end-of-file, the return value
67 If no fields were stored, the return value is <<0>>.
130 /* Currently a test is made to see if long double processing is warranted.
134 #if defined _WANT_IO_LONG_DOUBLE && (LDBL_MANT_DIG > DBL_MANT_DIG)
140 #if ((MAXEXP+MAXFRACT+3) > MB_LEN_MAX)
154 #if defined _WANT_IO_LONG_LONG \
244 if (wc == WEOF) in sungetwc()
251 * just back up over the string if we aren't at the start in sungetwc()
253 if (fp->_bf._base != NULL && fp->_p > fp->_bf._base) in sungetwc()
270 if (fp->_r <= 0 && _ssrefill ( fp)) in sfgetwc()
[all …]
Dnano-vfscanf_float.c44 /* Scan a floating point number as if by strtod. */ in _scanf_float()
56 if (pdata->width == 0 || pdata->width > BUF - 1) in _scanf_float()
59 if (pdata->width - 1 > BUF - 2) in _scanf_float()
76 if (pdata->flags & NDIGITS) in _scanf_float()
80 if (width_left) in _scanf_float()
97 if (nancount + infcount == 0) in _scanf_float()
106 if (pdata->flags & SIGNOK) in _scanf_float()
114 if (nancount == 0 && zeroes == 0 in _scanf_float()
122 if (nancount == 2) in _scanf_float()
127 if (infcount == 1 || infcount == 4) in _scanf_float()
[all …]
Dvfwprintf.c29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
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)
138 #if defined _WANT_IO_LONG_LONG \
192 if (ret >= 0 && fflush ( &fake)) in __sbwprintf()
194 if (fake._flags & __SERR) in __sbwprintf()
206 #if defined (FLOATING_POINT) || defined (_WANT_IO_C99_FORMATS)
257 #if defined _MB_CAPABLE && MB_LEN_MAX > BUF
334 that %lld behaves the same as %ld, not as %d, as expected if:
383 #if defined (_MB_CAPABLE) && !defined (__HAVE_LOCALE_INFO_EXTENDED__) \ in VFWPRINTF()
[all …]
Dfmemopen.c22 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 …]
Dnano-vfscanf_i.c26 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
53 if (pdata->width == 0) in _scanf_chars()
57 if ((pdata->flags & SUPPRESS) == 0) in _scanf_chars()
66 if ((pdata->flags & SUPPRESS) == 0) in _scanf_chars()
70 if (--pdata->width == 0) in _scanf_chars()
73 if ((fp->_r <= 0 && pdata->pfn_refill (fp))) in _scanf_chars()
79 if (n == 0 && pdata->code == CT_CCL) in _scanf_chars()
82 if ((pdata->flags & SUPPRESS) == 0) in _scanf_chars()
85 if (pdata->code != CT_CHAR) in _scanf_chars()
104 /* Scan an integer as if by strtol/strtoul. */ in _scanf_i()
[all …]
/picolibc-latest/
Dfind-copyright72 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-latest/newlib/libc/machine/xtensa/
Dstrcpy.S47 /* Check if the destination is aligned. */
57 #if XTENSA_ESP32_PSRAM_CACHE_FIX
60 beqz a8, 1f // if byte 0 is zero
62 bbci.l a3, 1, .Lsrcaligned // if src is now word-aligned
68 #if XTENSA_ESP32_PSRAM_CACHE_FIX
71 beqz a8, 1f // if byte 0 is zero
76 #if XTENSA_ESP32_PSRAM_CACHE_FIX
86 #if XCHAL_HAVE_LOOPS
87 #if XCHAL_HAVE_DENSITY
95 #if XCHAL_HAVE_DENSITY
[all …]
/picolibc-latest/newlib/libm/ld/ld80/
De_powl.c98 * If i is even, A[i] + B[i/2] gives additional accuracy.
171 /* The following if denormal numbers are supported, else -MEXP: */
193 if( !isnanl_inline(y) && y == 0.0L ) { in powl()
194 if (issignalingl_inline(x)) in powl()
199 if( !isnanl_inline(x) && x == 1.0L ) { in powl()
200 if (issignalingl_inline(y)) in powl()
205 if( isnanl_inline(x) ) in powl()
207 if( isnanl_inline(y) ) in powl()
211 /* Set iyflg to 1 if y is an integer. */ in powl()
214 /* flag = 1 if x is negative */ in powl()
[all …]
/picolibc-latest/newlib/libm/test/
Dtest.c55 if (strcmp(av[i],"-v")==0) in main()
57 if (strcmp(av[i],"-nomath2") == 0) in main()
60 if (strcmp(av[i],"-nostrin") == 0) in main()
63 if (strcmp(av[i],"-nois") == 0) in main()
66 if (strcmp(av[i],"-nomath") == 0) in main()
69 if (strcmp(av[i],"-nocvt") == 0) in main()
72 if (strcmp(av[i],"-noiee") == 0) in main()
76 if (strcmp(av[i],"-generate") == 0) { in main()
81 if (cvt) in main()
84 #if TEST_PART == 0 || TEST_PART == -1 in main()
[all …]
/picolibc-latest/newlib/libc/include/sys/
Dunistd.h26 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
85 #if __BSD_VISIBLE || (__XSI_VISIBLE >= 4 && __POSIX_VISIBLE < 200112)
89 #if __POSIX_VISIBLE >= 199209
92 #if __XSI_VISIBLE
95 #if __XSI_VISIBLE && __XSI_VISIBLE < 700
98 #if __XSI_VISIBLE && __XSI_VISIBLE < 600
101 #if __BSD_VISIBLE || (__XSI_VISIBLE && __XSI_VISIBLE < 500)
106 #if __GNU_VISIBLE
110 #if __XSI_VISIBLE
113 #if __BSD_VISIBLE || (__XSI_VISIBLE && __XSI_VISIBLE < 500)
[all …]
/picolibc-latest/newlib/libc/search/
Dhash.c29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
42 #if !defined(DEBUG) && !defined(NDEBUG)
67 #if (_BYTE_ORDER == _LITTLE_ENDIAN)
115 if ((flags & O_ACCMODE) == O_WRONLY) {
120 if (!(hashp = (HTAB *)calloc(1, sizeof(HTAB))))
125 * Even if user wants write only, we need to be able to read
133 if (!file || (flags & O_TRUNC) ||
139 if (errno == ENOENT)
143 if (file) {
144 if ((hashp->fp = open(file, flags, mode)) == -1)
[all …]
/picolibc-latest/newlib/libc/include/
Dwchar.h23 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
67 #if __POSIX_VISIBLE >= 200809
78 #if __POSIX_VISIBLE >= 200809 || _XSI_VISIBLE
102 #if __GNU_VISIBLE
106 #if __GNU_VISIBLE
110 #if __GNU_VISIBLE
114 #if __GNU_VISIBLE
117 #if __ISO_C_VISIBLE >= 1999 || __XSI_VISIBLE >= 500
120 #if __ISO_C_VISIBLE >= 1999 || __XSI_VISIBLE >= 500
125 #if __GNU_VISIBLE
[all …]
/picolibc-latest/newlib/libc/time/
Dstrptime.c30 * 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-latest/newlib/libc/machine/arm/
Darm_asm.h26 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34 #if __ARM_ARCH >= 7 && defined (__ARM_ARCH_ISA_ARM)
38 #if __ARM_ARCH >= 6 && defined (__ARM_ARCH_ISA_ARM)
42 #if __ARM_ARCH >= 5
46 #if __ARM_ARCH >= 4 && __ARM_ARCH_ISA_THUMB >= 1
50 #if __ARM_ARCH >= 4 && __ARM_ARCH_ISA_THUMB == 0
55 #if __ARM_ARCH_ISA_THUMB >= 2
59 #if __ARM_ARCH_ISA_THUMB >= 1
75 #if HAVE_PAC_LEAF
105 * - If alignment is attempted on a list containing r0, compilation will result
[all …]

12345678910>>...95