func unicode/utf8.DecodeRune

55 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#L307: 		r, size = utf8.DecodeRune(b.buf[b.r:b.w])
		scan.go#L316: 	_, width := utf8.DecodeRune(data)
		scan.go#L401: 		r, width = utf8.DecodeRune(data[start:])
		scan.go#L409: 		r, width = utf8.DecodeRune(data[i:])

	bytes
		buffer.go#L364: 	r, n := utf8.DecodeRune(b.buf[b.off:])
		bytes.go#L45: 		_, size = utf8.DecodeRune(s)
		bytes.go#L161: 			r1, n := utf8.DecodeRune(s[i:])
		bytes.go#L229: 		r, width = utf8.DecodeRune(s[i:])
		bytes.go#L487: 			r, size = utf8.DecodeRune(s[i:])
		bytes.go#L565: 			r, wid = utf8.DecodeRune(s[i:])
		bytes.go#L709: 		_, wid := utf8.DecodeRune(s[i:])
		bytes.go#L787: 		_, wid := utf8.DecodeRune(s[i:])
		bytes.go#L842: 			r, wid = utf8.DecodeRune(s[start:])
		bytes.go#L976: 			r, n = utf8.DecodeRune(s)
		bytes.go#L1082: 		r, l := utf8.DecodeRune(s)
		bytes.go#L1118: 				_, wid := utf8.DecodeRune(s[start:])
		bytes.go#L1151: 			r, size := utf8.DecodeRune(s)
		bytes.go#L1157: 			r, size := utf8.DecodeRune(t)
		reader.go#L98: 	ch, size = utf8.DecodeRune(r.s[r.i:])

	encoding/json
		decode.go#L1217: 		rr, size := utf8.DecodeRune(s[r:])
		decode.go#L1304: 			rr, size := utf8.DecodeRune(s[r:])
		encode.go#L1139: 		c, size := utf8.DecodeRune(s[i:])
		fold.go#L83: 		tr, size := utf8.DecodeRune(t)

	encoding/xml
		xml.go#L1131: 		r, size := utf8.DecodeRune(buf)
		xml.go#L1232: 	c, n := utf8.DecodeRune(s)
		xml.go#L1241: 		c, n = utf8.DecodeRune(s)
		xml.go#L1913: 		r, width := utf8.DecodeRune(s[i:])

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

	github.com/aws/smithy-go/encoding/xml
		escape.go#L98: 		r, width := utf8.DecodeRune(s[i:])

	github.com/vmihailenco/bufpool
		buffer.go#L300: 	r, n := utf8.DecodeRune(b.buf[b.off:])

	go.uber.org/zap/zapcore
		json_encoder.go#L515: 		r, size := utf8.DecodeRune(s[i:])

	go/build
		build.go#L1332: 		r, size := utf8.DecodeRune(rest)

	go/scanner
		scanner.go#L74: 			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#L663: 		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#L187: 	first, _ := utf8.DecodeRune(b)
		js.go#L200: 		rune, n := utf8.DecodeRune(b[i:])

	regexp
		regexp.go#L442: 		return utf8.DecodeRune(i.str[pos:])
		regexp.go#L472: 			r2, _ = utf8.DecodeRune(i.str[pos:])
		regexp.go#L647: 			_, width = utf8.DecodeRune(bsrc[searchPos:])
		regexp.go#L800: 				_, width = utf8.DecodeRune(b[pos:end])

	text/template
		funcs.go#L687: 			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:])