/bionic/libc/include/ |
D | stdint.h | 109 #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 …]
|
D | string.h | 155 void* __bionic_memchr(const void* const s __pass_object_size, int c, size_t n) { in __bionic_memchr() argument 156 return memchr(s, c, n); in __bionic_memchr() 160 const void* memchr(const void* const s __pass_object_size, int c, size_t n) in memchr() argument 162 return __bionic_memchr(s, c, n); in memchr() 166 void* memchr(void* const s __pass_object_size, int c, size_t n) __prefer_this_overload { in memchr() argument 167 return __bionic_memchr(s, c, n); in memchr() 171 char* __bionic_strchr(const char* const s __pass_object_size, int c) { in __bionic_strchr() argument 172 return strchr(s, c); in __bionic_strchr() 176 const char* strchr(const char* const s __pass_object_size, int c) in strchr() argument 178 return __bionic_strchr(s, c); in strchr() [all …]
|
/bionic/libc/stdio/ |
D | parsefloat.c | 47 unsigned char c; in parsefloat() local 61 c = *fp->_p; in parsefloat() 66 if (c == '-' || c == '+') in parsefloat() 71 switch (c) { in parsefloat() 91 (c != "nfinity"[infnanpos] && in parsefloat() 92 c != "NFINITY"[infnanpos])) in parsefloat() 103 if (c != 'A' && c != 'a') in parsefloat() 107 if (c != 'N' && c != 'n') in parsefloat() 113 if (c != '(') in parsefloat() 117 if (c == ')') { in parsefloat() [all …]
|
D | vfscanf.cpp | 88 int c; /* character from format, or conversion */ in __svfscanf() local 112 c = *fmt++; in __svfscanf() 113 if (c == 0) return nassigned; in __svfscanf() 114 if (isspace(c)) { in __svfscanf() 118 if (c != '%') goto literal; in __svfscanf() 126 c = *fmt++; in __svfscanf() 127 switch (c) { in __svfscanf() 131 if (*fp->_p != c) goto match_failure; in __svfscanf() 184 width = width * 10 + c - '0'; in __svfscanf() 195 c = CT_INT; in __svfscanf() [all …]
|
D | vfwscanf.c | 132 wint_t c; /* character from format, or conversion */ in __vfwscanf() local 160 c = *fmt++; in __vfwscanf() 161 if (c == 0) { in __vfwscanf() 164 if (iswspace(c)) { in __vfwscanf() 165 while ((c = __fgetwc_unlock(fp)) != WEOF && iswspace(c)) in __vfwscanf() 167 if (c != WEOF) __ungetwc(c, fp); in __vfwscanf() 170 if (c != '%') goto literal; in __vfwscanf() 178 c = *fmt++; in __vfwscanf() 179 switch (c) { in __vfwscanf() 183 if (wi != c) { in __vfwscanf() [all …]
|
/bionic/libm/ |
D | Android.bp | 16 "upstream-freebsd/lib/msun/bsdsrc/b_exp.c", 17 "upstream-freebsd/lib/msun/bsdsrc/b_log.c", 18 "upstream-freebsd/lib/msun/bsdsrc/b_tgamma.c", 19 "upstream-freebsd/lib/msun/src/catrig.c", 20 "upstream-freebsd/lib/msun/src/catrigf.c", 21 "upstream-freebsd/lib/msun/src/e_acos.c", 22 "upstream-freebsd/lib/msun/src/e_acosf.c", 23 "upstream-freebsd/lib/msun/src/e_acosh.c", 24 "upstream-freebsd/lib/msun/src/e_acoshf.c", 25 "upstream-freebsd/lib/msun/src/e_asin.c", [all …]
|
/bionic/libc/upstream-netbsd/common/lib/libc/hash/sha1/ |
D | sha1.c | 84 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/bionic/ |
D | ctype.cpp | 34 int isalnum_l(int c, locale_t) { in isalnum_l() argument 35 return isalnum(c); in isalnum_l() 38 int isalpha_l(int c, locale_t) { in isalpha_l() argument 39 return isalpha(c); in isalpha_l() 42 int isblank_l(int c, locale_t) { in isblank_l() argument 43 return isblank(c); in isblank_l() 46 int iscntrl_l(int c, locale_t) { in iscntrl_l() argument 47 return iscntrl(c); in iscntrl_l() 50 int isdigit_l(int c, locale_t) { in isdigit_l() argument 51 return isdigit(c); in isdigit_l() [all …]
|
D | strtol.cpp | 48 int c; in StrToI() local 50 c = *s++; in StrToI() 51 } while (isspace(c)); in StrToI() 53 if (c == '-') { in StrToI() 55 c = *s++; in StrToI() 58 if (c == '+') c = *s++; in StrToI() 60 if ((base == 0 || base == 16) && c == '0' && (*s == 'x' || *s == 'X') && isxdigit(s[1])) { in StrToI() 61 c = s[1]; in StrToI() 65 if (base == 0) base = (c == '0') ? 8 : 10; in StrToI() 74 for (; ; c = *s++) { in StrToI() [all …]
|
D | wctype.cpp | 84 int iswalnum_l(wint_t c, locale_t) { return iswalnum(c); } in iswalnum_l() argument 85 int iswalpha_l(wint_t c, locale_t) { return iswalpha(c); } in iswalpha_l() argument 86 int iswblank_l(wint_t c, locale_t) { return iswblank(c); } in iswblank_l() argument 87 int iswcntrl_l(wint_t c, locale_t) { return iswcntrl(c); } in iswcntrl_l() argument 88 int iswdigit_l(wint_t c, locale_t) { return iswdigit(c); } in iswdigit_l() argument 89 int iswgraph_l(wint_t c, locale_t) { return iswgraph(c); } in iswgraph_l() argument 90 int iswlower_l(wint_t c, locale_t) { return iswlower(c); } in iswlower_l() argument 91 int iswprint_l(wint_t c, locale_t) { return iswprint(c); } in iswprint_l() argument 92 int iswpunct_l(wint_t c, locale_t) { return iswpunct(c); } in iswpunct_l() argument 93 int iswspace_l(wint_t c, locale_t) { return iswspace(c); } in iswspace_l() argument [all …]
|
D | pthread_exit.cpp | 51 void __pthread_cleanup_push(__pthread_cleanup_t* c, __pthread_cleanup_func_t routine, void* arg) { in __pthread_cleanup_push() argument 53 c->__cleanup_routine = routine; in __pthread_cleanup_push() 54 c->__cleanup_arg = arg; in __pthread_cleanup_push() 55 c->__cleanup_prev = thread->cleanup_stack; in __pthread_cleanup_push() 56 thread->cleanup_stack = c; in __pthread_cleanup_push() 60 void __pthread_cleanup_pop(__pthread_cleanup_t* c, int execute) { in __pthread_cleanup_pop() argument 62 thread->cleanup_stack = c->__cleanup_prev; in __pthread_cleanup_pop() 64 c->__cleanup_routine(c->__cleanup_arg); in __pthread_cleanup_pop() 78 __pthread_cleanup_t* c = thread->cleanup_stack; in pthread_exit() local 79 thread->cleanup_stack = c->__cleanup_prev; in pthread_exit() [all …]
|
/bionic/libc/dns/resolv/ |
D | res_comp.c | 157 #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-netbsd/lib/libc/inet/ |
D | nsap_addr.c | 53 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/tests/ |
D | iconv_test.cpp | 38 iconv_t c; in TEST() local 39 ASSERT_NE(INVALID_ICONV_T, c = iconv_open("UTF-8", "utf8")); in TEST() 40 ASSERT_EQ(0, iconv_close(c)); in TEST() 41 ASSERT_NE(INVALID_ICONV_T, c = iconv_open("UTF-8", "u.t.f-008")); in TEST() 42 ASSERT_EQ(0, iconv_close(c)); in TEST() 57 iconv_t c = iconv_open("UTF-32LE", "UTF-8"); in TEST() local 58 ASSERT_NE(INVALID_ICONV_T, c); in TEST() 66 EXPECT_EQ(0U, iconv(c, &in, &in_bytes, &out, &out_bytes)); in TEST() 76 ASSERT_EQ(0, iconv_close(c)); in TEST() 83 iconv_t c = iconv_open("ASCII//TRANSLIT", "UTF-8"); in TEST() local [all …]
|
/bionic/libc/upstream-openbsd/lib/libc/gdtoa/ |
D | sum.c | 41 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 …]
|
D | smisc.c | 129 int c, d; local 133 if ((c = *++s) >= 'A' && c <= 'Z') 134 c += 'a' - 'A'; 135 if (c != d) 145 copybits(c, n, b) ULong *c; int n; Bigint *b; in copybits() argument 147 copybits(ULong *c, int n, Bigint *b) 155 ce = c + ((n-1) >> kshift) + 1; 160 *c++ = *x++; 165 Storeinc(c, x[1], x[0]); 167 *c++ = *x; [all …]
|
/bionic/libc/ |
D | Android.bp | 5 "bionic/ether_aton.c", 6 "bionic/ether_ntoa.c", 8 "bionic/fts.c", 9 "bionic/initgroups.c", 10 "bionic/isatty.c", 11 "bionic/pututline.c", 12 "bionic/sched_cpualloc.c", 13 "bionic/sched_cpucount.c", 15 "stdio/parsefloat.c", 16 "stdio/refill.c", [all …]
|
/bionic/libc/async_safe/ |
D | async_safe_log.cpp | 247 char c; in out_vformat() local 253 c = format[mm]; in out_vformat() 254 if (c == '\0' || c == '%') break; in out_vformat() 264 if (c == '\0') break; in out_vformat() 271 c = format[nn++]; in out_vformat() 272 if (c == '\0') { /* single trailing '%' ? */ in out_vformat() 273 c = '%'; in out_vformat() 274 o.Send(&c, 1); in out_vformat() 276 } else if (c == '0') { in out_vformat() 279 } else if (c == '-') { in out_vformat() [all …]
|
/bionic/libc/upstream-openbsd/lib/libc/crypt/ |
D | chacha_private.h | 40 #define ROTATE(v,c) (ROTL32(v,c)) argument 45 #define QUARTERROUND(a,b,c,d) \ argument 47 c = PLUS(c,d); b = ROTATE(XOR(b,c),12); \ 49 c = PLUS(c,d); b = ROTATE(XOR(b,c), 7); 89 chacha_encrypt_bytes(chacha_ctx *x,const u8 *m,u8 *c,u32 bytes) in chacha_encrypt_bytes() argument 120 ctarget = c; in chacha_encrypt_bytes() 121 c = tmp; in chacha_encrypt_bytes() 191 U32TO8_LITTLE(c + 0,x0); in chacha_encrypt_bytes() 192 U32TO8_LITTLE(c + 4,x1); in chacha_encrypt_bytes() 193 U32TO8_LITTLE(c + 8,x2); in chacha_encrypt_bytes() [all …]
|
/bionic/linker/ |
D | linked_list_test.cpp | 63 list.for_each([&] (const char* c) { in test_list_to_string() argument 64 ss << c; in test_list_to_string() 90 list.remove_if([] (const char* c) { in TEST() argument 91 return *c == 'c'; in TEST() 99 list.remove_if([] (const char* c) { in TEST() argument 100 return *c == '2'; in TEST() 137 list.remove_if([](const char* c) { in TEST() argument 138 return *c == 'b' || *c == 'c'; in TEST() 156 list.remove_if([](const char* c) { in TEST() argument 157 return *c == 'c' || *c == 'd'; in TEST() [all …]
|
/bionic/libm/upstream-freebsd/lib/msun/bsdsrc/ |
D | b_exp.c | 94 double z,hi,lo,c; 114 c= x - z*(p1+z*(p2+z*(p3+z*(p4+z*p5)))); 115 return scalb(1.0+(hi-(lo-(x*c)/(2.0-c))),k); 137 double __exp__D(x, c) in __exp__D() argument 138 double x, c; in __exp__D() 155 x= hi - (lo = k*ln2lo-c); 158 c= x - z*(p1+z*(p2+z*(p3+z*(p4+z*p5)))); 159 c = (x*c)/(2.0-c); 161 return scalb(1.+(hi-(lo - c)), k);
|
/bionic/libc/include/bits/fortify/ |
D | string.h | 122 void* memset(void* const s __pass_object_size0, int c, size_t n) __overloadable in memset() argument 124 __clang_warning_if(c && !n, "'memset' will set 0 bytes; maybe the arguments got flipped?") { in memset() 126 return __builtin___memset_chk(s, c, n, __bos0(s)); in memset() 128 return __builtin_memset(s, c, n); in memset() 134 void* memchr(const void* const s __pass_object_size, int c, size_t n) __overloadable { in memchr() argument 138 return __builtin_memchr(s, c, n); in memchr() 141 return __memchr_chk(s, c, n, bos); in memchr() 145 void* __memrchr_fortify(const void* const __pass_object_size s, int c, size_t n) __overloadable { in __memrchr_fortify() argument 149 return __memrchr_real(s, c, n); in __memrchr_fortify() 152 return __memrchr_chk(s, c, n, bos); in __memrchr_fortify() [all …]
|
/bionic/libc/dns/nameser/ |
D | ns_name.c | 102 u_char c; in ns_name_ntop() local 148 c = *cp++; in ns_name_ntop() 149 if (special(c)) { in ns_name_ntop() 155 *dn++ = (char)c; in ns_name_ntop() 156 } else if (!printable(c)) { in ns_name_ntop() 162 *dn++ = digits[c / 100]; in ns_name_ntop() 163 *dn++ = digits[(c % 100) / 10]; in ns_name_ntop() 164 *dn++ = digits[c % 10]; in ns_name_ntop() 170 *dn++ = (char)c; in ns_name_ntop() 223 int c, n, escaped, e = 0; in ns_name_pton2() local [all …]
|
/bionic/tools/versioner/tests/multiple_definition/ |
D | expected_fail | 2 …c, fob = 32], arm-9 [c, fob = 64], arm-12 [c, fob = 32], arm-12 [c, fob = 64], arm-9 [c++, fob = 3…
|
/bionic/libc/upstream-netbsd/lib/libc/regex/ |
D | regex2.h | 165 #define CHadd(cs, c) ((cs)->ptr[(uch)(c)] |= (cs)->mask, (cs)->hash += (c)) argument 166 #define CHsub(cs, c) ((cs)->ptr[(uch)(c)] &= ~(cs)->mask, (cs)->hash -= (c)) argument 167 #define CHIN(cs, c) ((cs)->ptr[(uch)(c)] & (cs)->mask) argument 209 #define ISWORD(c) (isalnum((unsigned char)c) || (c) == '_') argument
|