Lines Matching full:zero
8 * Returns strnlen, including trailing zero terminator.
9 * Zero indicates error.
74 bnone a9, a5, .Lz0 # if byte 0 is zero
75 bnone a9, a6, .Lz1 # if byte 1 is zero
76 bnone a9, a7, .Lz2 # if byte 2 is zero
77 bnone a9, a8, .Lz3 # if byte 3 is zero
88 bnone a9, a5, .Lz0 # if byte 0 is zero
89 bnone a9, a6, .Lz1 # if byte 1 is zero
93 # Actually, we don't need to check. Zero or nonzero, we'll add one.
102 # the zero byte in order to include the NULL terminator in the count.
104 .Lz3: # byte 3 is zero
105 addi a4, a4, 3 # point to zero byte
106 .Lz0: # byte 0 is zero
107 addi a4, a4, 1 # point just beyond zero byte
110 .Lz1: # byte 1 is zero
111 addi a4, a4, 1+1 # point just beyond zero byte
114 .Lz2: # byte 2 is zero
115 addi a4, a4, 2+1 # point just beyond zero byte
122 beqz a9, .Lz3 # if byte 0 is zero
128 bnone a9, a7, .Lz2 # if byte 2 (of word, not string) is zero
130 # byte 3 is zero
131 addi a4, a4, 3+1 # point just beyond zero byte