/bionic/libc/upstream-openbsd/lib/libc/string/ |
D | strstr.c | 30 twobyte_strstr(const unsigned char *h, const unsigned char *n) in twobyte_strstr() argument 32 uint16_t nw = n[0]<<8 | n[1], hw = h[0]<<8 | h[1]; in twobyte_strstr() 33 for (h++; *h && hw != nw; hw = hw<<8 | *++h); in twobyte_strstr() 34 return *h ? (char *)h-1 : 0; in twobyte_strstr() 38 threebyte_strstr(const unsigned char *h, const unsigned char *n) in threebyte_strstr() argument 41 uint32_t hw = h[0]<<24 | h[1]<<16 | h[2]<<8; in threebyte_strstr() 42 for (h+=2; *h && hw != nw; hw = (hw|*++h)<<8); in threebyte_strstr() 43 return *h ? (char *)h-2 : 0; in threebyte_strstr() 47 fourbyte_strstr(const unsigned char *h, const unsigned char *n) in fourbyte_strstr() argument 50 uint32_t hw = h[0]<<24 | h[1]<<16 | h[2]<<8 | h[3]; in fourbyte_strstr() [all …]
|
/bionic/libc/upstream-freebsd/lib/libc/stdlib/ |
D | quick_exit.c | 58 struct quick_exit_handler *h; in at_quick_exit() local 60 h = malloc(sizeof(*h)); in at_quick_exit() 62 if (NULL == h) in at_quick_exit() 64 h->cleanup = func; in at_quick_exit() 66 h->next = handlers; in at_quick_exit() 68 handlers = h; in at_quick_exit() 76 struct quick_exit_handler *h; in quick_exit() local 82 for (h = handlers; NULL != h; h = h->next) { in quick_exit() 84 h->cleanup(); in quick_exit()
|
/bionic/docs/ |
D | status.md | 34 * `<aio.h>` 35 * `<monetary.h>`. See 37 * `<wordexp.h>` 54 * Full C11 `<threads.h>` (available as inlines for older API levels). 64 * `timespec_get` (C11 `<time.h>` addition) 65 * `reallocarray` (BSD/GNU extension in `<malloc.h>` and `<stdlib.h>`) 66 * `res_randomid` (in `<resolv.h>`) 68 * `getloadavg` (BSD/GNU extension in <stdlib.h>) 86 * `__freading`/`__fwriting` (completing <stdio_ext.h>) 87 …ndprotoent`/`getnetent`/`getprotoent`/`sethostent`/`setnetent`/`setprotoent` (completing <netdb.h>) [all …]
|
/bionic/libm/upstream-freebsd/lib/msun/src/ |
D | e_sinhf.c | 27 float t,h; in __ieee754_sinhf() local 36 h = 0.5; in __ieee754_sinhf() 37 if (jx<0) h = -h; in __ieee754_sinhf() 43 if(ix<0x3f800000) return h*((float)2.0*t-t*t/(t+one)); in __ieee754_sinhf() 44 return h*(t+t/(t+one)); in __ieee754_sinhf() 48 if (ix < 0x42b17217) return h*__ieee754_expf(fabsf(x)); in __ieee754_sinhf() 52 return h*2.0F*__ldexp_expf(fabsf(x), -1); in __ieee754_sinhf()
|
D | e_sinh.c | 45 double t,h; in __ieee754_sinh() local 55 h = 0.5; in __ieee754_sinh() 56 if (jx<0) h = -h; in __ieee754_sinh() 62 if(ix<0x3ff00000) return h*(2.0*t-t*t/(t+one)); in __ieee754_sinh() 63 return h*(t+t/(t+one)); in __ieee754_sinh() 67 if (ix < 0x40862E42) return h*__ieee754_exp(fabs(x)); in __ieee754_sinh() 71 return h*2.0*__ldexp_exp(fabs(x), -1); in __ieee754_sinh()
|
D | s_csinhf.c | 46 float x, y, h; in csinhf() local 67 h = expf(fabsf(x)) * 0.5F; in csinhf() 68 return (CMPLXF(copysignf(h, x) * cosf(y), h * sinf(y))); in csinhf() 75 h = huge * x; in csinhf() 76 return (CMPLXF(h * cosf(y), h * h * sinf(y))); in csinhf()
|
D | s_ccoshf.c | 46 float x, y, h; in ccoshf() local 67 h = expf(fabsf(x)) * 0.5F; in ccoshf() 68 return (CMPLXF(h * cosf(y), copysignf(h, x) * sinf(y))); in ccoshf() 75 h = huge * x; in ccoshf() 76 return (CMPLXF(h * h * cosf(y), h * sinf(y))); in ccoshf()
|
D | s_ccosh.c | 54 double x, y, h; in ccosh() local 76 h = exp(fabs(x)) * 0.5; in ccosh() 77 return (CMPLX(h * cos(y), copysign(h, x) * sin(y))); in ccosh() 84 h = huge * x; in ccosh() 85 return (CMPLX(h * h * cos(y), h * sin(y))); in ccosh()
|
D | s_csinh.c | 54 double x, y, h; in csinh() local 76 h = exp(fabs(x)) * 0.5; in csinh() 77 return (CMPLX(copysign(h, x) * cos(y), h * sin(y))); in csinh() 84 h = huge * x; in csinh() 85 return (CMPLX(h * cos(y), h * h * sin(y))); in csinh()
|
D | e_jnf.c | 114 float q0,q1,h,tmp; int32_t k,m; in __ieee754_jnf() local 115 w = (n+n)/(float)x; h = (float)2.0/(float)x; in __ieee754_jnf() 116 q0 = w; z = w+h; q1 = w*z - (float)1.0; k=1; in __ieee754_jnf() 118 k += 1; z += h; in __ieee754_jnf()
|
D | e_jn.c | 157 double q0,q1,h,tmp; int32_t k,m; in __ieee754_jn() local 158 w = (n+n)/(double)x; h = 2.0/(double)x; in __ieee754_jn() 159 q0 = w; z = w+h; q1 = w*z - 1.0; k=1; in __ieee754_jn() 161 k += 1; z += h; in __ieee754_jn()
|
/bionic/libc/include/ |
D | string.h | 204 char* __bionic_strstr(const char* h, const char* n) { return strstr(h, n); } in __bionic_strstr() argument 207 const char* strstr(const char* h, const char* n) __prefer_this_overload { in strstr() argument 208 return __bionic_strstr(h, n); in strstr() 212 char* strstr(char* h, const char* n) __prefer_this_overload { in strstr() argument 213 return __bionic_strstr(h, n); in strstr() 217 char* __bionic_strpbrk(const char* h, const char* n) { return strpbrk(h, n); } in __bionic_strpbrk() argument 220 char* strpbrk(char* h, const char* n) __prefer_this_overload { in strpbrk() argument 221 return __bionic_strpbrk(h, n); in strpbrk() 225 const char* strpbrk(const char* h, const char* n) __prefer_this_overload { in strpbrk() argument 226 return __bionic_strpbrk(h, n); in strpbrk()
|
/bionic/libc/upstream-openbsd/lib/libc/gdtoa/ |
D | hd_init.c | 38 htinit(h, s, inc) unsigned char *h; unsigned char *s; int inc; in htinit() argument 40 htinit(unsigned char *h, unsigned char *s, int inc) 45 h[j] = i + inc;
|
D | hexnan.c | 60 ULong c, h, *x, *x1, *xe; local 81 if (!(h = hexdig[c])) { 123 *x = (*x << 4) | (h & 0xf);
|
/bionic/linker/ |
D | linker_gnu_hash.h | 47 uint32_t h = 5381; in calculate_gnu_hash_simple() local 51 h += (h << 5) + *name_bytes++; // h*33 + c = h + h * 32 + c = h + h << 5 + c in calculate_gnu_hash_simple() 53 return { h, reinterpret_cast<const char*>(name_bytes) - name }; in calculate_gnu_hash_simple()
|
/bionic/libc/kernel/uapi/linux/ |
D | romfs_fs.h | 28 #define __mkw(h,l) (((h) & 0x00ff) << 8 | ((l) & 0x00ff)) argument 29 #define __mkl(h,l) (((h) & 0xffff) << 16 | ((l) & 0xffff)) argument
|
D | pkt_cls.h | 157 #define TC_U32_HTID(h) ((h) & 0xFFF00000) argument 158 #define TC_U32_USERHTID(h) (TC_U32_HTID(h) >> 20) argument 159 #define TC_U32_HASH(h) (((h) >> 12) & 0xFF) argument 160 #define TC_U32_NODE(h) ((h) & 0xFFF) argument 161 #define TC_U32_KEY(h) ((h) & 0xFFFFF) argument
|
/bionic/libc/include/bits/ |
D | auxvec.h | 41 #if __has_include(<asm/hwcap.h>) 44 #if __has_include(<asm/hwcap2.h>)
|
/bionic/tests/libs/ |
D | ld_config_test_helper.cpp | 20 #if __has_include(<sys/auxv.h>) 29 #if __has_include(<sys/auxv.h>) in main()
|
/bionic/tools/versioner/tests/multiple_decl_mismatch/ |
D | expected_fail | 4 extern declaration @ headers/bar.h:5:1 6 extern declaration @ headers/foo.h:5:1
|
/bionic/tools/versioner/tests/version_mismatch/ |
D | expected_fail | 4 extern declaration @ headers/foo.h:6:1 6 extern declaration @ headers/foo.h:8:1
|
/bionic/tests/headers/posix/ |
D | signal_h.c | 34 void (*h)(int); in signal_h() local 35 h = SIG_DFL; in signal_h() 36 h = SIG_ERR; in signal_h() 37 h = SIG_HOLD; in signal_h() 38 h = SIG_IGN; in signal_h()
|
/bionic/tools/versioner/tests/multiple_definition/ |
D | expected_fail | 3 static definition @ headers/foo.h:5:1 5 static definition @ headers/bar.h:5:1
|
/bionic/libc/kernel/tools/ |
D | generate_uapi_headers.sh | 76 elif [[ -f "${file}" ]] && [[ "${file}" =~ .h$ ]]; then 97 if [[ -f "${file}" ]] && [[ "${file}" =~ .h$ ]]; then 118 elif [[ -f "${file}" ]] && [[ "${file}" =~ .h$ ]]; then
|
/bionic/libc/ |
D | Android.bp | 153 // some of this code runs before ifunc resolvers have made string.h functions work, so compile with 196 // from the linker before ifunc resolvers have made string.h functions available. 265 "-include netbsd-compat.h", 283 // These files are built with the freebsd-compat.h header file 348 "-include freebsd-compat.h", 366 "-include freebsd-compat.h", 381 // These files are built with the netbsd-compat.h header file 422 "-include netbsd-compat.h", 439 // These files are built with the openbsd-compat.h header file 552 "-include openbsd-compat.h", [all …]
|