func unicode/utf8.DecodeRuneInString
68 uses
unicode/utf8 (current package)
utf8.go#L205: func DecodeRuneInString(s string) (r rune, size int) {
utf8.go#L318: r, size = DecodeRuneInString(s[start:end])
encoding/json
encode.go#L1022: 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:])
github.com/google/go-cmp/cmp
path.go#L388: r, _ := utf8.DecodeRuneInString(id)
go.uber.org/zap/zapcore
json_encoder.go#L498: r, size := utf8.DecodeRuneInString(s[i:])
go/build
read.go#L615: r, _ := utf8.DecodeRuneInString(args)
go/build/constraint
expr.go#L348: c, _ := utf8.DecodeRuneInString(p.s[p.i:])
go/constant
value.go#L125: _, size := utf8.DecodeRuneInString(s[i:])
go/doc
example.go#L147: rune, _ := utf8.DecodeRuneInString(name[len(prefix):])
example.go#L723: r, size := utf8.DecodeRuneInString(s)
go/doc/comment
parse.go#L576: r, _ := utf8.DecodeRuneInString(line)
parse.go#L744: if r, n := utf8.DecodeRuneInString(line); r == '•' || r == '*' || r == '+' || r == '-' {
parse.go#L847: r, _ := utf8.DecodeRuneInString(after)
parse.go#L1155: r, _ := utf8.DecodeRuneInString(s)
parse.go#L1175: r, nr := utf8.DecodeRuneInString(s[n:])
go/token
token.go#L317: ch, _ := utf8.DecodeRuneInString(name)
go/types
object.go#L76: ch, _ := utf8.DecodeRuneInString(name)
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:])
golang.org/x/text/unicode/norm
input.go#L98: r, size = utf8.DecodeRuneInString(in.str[p:])
google.golang.org/grpc/internal/transport
http_util.go#L241: r, size := utf8.DecodeRuneInString(msg)
google.golang.org/protobuf/internal/encoding/json
encode.go#L97: 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#L151: r, w = utf8.DecodeRuneInString(s[i:])
js.go#L291: 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#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#L439: r, n := utf8.DecodeRuneInString(in[len("'") : end-len("'")])
strings
iter.go#L39: _, size := utf8.DecodeRuneInString(s)
iter.go#L98: r, size = utf8.DecodeRuneInString(s[i:])
iter.go#L130: r, size = utf8.DecodeRuneInString(s[i:])
reader.go#L97: ch, size = utf8.DecodeRuneInString(r.s[r.i:])
strings.go#L30: _, size := utf8.DecodeRuneInString(s)
strings.go#L545: c, width = utf8.DecodeRuneInString(s[i:])
strings.go#L794: _, wid := utf8.DecodeRuneInString(s[i:])
strings.go#L817: _, wid := utf8.DecodeRuneInString(s[i:])
strings.go#L896: _, wid := utf8.DecodeRuneInString(s[i:])
strings.go#L1029: r, n = utf8.DecodeRuneInString(s)
strings.go#L1161: _, wid := utf8.DecodeRuneInString(s[start:])
strings.go#L1229: r, size := utf8.DecodeRuneInString(t)
text/template/parse
lex.go#L142: r, w := utf8.DecodeRuneInString(l.input[l.pos:])
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:])