func unicode/utf8.DecodeRuneInString
71 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])
database/sql
convert.go#L33: r, _ := utf8.DecodeRuneInString(name)
encoding/json
encode.go#L1067: c, size := utf8.DecodeRuneInString(s[i:])
encoding/xml
xml.go#L1256: c, n := utf8.DecodeRuneInString(s)
xml.go#L1265: c, n = utf8.DecodeRuneInString(s)
xml.go#L1960: 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/aws/smithy-go/encoding/xml
escape.go#L49: r, width := utf8.DecodeRuneInString(s[i:])
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#L378: r, _ := utf8.DecodeRuneInString(id)
go.uber.org/zap/zapcore
json_encoder.go#L498: r, size := utf8.DecodeRuneInString(s[i:])
go/build
read.go#L570: r, _ := utf8.DecodeRuneInString(args)
go/build/constraint
expr.go#L340: c, _ := utf8.DecodeRuneInString(p.s[p.i:])
go/constant
value.go#L126: _, size := utf8.DecodeRuneInString(s[i:])
go/doc
comment.go#L221: r, _ := utf8.DecodeRuneInString(line)
example.go#L146: rune, _ := utf8.DecodeRuneInString(name[len(prefix):])
example.go#L548: r, size := utf8.DecodeRuneInString(s)
go/token
token.go#L326: ch, _ := utf8.DecodeRuneInString(name)
golang.org/x/net/idna
idna10.0.0.go#L454: r, _ := utf8.DecodeRuneInString(s[i:])
idna10.0.0.go#L507: r, _ := utf8.DecodeRuneInString(s[start:])
golang.org/x/text/unicode/norm
input.go#L98: r, size = utf8.DecodeRuneInString(in.str[p:])
golang.org/x/tools/internal/gcimporter
bimport.go#L751: ch, _ := utf8.DecodeRuneInString(name)
google.golang.org/grpc/internal/transport
http_util.go#L255: 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#L121: 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#L209: regexp.prefixRune, _ = utf8.DecodeRuneInString(regexp.prefix)
regexp.go#L395: return utf8.DecodeRuneInString(i.str[pos:])
regexp.go#L425: r2, _ = utf8.DecodeRuneInString(i.str[pos:])
regexp.go#L649: _, width = utf8.DecodeRuneInString(src[searchPos:])
regexp.go#L798: _, width = utf8.DecodeRuneInString(s[pos:end])
regexp.go#L989: rune, size := utf8.DecodeRuneInString(str[i:])
regexp/syntax
parse.go#L1612: _, size := utf8.DecodeRuneInString(t[1:])
parse.go#L1940: rune, size := utf8.DecodeRuneInString(s)
parse.go#L1950: c, size := utf8.DecodeRuneInString(s)
strconv
quote.go#L44: r, width = utf8.DecodeRuneInString(s)
quote.go#L211: r, wid := utf8.DecodeRuneInString(s)
quote.go#L267: r, size := utf8.DecodeRuneInString(s)
quote.go#L435: r, n := utf8.DecodeRuneInString(in[len("'") : end-len("'")])
strings
reader.go#L97: ch, size = utf8.DecodeRuneInString(r.s[r.i:])
strings.go#L26: ch, size := utf8.DecodeRuneInString(s)
strings.go#L477: c, width = utf8.DecodeRuneInString(s[i:])
strings.go#L645: _, wid := utf8.DecodeRuneInString(s[i:])
strings.go#L668: _, wid := utf8.DecodeRuneInString(s[i:])
strings.go#L747: _, wid := utf8.DecodeRuneInString(s[i:])
strings.go#L880: r, n = utf8.DecodeRuneInString(s)
strings.go#L1017: _, wid := utf8.DecodeRuneInString(s[start:])
strings.go#L1050: r, size := utf8.DecodeRuneInString(s)
strings.go#L1056: r, size := utf8.DecodeRuneInString(t)
text/template/parse
lex.go#L136: r, w := utf8.DecodeRuneInString(l.input[l.pos:])
lex.go#L547: if rd, _ := utf8.DecodeRuneInString(l.rightDelim); rd == r {
vendor/golang.org/x/net/idna
idna10.0.0.go#L454: r, _ := utf8.DecodeRuneInString(s[i:])
idna10.0.0.go#L507: r, _ := utf8.DecodeRuneInString(s[start:])
vendor/golang.org/x/text/unicode/norm
input.go#L98: r, size = utf8.DecodeRuneInString(in.str[p:])