func unicode/utf8.DecodeRune
50 uses
unicode/utf8 (current package)
utf8.go#L157: func DecodeRune(p []byte) (r rune, size int) {
utf8.go#L278: r, size = DecodeRune(p[start:end])
bufio
bufio.go#L316: r, size = utf8.DecodeRune(b.buf[b.r:b.w])
scan.go#L320: _, width := utf8.DecodeRune(data)
scan.go#L405: r, width = utf8.DecodeRune(data[start:])
scan.go#L413: r, width = utf8.DecodeRune(data[i:])
bytes
buffer.go#L385: r, n := utf8.DecodeRune(b.buf[b.off:])
bytes.go#L47: _, size = utf8.DecodeRune(s)
bytes.go#L146: r1, n := utf8.DecodeRune(s[i:])
bytes.go#L269: r, width = utf8.DecodeRune(s[i:])
bytes.go#L530: r, size = utf8.DecodeRune(s[i:])
bytes.go#L616: r, wid = utf8.DecodeRune(s[i:])
bytes.go#L786: _, wid := utf8.DecodeRune(s[i:])
bytes.go#L864: _, wid := utf8.DecodeRune(s[i:])
bytes.go#L919: r, wid = utf8.DecodeRune(s[start:])
bytes.go#L1053: r, n = utf8.DecodeRune(s)
bytes.go#L1159: r, l := utf8.DecodeRune(s)
bytes.go#L1195: _, wid := utf8.DecodeRune(s[start:])
bytes.go#L1258: r, size := utf8.DecodeRune(s)
bytes.go#L1264: r, size := utf8.DecodeRune(t)
iter.go#L39: _, size := utf8.DecodeRune(s)
iter.go#L98: r, size = utf8.DecodeRune(s[i:])
iter.go#L130: r, size = utf8.DecodeRune(s[i:])
reader.go#L97: ch, size = utf8.DecodeRune(r.s[r.i:])
encoding/json
decode.go#L1216: rr, size := utf8.DecodeRune(s[r:])
decode.go#L1303: rr, size := utf8.DecodeRune(s[r:])
fold.go#L32: r, n := utf8.DecodeRune(in[i:])
fmt
format.go#L351: _, wid = utf8.DecodeRune(b[i:])
scan.go#L359: rr, size = utf8.DecodeRune(r.buf[:n])
go.uber.org/zap/zapcore
json_encoder.go#L515: r, size := utf8.DecodeRune(s[i:])
go/build
build.go#L1398: r, size := utf8.DecodeRune(rest)
go/scanner
scanner.go#L72: r, w = utf8.DecodeRune(s.src[s.rdOffset:])
golang.org/x/text/transform
transform.go#L512: r, sz = utf8.DecodeRune(src)
golang.org/x/text/unicode/norm
composition.go#L296: r, _ := utf8.DecodeRune(rb.byte[inf.pos : inf.pos+inf.size])
composition.go#L387: c, _ := utf8.DecodeRune(b)
input.go#L103: r, size = utf8.DecodeRune(in.bytes[p:])
google.golang.org/protobuf/internal/encoding/json
decode_string.go#L28: switch r, n := utf8.DecodeRune(in); {
google.golang.org/protobuf/internal/encoding/text
decode.go#L664: r, size := utf8.DecodeRune(seq[i:])
decode_string.go#L60: switch r, n := utf8.DecodeRune(in); {
html/template
css.go#L96: _, n := utf8.DecodeRune(s[1:])
js.go#L214: first, _ := utf8.DecodeRune(b)
js.go#L227: rune, n := utf8.DecodeRune(b[i:])
regexp
regexp.go#L438: return utf8.DecodeRune(i.str[pos:])
regexp.go#L468: r2, _ = utf8.DecodeRune(i.str[pos:])
regexp.go#L643: _, width = utf8.DecodeRune(bsrc[searchPos:])
text/template
funcs.go#L716: r, size := utf8.DecodeRune(b[i:])
vendor/golang.org/x/text/transform
transform.go#L512: r, sz = utf8.DecodeRune(src)
vendor/golang.org/x/text/unicode/norm
composition.go#L296: r, _ := utf8.DecodeRune(rb.byte[inf.pos : inf.pos+inf.size])
composition.go#L387: c, _ := utf8.DecodeRune(b)
input.go#L103: r, size = utf8.DecodeRune(in.bytes[p:])