/picolibc-3.7.0-3.6.0/newlib/libc/machine/spu/ |
D | memset.c | 41 int skip, cnt, i; in memset() local 47 cnt = (int)(n); in memset() 56 cnt -= 16 - skip; in memset() 57 if (cnt < 0) { in memset() 58 mask = spu_and(mask, spu_slqwbyte(one, (unsigned int)(-cnt))); in memset() 66 for (i=127; i<cnt; cnt-=8*16) { in memset() 80 for (i=15; i<cnt; cnt-=16) *vs++ = vc; in memset() 84 if (cnt > 0) { in memset() 85 mask = spu_slqwbyte(one, (unsigned int)(16-cnt)); in memset()
|
D | straddr.h | 42 unsigned int cnt, cmp, skip, mask; in _straddr() local 59 cnt = spu_extract(spu_cntlz(spu_promote(cmp, 0)), 0); in _straddr() 61 while (cnt == 32) { in _straddr() 63 cnt = spu_extract(spu_cntlz(spu_gather(spu_cmpeq(data, 0))), 0); in _straddr() 74 return ((char*) (((int) ptr & ~0xf) + (cnt - 16))); in _straddr()
|
D | strlen.c | 42 unsigned int cnt, cmp, skip, mask; in strlen() local 56 cnt = spu_extract(spu_cntlz(spu_promote(cmp, 0)), 0); in strlen() 58 while (cnt == 32) { in strlen() 60 cnt = spu_extract(spu_cntlz(spu_gather(spu_cmpeq(data, 0))), 0); in strlen() 67 return ((((int) ptr & ~0xf) + (cnt - 16)) - (int) s); in strlen()
|
D | strpbrk.c | 44 vec_uint4 cnt; in strpbrk() local 85 cnt = spu_cntlz(spu_gather(match)); in strpbrk() 89 } while (spu_extract(cnt, 0) == 32); in strpbrk() 94 …urn ((char *)spu_extract(spu_andc(spu_add(spu_add(spu_promote((unsigned int)(ptr1), 0), -64), cnt), in strpbrk() 95 spu_cmpeq(cnt, spu_cntlz(spu_gather(eos)))), 0)); in strpbrk()
|
D | strcspn.c | 43 size_t len, cnt; in strcspn() local 88 cnt = spu_extract(spu_cntlz(spu_gather(match)), 0); in strcspn() 89 len = (len - 16) + cnt; in strcspn() 93 } while (cnt == 32); in strcspn()
|
D | strspn.c | 43 size_t len, cnt; in strspn() local 87 cnt = spu_extract(spu_cntlz(spu_gather(spu_xor(match, -1))), 0); in strspn() 88 len = (len - 16) + cnt; in strspn() 92 } while (cnt == 32); in strspn()
|
/picolibc-3.7.0-3.6.0/newlib/libc/stdlib/ |
D | setenv.c | 76 register int cnt; in setenv() local 79 for (P = *p_environ, cnt = 0; *P; ++P, ++cnt); in setenv() 83 (size_t) (sizeof (char *) * (cnt + 2))); in setenv() 93 P = (char **) malloc ((size_t) (sizeof (char *) * (cnt + 2))); in setenv() 99 memcpy((char *) P,(char *) *p_environ, cnt * sizeof (char *)); in setenv() 102 (*p_environ)[cnt + 1] = NULL; in setenv() 103 offset = cnt; in setenv()
|
D | getsubopt.c | 50 int cnt; in getsubopt() local 91 for (cnt = 0; *tokens; ++tokens, ++cnt) in getsubopt() 93 return(cnt); in getsubopt()
|
D | wctomb_r.c | 217 int cnt = 0; in __jis_wctomb() local 236 cnt = 3; in __jis_wctomb() 240 return cnt + 2; in __jis_wctomb() 252 cnt = 3; in __jis_wctomb() 255 return cnt + 1; in __jis_wctomb()
|
/picolibc-3.7.0-3.6.0/newlib/libm/machine/spu/headers/ |
D | fmod.h | 56 vec_uint4 result, result0, resultx, cnt, sign, borrow; in _fmod() local 130 cnt = spu_cntlz(mant_x); in _fmod() 131 cnt = spu_add(cnt, spu_and(spu_rlqwbyte(cnt, 4), spu_cmpeq(cnt, 32))); in _fmod() 132 cnt = spu_add(spu_shuffle(cnt, cnt, splat_hi), -11); in _fmod() 137 exp_y = spu_sub(exp_y, cnt); in _fmod() 143 shift = spu_extract(cnt, 0); in _fmod()
|
D | remainder.h | 56 vec_uint4 result, result0, resultx, cnt, sign, borrow; in _remainder() local 144 cnt = spu_cntlz(mant_x); in _remainder() 145 cnt = spu_add(cnt, spu_and(spu_rlqwbyte(cnt, 4), spu_cmpeq(cnt, 32))); in _remainder() 146 cnt = spu_add(spu_shuffle(cnt, cnt, splat_hi), -11); in _remainder() 151 exp_y = spu_sub(exp_y, cnt); in _remainder() 157 shift = spu_extract(cnt, 0); in _remainder()
|
D | remquo.h | 58 vec_uint4 result, result0, resultx, cnt, sign, borrow; in _remquo() local 149 cnt = spu_cntlz(mant_x); in _remquo() 150 cnt = spu_add(cnt, spu_and(spu_rlqwbyte(cnt, 4), spu_cmpeq(cnt, 32))); in _remquo() 151 cnt = spu_add(spu_shuffle(cnt, cnt, splat_hi), -11); in _remquo() 156 exp_y = spu_sub(exp_y, cnt); in _remquo() 162 shift = spu_extract(cnt, 0); in _remquo()
|
D | fmodf.h | 83 vec_uint4 result, result0, resultx, cnt, sign; in _fmodf() 144 cnt = spu_add(spu_cntlz(mant_x), -8); in _fmodf() 146 mant_x = spu_rl(spu_andc(mant_x, implied_1), (vec_int4)cnt); in _fmodf() 148 exp_y = spu_sub(exp_y, cnt); in _fmodf()
|
D | remainderf.h | 48 vec_uint4 result, result0, resultx, cnt, sign, bias; in _remainderf() local 113 cnt = spu_add(spu_cntlz(mant_x), -8); in _remainderf() 115 mant_x = spu_rl(spu_andc(mant_x, implied_1), (vec_int4)cnt); in _remainderf() 117 exp_y = spu_sub(exp_y, cnt); in _remainderf()
|
D | remquof.h | 52 vec_uint4 result, result0, resultx, cnt, sign, bias; in _remquof() local 118 cnt = spu_add(spu_cntlz(mant_x), -8); in _remquof() 120 mant_x = spu_rl(spu_andc(mant_x, implied_1), (vec_int4)cnt); in _remquof() 122 exp_y = spu_sub(exp_y, cnt); in _remquof()
|
/picolibc-3.7.0-3.6.0/newlib/libc/xdr/ |
D | xdr.c | 595 u_int cnt) in xdr_opaque() argument 603 if (cnt == 0) in xdr_opaque() 609 rndup = cnt % BYTES_PER_XDR_UNIT; in xdr_opaque() 616 if (!XDR_GETBYTES (xdrs, cp, cnt)) in xdr_opaque() 623 if (!XDR_PUTBYTES (xdrs, cp, cnt)) in xdr_opaque()
|
D | xdr_rec.c | 855 long cnt) in skip_input_bytes() argument 859 while (cnt > 0) in skip_input_bytes() 869 current = (size_t) (((size_t)cnt < current) ? (size_t)cnt : current); in skip_input_bytes() 871 cnt -= current; in skip_input_bytes()
|
/picolibc-3.7.0-3.6.0/newlib/libc/time/ |
D | strftime.c | 1534 int cnt; /* Number of vectors */ member 1897 for(i=0; i<test->cnt; i++) { in main() 1919 for(i=0; i<test->cnt; i++) { in main() 1944 for(i=0; i<test->cnt; i++) { in main()
|