Home
last modified time | relevance | path

Searched refs:q (Results 1 – 25 of 44) sorted by relevance

12

/bionic/libc/string/
Dmemrchr.c35 const char* q = p + n; in memrchr() local
38 q--; if (q < p || q[0] == (char) c) break; in memrchr()
39 q--; if (q < p || q[0] == (char) c) break; in memrchr()
40 q--; if (q < p || q[0] == (char) c) break; in memrchr()
41 q--; if (q < p || q[0] == (char) c) break; in memrchr()
43 if (q >= p) in memrchr()
44 return (void*)q; in memrchr()
Dmemset.c33 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()
Dmemswap.c34 char* q = m2; in memswap() local
38 *p = *q; in memswap()
39 *q = tmp; in memswap()
41 q++; in memswap()
Dmemmove.c34 char *q = dst; in memmove() local
38 if (__builtin_expect((q < p) || ((size_t)(q - p) >= n), 1)) { in memmove()
Dmemccpy.c33 char* q = dst; in memccpy() local
40 *q++ = ch = *p++; in memccpy()
46 return q; in memccpy()
/bionic/libc/bionic/
Dtdelete.c39 node_t *p, *q, *r; in tdelete() local
54 if ((q = (*rootp)->llink) == NULL) /* Left NULL? */ in tdelete()
55 q = r; in tdelete()
58 r->llink = q; in tdelete()
59 q = r; in tdelete()
61 for (q = r->llink; q->llink != NULL; q = r->llink) in tdelete()
62 r = q; in tdelete()
63 r->llink = q->rlink; in tdelete()
64 q->llink = (*rootp)->llink; in tdelete()
65 q->rlink = (*rootp)->rlink; in tdelete()
[all …]
Dtsearch.c33 node_t *q; local
50 q = malloc(sizeof(node_t)); /* T5: key not found */
51 if (q != 0) { /* make new node */
52 *rootp = q; /* link new node to old */
54 q->key = (void *)vkey; /* initialize new node */
55 q->llink = q->rlink = NULL;
57 return q;
/bionic/libc/wchar/
Dwcsspn.c43 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()
Dwcspbrk.c43 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()
Dwcscspn.c43 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()
Dwcsncat.c43 wchar_t *q; in wcsncat() local
49 q = p; in wcsncat()
52 *q++ = *r++; in wcsncat()
55 *q = '\0'; in wcsncat()
/bionic/libm/src/
Ds_remquof.c33 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 q &= 0x7fffffff; in remquof()
92 *quo = (sxy ? -q : q); in remquof()
109 if (x+x>y || (x+x==y && (q & 1))) { in remquof()
110 q++; in remquof()
[all …]
Ds_remquo.c33 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 q &= 0x7fffffff; in remquo()
116 *quo = (sxy ? -q : q); in remquo()
140 if (x+x>y || (x+x==y && (q & 1))) { in remquo()
141 q++; in remquo()
[all …]
De_sqrtf.c30 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()
De_j1f.c226 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 …]
De_j1.c268 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 …]
De_j0.c274 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 …]
De_j0f.c231 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 …]
De_asinf.c44 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()
De_asin.c73 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()
De_sqrt.c98 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()
De_acos.c64 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()
De_acosf.c42 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()
/bionic/libc/netbsd/net/
Dgetservent_r.c84 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()
Dgetservent.c54 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()

12