/bionic/libc/string/ |
D | memrchr.c | 35 const char* q = p + n; in memrchr() local 38 q--; if (q < p || q[0] == c) break; in memrchr() 39 q--; if (q < p || q[0] == c) break; in memrchr() 40 q--; if (q < p || q[0] == c) break; in memrchr() 41 q--; if (q < p || q[0] == c) break; in memrchr() 43 if (q >= p) in memrchr() 44 return (void*)q; in memrchr()
|
D | memset.c | 33 char* q = dst; in memset() local 34 char* end = q + n; in memset() 37 if (q >= end) break; *q++ = (char) c; in memset() 38 if (q >= end) break; *q++ = (char) c; in memset() 39 if (q >= end) break; *q++ = (char) c; in memset() 40 if (q >= end) break; *q++ = (char) c; in memset()
|
D | memmove.c | 33 char *q = dst; in memmove() local 37 if (__builtin_expect((q < p) || ((size_t)(q - p) >= n), 1)) { in memmove() 45 q += n; in memmove() 50 __builtin_prefetch(q-1); in memmove() 53 __builtin_prefetch(q-(32+1)); in memmove() 63 __builtin_prefetch(q - (PRELOAD_DISTANCE+1)); in memmove() 66 *--q = *--p; in memmove() 70 *--q = *--p; in memmove()
|
D | memswap.c | 34 char* q = m2; in memswap() local 38 *p = *q; in memswap() 39 *q = tmp; in memswap() 41 q++; in memswap()
|
D | memccpy.c | 33 char* q = dst; in memccpy() local 40 *q++ = ch = *p++; in memccpy() 46 return q; in memccpy()
|
/bionic/libc/wchar/ |
D | wcsspn.c | 43 const wchar_t *q; in wcsspn() local 47 q = set; in wcsspn() 48 while (*q) { in wcsspn() 49 if (*p == *q) in wcsspn() 51 q++; in wcsspn() 53 if (!*q) in wcsspn()
|
D | wcspbrk.c | 43 const wchar_t *q; in wcspbrk() local 47 q = set; in wcspbrk() 48 while (*q) { in wcspbrk() 49 if (*p == *q) { in wcspbrk() 53 q++; in wcspbrk()
|
D | wcscspn.c | 43 const wchar_t *q; in wcscspn() local 47 q = set; in wcscspn() 48 while (*q) { in wcscspn() 49 if (*p == *q) in wcscspn() 51 q++; in wcscspn()
|
D | wcsncat.c | 43 wchar_t *q; in wcsncat() local 49 q = p; in wcsncat() 52 *q++ = *r++; in wcsncat() 55 *q = '\0'; in wcsncat()
|
/bionic/libm/src/ |
D | s_remquof.c | 33 u_int32_t q,sxy; in remquof() local 46 q = 0; in remquof() 79 q = 0; in remquof() 83 else {hx = hz << 1; q++;} in remquof() 84 q <<= 1; in remquof() 87 if(hz>=0) {hx=hz;q++;} in remquof() 91 *quo = (sxy ? -q : q); in remquof() 108 if (x+x>y || (x+x==y && (q & 1))) { in remquof() 109 q++; in remquof() 112 } else if (x>0.5f*y || (x==0.5f*y && (q & 1))) { in remquof() [all …]
|
D | e_sqrtf.c | 30 int32_t ix,s,q,m,t,i; in __ieee754_sqrtf() local 60 q = s = 0; /* q = sqrt(x) */ in __ieee754_sqrtf() 68 q += r; in __ieee754_sqrtf() 80 q += 2; in __ieee754_sqrtf() 82 q += (q&1); in __ieee754_sqrtf() 85 ix = (q>>1)+0x3f000000; in __ieee754_sqrtf()
|
D | s_remquo.c | 33 u_int32_t lx,ly,lz,q,sxy; in remquo() local 48 q = 0; in remquo() 103 q = 0; in remquo() 107 else {hx = hz+hz+(lz>>31); lx = lz+lz; q++;} in remquo() 108 q <<= 1; in remquo() 111 if(hz>=0) {hx=hz;lx=lz;q++;} in remquo() 115 *quo = (sxy ? -q : q); in remquo() 139 if (x+x>y || (x+x==y && (q & 1))) { in remquo() 140 q++; in remquo() 143 } else if (x>0.5*y || (x==0.5*y && (q & 1))) { in remquo() [all …]
|
D | e_j1.c | 268 const double *p,*q; in pone() local 273 if(ix>=0x40200000) {p = pr8; q= ps8;} in pone() 274 else if(ix>=0x40122E8B){p = pr5; q= ps5;} in pone() 275 else if(ix>=0x4006DB6D){p = pr3; q= ps3;} in pone() 276 else if(ix>=0x40000000){p = pr2; q= ps2;} in pone() 279 s = one+z*(q[0]+z*(q[1]+z*(q[2]+z*(q[3]+z*q[4])))); in pone() 364 const double *p,*q; in qone() local 369 if(ix>=0x40200000) {p = qr8; q= qs8;} in qone() 370 else if(ix>=0x40122E8B){p = qr5; q= qs5;} in qone() 371 else if(ix>=0x4006DB6D){p = qr3; q= qs3;} in qone() [all …]
|
D | e_j1f.c | 226 const float *p,*q; in ponef() local 231 if(ix>=0x41000000) {p = pr8; q= ps8;} in ponef() 232 else if(ix>=0x40f71c58){p = pr5; q= ps5;} in ponef() 233 else if(ix>=0x4036db68){p = pr3; q= ps3;} in ponef() 234 else if(ix>=0x40000000){p = pr2; q= ps2;} in ponef() 237 s = one+z*(q[0]+z*(q[1]+z*(q[2]+z*(q[3]+z*q[4])))); in ponef() 322 const float *p,*q; in qonef() local 327 if(ix>=0x40200000) {p = qr8; q= qs8;} in qonef() 328 else if(ix>=0x40f71c58){p = qr5; q= qs5;} in qonef() 329 else if(ix>=0x4036db68){p = qr3; q= qs3;} in qonef() [all …]
|
D | e_j0f.c | 231 const float *p,*q; in pzerof() local 236 if(ix>=0x41000000) {p = pR8; q= pS8;} in pzerof() 237 else if(ix>=0x40f71c58){p = pR5; q= pS5;} in pzerof() 238 else if(ix>=0x4036db68){p = pR3; q= pS3;} in pzerof() 239 else if(ix>=0x40000000){p = pR2; q= pS2;} in pzerof() 242 s = one+z*(q[0]+z*(q[1]+z*(q[2]+z*(q[3]+z*q[4])))); in pzerof() 326 const float *p,*q; in qzerof() local 331 if(ix>=0x41000000) {p = qR8; q= qS8;} in qzerof() 332 else if(ix>=0x40f71c58){p = qR5; q= qS5;} in qzerof() 333 else if(ix>=0x4036db68){p = qR3; q= qS3;} in qzerof() [all …]
|
D | e_j0.c | 274 const double *p,*q; in pzero() local 279 if(ix>=0x40200000) {p = pR8; q= pS8;} in pzero() 280 else if(ix>=0x40122E8B){p = pR5; q= pS5;} in pzero() 281 else if(ix>=0x4006DB6D){p = pR3; q= pS3;} in pzero() 282 else if(ix>=0x40000000){p = pR2; q= pS2;} in pzero() 285 s = one+z*(q[0]+z*(q[1]+z*(q[2]+z*(q[3]+z*q[4])))); in pzero() 369 const double *p,*q; in qzero() local 374 if(ix>=0x40200000) {p = qR8; q= qS8;} in qzero() 375 else if(ix>=0x40122E8B){p = qR5; q= qS5;} in qzero() 376 else if(ix>=0x4006DB6D){p = qR3; q= qS3;} in qzero() [all …]
|
D | e_asin.c | 73 double t=0.0,w,p,q,c,r,s; in __ieee754_asin() local 90 q = one+t*(qS1+t*(qS2+t*(qS3+t*qS4))); in __ieee754_asin() 91 w = p/q; in __ieee754_asin() 98 q = one+t*(qS1+t*(qS2+t*(qS3+t*qS4))); in __ieee754_asin() 101 w = p/q; in __ieee754_asin() 107 r = p/q; in __ieee754_asin() 109 q = pio4_hi-2.0*w; in __ieee754_asin() 110 t = pio4_hi-(p-q); in __ieee754_asin()
|
D | e_asinf.c | 44 float t=0.0,w,p,q,c,r,s; in __ieee754_asinf() local 59 q = one+t*(qS1+t*(qS2+t*(qS3+t*qS4))); in __ieee754_asinf() 60 w = p/q; in __ieee754_asinf() 67 q = one+t*(qS1+t*(qS2+t*(qS3+t*qS4))); in __ieee754_asinf() 70 w = p/q; in __ieee754_asinf() 78 r = p/q; in __ieee754_asinf() 80 q = pio4_hi-(float)2.0*w; in __ieee754_asinf() 81 t = pio4_hi-(p-q); in __ieee754_asinf()
|
D | e_acos.c | 64 double z,p,q,r,w,s,c,df; in __ieee754_acos() local 81 q = one+z*(qS1+z*(qS2+z*(qS3+z*qS4))); in __ieee754_acos() 82 r = p/q; in __ieee754_acos() 87 q = one+z*(qS1+z*(qS2+z*(qS3+z*qS4))); in __ieee754_acos() 89 r = p/q; in __ieee754_acos() 99 q = one+z*(qS1+z*(qS2+z*(qS3+z*qS4))); in __ieee754_acos() 100 r = p/q; in __ieee754_acos()
|
D | e_acosf.c | 42 float z,p,q,r,w,s,c,df; in __ieee754_acosf() local 56 q = one+z*(qS1+z*(qS2+z*(qS3+z*qS4))); in __ieee754_acosf() 57 r = p/q; in __ieee754_acosf() 62 q = one+z*(qS1+z*(qS2+z*(qS3+z*qS4))); in __ieee754_acosf() 64 r = p/q; in __ieee754_acosf() 76 q = one+z*(qS1+z*(qS2+z*(qS3+z*qS4))); in __ieee754_acosf() 77 r = p/q; in __ieee754_acosf()
|
D | e_sqrt.c | 98 int32_t ix0,s0,q,m,t,i; in __ieee754_sqrt() local 137 q = q1 = s0 = s1 = 0; /* [q,q1] = sqrt(x) */ in __ieee754_sqrt() 145 q += r; in __ieee754_sqrt() 174 if (q1==(u_int32_t)0xffffffff) { q1=0; q += 1;} in __ieee754_sqrt() 176 if (q1==(u_int32_t)0xfffffffe) q+=1; in __ieee754_sqrt() 182 ix0 = (q>>1)+0x3fe00000; in __ieee754_sqrt() 184 if ((q&1)==1) ix1 |= sign; in __ieee754_sqrt()
|
/bionic/libc/bionic/ |
D | realpath.c | 66 char *p, *q, wbuf[MAXPATHLEN]; local 86 q = strrchr(resolved, '/'); 87 if (q != NULL) { 88 p = q + 1; 89 if (q == resolved) 90 q = "/"; 93 --q; 94 } while (q > resolved && *q == '/'); 95 q[1] = '\0'; 96 q = resolved; [all …]
|
/bionic/libc/netbsd/net/ |
D | getservent_r.c | 84 char *p, *cp, **q; in getservent_r() local 122 q = sp->s_aliases = sd->aliases; in getservent_r() 133 q = realloc(q, in getservent_r() 135 if (q == NULL) { in getservent_r() 141 sp->s_aliases = sd->aliases = q; in getservent_r() 143 q[i++] = cp; in getservent_r() 148 q[i] = NULL; in getservent_r()
|
D | getservent.c | 54 const char* q; in getservent_r() local 70 q = p + 1 + namelen + 3; /* skip name + port + proto */ in getservent_r() 71 count = q[0]; /* get aliascount */ in getservent_r() 72 q += 1; in getservent_r() 76 int len2 = q[0]; in getservent_r() 78 q += 1 + len2; in getservent_r()
|
/bionic/libc/kernel/common/linux/ |
D | blkdev.h | 155 request_queue_t *q; member 253 typedef void (request_fn_proc) (request_queue_t *q); 254 typedef int (make_request_fn) (request_queue_t *q, struct bio *bio); 401 #define blk_queue_plugged(q) test_bit(QUEUE_FLAG_PLUGGED, &(q)->queue_flags) argument 402 #define blk_queue_tagged(q) test_bit(QUEUE_FLAG_QUEUED, &(q)->queue_flags) argument 403 #define blk_queue_stopped(q) test_bit(QUEUE_FLAG_STOPPED, &(q)->queue_flags) argument 404 #define blk_queue_flushing(q) ((q)->ordseq) argument 427 #define blk_queue_headactive(q, head_active) argument 440 #define blk_queue_tag_depth(q) ((q)->queue_tags->busy) argument 441 #define blk_queue_tag_queue(q) ((q)->queue_tags->busy < (q)->queue_tags->max_depth) argument
|