const unicode/utf8.RuneError
67 uses
unicode/utf8 (current package)
utf8.go#L16: RuneError = '\uFFFD' // the "error" Rune or "Unicode replacement character"
utf8.go#L65: runeErrorByte0 = t3 | (RuneError >> 12)
utf8.go#L66: runeErrorByte1 = tx | (RuneError>>6)&maskx
utf8.go#L67: runeErrorByte2 = tx | RuneError&maskx
utf8.go#L160: return RuneError, 0
utf8.go#L169: return rune(p[0])&^mask | RuneError&mask, 1
utf8.go#L174: return RuneError, 1
utf8.go#L178: return RuneError, 1
utf8.go#L185: return RuneError, 1
utf8.go#L192: return RuneError, 1
utf8.go#L208: return RuneError, 0
utf8.go#L217: return rune(s[0])&^mask | RuneError&mask, 1
utf8.go#L222: return RuneError, 1
utf8.go#L226: return RuneError, 1
utf8.go#L233: return RuneError, 1
utf8.go#L240: return RuneError, 1
utf8.go#L256: return RuneError, 0
utf8.go#L280: return RuneError, 1
utf8.go#L296: return RuneError, 0
utf8.go#L320: return RuneError, 1
bufio
scan.go#L301: var errorRune = []byte(string(utf8.RuneError))
bytes
bytes.go#L144: case r == utf8.RuneError:
bytes.go#L147: if r1 == utf8.RuneError {
bytes.go#L231: if r == utf8.RuneError {
bytes.go#L245: r = utf8.RuneError
bytes.go#L270: if r != utf8.RuneError {
bytes.go#L318: if r == utf8.RuneError {
bytes.go#L332: cr = utf8.RuneError
bytes.go#L354: if r != utf8.RuneError {
crypto/x509
verify.go#L1128: if c == utf8.RuneError {
encoding/json
decode.go#L1217: if rr == utf8.RuneError && size == 1 {
encode.go#L1023: if c == utf8.RuneError && size == 1 {
fmt
format.go#L471: r = utf8.RuneError
format.go#L482: r = utf8.RuneError
github.com/google/go-cmp/cmp
report_slices.go#L121: if (unicode.IsPrint(r) || unicode.IsSpace(r)) && r != utf8.RuneError {
go.uber.org/zap/zapcore
json_encoder.go#L557: if r == utf8.RuneError && size == 1 {
go/scanner
scanner.go#L73: if r == utf8.RuneError && w == 1 {
golang.org/x/net/idna
idna10.0.0.go#L444: return s, bidi, runeError(utf8.RuneError)
idna10.0.0.go#L492: err = runeError(utf8.RuneError)
idna10.0.0.go#L635: return runeError(utf8.RuneError)
google.golang.org/protobuf/internal/encoding/json
decode_string.go#L29: case r == utf8.RuneError && n == 1:
encode.go#L98: case r == utf8.RuneError && n == 1:
encode.go#L134: if r < ' ' || r == '\\' || r == '"' || r == utf8.RuneError {
google.golang.org/protobuf/internal/encoding/text
decode_string.go#L61: case r == utf8.RuneError && n == 1:
encode.go#L124: case r == utf8.RuneError && n == 1:
path
match.go#L222: if r == utf8.RuneError && n == 1 {
path/filepath
match.go#L225: if r == utf8.RuneError && n == 1 {
regexp
onepass.go#L59: for iop(i) == syntax.InstRune && len(i.Rune) == 1 && syntax.Flags(i.Arg)&syntax.FoldCase == 0 && i.Rune[0] != utf8.RuneError {
regexp.go#L277: if r == utf8.RuneError {
regexp/syntax
parse.go#L2103: if rune == utf8.RuneError && size == 1 {
parse.go#L2113: if c == utf8.RuneError && size == 1 {
prog.go#L160: for i.op() == InstRune && len(i.Rune) == 1 && Flags(i.Arg)&FoldCase == 0 && i.Rune[0] != utf8.RuneError {
strconv
quote.go#L46: if width == 1 && r == utf8.RuneError {
quote.go#L61: r = utf8.RuneError
quote.go#L222: if r == utf8.RuneError {
quote.go#L440: valid = len("'")+n+len("'") == end && (r != utf8.RuneError || n != 1)
strings
strings.go#L132: case r == utf8.RuneError:
strings.go#L134: if r == utf8.RuneError {
strings.go#L210: r = utf8.RuneError
strings.go#L243: rc = utf8.RuneError
strings.go#L263: rc = utf8.RuneError
strings.go#L539: if r == c && c != utf8.RuneError {
strings.go#L544: if c == utf8.RuneError {
strings.go#L790: if c != utf8.RuneError {
vendor/golang.org/x/net/idna
idna10.0.0.go#L444: return s, bidi, runeError(utf8.RuneError)
idna10.0.0.go#L492: err = runeError(utf8.RuneError)
idna10.0.0.go#L635: return runeError(utf8.RuneError)