Home
last modified time | relevance | path

Searched refs:length (Results 1 – 25 of 39) sorted by relevance

12

/picolibc-3.7.0-3.6.0/newlib/libc/string/
Dmemmove.c74 size_t length) in memmove() argument
80 if (src < dst && dst < src + length) in memmove()
83 src += length; in memmove()
84 dst += length; in memmove()
85 while (length--) in memmove()
92 while (length--) in memmove()
105 if (src < dst && dst < src + length) in memmove()
108 src += length; in memmove()
109 dst += length; in memmove()
110 while (length--) in memmove()
[all …]
Dmemrchr.c69 size_t length) in memrchr() argument
71 const unsigned char *src = (const unsigned char *) src_void + length - 1; in memrchr()
82 if (!length--) in memrchr()
89 if (!TOO_SMALL (length)) in memrchr()
105 while (length >= LBLOCKSIZE) in memrchr()
109 length -= LBLOCKSIZE; in memrchr()
121 while (length--) in memrchr()
Dmemchr.c84 size_t length) in memchr() argument
97 if (!length--) in memchr()
104 if (!TOO_SMALL (length)) in memchr()
120 while (length >= LBLOCKSIZE) in memchr()
124 length -= LBLOCKSIZE; in memchr()
136 while (length--) in memchr()
Dswab.c24 ssize_t length) in swab() argument
29 for (ptr = 1; ptr < length; ptr += 2) in swab()
36 if (ptr == length) /* I.e., if length is odd, */ in swab()
Dbzero.c48 bzero(void *b, size_t length) in bzero() argument
50 memset(b, 0, length); in bzero()
Dbcopy.c47 size_t length) in bcopy() argument
49 memmove (b2, b1, length); in bcopy()
Dwcstrings.tex23 * wcslcat:: Concatenate wide-character strings to specified length
24 * wcslcpy:: Copy wide-character string to specified length
25 * wcslen:: Wide-character string length
30 * wcsnlen:: Wide-character string length with maximum limit
Dstrings.tex53 * strlen:: Character string length
60 * strnlen:: Character string length
/picolibc-3.7.0-3.6.0/semihost/
Dgetentropy.c41 getentropy(void *buffer, size_t length) in getentropy() argument
45 while (length) { in getentropy()
48 if (this_time > length) in getentropy()
49 this_time = length; in getentropy()
51 length -= this_time; in getentropy()
/picolibc-3.7.0-3.6.0/newlib/libc/machine/spu/
Dstrncpy_ea.c46 size_ea_t length = strlen_ea (src); in strncpy_ea() local
47 if (length < n) in strncpy_ea()
49 memcpy_ea ((__ea void *) dest, (__ea void *) src, length); in strncpy_ea()
50 memset_ea ((__ea void *) (dest + length), 0, n - length); in strncpy_ea()
Dmmap_ea.c40 __ea void *mmap_ea (__ea void *start, size_ea_t length, int prot, int in mmap_ea() argument
44 if (length > 0xffffffffULL) { in mmap_ea()
49 (size_t) length, prot, flags, fd, offset); in mmap_ea()
57 res = mmap_eaddr ((unsigned long long) (unsigned int) start, length, in mmap_ea()
60 munmap_eaddr (res, length); in mmap_ea()
Dcalloc_ea.c41 unsigned long long length; member
48 calloc_ea (size_ea_t nmemb, size_ea_t length) in calloc_ea() argument
53 args.length = (unsigned long long) length; in calloc_ea()
Dstrcpy_ea.c46 size_ea_t length; in strcpy_ea() local
48 length = strlen_ea (src); in strcpy_ea()
49 memcpy_ea ((__ea void *) dest, (__ea void *) src, length + 1); in strcpy_ea()
Dmunmap_ea.c40 munmap_ea (__ea void *start, size_ea_t length) in munmap_ea() argument
42 return munmap_eaddr ((unsigned long long) (size_ea_t) start, length); in munmap_ea()
Dmsync_ea.c40 msync_ea (__ea void *start, size_ea_t length, int flags) in msync_ea() argument
42 return msync_eaddr ((unsigned long long) (size_ea_t) start, length, in msync_ea()
/picolibc-3.7.0-3.6.0/newlib/libc/machine/spu/sys/
Dmman.h77 unsigned long long mmap_eaddr(unsigned long long start, size_t length, int
81 unsigned long long msync_eaddr(unsigned long long start, size_t length,
83 unsigned long long munmap_eaddr(unsigned long long start, size_t length);
/picolibc-3.7.0-3.6.0/newlib/libc/stdio/
Dtmpnam.c175 int length; in tempnam() local
181 length = strlen (dir) + strlen (prefix) + (4 * sizeof (int)) + 2 + 1; in tempnam()
183 filename = malloc (length); in tempnam()
Dnano-vfprintf_float.c53 int flags, char *sign, int *decpt, int ch, int *length,
69 char *sign, int *decpt, int ch, int *length, char *buf) in __cvt() argument
120 *length = rve - digits; in __cvt()
/picolibc-3.7.0-3.6.0/newlib/libc/machine/spu/include/
Dea.h82 __ea void *mmap_ea (__ea void *start, size_ea_t length, int prot, int
84 int munmap_ea (__ea void *start, size_ea_t length);
87 int msync_ea (__ea void *start, size_ea_t length, int flags);
90 __ea void *calloc_ea (size_ea_t nmemb, size_ea_t length);
/picolibc-3.7.0-3.6.0/test/
Dtls.c234 hexdump(const void *ptr, int length, const char *hdr) in hexdump() argument
238 for (int i = 0; i < length; i += 16) { in hexdump()
242 if (offset < length) in hexdump()
/picolibc-3.7.0-3.6.0/newlib/libc/machine/rx/
Dstrlen.S29 sub r4, r1 ; Compute the length.
Dstrncmp.S14 cmp #0, r3 ; For a length of zero, return zero
/picolibc-3.7.0-3.6.0/newlib/libc/machine/i960/
Dstrcspn.S89 subo g0,g3,g0 # compute string length
Dstrlen.S112 subo g0,g2,g0 # calculate string length
/picolibc-3.7.0-3.6.0/newlib/libc/machine/sh/
Dstrlen.S2 ! Exit: result: length

12