/bionic/libc/upstream-openbsd/lib/libc/locale/ |
D | wctoint.h | 36 int n; in wctoint() local 39 case L'0': n = 0; break; in wctoint() 40 case L'1': n = 1; break; in wctoint() 41 case L'2': n = 2; break; in wctoint() 42 case L'3': n = 3; break; in wctoint() 43 case L'4': n = 4; break; in wctoint() 44 case L'5': n = 5; break; in wctoint() 45 case L'6': n = 6; break; in wctoint() 46 case L'7': n = 7; break; in wctoint() 47 case L'8': n = 8; break; in wctoint() [all …]
|
/bionic/libc/arch-arm/bionic/ |
D | __aeabi.c | 57 void __aeabi_memcpy8(void *dest, const void *src, size_t n) { in __aeabi_memcpy8() argument 58 memcpy(dest, src, n); in __aeabi_memcpy8() 61 void __aeabi_memcpy4(void *dest, const void *src, size_t n) { in __aeabi_memcpy4() argument 62 memcpy(dest, src, n); in __aeabi_memcpy4() 65 void __aeabi_memcpy(void *dest, const void *src, size_t n) { in __aeabi_memcpy() argument 66 memcpy(dest, src, n); in __aeabi_memcpy() 70 void __aeabi_memmove8(void *dest, const void *src, size_t n) { in __aeabi_memmove8() argument 71 memmove(dest, src, n); in __aeabi_memmove8() 74 void __aeabi_memmove4(void *dest, const void *src, size_t n) { in __aeabi_memmove4() argument 75 memmove(dest, src, n); in __aeabi_memmove4() [all …]
|
/bionic/libm/upstream-freebsd/lib/msun/src/ |
D | s_scalbln.c | 34 scalbln (double x, long n) in scalbln() argument 38 in = (int)n; in scalbln() 39 if (in != n) { in scalbln() 40 if (n > 0) in scalbln() 49 scalblnf (float x, long n) in scalblnf() argument 53 in = (int)n; in scalblnf() 54 if (in != n) { in scalblnf() 55 if (n > 0) in scalblnf() 64 scalblnl (long double x, long n) in scalblnl() argument 68 in = (int)n; in scalblnl() [all …]
|
D | e_fmod.c | 31 int32_t n,hx,hy,hz,ix,iy,sx,i; in __ieee754_fmod() local 72 n = -1022-ix; in __ieee754_fmod() 73 if(n<=31) { in __ieee754_fmod() 74 hx = (hx<<n)|(lx>>(32-n)); in __ieee754_fmod() 75 lx <<= n; in __ieee754_fmod() 77 hx = lx<<(n-32); in __ieee754_fmod() 84 n = -1022-iy; in __ieee754_fmod() 85 if(n<=31) { in __ieee754_fmod() 86 hy = (hy<<n)|(ly>>(32-n)); in __ieee754_fmod() 87 ly <<= n; in __ieee754_fmod() [all …]
|
D | e_jnf.c | 29 __ieee754_jnf(int n, float x) in __ieee754_jnf() argument 42 if(n<0){ in __ieee754_jnf() 43 n = -n; in __ieee754_jnf() 47 if(n==0) return(__ieee754_j0f(x)); in __ieee754_jnf() 48 if(n==1) return(__ieee754_j1f(x)); in __ieee754_jnf() 49 sgn = (n&1)&(hx>>31); /* even n -- 0, odd n -- sign(x) */ in __ieee754_jnf() 53 else if((float)n<=x) { in __ieee754_jnf() 57 for(i=1;i<n;i++){ in __ieee754_jnf() 67 if(n>33) /* underflow */ in __ieee754_jnf() 71 for (a=one,i=2;i<=n;i++) { in __ieee754_jnf() [all …]
|
D | s_remquo.c | 34 int32_t n,hx,hy,hz,ix,iy,sx,i; in remquo() local 81 n = -1022-ix; in remquo() 82 if(n<=31) { in remquo() 83 hx = (hx<<n)|(lx>>(32-n)); in remquo() 84 lx <<= n; in remquo() 86 hx = lx<<(n-32); in remquo() 93 n = -1022-iy; in remquo() 94 if(n<=31) { in remquo() 95 hy = (hy<<n)|(ly>>(32-n)); in remquo() 96 ly <<= n; in remquo() [all …]
|
D | e_jn.c | 54 __ieee754_jn(int n, double x) in __ieee754_jn() argument 67 if(n<0){ in __ieee754_jn() 68 n = -n; in __ieee754_jn() 72 if(n==0) return(__ieee754_j0(x)); in __ieee754_jn() 73 if(n==1) return(__ieee754_j1(x)); in __ieee754_jn() 74 sgn = (n&1)&(hx>>31); /* even n -- 0, odd n -- sign(x) */ in __ieee754_jn() 78 else if((double)n<=x) { in __ieee754_jn() 94 switch(n&3) { in __ieee754_jn() 104 for(i=1;i<n;i++){ in __ieee754_jn() 115 if(n>33) /* underflow */ in __ieee754_jn() [all …]
|
D | e_rem_pio2f.c | 52 int32_t e0,n,ix,hx; in __ieee754_rem_pio2f() local 62 n = irint(fn); in __ieee754_rem_pio2f() 64 n = (int32_t)fn; in __ieee754_rem_pio2f() 69 return n; in __ieee754_rem_pio2f() 81 n = __kernel_rem_pio2(tx,ty,e0,1,0); in __ieee754_rem_pio2f() 82 if(hx<0) {*y = -ty[0]; return -n;} in __ieee754_rem_pio2f() 83 *y = ty[0]; return n; in __ieee754_rem_pio2f()
|
/bionic/libc/upstream-netbsd/lib/libc/regex/ |
D | regexec.c | 112 #define SET0(v, n) ((v) &= ~((unsigned long)1 << (n))) in __weak_alias() argument 113 #define SET1(v, n) ((v) |= (unsigned long)1 << (n)) in __weak_alias() argument 114 #define ISSET(v, n) (((v) & ((unsigned long)1 << (n))) != 0) in __weak_alias() argument 118 #define STATESETUP(m, n) /* nothing */ in __weak_alias() argument 122 #define INIT(o, n) ((o) = (unsigned long)1 << (n)) in __weak_alias() argument 127 #define FWD(dst, src, n) ((dst) |= ((unsigned long)(src)&(here)) << (n)) in __weak_alias() argument 128 #define BACK(dst, src, n) ((dst) |= ((unsigned long)(src)&(here)) >> (n)) in __weak_alias() argument 129 #define ISSETBACK(v, n) (((v) & ((unsigned long)here >> (n))) != 0) in __weak_alias() argument 159 #define SET0(v, n) ((v)[n] = 0) in __weak_alias() argument 160 #define SET1(v, n) ((v)[n] = 1) in __weak_alias() argument [all …]
|
/bionic/libc/upstream-openbsd/lib/libc/gdtoa/ |
D | gmisc.c | 42 int n; local 45 n = k >> kshift; 46 if (n < b->wds) { 48 x += n; 50 n = ULbits - k; 53 *x1++ = (y | (*x << n)) & ALL_ON; 75 int n = 0; local 79 for(n = 0; x < xe && !*x; x++) 80 n += ULbits; 83 n += lo0bits(&L); [all …]
|
D | gethex.c | 48 int big, esign, havedig, irv, j, k, n, n0, nbits, up, zret; local 136 if ((n = hexdig[*s]) == 0 || n > 0x19) { 140 e1 = n - 0x10; 141 while((n = hexdig[*++s]) !=0 && n <= 0x19) { 144 e1 = 10*e1 + n - 0x10; 190 n0 = n = nbits >> kshift; 192 ++n; 193 for(j = n, k = 0; j >>= 1; ++k); 197 b->wds = n; 200 if (n > n0) [all …]
|
/bionic/libc/upstream-openbsd/lib/libc/string/ |
D | stpncpy.c | 38 stpncpy(char *dst, const char *src, size_t n) in stpncpy() argument 40 if (n != 0) { in stpncpy() 44 dst = &dst[n]; in stpncpy() 49 while (--n != 0) in stpncpy() 53 } while (--n != 0); in stpncpy()
|
D | strlcat.c | 34 size_t n = siz; in strlcat() local 38 while (n-- != 0 && *d != '\0') in strlcat() 41 n = siz - dlen; in strlcat() 43 if (n == 0) in strlcat() 46 if (n != 1) { in strlcat() 48 n--; in strlcat()
|
D | strncpy.c | 42 strncpy(char *dst, const char *src, size_t n) in strncpy() argument 44 if (n != 0) { in strncpy() 51 while (--n != 0) in strncpy() 55 } while (--n != 0); in strncpy()
|
D | strlcpy.c | 32 size_t n = siz; in strlcpy() local 35 if (n != 0) { in strlcpy() 36 while (--n != 0) { in strlcpy() 43 if (n == 0) { in strlcpy()
|
/bionic/libc/bionic/ |
D | __set_errno.cpp | 45 extern "C" __LIBC_HIDDEN__ long __set_errno_internal(int n) { in __set_errno_internal() argument 46 errno = n; in __set_errno_internal() 52 extern "C" long __set_errno(int n) { in __set_errno() argument 53 return __set_errno_internal(n); in __set_errno()
|
D | sigblock.c | 34 int n; in sigblock() local 43 n = sigprocmask(SIG_BLOCK, &in.the_sigset, &out.the_sigset); in sigblock() 44 if (n) in sigblock() 45 return n; in sigblock()
|
D | sigsetmask.c | 34 int n; in sigsetmask() local 44 n = sigprocmask(SIG_SETMASK, &in.the_sigset, &out.the_sigset); in sigsetmask() 45 if (n) in sigsetmask() 46 return n; in sigsetmask()
|
/bionic/libc/kernel/uapi/linux/usb/ |
D | video.h | 190 #define UVC_DT_HEADER_SIZE(n) (12+(n)) argument 191 #define UVC_HEADER_DESCRIPTOR(n) uvc_header_descriptor_##n argument 192 …n) struct UVC_HEADER_DESCRIPTOR(n) { __u8 bLength; __u8 bDescriptorType; __u8 bDescriptorSu… argument 237 #define UVC_DT_CAMERA_TERMINAL_SIZE(n) (15+(n)) argument 250 #define UVC_DT_SELECTOR_UNIT_SIZE(n) (6+(n)) argument 251 #define UVC_SELECTOR_UNIT_DESCRIPTOR(n) uvc_selector_unit_descriptor_##n argument 252 …n) struct UVC_SELECTOR_UNIT_DESCRIPTOR(n) { __u8 bLength; __u8 bDescriptorType; __u8 bDescr… argument 267 #define UVC_DT_PROCESSING_UNIT_SIZE(n) (9+(n)) argument 285 #define UVC_DT_EXTENSION_UNIT_SIZE(p, n) (24+(p)+(n)) argument 286 #define UVC_EXTENSION_UNIT_DESCRIPTOR(p, n) uvc_extension_unit_descriptor_##p_##n argument [all …]
|
/bionic/libc/upstream-freebsd/lib/libc/string/ |
D | wcslcat.c | 53 size_t n = siz; in wcslcat() local 57 while (*d != '\0' && n-- != 0) in wcslcat() 60 n = siz - dlen; in wcslcat() 62 if (n == 0) in wcslcat() 65 if (n != 1) { in wcslcat() 67 n--; in wcslcat()
|
/bionic/libc/upstream-openbsd/lib/libc/gen/ |
D | exec.c | 50 int n; in execl() local 53 n = 1; in execl() 55 n++; in execl() 57 argv = alloca((n + 1) * sizeof(*argv)); in execl() 63 n = 1; in execl() 65 while ((argv[n] = va_arg(ap, char *)) != NULL) in execl() 66 n++; in execl() 76 int n; in execle() local 79 n = 1; in execle() 81 n++; in execle() [all …]
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | vsnprintf.c | 40 vsnprintf(char *str, size_t n, const char *fmt, __va_list ap) in vsnprintf() argument 50 if (n > INT_MAX) in vsnprintf() 51 n = INT_MAX; in vsnprintf() 53 if (n == 0) { in vsnprintf() 55 n = 1; in vsnprintf() 60 f._bf._size = f._w = n - 1; in vsnprintf()
|
/bionic/libc/stdio/ |
D | snprintf.c | 42 snprintf(char *str, size_t n, const char *fmt, ...) in snprintf() argument 51 if (n > INT_MAX) in snprintf() 52 n = INT_MAX; in snprintf() 54 if (n == 0) { in snprintf() 56 n = 1; in snprintf() 62 f._bf._size = f._w = n - 1; in snprintf()
|
/bionic/libc/dns/nameser/ |
D | ns_samedomain.c | 171 size_t n = strlen(src); in ns_makecanon() local 173 if (n + sizeof "." > dstsize) { /* Note: sizeof == 2 */ in ns_makecanon() 178 while (n >= 1U && dst[n - 1] == '.') /* Ends in "." */ in ns_makecanon() 179 if (n >= 2U && dst[n - 2] == '\\' && /* Ends in "\." */ in ns_makecanon() 180 (n < 3U || dst[n - 3] != '\\')) /* But not "\\." */ in ns_makecanon() 183 dst[--n] = '\0'; in ns_makecanon() 184 dst[n++] = '.'; in ns_makecanon() 185 dst[n] = '\0'; in ns_makecanon()
|
D | ns_name.c | 109 u_int n; in ns_name_ntop() local 116 while ((n = *cp++) != 0) { in ns_name_ntop() 117 if ((n & NS_CMPRSFLGS) == NS_CMPRSFLGS) { in ns_name_ntop() 137 if ((n & NS_CMPRSFLGS) == NS_TYPE_ELT) { in ns_name_ntop() 140 if (n != DNS_LABELTYPE_BITSTRING) { in ns_name_ntop() 229 int c, n, escaped, e = 0; in ns_name_pton2() local 261 n = (int)(cp - digits) * 100; in ns_name_pton2() 267 n += (int)(cp - digits) * 10; in ns_name_pton2() 273 n += (int)(cp - digits); in ns_name_pton2() 274 if (n > 255) { in ns_name_pton2() [all …]
|