Home
last modified time | relevance | path

Searched refs:first (Results 1 – 25 of 71) sorted by relevance

123

/picolibc-latest/newlib/libc/machine/arm/
Darm_asm.h155 .macro cfirestorelist first, last
157 .if \last-\first
158 cfirestorelist \first, \last-1
163 .macro cfisavelist first, last, index=1
165 .if \last-\first
166 cfisavelist \first, \last-1, \index+1
170 .macro _prologue first=-1, last=-1, push_ip=PAC_LEAF_PUSH_IP, push_lr=0
177 .if \first != -1
180 _prologue \first, \first, \push_ip, \push_lr
196 .if \first != -1
[all …]
/picolibc-latest/newlib/libc/machine/spu/
Dspu-mcount.S53 .macro saveregs first, last
54 stqd $\first, \first*16($SP)
55 .if \last-\first
60 .macro restoreregs first, last
62 .if \last-\first
63 restoreregs \first,"(\last-1)"
Dspu_timer_flih.S44 .macro saveregs first, last
45 stqd $\first, -(STACK_SKIP+\first)*16($SP)
46 .if \last-\first
52 .macro restoreregs first, last
54 .if \last-\first
55 restoreregs \first,"(\last-1)"
/picolibc-latest/newlib/libc/ctype/
Dmkcategories26 first=
28 if [ -n "$first" ]
35 if [ -z "$first" ]
36 then first=$1
46 echo " {CAT_$val, 0x$first, $((0x$last - 0x$first))},"
47 first=
Dmkcaseconv81 first=
88 echo " {$first, $diff, $v2, $v3},"
90 first=
101 elif [ -n "$first" ]
107 if [ -z "$first" ]
108 then first=$1
Dcategories.c12 uint_least32_t first: 24; member
30 if (ucs < table[0].first || ucs > (uint32_t) (table[max].first + table[max].delta)) in bisearch_cat()
35 if (ucs > (uint32_t) (table[mid].first + table[mid].delta)) in bisearch_cat()
37 else if (ucs < table[mid].first) in bisearch_cat()
Dtowctrans_l.c43 uint_least32_t first: 21; member
62 #define first(ce) ((wint_t) ce.first) macro
63 #define last(ce) ((wint_t) (ce.first + ce.diff))
72 if (ucs < first(table[0]) || ucs > last(table[max])) in bisearch()
79 else if (ucs < first(table[mid])) in bisearch()
/picolibc-latest/test/
Dtest-ungetc-ftell.c48 char first; in main() local
59 first = fgetc(file); in main()
60 printf("First character read: %c\n", first); in main()
65 ungetc(first, file); // Use ungetc to put the character back in main()
/picolibc-latest/newlib/libc/iconv/ces/
Dtable.c361 int first, last, cur, center; in find_code_size() local
365 first = 0; in find_code_size()
370 center = (last - first)/2; in find_code_size()
371 cur = center + first; in find_code_size()
374 first = cur; in find_code_size()
381 if (last - first == 1) in find_code_size()
383 if (code >= RANGE_LEFT (first) && code <= RANGE_RIGHT (first)) in find_code_size()
384 return (ucs2_t)tblp[RANGE_INDEX (first) in find_code_size()
385 + code - RANGE_LEFT (first)]; in find_code_size()
394 first = 0; in find_code_size()
[all …]
/picolibc-latest/newlib/libc/string/
Dwcwidth.c103 uint32_t first; member
114 if (ucs < table[0].first || ucs > table[max].last) in bisearch()
121 else if (ucs < table[mid].first) in bisearch()
Duniset297 $first = hex($1);
299 for ($i = $first; $i <= $last; $i++) {
375 $first = hex($2);
377 for ($i = $first; $i <= $last; $i++) {
390 $first = hex("$row$1");
391 $last = $first;
393 $first = hex("$row$1");
398 for ($i = $first; $i <= $last; $i++) {
/picolibc-latest/newlib/libc/machine/i960/
Dmemchr_ca.S102 ld (g0),g4 # fetch word containing at least first byte
107 shlo 3,g6,g6 # get shift count for making mask for first word
110 shro g6,g5,g5 # get mask for bytes needed from first word
112 shlo g6,g5,g5 # get mask for bytes needed from first word
150 lda 0xf0f0f0f0,g6 # make first comparison mask for char=-1 case.
152 and g4,g6,g4 # make unimportant bytes of first word 0x0f
Dstrchr_ca.S103 ld (g5),g4 # fetch word containing at least first byte
104 shlo 3,g6,g6 # get shift count for making mask for first word
108 shro g6,g5,g5 # get mask for bytes needed from first word
110 shlo g6,g5,g5 # get mask for bytes needed from first word
148 lda 0xf0f0f0f0,g2 # make first comparison mask for char=-1 case.
150 and g4,g2,g4 # make unimportant bytes of first word 0x0f
Dstrlen_ca.S95 ld (g2),g5 # fetch word containing at least first byte
96 shlo 3,g7,g7 # get shift count for making mask for first word
101 shro g7,g3,g3 # get mask for bytes needed from first word
105 shlo g7,g3,g3 # get mask for bytes needed from first word
109 bno.f Lodd_word # branch if first word is odd
110 mov g7,g4 # move first word to copy thereof
Dstrcpy_ca.S127 ld (g4),MSW # fetch word containing at least first byte
128 shlo 3,LSW,g14 # get shift count for making mask for first word
131 shro g14,LSW,LSW # get mask for bytes needed from first word
134 shlo g14,LSW,LSW # get mask for bytes needed from first word
145 cmpo 0,g14 # branch if null is first byte of word
179 ld (g3),LSW # fetch word containing at least first byte
219 addo 4,g4,g4 # move dest word ptr to first word boundary
220 mov LSW,MSW # make copy of first word of src
261 ld (g3),LSW # fetch word containing at least first byte
268 cmpo g2,g14 # < indicates first word of dest has more bytes
[all …]
Dstrncat_ca.S117 ld (g4),MSW # fetch word containing at least first byte
118 shlo 3,LSW,g14 # get shift count for making mask for first word
121 shro g14,LSW,LSW # get mask for bytes needed from first word
123 shlo g14,LSW,LSW # get mask for bytes needed from first word
138 cmpo 0,g14 # branch if null is first byte of word
145 ld (g3),LSW # fetch first word of source
206 cmpo MSW,g1 # < indicates first word of dest has more bytes
226 mov LSW,MSW # make copy of first word of src
Dstrcmp_ca.S121 ld (g2),LSW # fetch word with at least first byte of src1
127 ld (g3),SRC2 # fetch word with at least first byte of src2
157 ld (g3),SRC2 # fetch word with at least first byte of src2
237 notor g1,3,MSW # first step in computing new src1 ptr
239 bne.f Lcloop_setup # first four bytes differ
Dmemcmp_ca.S123 ld (SRC1),LSW # fetch word with at least first byte of src1
130 ld (g3),SRC2 # fetch word with at least first byte of src2
194 notor g1,3,g14 # first step in computing new src1 ptr
203 bne.f Lcloop_setup # first four bytes differ
Dstrncmp_ca.S122 ld (SRC1),LSW # fetch word with at least first byte of src1
128 ld (g3),SRC2 # fetch word with at least first byte of src2
158 ld (g3),SRC2 # fetch word with at least first byte of src2
236 notor g1,3,g14 # first step in computing new src1 ptr
245 bne.f Lcloop_setup # first four bytes differ
Dmemccpy_ca.S98 ld (g5),LSW # fetch word containing at least first byte
108 mov LSW,MSW # make copy of first word of src
109 addo 4,g4,g1 # move dest word ptr to first word boundary
231 cmpo g0,g1 # < indicates first word of dest has more bytes
234 lda 4(g0),g1 # move dest word addr to first word boundary
/picolibc-latest/newlib/libc/machine/arc64/
Dstrlen.S38 ; Analyzes the first NULL byte containing double word and calculates
103 ; Point r13 to first NULL byte containing double word [3]
118 ; Point r13 to first NULL byte in selected double word
194 ; Point r13 to first NULL byte containing double word [3]
209 ; Point r13 to first NULL byte in selected double word
246 ; the first match (or ffs depending on the values in bset) [2]. The
251 ; The first step to take is point r13 to the appropriate double word.
256 ; Then, we need to place the loaded double word containing the first
262 ; so we want to analyze from last to first.
264 ; We can ignore the first asr (which would be asr.f 2, as we started
[all …]
Dstrcat.S115 ; Point r13 to first NULL byte containing double word [3]
130 ; Point r13 to first NULL byte in selected double word
205 ; Point r1 to first NULL byte containing double word [3]
346 ; Point r13 to first NULL byte containing double word [3]
361 ; Point r13 to first NULL byte in selected double word
439 ; Point r1 to first NULL byte containing double word [3]
538 ; r6 is set via bset, which means we can simply use a fls to obtain the first
544 ; The first step to take is point r13 to the appropriate double word.
548 ; Then, we need to place the loaded double word containing the first NULL byte
554 ; double words, so we want to analyze from last to first.
[all …]
Dmemchr.S142 ; Point r13 to first NULL byte containing double word [3]
274 ; Point r13 to first NULL byte containing double word [3]
320 ; r3 is set via bset, which means we can simply use a fls to obtain the first
326 ; The first step to take is point r0 to the appropriate double word.
330 ; Then, we need to place the loaded double word containing the first target byte
336 ; words, so we want to analyze from last to first.
338 ; We can ignore the first asr (which would be asr.f 2, as we started r3 on 1)
342 ; Now comes the tricky part. In order to obtain the first target byte, we need
344 ; the link above but in short, it works by first setting the highest bit of each
352 ; xor). Therefore, we can simply find the first non zero bit (counting from bit
[all …]
/picolibc-latest/newlib/libc/machine/m32r/
Dsetjmp.S36 ;addi r0, #-4 ; commented out as first word is reserved
53 addi r0, #4 ; first word is reserved
/picolibc-latest/newlib/testsuite/newlib.locale/
DUTF-8.c19 char first[6][6] = { variable
152 retval = mbtowc(&wchar, first[0], MAX_BYTES); in main()
160 retval = mbtowc (&wchar, first[i-1], MAX_BYTES); in main()

123