Home
last modified time | relevance | path

Searched refs:NUL (Results 1 – 6 of 6) sorted by relevance

/picolibc-3.5.0-3.4.0/newlib/libc/machine/rx/
Dstrncat.S19 1: mov.b [r4+], r5 ; Find the NUL byte at the end of the destination.
27 cmp #0, r5 ; ... until we reach a NUL byte ...
38 mov #0, r2 ; Search for the NUL byte.
41 sub #1, r1 ; suntil.b leaves r1 pointing to the byte beyond the NUL.
49 …beq 1f ; If we copied 0 bytes then we already know that the dest string is NUL terminated, so w…
50 mov #0, r2 ; Otherwise we must check to see if a NUL byte
55 mov.b #0, [r5] ; Store a NUL there.
Dstrcat.S15 1: mov.b [r4+], r5 ; Find the NUL byte at the end of R4.
19 sub #1, r4 ; Move R4 back to point at the NUL byte.
21 2: mov.b [r2+], r5 ; Copy bytes from R2 to R4 until we reach a NUL byte.
31 mov #0, r2 ; Search for the NUL byte.
Dstrncpy.S21 bne 2b ; ... or we have written a NUL byte
23 4: mov.b r5, [r4+] ; Continue to write further NUL bytes
Dstrlen.S25 mov #0, r2 ; Stop searching when we find a NUL byte.
/picolibc-3.5.0-3.4.0/newlib/libc/stdlib/
Dmbtowc_r.c52 NUL, JIS_CHAR, OTHER, JIS_C_NUM } JIS_CHAR_TYPE; enumerator
925 ch = NUL; in __jis_mbtowc()
/picolibc-3.5.0-3.4.0/newlib/
DChangeLog-20151764 Write NUL into the last byte to accommodate split_lines (CID 60047).
4333 NUL-terminated string; don't overwrite too-short buf.
4957 return value if input byte is ASCII NUL.