Home
last modified time | relevance | path

Searched refs:end (Results 1 – 25 of 92) sorted by relevance

1234

/picolibc-3.7.0-3.6.0/test/
Dtest-memset.c86 check(char *label, void *buf, size_t size, size_t start, size_t end, int c) in check() argument
95 if (p < start || end <= p) in check()
99 label, start, end, p, (uint8_t) e, (uint8_t) g); in check()
140 test(size_t start, size_t end, int c) in test() argument
145 memset(b + start, c, end - start); in test()
146 error += check("memset", buf, MAX_BUF, start, end, c); in test()
149 bzero(b + start, end - start); in test()
150 error += check("bzero", buf, MAX_BUF, start, end, 0); in test()
154 __aeabi_memset(b + start, end - start, c); in test()
155 error += check("__aeabi_memset", buf, MAX_BUF, start, end, c); in test()
[all …]
Dtest-strtod.c123 char *end; in main() local
127 d = strtod(tests[i].string, &end); in main()
133 if (*end != '@') { in main()
135 tests[i].string, end); in main()
138 f = strtof(tests[i].string, &end); in main()
144 if (*end != '@') { in main()
145 printf("strtof(\"%s\") end is \"%s\"\n", tests[i].string, end); in main()
151 ld = strtold(tests[i].string, &end); in main()
157 if (*end != '@') { in main()
158 printf("strtold(\"%s\") end is \"%s\"\n", tests[i].string, end); in main()
/picolibc-3.7.0-3.6.0/newlib/libc/machine/hppa/
Dstrlen.S20 #define end ret0 macro
27 movb,=,n start,end,$null_ptr
28 depi 0,31,2,end
29 comb,<> start,end,$not_aligned
30 ldws,ma 4(end),tmp1
51 uaddcm start,end,tmp2 /* tmp2 <- { -4, -3, -2 } */
58 ldws,ma 4(end),tmp1
64 addib,tr,n -3,end,$out
66 addib,tr,n -2,end,$out
68 addi -1,end,end
[all …]
/picolibc-3.7.0-3.6.0/test/semihost/
Dsemihost-times.c47 clock_t begin, end; in main() local
53 begin = end = times(&begin_tms); in main()
57 end = times(&end_tms); in main()
58 if (end != begin) in main()
63 seconds = ((double) (end - begin)) / (double) ticks_per_second; in main()
64 printf("delta %ld seconds %.17g\n", (long) end - (long) begin, seconds); in main()
65 exit(end == begin); in main()
/picolibc-3.7.0-3.6.0/newlib/libc/stdlib/
Dwcstod.c154 char *buf, *end; in wcstod_l() local
185 val = strtod_l(buf, &end, loc); in wcstod_l()
208 if (d && d < end) in wcstod_l()
209 end -= len - 1; in wcstod_l()
211 *endptr = (wchar_t *)nptr + (end - buf); in wcstod_l()
226 char *buf, *end; in wcstof_l() local
257 val = strtof_l(buf, &end, loc); in wcstof_l()
280 if (d && d < end) in wcstof_l()
281 end -= len - 1; in wcstof_l()
283 *endptr = (wchar_t *)nptr + (end - buf); in wcstof_l()
Decvtbuf.c76 char *p, *start, *end; in print_f() local
79 start = p = __dtoa (invalue, mode, ndigit, &decpt, &sign, &end); in print_f()
147 char *end; in print_e() local
153 p = __dtoa (invalue, 2, width + 1, &decpt, &sign, &end); in print_e()
253 char *end; in fcvtbuf() local
275 p = __dtoa (invalue, 3, ndigit, decpt, sign, &end); in fcvtbuf()
289 while (p < end) in fcvtbuf()
313 char *end; in ecvtbuf() local
332 p = __dtoa (invalue, 2, ndigit, decpt, sign, &end); in ecvtbuf()
344 while (p < end) in ecvtbuf()
[all …]
Dwcstold.c55 char *buf, *end; in wcstold_l()
79 val = strtold_l (buf, &end, loc); in wcstold_l()
104 if (d && d < end) in wcstold_l()
105 end -= len - 1; in wcstold_l()
108 *endptr = (wchar_t *) nptr + (end - buf); in wcstold_l()
/picolibc-3.7.0-3.6.0/newlib/libc/iconv/lib/
Daliasesi.c98 const char *end; in find_alias() local
126 for (end = p + 1; !isspace (*end) && *end != '\n' && *end != '\0'; end++); in find_alias()
128 return strndup (p, (size_t)(end - p)); in find_alias()
/picolibc-3.7.0-3.6.0/newlib/libc/machine/mips/
Dstrncpy.c50 char *dst, *end; in strncpy() local
56 end = dst + count; in strncpy()
57 while (dst != end) in strncpy()
62 while (dst != end) in strncpy()
73 unsigned char *end; in strncpy()
96 end = dst + count; in strncpy()
97 while (dst != end) in strncpy()
146 end = dst + count; in strncpy()
147 while (dst != end) in strncpy()
152 while (dst != end) in strncpy()
/picolibc-3.7.0-3.6.0/newlib/libc/tinystdio/
Dmktemp.c102 char *end; in _gettemp() local
104 end = path + strlen(path) - suffixlen; in _gettemp()
105 trv = end; in _gettemp()
112 if (end - trv < 6) in _gettemp()
153 if (trv == end) in _gettemp()
Dfilestrputalloc.c42 if (sstream->pos == sstream->end) { in __file_str_put_alloc()
44 char *old = sstream->end - old_size; in __file_str_put_alloc()
51 sstream->end = new + new_size; in __file_str_put_alloc()
Dfilestrput.c49 if (sstream->pos != sstream->end) in __file_str_put()
/picolibc-3.7.0-3.6.0/newlib/libc/
Dsys.tex20 @end menu
56 @end example
74 @end example
83 @end example
97 @end example
110 @end example
124 @end example
135 @end example
146 @end example
159 @end example
[all …]
/picolibc-3.7.0-3.6.0/newlib/libc/machine/riscv/
Dmemcpy.c36 char *end = a + n; in memcpy() local
42 if (__builtin_expect (a < end, 1)) in memcpy()
43 while (a < end) in memcpy()
54 long *lend = (long *)((uintptr_t)end & ~msk); in memcpy()
86 if (unlikely (a < end)) in memcpy()
/picolibc-3.7.0-3.6.0/newlib/libc/string/
Dmemmem.c78 const char *end = hs + hs_len - ne_len; in memmem() local
80 for ( ; hs <= end; hs++) in memmem()
128 const unsigned char *end = hs + hs_len - ne_len; in memmem() local
133 for (hs++; hs <= end && hw != nw; ) in memmem()
155 for ( ; hs <= end; ) in memmem()
163 while (hs <= end && tmp == 0); in memmem()
Dstrstr.c190 const unsigned char *end = hs + hs_len - ne_len; in strstr() local
203 for (hs += tmp; hs <= end; hs += tmp) in strstr()
209 if (end[ne_len] == 0) in strstr()
211 end += strnlen ((const char *) (end + ne_len), 2048); in strstr()
213 while (hs <= end); in strstr()
Dstrcspn.c56 goto end; in strcspn()
60 end: in strcspn()
Dwcstrings.tex13 * wmempcpy:: Copy wide-character memory regions and locate end
20 * wcpcpy:: Copy a wide-character string returning a pointer to its end
29 * wcpncpy:: Copy part of a wide-character string returning a pointer to its end
39 @end menu
/picolibc-3.7.0-3.6.0/newlib/libc/machine/aarch64/
Dmemrchr.S29 #define end x8 macro
49 add end, srcin, cntin
50 sub endm1, end, 1
56 neg shift, end, lsl 2
84 cbnz synd, L(end)
96 L(end):
/picolibc-3.7.0-3.6.0/newlib/libc/stdio/
Dmktemp.c150 char *end; in _gettemp() local
167 end = trv; in _gettemp()
173 if (end - trv < 6) in _gettemp()
242 if (trv == end) in _gettemp()
/picolibc-3.7.0-3.6.0/
Dfind-copyright76 line = line[:m.end()]
82 end = False
85 end = True
87 if end:
180 end = match.start()
182 end = match.end()
184 return (start, end)
186 return (start, end)
196 if para.start() >= lastcopy.end():
200 if all.start() >= lastcopy.end():
[all …]
/picolibc-3.7.0-3.6.0/newlib/libc/machine/h8300/
Dreg_memcpy.S28 ADDP A2P,A0P ; point to end of dst
29 ADDP A2P,A1P ; point to end of src
/picolibc-3.7.0-3.6.0/newlib/libc/machine/iq2000/
Dsetjmp.S26 .end setjmp
52 .end longjmp
/picolibc-3.7.0-3.6.0/newlib/doc/
Ddoc.str14 "@end table\n"
51 "@end example\n" catstr
64 "@end example\n" catstr
/picolibc-3.7.0-3.6.0/newlib/libc/time/
Dtzset.c272 char *end; in _tzset_unlocked() local
281 d = strtoul (tzenv, &end, 10); in _tzset_unlocked()
286 if (end == tzenv) in _tzset_unlocked()
309 tzenv = end; in _tzset_unlocked()

1234