func unicode/utf8.DecodeRuneInString

143 uses

	unicode/utf8 (current package)
		utf8.go#L199: func DecodeRuneInString(s string) (r rune, size int) {
		utf8.go#L312: 	r, size = DecodeRuneInString(s[start:end])

	archive/zip
		writer.go#L230: 		r, size := utf8.DecodeRuneInString(s[i:])

	database/sql
		convert.go#L33: 	r, _ := utf8.DecodeRuneInString(name)

	encoding/gob
		type.go#L558: 	rune, _ := utf8.DecodeRuneInString(name)

	encoding/json
		encode.go#L1065: 		c, size := utf8.DecodeRuneInString(s[i:])

	encoding/xml
		xml.go#L1249: 	c, n := utf8.DecodeRuneInString(s)
		xml.go#L1258: 		c, n = utf8.DecodeRuneInString(s)
		xml.go#L1953: 		r, width := utf8.DecodeRuneInString(s[i:])

	fmt
		print.go#L1102: 			verb, size = utf8.DecodeRuneInString(format[i:])
		scan.go#L1102: 		fmtc, w := utf8.DecodeRuneInString(format[i:])
		scan.go#L1121: 				fmtc, w = utf8.DecodeRuneInString(format[i:])
		scan.go#L1161: 			nextc, _ := utf8.DecodeRuneInString(format[i+w:]) // will not match % if string is empty
		scan.go#L1209: 		c, w := utf8.DecodeRuneInString(format[i:])

	github.com/evanw/esbuild/internal/bundler
		bundler.go#L1724: 			runeA, widthA := utf8.DecodeRuneInString(absDir[a:])
		bundler.go#L1725: 			runeB, widthB := utf8.DecodeRuneInString(lowestAbsDir[b:])

	github.com/evanw/esbuild/internal/css_lexer
		css_lexer.go#L182: 	codePoint, width := utf8.DecodeRuneInString(lexer.source.Contents[lexer.current:])
		css_lexer.go#L431: 	c, _ := utf8.DecodeRuneInString(lexer.source.Contents[lexer.current:])
		css_lexer.go#L441: 		c, w := utf8.DecodeRuneInString(lexer.source.Contents[lexer.current:])
		css_lexer.go#L446: 			c, _ = utf8.DecodeRuneInString(lexer.source.Contents[lexer.current+w:])
		css_lexer.go#L457: 		c, width := utf8.DecodeRuneInString(text)
		css_lexer.go#L461: 			if c, _ := utf8.DecodeRuneInString(text[width:]); IsNameStart(c) || c == '-' {
		css_lexer.go#L791: 		c, width := utf8.DecodeRuneInString(inner)
		css_lexer.go#L804: 		c, width = utf8.DecodeRuneInString(inner)
		css_lexer.go#L815: 				c, width = utf8.DecodeRuneInString(inner)
		css_lexer.go#L830: 			c, width = utf8.DecodeRuneInString(inner)
		css_lexer.go#L840: 			c, width = utf8.DecodeRuneInString(inner)

	github.com/evanw/esbuild/internal/js_lexer
		js_lexer.go#L370: 		c, _ := utf8.DecodeRuneInString(lexer.source.Contents[lexer.end:])
		js_lexer.go#L516: 	c, width := utf8.DecodeRuneInString(text)
		js_lexer.go#L526: 		c, width := utf8.DecodeRuneInString(text)
		js_lexer.go#L648: 	c, _ := utf8.DecodeRuneInString(text[i:])
		js_lexer.go#L653: 		c, _ = utf8.DecodeRuneInString(text[i:])
		js_lexer.go#L659: 			c2, width2 := utf8.DecodeRuneInString(text[i:])
		js_lexer.go#L1993: 		c, width := utf8.DecodeRuneInString(text[i:])
		js_lexer.go#L2039: 		c, width := utf8.DecodeRuneInString(text[i:])
		js_lexer.go#L2089: 		c, width := utf8.DecodeRuneInString(text[i:])
		js_lexer.go#L2113: 			c2, width2 := utf8.DecodeRuneInString(text[i:])
		js_lexer.go#L2156: 				c3, width3 := utf8.DecodeRuneInString(text[i:])
		js_lexer.go#L2161: 					c4, width4 := utf8.DecodeRuneInString(text[i:])
		js_lexer.go#L2197: 					c3, width3 := utf8.DecodeRuneInString(text[i:])
		js_lexer.go#L2218: 				c3, width3 := utf8.DecodeRuneInString(text[i:])
		js_lexer.go#L2233: 						c3, width3 = utf8.DecodeRuneInString(text[i:])
		js_lexer.go#L2282: 							c3, width3 = utf8.DecodeRuneInString(text[i:])
		js_lexer.go#L2351: 	codePoint, width := utf8.DecodeRuneInString(lexer.source.Contents[lexer.current:])
		js_lexer.go#L2416: 		c, _ := utf8.DecodeRuneInString(text[p:])
		js_lexer.go#L2440: 	c, width := utf8.DecodeRuneInString(text)
		js_lexer.go#L2451: 			c, width = utf8.DecodeRuneInString(text)
		js_lexer.go#L2462: 		c, width = utf8.DecodeRuneInString(text[i:])

	github.com/evanw/esbuild/internal/logger
		logger.go#L1194: 		c, size := utf8.DecodeRuneInString(text)

	github.com/go-git/gcfg
		set.go#L36: 	r0, _ := utf8.DecodeRuneInString(name)

	github.com/go-git/go-git/v5/plumbing/format/index
		match.go#L97: 			r, n := utf8.DecodeRuneInString(s)
		match.go#L139: 			_, n := utf8.DecodeRuneInString(s)
		match.go#L177: 	r, n := utf8.DecodeRuneInString(chunk)

	github.com/golang/protobuf/proto
		text_decode.go#L683: 		r, n := utf8.DecodeRuneInString(s)
		text_decode.go#L708: 	r, n := utf8.DecodeRuneInString(s)

	github.com/google/go-cmp/cmp
		path.go#L376: 	r, _ := utf8.DecodeRuneInString(id)

	github.com/google/go-cmp/cmp/cmpopts
		ignore.go#L147: 	r, _ := utf8.DecodeRuneInString(id)

	github.com/google/licensecheck/internal/match
		dict.go#L133: 			r, size := utf8.DecodeRuneInString(t)
		dict.go#L147: 					r, s := utf8.DecodeRuneInString(t[size:])

	github.com/google/licensecheck/old
		normalize.go#L41: 		r, wid = utf8.DecodeRuneInString(str[pos:])

	github.com/imdario/mergo
		map.go#L22: 	r, n := utf8.DecodeRuneInString(s)
		map.go#L27: 	r, _ := utf8.DecodeRuneInString(field.Name)

	github.com/jackc/pgtype
		hstore.go#L267: 	r, w := utf8.DecodeRuneInString(p.str[p.pos:])
		hstore.go#L277: 	r, _ = utf8.DecodeRuneInString(p.str[p.pos:])

	github.com/jackc/pgx/v4/internal/sanitize
		sanitize.go#L105: 		r, width := utf8.DecodeRuneInString(l.src[l.pos:])
		sanitize.go#L110: 			nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
		sanitize.go#L120: 			nextRune, _ := utf8.DecodeRuneInString(l.src[l.pos:])
		sanitize.go#L129: 			nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
		sanitize.go#L135: 			nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
		sanitize.go#L152: 		r, width := utf8.DecodeRuneInString(l.src[l.pos:])
		sanitize.go#L157: 			nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
		sanitize.go#L174: 		r, width := utf8.DecodeRuneInString(l.src[l.pos:])
		sanitize.go#L179: 			nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
		sanitize.go#L200: 		r, width := utf8.DecodeRuneInString(l.src[l.pos:])
		sanitize.go#L217: 		r, width := utf8.DecodeRuneInString(l.src[l.pos:])
		sanitize.go#L222: 			_, width = utf8.DecodeRuneInString(l.src[l.pos:])
		sanitize.go#L225: 			nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
		sanitize.go#L242: 		r, width := utf8.DecodeRuneInString(l.src[l.pos:])
		sanitize.go#L247: 			_, width = utf8.DecodeRuneInString(l.src[l.pos:])
		sanitize.go#L263: 		r, width := utf8.DecodeRuneInString(l.src[l.pos:])
		sanitize.go#L268: 			nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])
		sanitize.go#L274: 			nextRune, width := utf8.DecodeRuneInString(l.src[l.pos:])

	github.com/jmespath/go-jmespath
		interpreter.go#L319: 	first, n := utf8.DecodeRuneInString(key)
		lexer.go#L127: 	r, w := utf8.DecodeRuneInString(lexer.expression[lexer.currentPos:])

	github.com/sergi/go-diff/diffmatchpatch
		diff.go#L781: 	rune2, _ := utf8.DecodeRuneInString(two)
		diff.go#L845: 				_, sz := utf8.DecodeRuneInString(edit)
		stringutil.go#L48: 	_, size := utf8.DecodeRuneInString(str[i:])

	go/build
		read.go#L538: 			r, _ := utf8.DecodeRuneInString(args)

	go/doc
		comment.go#L221: 	r, _ := utf8.DecodeRuneInString(line)
		example.go#L146: 	rune, _ := utf8.DecodeRuneInString(name[len(prefix):])
		example.go#L545: 	r, size := utf8.DecodeRuneInString(s)

	go/token
		token.go#L317: 	ch, _ := utf8.DecodeRuneInString(name)

	golang.org/x/net/idna
		idna10.0.0.go#L421: 			r, _ := utf8.DecodeRuneInString(s[i:])
		idna10.0.0.go#L474: 				r, _ := utf8.DecodeRuneInString(s[start:])

	golang.org/x/pkgsite/internal/database
		reflect.go#L61: 		r, _ := utf8.DecodeRuneInString(t.Field(i).Name)

	golang.org/x/pkgsite/internal/godoc/dochtml/internal/render
		idents.go#L359: 	r, _ := utf8.DecodeRuneInString(id)
		render.go#L334: 	r, _ := utf8.DecodeRuneInString(line)

	golang.org/x/pkgsite/internal/godoc/internal/doc
		example.go#L146: 	rune, _ := utf8.DecodeRuneInString(name[len(prefix):])
		example.go#L662: 	r, size := utf8.DecodeRuneInString(s)

	golang.org/x/text/unicode/norm
		input.go#L98: 		r, size = utf8.DecodeRuneInString(in.str[p:])

	golang.org/x/xerrors
		fmt.go#L141: 		r, sz = utf8.DecodeRuneInString(s[i:])

	google.golang.org/grpc/internal/transport
		http_util.go#L473: 		r, size := utf8.DecodeRuneInString(msg)

	google.golang.org/protobuf/internal/encoding/json
		encode.go#L95: 		switch r, n := utf8.DecodeRuneInString(in); {

	google.golang.org/protobuf/internal/encoding/text
		encode.go#L123: 		switch r, n := utf8.DecodeRuneInString(in); {

	google.golang.org/protobuf/internal/strs
		strings.go#L83: 	r, _ := utf8.DecodeRuneInString(s)

	html/template
		css.go#L164: 		r, w = utf8.DecodeRuneInString(s[i:])
		html.go#L146: 		r, w = utf8.DecodeRuneInString(s[i:])
		js.go#L259: 		r, w = utf8.DecodeRuneInString(s[i:])

	mime
		encodedword.go#L96: 		_, runeLen = utf8.DecodeRuneInString(s[i:])
		encodedword.go#L130: 			_, runeLen = utf8.DecodeRuneInString(s[i:])

	path
		match.go#L139: 				r, n = utf8.DecodeRuneInString(s)
		match.go#L181: 				_, n := utf8.DecodeRuneInString(s)
		match.go#L222: 	r, n := utf8.DecodeRuneInString(chunk)

	path/filepath
		match.go#L139: 				r, n = utf8.DecodeRuneInString(s)
		match.go#L181: 				_, n := utf8.DecodeRuneInString(s)
		match.go#L224: 	r, n := utf8.DecodeRuneInString(chunk)

	regexp
		regexp.go#L207: 		regexp.prefixRune, _ = utf8.DecodeRuneInString(regexp.prefix)
		regexp.go#L389: 		return utf8.DecodeRuneInString(i.str[pos:])
		regexp.go#L419: 			r2, _ = utf8.DecodeRuneInString(i.str[pos:])
		regexp.go#L643: 			_, width = utf8.DecodeRuneInString(src[searchPos:])
		regexp.go#L792: 				_, width = utf8.DecodeRuneInString(s[pos:end])
		regexp.go#L985: 		rune, size := utf8.DecodeRuneInString(str[i:])

	regexp/syntax
		parse.go#L1550: 			_, size := utf8.DecodeRuneInString(t[1:])
		parse.go#L1878: 		rune, size := utf8.DecodeRuneInString(s)
		parse.go#L1888: 	c, size := utf8.DecodeRuneInString(s)

	strconv
		quote.go#L40: 			r, width = utf8.DecodeRuneInString(s)
		quote.go#L207: 		r, wid := utf8.DecodeRuneInString(s)
		quote.go#L263: 		r, size := utf8.DecodeRuneInString(s)
		quote.go#L410: 			r, size := utf8.DecodeRuneInString(s)

	strings
		reader.go#L97: 	ch, size = utf8.DecodeRuneInString(r.s[r.i:])
		strings.go#L26: 		ch, size := utf8.DecodeRuneInString(s)
		strings.go#L473: 			c, width = utf8.DecodeRuneInString(s[i:])
		strings.go#L641: 		_, wid := utf8.DecodeRuneInString(s[i:])
		strings.go#L664: 		_, wid := utf8.DecodeRuneInString(s[i:])
		strings.go#L742: 		_, wid := utf8.DecodeRuneInString(s[i:])
		strings.go#L944: 				_, wid := utf8.DecodeRuneInString(s[start:])
		strings.go#L977: 			r, size := utf8.DecodeRuneInString(s)
		strings.go#L983: 			r, size := utf8.DecodeRuneInString(t)

	text/template/parse
		lex.go#L130: 	r, w := utf8.DecodeRuneInString(l.input[l.pos:])
		lex.go#L536: 	if rd, _ := utf8.DecodeRuneInString(l.rightDelim); rd == r {

	vendor/golang.org/x/net/idna
		idna10.0.0.go#L420: 			r, _ := utf8.DecodeRuneInString(s[i:])
		idna10.0.0.go#L473: 				r, _ := utf8.DecodeRuneInString(s[start:])

	vendor/golang.org/x/text/unicode/norm
		input.go#L98: 		r, size = utf8.DecodeRuneInString(in.str[p:])