Home
last modified time | relevance | path

Searched refs:n (Results 1 – 25 of 172) sorted by relevance

1234567

/bionic/libc/arch-arm/bionic/
Deabi.c50 void __aeabi_memcpy8(void *dest, const void *src, size_t n) { in __aeabi_memcpy8() argument
51 memcpy(dest, src, n); in __aeabi_memcpy8()
54 void __aeabi_memcpy4(void *dest, const void *src, size_t n) { in __aeabi_memcpy4() argument
55 memcpy(dest, src, n); in __aeabi_memcpy4()
58 void __aeabi_memcpy(void *dest, const void *src, size_t n) { in __aeabi_memcpy() argument
59 memcpy(dest, src, n); in __aeabi_memcpy()
63 void __aeabi_memmove8(void *dest, const void *src, size_t n) { in __aeabi_memmove8() argument
64 memmove(dest, src, n); in __aeabi_memmove8()
67 void __aeabi_memmove4(void *dest, const void *src, size_t n) { in __aeabi_memmove4() argument
68 memmove(dest, src, n); in __aeabi_memmove4()
[all …]
/bionic/libc/kernel/arch-x86/asm/
Ddelay.h21 #define udelay(n) (__builtin_constant_p(n) ? ((n) > 20000 ? __bad_udelay() : __const_udelay((n) *… argument
22 #define ndelay(n) (__builtin_constant_p(n) ? ((n) > 20000 ? __bad_ndelay() : __const_udelay((n) *… argument
Dcmpxchg_32.h31n) ({ __typeof__(*(ptr)) __ret; if (likely(boot_cpu_data.x86 > 3)) __ret = __cmpxchg((ptr),… argument
32n) ({ __typeof__(*(ptr)) __ret; if (likely(boot_cpu_data.x86 > 3)) __ret = __cmpxchg_local(… argument
34 #define cmpxchg64(ptr,o,n) ((__typeof__(*(ptr)))__cmpxchg64((ptr),(unsigned long long)(o), (unsig… argument
35 …efine cmpxchg64_local(ptr,o,n) ((__typeof__(*(ptr)))__cmpxchg64_local((ptr),(unsigned long long)(… argument
/bionic/libm/src/
Ds_scalbln.c34 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 …]
De_fmod.c32 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 …]
De_jnf.c31 __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 …]
Ds_remquo.c32 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 …]
Ds_scalbn.c37 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()
De_jn.c55 __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/
Ddma.h69 #define OMAP_DMA_CCR_REG(n) __REG32(OMAP24XX_DMA_BASE + 0x60 * (n) + 0x80) argument
70 #define OMAP_DMA_CLNK_CTRL_REG(n) __REG32(OMAP24XX_DMA_BASE + 0x60 * (n) + 0x84) argument
71 #define OMAP_DMA_CICR_REG(n) __REG32(OMAP24XX_DMA_BASE + 0x60 * (n) + 0x88) argument
72 #define OMAP_DMA_CSR_REG(n) __REG32(OMAP24XX_DMA_BASE + 0x60 * (n) + 0x8c) argument
74 #define OMAP_DMA_CSDP_REG(n) __REG32(OMAP24XX_DMA_BASE + 0x60 * (n) + 0x90) argument
75 #define OMAP_DMA_CEN_REG(n) __REG32(OMAP24XX_DMA_BASE + 0x60 * (n) + 0x94) argument
76 #define OMAP_DMA_CFN_REG(n) __REG32(OMAP24XX_DMA_BASE + 0x60 * (n) + 0x98) argument
77 #define OMAP_DMA_CSEI_REG(n) __REG32(OMAP24XX_DMA_BASE + 0x60 * (n) + 0xa4) argument
79 #define OMAP_DMA_CSFI_REG(n) __REG32(OMAP24XX_DMA_BASE + 0x60 * (n) + 0xa8) argument
80 #define OMAP_DMA_CDEI_REG(n) __REG32(OMAP24XX_DMA_BASE + 0x60 * (n) + 0xac) argument
[all …]
/bionic/libc/bionic/
D__set_errno.c32 int __set_errno(int n) in __set_errno() argument
34 errno = n; in __set_errno()
44 int __set_syscall_errno(int n) in __set_syscall_errno() argument
51 if(n > -256) { in __set_syscall_errno()
52 return __set_errno(-n); in __set_syscall_errno()
54 return n; in __set_syscall_errno()
Dmemmove_words.c36 void _memmove_words(void* dest, const void* src, size_t n) in _memmove_words() argument
38 assert((((uintptr_t) dest | (uintptr_t) src | n) & 0x01) == 0); in _memmove_words()
49 if (n == 0 || d == s) in _memmove_words()
60 if (__builtin_expect((d < s) || ((size_t)(d - s) >= n), 1)) { in _memmove_words()
78 copyCount = n; in _memmove_words()
82 n -= copyCount; in _memmove_words()
95 copyCount = n / sizeof(uint32_t); in _memmove_words()
106 if ((n & 0x02) != 0) { in _memmove_words()
113 d += n; in _memmove_words()
114 s += n; in _memmove_words()
[all …]
/bionic/libc/string/
Dstrndup.c31 char* strndup(const char* s, size_t n) in strndup() argument
36 if (slen < n) in strndup()
37 n = slen; in strndup()
38 copy = malloc(n+1); in strndup()
40 memcpy(copy, s, n); in strndup()
41 copy[n] = 0; in strndup()
Dstrlcat.c34 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()
Dmemmove.c32 void *memmove(void *dst, const void *src, size_t n) in memmove() argument
39 if (__builtin_expect(((q < p) && ((size_t)(p - q) >= n)) in memmove()
40 || ((p < q) && ((size_t)(q - p) >= n)), 1)) { in memmove()
41 return memcpy(dst, src, n); in memmove()
43 bcopy(src, dst, n); in memmove()
Dstrncpy.c46 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()
/bionic/libc/kernel/arch-arm/asm/
Ddelay.h24 …elay(n) (__builtin_constant_p(n) ? ((n) > (MAX_UDELAY_MS * 1000) ? __bad_udelay() : __const_… argument
/bionic/libc/upstream-netbsd/libc/regex/
Dregexec.c112 #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/kernel/common/linux/
Ddelay.h27 #define mdelay(n) ( (__builtin_constant_p(n) && (n)<=MAX_UDELAY_MS) ? udelay((n)*1000) : ({unsig… argument
Dioport.h95 #define request_region(start,n,name) __request_region(&ioport_resource, (start), (n), (name)) argument
96 #define request_mem_region(start,n,name) __request_region(&iomem_resource, (start), (n), (name)) argument
99 #define release_region(start,n) __release_region(&ioport_resource, (start), (n)) argument
100 #define check_mem_region(start,n) __check_region(&iomem_resource, (start), (n)) argument
101 #define release_mem_region(start,n) __release_region(&iomem_resource, (start), (n)) argument
/bionic/libc/arch-mips/bionic/
Dmemmove.c31 void *memmove(void *dst, const void *src, size_t n) in memmove() argument
38 if (__builtin_expect((q + n < p) || (q >= p + n), 1)) { in memmove()
39 return memcpy(dst, src, n); in memmove()
41 bcopy(src, dst, n); in memmove()
/bionic/libc/wchar/
Dwcslcat.c53 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()
Dwcslcpy.c51 size_t n = siz; in wcslcpy() local
54 if (n != 0 && --n != 0) { in wcslcpy()
58 } while (--n != 0); in wcslcpy()
62 if (n == 0) { in wcslcpy()
/bionic/libc/unistd/
Dexec.c52 int n; in execl() local
55 n = 1; in execl()
57 n++; in execl()
59 argv = alloca((n + 1) * sizeof(*argv)); in execl()
65 n = 1; in execl()
67 while ((argv[n] = va_arg(ap, char *)) != NULL) in execl()
68 n++; in execl()
78 int n; in execle() local
81 n = 1; in execle()
83 n++; in execle()
[all …]
/bionic/libc/stdio/
Dvsnprintf.c40 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()

1234567