func unicode/utf8.DecodeRuneInString

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

	encoding/json
		encode.go#L1010: 		c, size := utf8.DecodeRuneInString(string(src[i : i+n]))

	fmt
		print.go#L1150: 			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:])

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

	path
		match.go#L138: 				r, n = utf8.DecodeRuneInString(s)
		match.go#L180: 				_, n := utf8.DecodeRuneInString(s)
		match.go#L221: 	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#L205: 		regexp.prefixRune, _ = utf8.DecodeRuneInString(regexp.prefix)
		regexp.go#L391: 		return utf8.DecodeRuneInString(i.str[pos:])
		regexp.go#L421: 			r2, _ = utf8.DecodeRuneInString(i.str[pos:])
		regexp.go#L645: 			_, width = utf8.DecodeRuneInString(src[searchPos:])
		regexp.go#L986: 		rune, size := utf8.DecodeRuneInString(str[i:])

	regexp/syntax
		parse.go#L1758: 			_, size := utf8.DecodeRuneInString(t[1:])
		parse.go#L2102: 		rune, size := utf8.DecodeRuneInString(s)
		parse.go#L2112: 	c, size := utf8.DecodeRuneInString(s)

	strconv
		quote.go#L44: 			r, width = utf8.DecodeRuneInString(s)
		quote.go#L214: 		r, wid := utf8.DecodeRuneInString(s)
		quote.go#L270: 		r, size := utf8.DecodeRuneInString(s)
		quote.go#L438: 				r, n := utf8.DecodeRuneInString(in[len("'") : end-len("'")])

	strings
		reader.go#L97: 	ch, size = utf8.DecodeRuneInString(r.s[r.i:])
		strings.go#L29: 		_, size := utf8.DecodeRuneInString(s)
		strings.go#L490: 			c, width = utf8.DecodeRuneInString(s[i:])
		strings.go#L744: 		_, wid := utf8.DecodeRuneInString(s[i:])
		strings.go#L767: 		_, wid := utf8.DecodeRuneInString(s[i:])
		strings.go#L846: 		_, wid := utf8.DecodeRuneInString(s[i:])
		strings.go#L979: 			r, n = utf8.DecodeRuneInString(s)
		strings.go#L1111: 				_, wid := utf8.DecodeRuneInString(s[start:])
		strings.go#L1179: 			r, size := utf8.DecodeRuneInString(t)

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

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