/bionic/libc/kernel/uapi/linux/ |
D | stat.h | 36 #define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) argument 37 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) argument 39 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) argument 40 #define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) argument 41 #define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) argument 42 #define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) argument 44 #define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK) argument
|
D | mroute.h | 50 #define VIFM_SET(n,m) ((m) |= (1 << (n))) argument 51 #define VIFM_CLR(n,m) ((m) &= ~(1 << (n))) argument 52 #define VIFM_ISSET(n,m) ((m) & (1 << (n))) argument 54 #define VIFM_CLRALL(m) ((m) = 0) argument
|
/bionic/libc/upstream-netbsd/lib/libc/regex/ |
D | engine.c | 130 static const char *dissect(struct match *m, const char *start, const char *stop, sopno startst, sop… 131 static const char *backref(struct match *m, const char *start, const char *stop, sopno startst, sop… 132 static const char *fast(struct match *m, const char *start, const char *stop, sopno startst, sopno … 133 static const char *slow(struct match *m, const char *start, const char *stop, sopno startst, sopno … 145 static void print(struct match *m, char *caption, states st, int ch, FILE *d); 148 static void at(struct match *m, char *title, char *start, char *stop, sopno startst, sopno stopst); 160 #define SP(t, s, c) print(m, t, s, c, stdout) 161 #define AT(t, p1, p2, s1, s2) at(m, t, p1, p2, s1, s2) 162 #define NOTE(str) { if (m->eflags®_TRACE) printf("=%s\n", (str)); } 186 struct match *m = &mv; in matcher() local [all …]
|
D | regexec.c | 118 #define STATESETUP(m, n) /* nothing */ in __weak_alias() argument 119 #define STATETEARDOWN(m) /* nothing */ in __weak_alias() argument 158 #define CLEAR(v) memset(v, 0, (size_t)m->g->nstates) in __weak_alias() 162 #define ASSIGN(d, s) memcpy(d, s, (size_t)m->g->nstates) in __weak_alias() 163 #define EQ(a, b) (memcmp(a, b, (size_t)m->g->nstates) == 0) in __weak_alias() 165 #define STATESETUP(m, nv) \ argument 166 if (((m)->space = malloc((size_t)((nv)*(m)->g->nstates))) == NULL) \ 169 (m)->vn = 0 171 #define STATETEARDOWN(m) { free((m)->space); m->space = NULL; } argument 172 #define SETUP(v) ((v) = &m->space[(size_t)(m->vn++ * m->g->nstates)])
|
/bionic/libm/upstream-freebsd/lib/msun/src/ |
D | s_ilogbl.c | 26 unsigned long m; in ilogbl() local 35 m = 1lu << (LDBL_MANL_SIZE - 1); in ilogbl() 36 for (b = LDBL_MANH_SIZE; !(u.bits.manl & m); m >>= 1) in ilogbl() 39 m = 1lu << (LDBL_MANH_SIZE - 1); in ilogbl() 40 for (b = 0; !(u.bits.manh & m); m >>= 1) in ilogbl()
|
D | s_logbl.c | 27 unsigned long m; in logbl() local 38 m = 1lu << (LDBL_MANL_SIZE - 1); in logbl() 39 for (b = LDBL_MANH_SIZE; !(u.bits.manl & m); m >>= 1) in logbl() 42 m = 1lu << (LDBL_MANH_SIZE - 1); in logbl() 43 for (b = 0; !(u.bits.manh & m); m >>= 1) in logbl()
|
D | e_sqrtf.c | 30 int32_t ix,s,q,m,t,i; in __ieee754_sqrtf() local 47 m = (ix>>23); in __ieee754_sqrtf() 48 if(m==0) { /* subnormal x */ in __ieee754_sqrtf() 50 m -= i-1; in __ieee754_sqrtf() 52 m -= 127; /* unbias exponent */ in __ieee754_sqrtf() 54 if(m&1) /* odd m, double x to make it even */ in __ieee754_sqrtf() 56 m >>= 1; /* m = [m/2] */ in __ieee754_sqrtf() 86 ix += (m <<23); in __ieee754_sqrtf()
|
D | s_truncl.c | 52 uint64_t m = ((1llu << MANH_SIZE) - 1) >> (e + 1); in truncl() local 53 if (((u.bits.manh & m) | u.bits.manl) == 0) in truncl() 56 u.bits.manh &= ~m; in truncl() 61 uint64_t m = (uint64_t)-1 >> (64 - LDBL_MANT_DIG + e + 1); in truncl() local 62 if ((u.bits.manl & m) == 0) in truncl() 65 u.bits.manl &= ~m; in truncl()
|
D | e_atan2f.c | 36 int32_t k,m,hx,hy,ix,iy; in __ieee754_atan2f() local 46 m = ((hy>>31)&1)|((hx>>30)&2); /* 2*sign(x)+sign(y) */ in __ieee754_atan2f() 50 switch(m) { in __ieee754_atan2f() 63 switch(m) { in __ieee754_atan2f() 70 switch(m) { in __ieee754_atan2f() 85 m&=1; in __ieee754_atan2f() 89 switch (m) { in __ieee754_atan2f()
|
D | e_atan2.c | 64 int32_t k,m,hx,hy,ix,iy; in __ieee754_atan2() local 75 m = ((hy>>31)&1)|((hx>>30)&2); /* 2*sign(x)+sign(y) */ in __ieee754_atan2() 79 switch(m) { in __ieee754_atan2() 92 switch(m) { in __ieee754_atan2() 99 switch(m) { in __ieee754_atan2() 114 m&=1; in __ieee754_atan2() 118 switch (m) { in __ieee754_atan2()
|
D | e_sqrt.c | 99 int32_t ix0,s0,q,m,t,i; in __ieee754_sqrt() local 116 m = (ix0>>20); in __ieee754_sqrt() 117 if(m==0) { /* subnormal x */ in __ieee754_sqrt() 119 m -= 21; in __ieee754_sqrt() 123 m -= i-1; in __ieee754_sqrt() 127 m -= 1023; /* unbias exponent */ in __ieee754_sqrt() 129 if(m&1){ /* odd m, double x to make it even */ in __ieee754_sqrt() 133 m >>= 1; /* m = [m/2] */ in __ieee754_sqrt() 186 ix0 += (m <<20); in __ieee754_sqrt()
|
D | e_atan2l.c | 51 int32_t k,m; in atan2l() local 68 m = ((expsigny>>15)&1)|((expsignx>>14)&2); /* 2*sign(x)+sign(y) */ in atan2l() 72 switch(m) { in atan2l() 86 switch(m) { in atan2l() 93 switch(m) { in atan2l() 109 m&=1; in atan2l() 113 switch (m) { in atan2l()
|
D | s_floorl.c | 67 uint64_t m = ((1llu << MANH_SIZE) - 1) >> (e + 1); in floorl() local 68 if (((u.bits.manh & m) | u.bits.manl) == 0) in floorl() 79 u.bits.manh &= ~m; in floorl() 84 uint64_t m = (uint64_t)-1 >> (64 - LDBL_MANT_DIG + e + 1); in floorl() local 85 if ((u.bits.manl & m) == 0) in floorl() 98 u.bits.manl &= ~m; in floorl()
|
D | s_ceill.c | 67 uint64_t m = ((1llu << MANH_SIZE) - 1) >> (e + 1); in ceill() local 68 if (((u.bits.manh & m) | u.bits.manl) == 0) in ceill() 79 u.bits.manh &= ~m; in ceill() 84 uint64_t m = (uint64_t)-1 >> (64 - LDBL_MANT_DIG + e + 1); in ceill() local 85 if ((u.bits.manl & m) == 0) in ceill() 98 u.bits.manl &= ~m; in ceill()
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | flags.c | 48 int ret, m, o; in __sflags() local 54 m = O_RDONLY; in __sflags() 60 m = O_WRONLY; in __sflags() 66 m = O_WRONLY; in __sflags() 81 m = O_RDWR; in __sflags() 103 *optr = m | o; in __sflags()
|
/bionic/libm/upstream-freebsd/lib/msun/bsdsrc/ |
D | b_log.c | 366 int m, j; 382 m = logb(x); 383 g = ldexp(x, -m); 384 if (m == -1022) { 385 j = logb(g), m += j; 402 if (m | j) 417 u1 += m*logF_head[N] + logF_head[j]; /* exact */ 419 u2 += logF_tail[N]*m; 435 int m, j; local 443 m = logb(x); [all …]
|
/bionic/libc/bionic/ |
D | memmem.c | 35 void *memmem(const void *haystack, size_t n, const void *needle, size_t m) in memmem() argument 37 if (m > n || !m || !n) in memmem() 40 if (__builtin_expect((m > 1), 1)) { in memmem() 50 while (j <= n-m) { in memmem() 54 if (!memcmp(x+2, y+j+2, m-2) && x[0] == y[j]) in memmem()
|
D | getentropy_linux.c | 367 size_t i, ii, m; in getentropy_fallback() local 441 for (m = 0; m < sizeof mm/sizeof(mm[0]); m++) { in getentropy_fallback() 442 HX(mm[m].p = mmap(NULL, in getentropy_fallback() 443 mm[m].npg * pgs, in getentropy_fallback() 446 (off_t)0), mm[m].p); in getentropy_fallback() 447 if (mm[m].p != MAP_FAILED) { in getentropy_fallback() 451 p = mm[m].p; in getentropy_fallback() 453 (mm[m].npg * pgs - 1); in getentropy_fallback() 455 cnt += (int)((long)(mm[m].p) in getentropy_fallback() 476 for (m = 0; m < sizeof mm/sizeof(mm[0]); m++) { in getentropy_fallback() [all …]
|
/bionic/libc/upstream-dlmalloc/ |
D | malloc.c | 2698 static msegmentptr segment_holding(mstate m, char* addr) { in segment_holding() argument 2699 msegmentptr sp = &m->seg; in segment_holding() 2709 static int has_segment_link(mstate m, msegmentptr ss) { in has_segment_link() argument 2710 msegmentptr sp = &m->seg; in has_segment_link() 2771 static void reset_on_error(mstate m); 2773 #define CORRUPTION_ERROR_ACTION(m) reset_on_error(m) argument 2774 #define USAGE_ERROR_ACTION(m, p) argument 2779 #define CORRUPTION_ERROR_ACTION(m) ABORT argument 2783 #define USAGE_ERROR_ACTION(m,p) ABORT argument 2808 static void do_check_any_chunk(mstate m, mchunkptr p); [all …]
|
/bionic/libc/tools/ |
D | genserv.py | 53 m = re_service.match(line) 54 if m: 55 service = Service( m.group(1), int(m.group(2)), m.group(3) ) 56 rest = string.strip(m.group(4)) 59 m = re_alias.match(rest) 60 if not m: 62 service.add_alias(m.group(1)) 63 rest = string.strip(m.group(2))
|
D | check-symbols.py | 42 m = r.match(line) 43 if m: 44 symbol = string.split(m.group(2), '@')[0] 45 if m.group(1) == 'FUNC' and functions_or_variables == 'functions': 47 elif m.group(1) == 'OBJECT' and functions_or_variables == 'variables':
|
/bionic/libc/upstream-freebsd/lib/libc/stdlib/ |
D | realpath.c | 57 int m, slen; in realpath() local 72 m = 1; in realpath() 74 m = 0; in realpath() 85 if (m) in realpath() 97 if (m) in realpath() 114 if (m) in realpath() 126 if (m) in realpath() 159 if (m) in realpath() 165 if (m) in realpath() 171 if (m) in realpath() [all …]
|
/bionic/libc/upstream-openbsd/lib/libc/crypt/ |
D | arc4random.c | 128 size_t i, m; in _rs_rekey() local 130 m = min(datlen, KEYSZ + IVSZ); in _rs_rekey() 131 for (i = 0; i < m; i++) in _rs_rekey() 145 size_t m; in _rs_random_buf() local 150 m = min(n, rs->rs_have); in _rs_random_buf() 153 memcpy(buf, keystream, m); in _rs_random_buf() 154 memset(keystream, 0, m); in _rs_random_buf() 155 buf += m; in _rs_random_buf() 156 n -= m; in _rs_random_buf() 157 rs->rs_have -= m; in _rs_random_buf()
|
D | chacha_private.h | 89 chacha_encrypt_bytes(chacha_ctx *x,const u8 *m,u8 *c,u32 bytes) in chacha_encrypt_bytes() argument 118 for (i = 0;i < bytes;++i) tmp[i] = m[i]; in chacha_encrypt_bytes() 119 m = tmp; in chacha_encrypt_bytes() 167 x0 = XOR(x0,U8TO32_LITTLE(m + 0)); in chacha_encrypt_bytes() 168 x1 = XOR(x1,U8TO32_LITTLE(m + 4)); in chacha_encrypt_bytes() 169 x2 = XOR(x2,U8TO32_LITTLE(m + 8)); in chacha_encrypt_bytes() 170 x3 = XOR(x3,U8TO32_LITTLE(m + 12)); in chacha_encrypt_bytes() 171 x4 = XOR(x4,U8TO32_LITTLE(m + 16)); in chacha_encrypt_bytes() 172 x5 = XOR(x5,U8TO32_LITTLE(m + 20)); in chacha_encrypt_bytes() 173 x6 = XOR(x6,U8TO32_LITTLE(m + 24)); in chacha_encrypt_bytes() [all …]
|
/bionic/libc/include/netinet/ |
D | ip6.h | 281 #define IP6_EXTHDR_GET(val, typ, m, off, len) \ argument 285 if ((m)->m_len >= (off) + (len)) \ 286 (val) = (typ)(mtod((m), char *) + (off)); \ 288 _t = m_pulldown((m), (off), (len), &_tmp); \ 295 (m) = NULL; \ 300 #define IP6_EXTHDR_GET0(val, typ, m, off, len) \ argument 303 if ((off) == 0 && (m)->m_len >= len) \ 304 (val) = (typ)mtod((m), void *); \ 306 _t = m_pulldown((m), (off), (len), NULL); \ 313 (m) = NULL; \
|