func unicode/utf8.DecodeRune

35 uses

	unicode/utf8 (current package)
		utf8.go#L151: func DecodeRune(p []byte) (r rune, size int) {
		utf8.go#L272: 	r, size = DecodeRune(p[start:end])

	bufio
		bufio.go#L315: 		r, size = utf8.DecodeRune(b.buf[b.r:b.w])
		scan.go#L315: 	_, width := utf8.DecodeRune(data)
		scan.go#L400: 		r, width = utf8.DecodeRune(data[start:])
		scan.go#L408: 		r, width = utf8.DecodeRune(data[i:])

	bytes
		buffer.go#L385: 	r, n := utf8.DecodeRune(b.buf[b.off:])
		bytes.go#L45: 		_, size = utf8.DecodeRune(s)
		bytes.go#L166: 			r1, n := utf8.DecodeRune(s[i:])
		bytes.go#L234: 		r, width = utf8.DecodeRune(s[i:])
		bytes.go#L497: 			r, size = utf8.DecodeRune(s[i:])
		bytes.go#L583: 			r, wid = utf8.DecodeRune(s[i:])
		bytes.go#L743: 		_, wid := utf8.DecodeRune(s[i:])
		bytes.go#L821: 		_, wid := utf8.DecodeRune(s[i:])
		bytes.go#L876: 			r, wid = utf8.DecodeRune(s[start:])
		bytes.go#L1010: 			r, n = utf8.DecodeRune(s)
		bytes.go#L1116: 		r, l := utf8.DecodeRune(s)
		bytes.go#L1152: 				_, wid := utf8.DecodeRune(s[start:])
		bytes.go#L1215: 			r, size := utf8.DecodeRune(s)
		bytes.go#L1221: 			r, size := utf8.DecodeRune(t)
		reader.go#L97: 	ch, size = utf8.DecodeRune(r.s[r.i:])

	encoding/json
		decode.go#L1198: 		rr, size := utf8.DecodeRune(s[r:])
		decode.go#L1285: 			rr, size := utf8.DecodeRune(s[r:])
		fold.go#L32: 		r, n := utf8.DecodeRune(in[i:])

	fmt
		format.go#L348: 				_, wid = utf8.DecodeRune(b[i:])
		scan.go#L359: 	rr, size = utf8.DecodeRune(r.buf[:n])

	github.com/go-faster/jx/internal/byteseq
		byteseq.go#L15: 	return utf8.DecodeRune(tmp[:n])

	go.uber.org/zap/zapcore
		json_encoder.go#L501: 		utf8.DecodeRune,

	regexp
		regexp.go#L444: 		return utf8.DecodeRune(i.str[pos:])
		regexp.go#L474: 			r2, _ = utf8.DecodeRune(i.str[pos:])
		regexp.go#L649: 			_, width = utf8.DecodeRune(bsrc[searchPos:])

	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:])