Home
last modified time | relevance | path

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

1234

/picolibc-latest/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.c141 char *end; in main() local
145 d = strtod(tests[i].string, &end); in main()
151 if (strcmp(end, tests[i].end_test) != 0) { in main()
153 tests[i].string, end, tests[i].end_test); in main()
156 f = strtof(tests[i].string, &end); in main()
162 if (strcmp(end, tests[i].end_test) != 0) { in main()
164 tests[i].string, end, tests[i].end_test); in main()
179 ld = strtold(tests[i].string, &end); in main()
185 if (strcmp(end, tests[i].end_test) != 0) { in main()
187 tests[i].string, end, tests[i].end_test); in main()
/picolibc-latest/newlib/libc/machine/hppa/
Dstrlen.S22 #define end ret0 macro
29 movb,=,n start,end,$null_ptr
30 depi 0,31,2,end
31 comb,<> start,end,$not_aligned
32 ldws,ma 4(end),tmp1
53 uaddcm start,end,tmp2 /* tmp2 <- { -4, -3, -2 } */
60 ldws,ma 4(end),tmp1
66 addib,tr,n -3,end,$out
68 addib,tr,n -2,end,$out
70 addi -1,end,end
[all …]
/picolibc-latest/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-latest/newlib/libc/stdlib/
Dwcstod.c153 char *buf, *end; in wcstod_l() local
184 val = strtod_l(buf, &end, loc); in wcstod_l()
207 if (d && d < end) in wcstod_l()
208 end -= len - 1; in wcstod_l()
210 *endptr = (wchar_t *)nptr + (end - buf); in wcstod_l()
225 char *buf, *end; in wcstof_l() local
256 val = strtof_l(buf, &end, loc); in wcstof_l()
279 if (d && d < end) in wcstof_l()
280 end -= len - 1; in wcstof_l()
282 *endptr = (wchar_t *)nptr + (end - buf); in wcstof_l()
Decvtbuf.c80 char *end; in print_e() local
86 p = __dtoa (invalue, 2, width + 1, &decpt, &sign, &end); in print_e()
186 char *end; in fcvtbuf() local
208 p = __dtoa (invalue, 3, ndigit, decpt, sign, &end); in fcvtbuf()
222 while (p < end) in fcvtbuf()
246 char *end; in ecvtbuf() local
265 p = __dtoa (invalue, 2, ndigit, decpt, sign, &end); in ecvtbuf()
277 while (p < end) in ecvtbuf()
335 char *end; in _gcvt() local
341 p = __dtoa (invalue, 2, ndigit, &decpt, &sign, &end); in _gcvt()
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-latest/newlib/libc/iconv/lib/
Daliasesi.c96 const char *end; in find_alias() local
124 for (end = p + 1; !isspace (*end) && *end != '\n' && *end != '\0'; end++); in find_alias()
126 return strndup (p, (size_t)(end - p)); in find_alias()
/picolibc-latest/newlib/libc/machine/mips/
Dstrncpy.c52 char *dst, *end; in strncpy() local
58 end = dst + count; in strncpy()
59 while (dst != end) in strncpy()
64 while (dst != end) in strncpy()
75 unsigned char *end; in strncpy()
98 end = dst + count; in strncpy()
99 while (dst != end) in strncpy()
148 end = dst + count; in strncpy()
149 while (dst != end) in strncpy()
154 while (dst != end) in strncpy()
/picolibc-latest/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-latest/newlib/libc/machine/riscv/
Dmemcpy.c38 char *end = a + n; in memcpy() local
44 if (__builtin_expect (a < end, 1)) in memcpy()
45 while (a < end) in memcpy()
56 long *lend = (long *)((uintptr_t)end & ~msk); in memcpy()
88 if (unlikely (a < end)) in memcpy()
/picolibc-latest/newlib/libc/string/
Dmemmem.c79 const char *end = hs + hs_len - ne_len; in memmem() local
81 for ( ; hs <= end; hs++) in memmem()
129 const unsigned char *end = hs + hs_len - ne_len; in memmem() local
134 for (hs++; hs <= end && hw != nw; ) in memmem()
156 for ( ; hs <= end; ) in memmem()
164 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()
/picolibc-latest/newlib/libc/tinystdio/
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()
Dmktemp.c108 char *end; in _gettemp() local
111 end = path + strlen(path) - suffixlen; in _gettemp()
112 trv = end; in _gettemp()
119 if (end - trv < 6) in _gettemp()
Dfilestrput.c49 if (sstream->pos != sstream->end) in __file_str_put()
/picolibc-latest/newlib/libc/machine/aarch64/
Dmemrchr.S31 #define end x8 macro
51 add end, srcin, cntin
52 sub endm1, end, 1
58 neg shift, end, lsl 2
86 cbnz synd, L(end)
98 L(end):
/picolibc-latest/newlib/libc/stdio/
Dmktemp.c149 char *end; in _gettemp() local
166 end = trv; in _gettemp()
172 if (end - trv < 6) in _gettemp()
241 if (trv == end) in _gettemp()
/picolibc-latest/
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-latest/newlib/libc/machine/h8300/
Dreg_memcpy.S30 ADDP A2P,A0P ; point to end of dst
31 ADDP A2P,A1P ; point to end of src
/picolibc-latest/newlib/libc/machine/iq2000/
Dsetjmp.S28 .end setjmp
54 .end longjmp
/picolibc-latest/newlib/doc/
Ddoc.str14 "@end table\n"
51 "@end example\n" catstr
64 "@end example\n" catstr
/picolibc-latest/newlib/libc/time/
Dtzset.c271 char *end; in _tzset_unlocked() local
280 d = strtoul (tzenv, &end, 10); in _tzset_unlocked()
285 if (end == tzenv) in _tzset_unlocked()
308 tzenv = end; in _tzset_unlocked()
/picolibc-latest/newlib/libc/machine/xtensa/
Dxtensa.tex10 @end menu
21 @end example
50 @end example

1234