Home
last modified time | relevance | path

Searched refs:c2 (Results 1 – 19 of 19) sorted by relevance

/picolibc-3.5.0-3.4.0/newlib/libc/posix/
Dcollcmp.c44 int __collate_range_cmp (int c1, int c2) in __collate_range_cmp() argument
53 c2 &= UCHAR_MAX; in __collate_range_cmp()
54 if (c1 == c2) in __collate_range_cmp()
59 as2 = isascii(c2); in __collate_range_cmp()
61 al2 = isalpha(c2); in __collate_range_cmp()
65 return (c1 - c2); in __collate_range_cmp()
68 return ('A' - c2); in __collate_range_cmp()
70 return ('a' - c2); in __collate_range_cmp()
72 if (isupper(c2)) in __collate_range_cmp()
80 s2[0] = c2; in __collate_range_cmp()
[all …]
Dfnmatch.c163 char c, c2; in rangematch() local
198 && (c2 = *(pattern+1)) != EOS && c2 != ']') { in rangematch()
200 if (c2 == '\\' && !(flags & FNM_NOESCAPE)) in rangematch()
201 c2 = *pattern++; in rangematch()
202 if (c2 == EOS) in rangematch()
206 c2 = tolower((unsigned char)c2); in rangematch()
211 c <= test && test <= c2 : in rangematch()
213 && __collate_range_cmp(test, c2) <= 0 in rangematch()
215 c <= test && test <= c2 in rangematch()
Dregcomp.c110 static int samesets(struct re_guts *g, int c1, int c2);
1430 samesets(struct re_guts *g, int c1, int c2) in samesets() argument
1436 unsigned uc2 = (uch)c2; in samesets()
1453 int c2; in categorize() local
1464 for (c2 = c+1; c2 <= CHAR_MAX; c2++) in categorize()
1465 if (cats[c2] == 0 && samesets(g, c, c2)) in categorize()
1466 cats[c2] = cat; in categorize()
/picolibc-3.5.0-3.4.0/newlib/libm/common/
Dsincosf.h44 double c0, c1, c2, c3, c4; /* Cosine polynomial. */ member
68 double x3, x4, x5, x6, s, c, c1, c2, s1; in sincosf_poly() local
72 c2 = p->c3 + x2 * p->c4; in sincosf_poly()
85 c = c1 + x4 * p->c2; in sincosf_poly()
88 *cosp = c + x6 * c2; in sincosf_poly()
96 double x3, x4, x6, x7, s, c, c1, c2, s1; in sinf_poly() local
111 c2 = p->c3 + x2 * p->c4; in sinf_poly()
115 c = c1 + x4 * p->c2; in sinf_poly()
117 return c + x6 * c2; in sinf_poly()
/picolibc-3.5.0-3.4.0/newlib/libc/string/
Dstrcasecmp.c62 const int c2 = tolower(*s2++); in strcasecmp() local
63 if (((d = c1 - c2) != 0) || (c2 == '\0')) in strcasecmp()
Dwcscasecmp.c47 const int c2 = towlower (*s2++); in wcscasecmp() local
48 if (((d = c1 - c2) != 0) || (c2 == '\0')) in wcscasecmp()
Dstrncasecmp.c64 const int c2 = tolower(*s2++); in strncasecmp() local
65 if (((d = c1 - c2) != 0) || (c2 == '\0')) in strncasecmp()
Dstrcasecmp_l.c51 const int c2 = tolower_l (*s2++, locale); in strcasecmp_l() local
52 if (((d = c1 - c2) != 0) || (c2 == '\0')) in strcasecmp_l()
Dwcsncasecmp.c49 const int c2 = towlower (*s2++); in wcsncasecmp() local
50 if (((d = c1 - c2) != 0) || (c2 == '\0')) in wcsncasecmp()
Dwcscasecmp_l.c53 const int c2 = towlower_l (*s2++, locale); in wcscasecmp_l() local
54 if (((d = c1 - c2) != 0) || (c2 == '\0')) in wcscasecmp_l()
Dstrncasecmp_l.c55 const int c2 = tolower_l (*s2++, locale); in strncasecmp_l() local
56 if (((d = c1 - c2) != 0) || (c2 == '\0')) in strncasecmp_l()
Dwcsncasecmp_l.c55 const int c2 = towlower_l (*s2++, locale); in wcsncasecmp_l() local
56 if (((d = c1 - c2) != 0) || (c2 == '\0')) in wcsncasecmp_l()
/picolibc-3.5.0-3.4.0/newlib/libc/machine/riscv/
Dstrlen.c40 char c0 = str[0 - sl], c1 = str[1 - sl], c2 = str[2 - sl], c3 = str[3 - sl]; in strlen() local
43 if (c2 == 0) return ret + 2 - sl; in strlen()
46 c0 = str[4 - sl], c1 = str[5 - sl], c2 = str[6 - sl], c3 = str[7 - sl]; in strlen()
49 if (c2 == 0) return ret + 6 - sl; in strlen()
Dstrcpy.c36 char c2 = src[2]; in strcpy() local
40 if (!(*dst++ = c2)) return dst0; in strcpy()
/picolibc-3.5.0-3.4.0/newlib/libc/machine/arm/
Dstrcmp-armv4.S182 char c1, c2;
188 c2 = *s2++;
189 if (c1 == 0 || c1 != c2)
190 return c1 - (int)c2;
212 c2 = (char) data2 >> 24;
215 c2 = (char) data2;
219 } while (c1 != 0 && c1 == c2);
220 return c1 - c2;
Dstrcmp-armv7m.S169 char c1, c2;
175 c2 = *s2++;
176 if (c1 == 0 || c1 != c2)
177 return c1 - (int)c2;
199 c2 = (char) data2 >> 24;
202 c2 = (char) data2;
206 } while (c1 != 0 && c1 == c2);
207 return c1 - c2;
/picolibc-3.5.0-3.4.0/test/
Dcomplex-funcs.c7 double complex c1, c2; variable
101 (void) cpow(c1, c2); in main()
/picolibc-3.5.0-3.4.0/newlib/libm/machine/spu/headers/
Dcbrtf.h61 vec_double2 c2 = VEC_SPLAT_F64(0.191502161678719066); in _cbrtf() local
83 u0 = spu_madd(mant0, spu_nmsub(mant0, c2, c1), c0); in _cbrtf()
Dcbrt.h65 vec_double2 c2 = VEC_SPLAT_F64(-2.11499494167371287); in _cbrt() local
87 …ant, spu_madd(mant, spu_madd(mant, spu_madd(mant, spu_nmsub(mant, c6, c5), c4), c3), c2), c1), c0); in _cbrt()