func unicode/utf8.DecodeRune

79 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#L296: 		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#L363: 	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#L483: 			r, size = utf8.DecodeRune(s[i:])
		bytes.go#L561: 			r, wid = utf8.DecodeRune(s[i:])
		bytes.go#L705: 		_, wid := utf8.DecodeRune(s[i:])
		bytes.go#L782: 		_, wid := utf8.DecodeRune(s[i:])
		bytes.go#L837: 			r, wid = utf8.DecodeRune(s[start:])
		bytes.go#L975: 		r, l := utf8.DecodeRune(s)
		bytes.go#L1011: 				_, wid := utf8.DecodeRune(s[start:])
		bytes.go#L1044: 			r, size := utf8.DecodeRune(s)
		bytes.go#L1050: 			r, size := utf8.DecodeRune(t)
		reader.go#L98: 	ch, size = utf8.DecodeRune(r.s[r.i:])

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

	encoding/xml
		xml.go#L1125: 		r, size := utf8.DecodeRune(buf)
		xml.go#L1225: 	c, n := utf8.DecodeRune(s)
		xml.go#L1234: 		c, n = utf8.DecodeRune(s)
		xml.go#L1906: 		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/ghodss/yaml
		fields.go#L406: 		tr, size := utf8.DecodeRune(t)

	github.com/go-git/gcfg/scanner
		scanner.go#L71: 			r, w = utf8.DecodeRune(s.src[s.rdOffset:])

	github.com/google/licensecheck/old
		license.go#L309: 		r, wid := utf8.DecodeRune(doc.text[pos:])
		normalize.go#L105: 		r, wid = utf8.DecodeRune(b[i:])

	github.com/russross/blackfriday/v2
		markdown.go#L873: 			_, size := utf8.DecodeRune(line[i:])

	github.com/yuin/goldmark/text
		reader.go#L163: 	rn, _ := utf8.DecodeRune(r.source[i:])
		reader.go#L352: 	rn, _ := utf8.DecodeRune(r.source[i:])
		reader.go#L537: 	rn, size := utf8.DecodeRune(line)

	github.com/yuin/goldmark/util
		util.go#L448: 		r, length := utf8.DecodeRune(v[i:])
		util.go#L514: 	r, _ := utf8.DecodeRune(source[i:])

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

	go/scanner
		scanner.go#L69: 			r, w = utf8.DecodeRune(s.src[s.rdOffset:])

	golang.org/x/mod/modfile
		read.go#L408: 	r, _ := utf8.DecodeRune(in.remaining)
		read.go#L429: 	r, size := utf8.DecodeRune(in.remaining)

	golang.org/x/text/cases
		map.go#L505: 	r, _ := utf8.DecodeRune(c.src[c.pSrc:])
		map.go#L519: 		r, sz := utf8.DecodeRune(b)
		map.go#L530: 		switch r, _ := utf8.DecodeRune(c.src[c.pSrc:]); r {
		map.go#L654: 		r, _ := utf8.DecodeRune(c.src[c.pSrc:])

	golang.org/x/text/runes
		cond.go#L124: 			} else if r, size = utf8.DecodeRune(src[p:]); size == 1 {
		cond.go#L165: 			} else if r, size = utf8.DecodeRune(src[p:]); size == 1 {
		runes.go#L114: 		} else if r, size = utf8.DecodeRune(src[n:]); size == 1 {
		runes.go#L137: 		} else if r, size = utf8.DecodeRune(src[nSrc:]); size == 1 {
		runes.go#L193: 		} else if r, size = utf8.DecodeRune(src[n:]); size == 1 {
		runes.go#L228: 		} else if r, size = utf8.DecodeRune(src[nSrc:]); size == 1 {
		runes.go#L291: 		r, size := utf8.DecodeRune(src[n:])
		runes.go#L327: 		if _, size := utf8.DecodeRune(src[nSrc:]); size != 1 {

	golang.org/x/text/secure/precis
		nickname.go#L47: 		r, size := utf8.DecodeRune(src[nSrc:])
		profile.go#L225: 				r, size := utf8.DecodeRune(b.src[i:])

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

	golang.org/x/text/width
		width.go#L119: 		r, _ := utf8.DecodeRune(buf[1 : 1+buf[0]])
		width.go#L131: 		r, _ := utf8.DecodeRune(buf[1 : 1+buf[0]])
		width.go#L143: 		r, _ := utf8.DecodeRune(buf[1 : 1+buf[0]])

	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_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#L436: 		return utf8.DecodeRune(i.str[pos:])
		regexp.go#L466: 			r2, _ = utf8.DecodeRune(i.str[pos:])
		regexp.go#L641: 			_, width = utf8.DecodeRune(bsrc[searchPos:])
		regexp.go#L794: 				_, width = utf8.DecodeRune(b[pos:end])

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