/bionic/libc/kernel/arch-x86/asm/ |
D | delay.h | 15 #define udelay(n) (__builtin_constant_p(n) ? ((n) > 20000 ? __bad_udelay() : __const_udelay((n) *… argument 17 #define ndelay(n) (__builtin_constant_p(n) ? ((n) > 20000 ? __bad_ndelay() : __const_udelay((n) *… argument
|
D | cmpxchg_32.h | 27 …n) ({ __typeof__(*(ptr)) __ret; if (likely(boot_cpu_data.x86 > 3)) __ret = __cmpxchg((ptr),… argument 28 …n) ({ __typeof__(*(ptr)) __ret; if (likely(boot_cpu_data.x86 > 3)) __ret = __cmpxchg_local(… argument 29 #define cmpxchg64(ptr,o,n) ((__typeof__(*(ptr)))__cmpxchg64((ptr),(unsigned long long)(o), (unsig… argument 30 …efine cmpxchg64_local(ptr,o,n) ((__typeof__(*(ptr)))__cmpxchg64_local((ptr),(unsigned long long)(… argument
|
/bionic/libc/bionic/ |
D | eabi.c | 52 void __aeabi_memcpy8(void *dest, const void *src, size_t n) { in __aeabi_memcpy8() argument 53 memcpy(dest, src, n); in __aeabi_memcpy8() 56 void __aeabi_memcpy4(void *dest, const void *src, size_t n) { in __aeabi_memcpy4() argument 57 memcpy(dest, src, n); in __aeabi_memcpy4() 60 void __aeabi_memcpy(void *dest, const void *src, size_t n) { in __aeabi_memcpy() argument 61 memcpy(dest, src, n); in __aeabi_memcpy() 65 void __aeabi_memmove8(void *dest, const void *src, size_t n) { in __aeabi_memmove8() argument 66 memmove(dest, src, n); in __aeabi_memmove8() 69 void __aeabi_memmove4(void *dest, const void *src, size_t n) { in __aeabi_memmove4() argument 70 memmove(dest, src, n); in __aeabi_memmove4() [all …]
|
D | __set_errno.c | 32 int __set_errno(int n) in __set_errno() argument 34 errno = n; in __set_errno() 43 int __set_syscall_errno(int n) in __set_syscall_errno() argument 50 if(n > -256) { in __set_syscall_errno() 51 return __set_errno(-n); in __set_syscall_errno() 53 return n; in __set_syscall_errno()
|
/bionic/libm/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 | 32 int32_t n,hx,hy,hz,ix,iy,sx,i; in __ieee754_fmod() local 73 n = -1022-ix; in __ieee754_fmod() 74 if(n<=31) { in __ieee754_fmod() 75 hx = (hx<<n)|(lx>>(32-n)); in __ieee754_fmod() 76 lx <<= n; in __ieee754_fmod() 78 hx = lx<<(n-32); in __ieee754_fmod() 85 n = -1022-iy; in __ieee754_fmod() 86 if(n<=31) { in __ieee754_fmod() 87 hy = (hy<<n)|(ly>>(32-n)); in __ieee754_fmod() 88 ly <<= n; in __ieee754_fmod() [all …]
|
D | e_jnf.c | 31 __ieee754_jnf(int n, float x) in __ieee754_jnf() argument 44 if(n<0){ in __ieee754_jnf() 45 n = -n; in __ieee754_jnf() 49 if(n==0) return(__ieee754_j0f(x)); in __ieee754_jnf() 50 if(n==1) return(__ieee754_j1f(x)); in __ieee754_jnf() 51 sgn = (n&1)&(hx>>31); /* even n -- 0, odd n -- sign(x) */ in __ieee754_jnf() 55 else if((float)n<=x) { in __ieee754_jnf() 59 for(i=1;i<n;i++){ in __ieee754_jnf() 69 if(n>33) /* underflow */ in __ieee754_jnf() 73 for (a=one,i=2;i<=n;i++) { in __ieee754_jnf() [all …]
|
D | s_remquo.c | 32 int32_t n,hx,hy,hz,ix,iy,sx,i; in remquo() local 79 n = -1022-ix; in remquo() 80 if(n<=31) { in remquo() 81 hx = (hx<<n)|(lx>>(32-n)); in remquo() 82 lx <<= n; in remquo() 84 hx = lx<<(n-32); in remquo() 91 n = -1022-iy; in remquo() 92 if(n<=31) { in remquo() 93 hy = (hy<<n)|(ly>>(32-n)); in remquo() 94 ly <<= n; in remquo() [all …]
|
D | s_scalbn.c | 37 scalbn (double x, int n) in scalbn() argument 47 if (n< -50000) return tiny*x; /*underflow*/ in scalbn() 50 k = k+n; in scalbn() 55 if (n > 50000) /* in case integer overflow in n+k */ in scalbn() 65 ldexp (double x, int n) in ldexp() argument 67 return scalbn(x,n); in ldexp() 71 long double ldexpl (long double x, int n) { in ldexpl() argument 72 return scalbn((double)x,n); in ldexpl() 74 long double scalbnl (long double x, int n) { in scalbnl() argument 75 return scalbn((double)x,n); in scalbnl()
|
D | e_jn.c | 55 __ieee754_jn(int n, double x) in __ieee754_jn() argument 68 if(n<0){ in __ieee754_jn() 69 n = -n; in __ieee754_jn() 73 if(n==0) return(__ieee754_j0(x)); in __ieee754_jn() 74 if(n==1) return(__ieee754_j1(x)); in __ieee754_jn() 75 sgn = (n&1)&(hx>>31); /* even n -- 0, odd n -- sign(x) */ in __ieee754_jn() 79 else if((double)n<=x) { in __ieee754_jn() 95 switch(n&3) { in __ieee754_jn() 105 for(i=1;i<n;i++){ in __ieee754_jn() 116 if(n>33) /* underflow */ in __ieee754_jn() [all …]
|
/bionic/libc/kernel/arch-arm/asm/arch/ |
D | dma.h | 56 #define OMAP_DMA_CCR_REG(n) __REG32(OMAP24XX_DMA_BASE + 0x60 * (n) + 0x80) argument 57 #define OMAP_DMA_CLNK_CTRL_REG(n) __REG32(OMAP24XX_DMA_BASE + 0x60 * (n) + 0x84) argument 58 #define OMAP_DMA_CICR_REG(n) __REG32(OMAP24XX_DMA_BASE + 0x60 * (n) + 0x88) argument 59 #define OMAP_DMA_CSR_REG(n) __REG32(OMAP24XX_DMA_BASE + 0x60 * (n) + 0x8c) argument 60 #define OMAP_DMA_CSDP_REG(n) __REG32(OMAP24XX_DMA_BASE + 0x60 * (n) + 0x90) argument 61 #define OMAP_DMA_CEN_REG(n) __REG32(OMAP24XX_DMA_BASE + 0x60 * (n) + 0x94) argument 62 #define OMAP_DMA_CFN_REG(n) __REG32(OMAP24XX_DMA_BASE + 0x60 * (n) + 0x98) argument 63 #define OMAP_DMA_CSEI_REG(n) __REG32(OMAP24XX_DMA_BASE + 0x60 * (n) + 0xa4) argument 64 #define OMAP_DMA_CSFI_REG(n) __REG32(OMAP24XX_DMA_BASE + 0x60 * (n) + 0xa8) argument 65 #define OMAP_DMA_CDEI_REG(n) __REG32(OMAP24XX_DMA_BASE + 0x60 * (n) + 0xac) argument [all …]
|
/bionic/libc/kernel/arch-arm/asm/ |
D | delay.h | 19 …elay(n) (__builtin_constant_p(n) ? ((n) > (MAX_UDELAY_MS * 1000) ? __bad_udelay() : __const_… argument
|
/bionic/libc/kernel/common/linux/ |
D | delay.h | 22 #define mdelay(n) ( (__builtin_constant_p(n) && (n)<=MAX_UDELAY_MS) ? udelay((n)*1000) : ({unsig… argument
|
D | ioport.h | 87 #define request_region(start,n,name) __request_region(&ioport_resource, (start), (n), (name)) argument 88 #define request_mem_region(start,n,name) __request_region(&iomem_resource, (start), (n), (name)) argument 91 #define release_region(start,n) __release_region(&ioport_resource, (start), (n)) argument 92 #define check_mem_region(start,n) __check_region(&iomem_resource, (start), (n)) argument 93 #define release_mem_region(start,n) __release_region(&iomem_resource, (start), (n)) argument
|
D | circ_buf.h | 25 …head,tail,size) ({int end = (size) - (tail); int n = ((head) + end) & ((size)-1); n < end ? … 27 …,tail,size) ({int end = (size) - 1 - (head); int n = (end + (tail)) & ((size)-1); n <= end ?…
|
/bionic/libc/string/ |
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 | 46 strncpy(char *dst, const char *src, size_t n) in strncpy() argument 48 if (n != 0) { in strncpy() 55 while (--n != 0) in strncpy() 59 } while (--n != 0); in strncpy()
|
D | strxfrm.c | 39 strxfrm(char *s1, const char *s2, size_t n) in strxfrm() argument 43 if (len < n) in strxfrm() 44 n = len; in strxfrm() 45 memcpy(s1, s2, n); in strxfrm()
|
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()
|
D | memmove.c | 30 void *memmove(void *dst, const void *src, size_t n) in memmove() argument 35 return memcpy(dst, src, n); in memmove() 41 p += n; in memmove() 42 q += n; in memmove() 55 c0 = n & 0x1F; /* cache-line is 32 bytes */ in memmove() 56 c1 = n >> 5; in memmove()
|
/bionic/libc/unistd/ |
D | sigsetmask.c | 34 int n; in sigsetmask() local 41 n = sigprocmask(SIG_SETMASK, &in.the_sigset, &out.the_sigset); in sigsetmask() 42 if (n) in sigsetmask() 43 return n; in sigsetmask()
|
D | sigblock.c | 34 int n; in sigblock() local 42 n = sigprocmask(SIG_BLOCK, &in.the_sigset, &out.the_sigset); in sigblock() 43 if (n) in sigblock() 44 return n; in sigblock()
|
D | exec.c | 51 int n; in execl() local 54 n = 1; in execl() 56 n++; in execl() 58 argv = alloca((n + 1) * sizeof(*argv)); in execl() 64 n = 1; in execl() 66 while ((argv[n] = va_arg(ap, char *)) != NULL) in execl() 67 n++; in execl() 77 int n; in execle() local 80 n = 1; in execle() 82 n++; in execle() [all …]
|
/bionic/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()
|
D | snprintf.c | 41 snprintf(char *str, size_t n, const char *fmt, ...) in snprintf() argument 50 if (n > INT_MAX) in snprintf() 51 n = INT_MAX; in snprintf() 53 if (n == 0) { in snprintf() 55 n = 1; in snprintf() 61 f._bf._size = f._w = n - 1; in snprintf()
|