/picolibc-latest/newlib/libc/machine/mips/ |
D | strncpy.c | 49 strncpy (char *dst0, const char *src0, size_t count) in strncpy() argument 58 end = dst + count; in strncpy() 92 while (((uintptr_t) src & (UNROLL_FACTOR - 1)) != 0 && count > 0) in strncpy() 95 --count; in strncpy() 98 end = dst + count; in strncpy() 106 if (__builtin_expect (count >= 4, 1)) in strncpy() 108 odd_bytes = (count & (UNROLL_FACTOR - 1)); in strncpy() 109 count -= odd_bytes; in strncpy() 120 count -= UNROLL_FACTOR; in strncpy() 142 while (count); in strncpy() [all …]
|
/picolibc-latest/newlib/libc/machine/aarch64/ |
D | memset.S | 24 #define count x2 macro 34 add dstend, dstin, count 36 cmp count, 96 38 cmp count, 16 43 tbz count, 3, 1f 48 1: tbz count, 2, 2f 52 2: cbz count, 3f 54 tbz count, 1, 3f 61 tbnz count, 6, L(set96) 63 tbz count, 5, 1f [all …]
|
D | memcpy.S | 23 #define count x2 macro 42 #define G_l count 66 add srcend, src, count 67 add dstend, dstin, count 68 cmp count, 128 70 cmp count, 32 74 cmp count, 16 84 tbz count, 3, L(copy8) 94 tbz count, 2, L(copy4) 103 cbz count, L(copy0) [all …]
|
/picolibc-latest/newlib/libc/machine/hppa/ |
D | memcpy.S | 27 #define count arg2 macro 38 comib,>= 5,count,byteloop /* If count is <= 6 don't get fancy.*/ 43 add count,tmp2,count /* pre increment the count to adjust for alignment of s1 */ 52 addibt,<,n -16,count,chekchunk /* If count < 16 then we can't move 16 byte chunks ! */ 64 addibf,< -16,count,chunks /* If count is still >= 16 do another loop. */ 68 … addibt,<,n 12,count,back_porch /* since the count is already decremented by -16 we're testing */ 72 addibf,< -4,count,subchunk /* count -= 4 */ 77 addibt,=,n 4,count,done /* if count = 0 we're, of course, done ! */ 79 add d_addr,count,d_addr/* final store address is +1 too high ! */ 90 addibt,<,n -16,count,chkchnk2 /* first step in pre adjustment of count for looping. */ [all …]
|
D | memcmp.S | 40 #define count 24 macro 43 combt,<,n r0,count,search /*N <= 0 yields equality */ 69 add tmp5,count,count /* bump count by the number of bytes */ 86 addibt,<=,n -1,count,done /* have we checked N chars? ret0 == 0 */ 91 addibt,<=,n -1,count,done /* have we checked N chars? */ 96 addibt,<=,n -1,count,done /* have we checked N chars? */ 106 addibt,<=,n -4,count,zero /* have we checked N chars? */ 119 add tmp5,count,count /* bump count by the number of bytes */ 132 more: combt,<=,n count,tmp1,chunk1 /* Can we do the vshd? */ 137 addibt,<=,n -4,count,zero /* have we checked N chars? */ [all …]
|
D | strncpy.S | 30 #define count r24 macro 43 addibt,<,n -4,count,byteloop /* If count is <= 4 don't get fancy.*/ 47 …add count,tmp5,count /* pre increment the count by the byte address so that the count is… 65 addibf,< -4,count,chunks 69 addibt,=,n 4,count,done /* if count = 0 we're, of course, done !*/ 71 add d_addr,count,d_addr/* final store address is +1 too high !*/ 72 sh3add count,r0, save /* setup right mask based on count*/ 88 addibt,<,n -4,count,chkchnk2 /* first step in pre adjustment of count for looping.*/ 115 addibf,< -8,count,chunk2 /* If count is still >= 8 do another loop.*/ 119 … addibt,<,n 4,count,bp_0 /* if we don't have 4 bytes left then do the back porch (bp_0)*/ [all …]
|
D | strncat.S | 25 #define count r24 macro 70 addibt,<,n -4,count,byteloop /* If count is <= 4 don't get fancy.*/ 74 …add count,tmp5,count /* pre increment the count by the byte address so that the count is… 88 addibt,< -4,count,back_porch 97 addibf,< -4,count,chunks 101 addibt,=,n 4,count,done /* if count = 0 we're, of course, done !*/ 103 sh3add count,r0, save /* setup right mask based on count*/ 110 add d_addr,count,d_addr/* final store address is +1 too high !*/ 120 addibt,<,n -4,count,chkchnk2 /* first step in pre adjustment of count for looping.*/ 154 addibf,< -8,count,chunk2 /* If count is still >= 8 do another loop.*/ [all …]
|
D | strncmp.S | 36 #define count 24 macro 39 combt,<,n r0,count,search /* N <= 0 yields equality */ 65 add tmp5,count,count /* bump count by the number of bytes */ 84 addibt,<=,n -1,count,done /* have we checked N chars? ret0 == 0 */ 91 addibt,<=,n -1,count,done /* have we checked N chars? */ 98 addibt,<=,n -1,count,done /* have we checked N chars? */ 108 addibt,<=,n -4,count,zero /* have we checked N chars? */ 124 add tmp5,count,count /* bump count by the number of bytes */ 141 addibt,<=,n -4,count,zero /* have we checked N chars? */ 160 add tmp1,count,count /* bump count by the number of bytes */ [all …]
|
/picolibc-latest/newlib/libc/string/ |
D | strncpy.c | 83 size_t count) in strncpy() argument 92 while (count > 0) in strncpy() 94 --count; in strncpy() 98 while (count-- > 0) in strncpy() 109 if (!UNALIGNED (src, dst) && !TOO_SMALL (count)) in strncpy() 116 while (count >= sizeof (long int) && !DETECTNULL(*aligned_src)) in strncpy() 118 count -= sizeof (long int); in strncpy() 126 while (count > 0) in strncpy() 128 --count; in strncpy() 133 while (count-- > 0) in strncpy()
|
D | stpncpy.c | 71 size_t count) in stpncpy() argument 81 if (!UNALIGNED (src, dst) && !TOO_SMALL (count)) in stpncpy() 88 while (count >= sizeof (long int) && !DETECTNULL(*aligned_src)) in stpncpy() 90 count -= sizeof (long int); in stpncpy() 99 while (count > 0) in stpncpy() 101 --count; in stpncpy() 109 while (count-- > 0) in stpncpy()
|
D | wcpncpy.c | 39 size_t count) in wcpncpy() argument 43 while (count > 0) in wcpncpy() 45 --count; in wcpncpy() 52 while (count-- > 0) in wcpncpy()
|
/picolibc-latest/newlib/libm/machine/spu/headers/ |
D | ilogb.h | 54 vec_uint4 v, exp, exp_0, mant, mask, count; in _ilogb() local 70 count = spu_cntlz(mant); in _ilogb() 71 count = spu_add(count, spu_and(spu_rlqwbyte(count, 4), spu_cmpeq(count, 32))); in _ilogb() 80 exp_0 = spu_sel(spu_sub(spu_add(exp, 12), count), VEC_SPLAT_U32(FP_ILOGB0), spu_cmpeq(count, 64)); in _ilogb()
|
/picolibc-latest/newlib/libc/time/ |
D | strftime.c | 344 #define CHECK_LENGTH() if (len < 0 || (count += len) >= maxsize) \ 687 size_t count = 0; in __strftime() local 704 if (count < maxsize - 1) in __strftime() 705 s[count++] = *format++; in __strftime() 762 if (count < maxsize - 1) in __strftime() 763 s[count++] = ctloc[i]; in __strftime() 772 if (count < maxsize - 1) in __strftime() 773 s[count++] = ctloc[i]; in __strftime() 783 if (count < maxsize - 1) in __strftime() 784 s[count++] = ctloc[i]; in __strftime() [all …]
|
/picolibc-latest/newlib/libc/tinystdio/ |
D | getdelim.c | 46 _ssize_t count = 0; in getdelim() local 53 if (count >= (_ssize_t) n) { in getdelim() 57 count = -1; in getdelim() 64 line[count++] = c; in getdelim() 66 line[count] = '\0'; in getdelim() 73 return count; in getdelim()
|
/picolibc-latest/newlib/libc/misc/ |
D | init.c | 23 size_t count; in __libc_init_array() local 26 count = __preinit_array_end - __preinit_array_start; in __libc_init_array() 27 for (i = 0; i < count; i++) in __libc_init_array() 35 count = __init_array_end - __init_array_start; in __libc_init_array() 36 for (i = 0; i < count; i++) in __libc_init_array()
|
/picolibc-latest/semihost/machine/powerpc/ |
D | powerpc_stub.c | 46 read(int fd, void *buf, size_t count) in read() argument 50 (void) count; in read() 55 write(int fd, const void *buf, size_t count) in write() argument 58 opal_console_write(0, count, buf); in write() 59 return count; in write()
|
/picolibc-latest/semihost/machine/x86/ |
D | e9_stub.c | 45 read(int fd, void *buf, size_t count) in read() argument 49 (void) count; in read() 54 write(int fd, const void *buf, size_t count) in write() argument 57 size_t c = count; in write() 63 return count; in write()
|
/picolibc-latest/semihost/machine/mips/ |
D | mips_stub.c | 40 read(int fd, void *buf, size_t count) in read() argument 44 (void) count; in read() 49 write(int fd, const void *buf, size_t count) in write() argument 52 size_t c = count; in write() 57 return count; in write()
|
/picolibc-latest/semihost/machine/msp430/ |
D | msp430-stub.c | 46 read(int fd, void *buf, size_t count) in read() argument 50 (void) count; in read() 55 write(int fd, const void *buf, size_t count) in write() argument 58 size_t c = count; in write() 63 return count; in write()
|
/picolibc-latest/semihost/machine/sparc/ |
D | sparc_stub.c | 40 read(int fd, void *buf, size_t count) in read() argument 44 (void) count; in read() 49 write(int fd, const void *buf, size_t count) in write() argument 52 size_t c = count; in write() 57 return count; in write()
|
/picolibc-latest/semihost/machine/sh/ |
D | sh_stub.c | 46 read(int fd, void *buf, size_t count) in read() argument 50 (void) count; in read() 56 write(int fd, const void *buf, size_t count) in write() argument 59 size_t c = count; in write() 64 return count; in write()
|
/picolibc-latest/newlib/libc/machine/spu/ |
D | fread.c | 45 size_t count; member 55 size_t count, in fread() argument 64 args.count = count; in fread()
|
D | fwrite.c | 47 size_t count; member 55 size_t count, in fwrite() argument 64 args.count = count; in fwrite()
|
/picolibc-latest/newlib/libc/stdio/ |
D | fread.c | 99 size_t count, in crlf_r() argument 105 if (count == 0) in crlf_r() 108 e = buf + count; in crlf_r() 133 return count - (e-d); in crlf_r() 137 return count; in crlf_r() 147 size_t count, in fread() argument 155 if ((resid = count * size) == 0) in fread() 163 count = 0; in fread() 261 return count; in fread()
|
/picolibc-latest/newlib/libc/argz/ |
D | argz_count.c | 16 size_t count = 0; in argz_count() local 21 count++; in argz_count() 23 return count; in argz_count()
|