Home
last modified time | relevance | path

Searched refs:c (Results 1 – 25 of 135) sorted by relevance

123456

/bionic/libc/bionic/
Dctype.cpp31 int isalnum_l(int c, locale_t) { in isalnum_l() argument
32 return isalnum(c); in isalnum_l()
35 int isalpha_l(int c, locale_t) { in isalpha_l() argument
36 return isalpha(c); in isalpha_l()
39 int isblank_l(int c, locale_t) { in isblank_l() argument
40 return isblank(c); in isblank_l()
43 int iscntrl_l(int c, locale_t) { in iscntrl_l() argument
44 return iscntrl(c); in iscntrl_l()
47 int isdigit_l(int c, locale_t) { in isdigit_l() argument
48 return isdigit(c); in isdigit_l()
[all …]
Dwctype.cpp90 int iswalnum_l(wint_t c, locale_t) { return iswalnum(c); } in iswalnum_l() argument
91 int iswalpha_l(wint_t c, locale_t) { return iswalpha(c); } in iswalpha_l() argument
92 int iswblank_l(wint_t c, locale_t) { return iswblank(c); } in iswblank_l() argument
93 int iswcntrl_l(wint_t c, locale_t) { return iswcntrl(c); } in iswcntrl_l() argument
94 int iswdigit_l(wint_t c, locale_t) { return iswdigit(c); } in iswdigit_l() argument
95 int iswgraph_l(wint_t c, locale_t) { return iswgraph(c); } in iswgraph_l() argument
96 int iswlower_l(wint_t c, locale_t) { return iswlower(c); } in iswlower_l() argument
97 int iswprint_l(wint_t c, locale_t) { return iswprint(c); } in iswprint_l() argument
98 int iswpunct_l(wint_t c, locale_t) { return iswpunct(c); } in iswpunct_l() argument
99 int iswspace_l(wint_t c, locale_t) { return iswspace(c); } in iswspace_l() argument
[all …]
Dpthread_exit.cpp47 void __pthread_cleanup_push(__pthread_cleanup_t* c, __pthread_cleanup_func_t routine, void* arg) { in __pthread_cleanup_push() argument
49 c->__cleanup_routine = routine; in __pthread_cleanup_push()
50 c->__cleanup_arg = arg; in __pthread_cleanup_push()
51 c->__cleanup_prev = thread->cleanup_stack; in __pthread_cleanup_push()
52 thread->cleanup_stack = c; in __pthread_cleanup_push()
55 void __pthread_cleanup_pop(__pthread_cleanup_t* c, int execute) { in __pthread_cleanup_pop() argument
57 thread->cleanup_stack = c->__cleanup_prev; in __pthread_cleanup_pop()
59 c->__cleanup_routine(c->__cleanup_arg); in __pthread_cleanup_pop()
72 __pthread_cleanup_t* c = thread->cleanup_stack; in pthread_exit() local
73 thread->cleanup_stack = c->__cleanup_prev; in pthread_exit()
[all …]
/bionic/libc/upstream-openbsd/lib/libc/gen/
Disctype.c42 isalnum(int c) in isalnum() argument
44 return (c == EOF ? 0 : ((_ctype_ + 1)[(unsigned char)c] & (_U|_L|_N))); in isalnum()
50 isalpha(int c) in isalpha() argument
52 return (c == EOF ? 0 : ((_ctype_ + 1)[(unsigned char)c] & (_U|_L))); in isalpha()
58 isblank(int c) in isblank() argument
60 return (c == ' ' || c == '\t'); in isblank()
66 iscntrl(int c) in iscntrl() argument
68 return (c == EOF ? 0 : ((_ctype_ + 1)[(unsigned char)c] & _C)); in iscntrl()
74 isdigit(int c) in isdigit() argument
76 return (c == EOF ? 0 : ((_ctype_ + 1)[(unsigned char)c] & _N)); in isdigit()
[all …]
Dtolower_.c55 tolower(int c) in tolower() argument
57 if ((unsigned int)c > 255) in tolower()
58 return(c); in tolower()
59 return((_tolower_tab_ + 1)[c]); in tolower()
Dtoupper_.c56 toupper(int c) in toupper() argument
58 if ((unsigned int)c > 255) in toupper()
59 return(c); in toupper()
60 return((_toupper_tab_ + 1)[c]); in toupper()
/bionic/libc/include/
Dstdint.h109 #define INT8_C(c) c argument
110 #define INT_LEAST8_C(c) INT8_C(c) argument
111 #define INT_FAST8_C(c) INT8_C(c) argument
113 #define UINT8_C(c) c argument
114 #define UINT_LEAST8_C(c) UINT8_C(c) argument
115 #define UINT_FAST8_C(c) UINT8_C(c) argument
117 #define INT16_C(c) c argument
118 #define INT_LEAST16_C(c) INT16_C(c) argument
119 #define INT_FAST16_C(c) INT32_C(c) argument
121 #define UINT16_C(c) c argument
[all …]
/bionic/libc/stdio/
Dparsefloat.c48 unsigned char c; in parsefloat() local
62 c = *fp->_p; in parsefloat()
67 if (c == '-' || c == '+') in parsefloat()
72 switch (c) { in parsefloat()
92 (c != "nfinity"[infnanpos] && in parsefloat()
93 c != "NFINITY"[infnanpos])) in parsefloat()
104 if (c != 'A' && c != 'a') in parsefloat()
108 if (c != 'N' && c != 'n') in parsefloat()
114 if (c != '(') in parsefloat()
118 if (c == ')') { in parsefloat()
[all …]
/bionic/libc/upstream-openbsd/lib/libc/stdlib/
Dstrtoull.c49 int c; in strtoull() local
64 c = (unsigned char) *s++; in strtoull()
65 } while (isspace(c)); in strtoull()
66 if (c == '-') { in strtoull()
68 c = *s++; in strtoull()
71 if (c == '+') in strtoull()
72 c = *s++; in strtoull()
75 c == '0' && (*s == 'x' || *s == 'X')) { in strtoull()
76 c = s[1]; in strtoull()
81 base = c == '0' ? 8 : 10; in strtoull()
[all …]
Dstrtoul.c47 int c; in strtoul() local
62 c = (unsigned char) *s++; in strtoul()
63 } while (isspace(c)); in strtoul()
64 if (c == '-') { in strtoul()
66 c = *s++; in strtoul()
69 if (c == '+') in strtoul()
70 c = *s++; in strtoul()
73 c == '0' && (*s == 'x' || *s == 'X')) { in strtoul()
74 c = s[1]; in strtoul()
79 base = c == '0' ? 8 : 10; in strtoul()
[all …]
Dstrtoumax.c46 int c; in strtoumax() local
61 c = (unsigned char) *s++; in strtoumax()
62 } while (isspace(c)); in strtoumax()
63 if (c == '-') { in strtoumax()
65 c = *s++; in strtoumax()
68 if (c == '+') in strtoumax()
69 c = *s++; in strtoumax()
72 c == '0' && (*s == 'x' || *s == 'X')) { in strtoumax()
73 c = s[1]; in strtoumax()
78 base = c == '0' ? 8 : 10; in strtoumax()
[all …]
Dstrtoll.c49 int c; in strtoll() local
70 c = (unsigned char) *s++; in strtoll()
71 } while (isspace(c)); in strtoll()
72 if (c == '-') { in strtoll()
74 c = *s++; in strtoll()
77 if (c == '+') in strtoll()
78 c = *s++; in strtoll()
81 c == '0' && (*s == 'x' || *s == 'X')) { in strtoll()
82 c = s[1]; in strtoll()
87 base = c == '0' ? 8 : 10; in strtoll()
[all …]
Dstrtol.c47 int c; in strtol() local
68 c = (unsigned char) *s++; in strtol()
69 } while (isspace(c)); in strtol()
70 if (c == '-') { in strtol()
72 c = *s++; in strtol()
75 if (c == '+') in strtol()
76 c = *s++; in strtol()
79 c == '0' && (*s == 'x' || *s == 'X')) { in strtol()
80 c = s[1]; in strtol()
85 base = c == '0' ? 8 : 10; in strtol()
[all …]
Dstrtoimax.c46 int c; in strtoimax() local
67 c = (unsigned char) *s++; in strtoimax()
68 } while (isspace(c)); in strtoimax()
69 if (c == '-') { in strtoimax()
71 c = *s++; in strtoimax()
74 if (c == '+') in strtoimax()
75 c = *s++; in strtoimax()
78 c == '0' && (*s == 'x' || *s == 'X')) { in strtoimax()
79 c = s[1]; in strtoimax()
84 base = c == '0' ? 8 : 10; in strtoimax()
[all …]
/bionic/libc/upstream-netbsd/lib/libc/inet/
Dnsap_addr.c53 xtob(int c) { in __weak_alias()
54 return (c - (((c >= '0') && (c <= '9')) ? '0' : '7')); in __weak_alias()
59 u_char c, nib; in inet_nsap_addr() local
69 while ((c = *ascii++) != '\0' && len < (u_int)maxlen) { in inet_nsap_addr()
70 if (c == '.' || c == '+' || c == '/') in inet_nsap_addr()
72 if (!isascii(c)) in inet_nsap_addr()
74 if (islower(c)) in inet_nsap_addr()
75 c = toupper(c); in inet_nsap_addr()
76 if (isxdigit(c)) { in inet_nsap_addr()
77 nib = xtob(c); in inet_nsap_addr()
[all …]
/bionic/libm/
DAndroid.bp11 "upstream-freebsd/lib/msun/bsdsrc/b_exp.c",
12 "upstream-freebsd/lib/msun/bsdsrc/b_log.c",
13 "upstream-freebsd/lib/msun/bsdsrc/b_tgamma.c",
14 "upstream-freebsd/lib/msun/src/catrig.c",
15 "upstream-freebsd/lib/msun/src/catrigf.c",
16 "upstream-freebsd/lib/msun/src/e_acos.c",
17 "upstream-freebsd/lib/msun/src/e_acosf.c",
18 "upstream-freebsd/lib/msun/src/e_acosh.c",
19 "upstream-freebsd/lib/msun/src/e_acoshf.c",
20 "upstream-freebsd/lib/msun/src/e_asin.c",
[all …]
/bionic/libc/upstream-netbsd/common/lib/libc/hash/sha1/
Dsha1.c84 uint8_t c[64]; member
95 void do_R01(uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d, uint32_t *e, CHAR64LONG16 *);
96 void do_R2(uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d, uint32_t *e, CHAR64LONG16 *);
97 void do_R3(uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d, uint32_t *e, CHAR64LONG16 *);
98 void do_R4(uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d, uint32_t *e, CHAR64LONG16 *);
107 do_R01(uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d, uint32_t *e, CHAR64LONG16 *block) in do_R01() argument
109 nR0(a,b,c,d,e, 0); nR0(e,a,b,c,d, 1); nR0(d,e,a,b,c, 2); nR0(c,d,e,a,b, 3); in do_R01()
110 nR0(b,c,d,e,a, 4); nR0(a,b,c,d,e, 5); nR0(e,a,b,c,d, 6); nR0(d,e,a,b,c, 7); in do_R01()
111 nR0(c,d,e,a,b, 8); nR0(b,c,d,e,a, 9); nR0(a,b,c,d,e,10); nR0(e,a,b,c,d,11); in do_R01()
112 nR0(d,e,a,b,c,12); nR0(c,d,e,a,b,13); nR0(b,c,d,e,a,14); nR0(a,b,c,d,e,15); in do_R01()
[all …]
/bionic/libc/dns/resolv/
Dres_comp.c157 #define hyphenchar(c) ((c) == 0x2d) argument
158 #define bslashchar(c) ((c) == 0x5c) argument
159 #define periodchar(c) ((c) == PERIOD) argument
160 #define asterchar(c) ((c) == 0x2a) argument
161 #define alphachar(c) (((c) >= 0x41 && (c) <= 0x5a) \ argument
162 || ((c) >= 0x61 && (c) <= 0x7a))
163 #define digitchar(c) ((c) >= 0x30 && (c) <= 0x39) argument
164 #define underscorechar(c) ((c) == 0x5f) argument
166 #define borderchar(c) (alphachar(c) || digitchar(c)) argument
167 #define middlechar(c) (borderchar(c) || hyphenchar(c) || underscorechar(c)) argument
[all …]
/bionic/libc/upstream-openbsd/lib/libc/gdtoa/
Dsum.c41 Bigint *c; local
48 c = b; b = a; a = c;
50 c = Balloc(a->k);
51 if (c == NULL)
53 c->wds = a->wds;
57 xc = c->x;
91 if (c->wds == c->maxwds) {
92 b = Balloc(c->k + 1);
95 Bcopy(b, c);
96 Bfree(c);
[all …]
/bionic/libm/upstream-freebsd/lib/msun/bsdsrc/
Db_exp.c92 double z,hi,lo,c;
112 c= x - z*(p1+z*(p2+z*(p3+z*(p4+z*p5))));
113 return scalb(1.0+(hi-(lo-(x*c)/(2.0-c))),k);
135 double __exp__D(x, c) in __exp__D() argument
136 double x, c; in __exp__D()
153 x= hi - (lo = k*ln2lo-c);
156 c= x - z*(p1+z*(p2+z*(p3+z*(p4+z*p5))));
157 c = (x*c)/(2.0-c);
159 return scalb(1.+(hi-(lo - c)), k);
/bionic/libc/upstream-openbsd/lib/libc/string/
Dstrtok.c45 int c, sc; in strtok_r() local
55 c = *s++; in strtok_r()
57 if (c == sc) in strtok_r()
61 if (c == 0) { /* no non-delimiter characters */ in strtok_r()
72 c = *s++; in strtok_r()
75 if ((sc = *spanp++) == c) { in strtok_r()
76 if (c == 0) in strtok_r()
/bionic/libc/upstream-freebsd/lib/libc/string/
Dwcstok.c46 wchar_t c, sc; in wcstok() local
55 c = *s++; in wcstok()
57 if (c == sc) in wcstok()
61 if (c == L'\0') { /* no non-delimiter characters */ in wcstok()
72 c = *s++; in wcstok()
75 if ((sc = *spanp++) == c) { in wcstok()
76 if (c == L'\0') in wcstok()
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dwbuf.c44 __swbuf(int c, FILE *fp) in __swbuf() argument
61 c = (unsigned char)c; in __swbuf()
79 *fp->_p++ = c; in __swbuf()
80 if (++n == fp->_bf._size || (fp->_flags & __SLBF && c == '\n')) in __swbuf()
83 return (c); in __swbuf()
/bionic/libc/upstream-netbsd/lib/libc/string/
Dstrcasestr.c51 char c, sc; in strcasestr() local
57 if ((c = *find++) != 0) { in strcasestr()
58 c = tolower((unsigned char)c); in strcasestr()
64 } while ((char)tolower((unsigned char)sc) != c); in strcasestr()
/bionic/libc/
DAndroid.bp5 "bionic/ether_aton.c",
6 "bionic/ether_ntoa.c",
7 "bionic/fts.c",
8 "bionic/initgroups.c",
9 "bionic/isatty.c",
10 "bionic/pututline.c",
11 "bionic/sched_cpualloc.c",
12 "bionic/sched_cpucount.c",
13 "bionic/sigblock.c",
14 "bionic/siginterrupt.c",
[all …]

123456