const unicode/utf8.RuneError
77 uses
unicode/utf8 (current package)
utf8.go#L16: RuneError = '\uFFFD' // the "error" Rune or "Unicode replacement character"
utf8.go#L154: return RuneError, 0
utf8.go#L163: return rune(p[0])&^mask | RuneError&mask, 1
utf8.go#L168: return RuneError, 1
utf8.go#L172: return RuneError, 1
utf8.go#L179: return RuneError, 1
utf8.go#L186: return RuneError, 1
utf8.go#L202: return RuneError, 0
utf8.go#L211: return rune(s[0])&^mask | RuneError&mask, 1
utf8.go#L216: return RuneError, 1
utf8.go#L220: return RuneError, 1
utf8.go#L227: return RuneError, 1
utf8.go#L234: return RuneError, 1
utf8.go#L250: return RuneError, 0
utf8.go#L274: return RuneError, 1
utf8.go#L290: return RuneError, 0
utf8.go#L314: return RuneError, 1
utf8.go#L354: r = RuneError
utf8.go#L389: r = RuneError
bufio
scan.go#L297: var errorRune = []byte(string(utf8.RuneError))
bytes
bytes.go#L159: case r == utf8.RuneError:
bytes.go#L162: if r1 == utf8.RuneError {
bytes.go#L191: if r == utf8.RuneError {
bytes.go#L205: r = utf8.RuneError
bytes.go#L230: if r != utf8.RuneError {
bytes.go#L278: if r == utf8.RuneError {
bytes.go#L292: cr = utf8.RuneError
bytes.go#L314: if r != utf8.RuneError {
bytes.go#L571: rl = len(string(utf8.RuneError))
crypto/x509
verify.go#L988: if c == utf8.RuneError {
encoding/json
decode.go#L1218: if rr == utf8.RuneError && size == 1 {
encode.go#L1068: if c == utf8.RuneError && size == 1 {
encode.go#L1140: if c == utf8.RuneError && size == 1 {
encoding/xml
xml.go#L1132: if r == utf8.RuneError && size == 1 {
xml.go#L1233: if c == utf8.RuneError && n == 1 {
xml.go#L1242: if c == utf8.RuneError && n == 1 {
xml.go#L1257: if c == utf8.RuneError && n == 1 {
xml.go#L1266: if c == utf8.RuneError && n == 1 {
fmt
format.go#L466: r = utf8.RuneError
format.go#L478: r = utf8.RuneError
github.com/golang/protobuf/proto
text_decode.go#L684: if r == utf8.RuneError && n == 1 {
text_decode.go#L709: if r == utf8.RuneError && n == 1 {
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#L75: if r == utf8.RuneError && w == 1 {
golang.org/x/net/idna
idna10.0.0.go#L445: return s, bidi, runeError(utf8.RuneError)
idna10.0.0.go#L493: err = runeError(utf8.RuneError)
idna10.0.0.go#L636: return runeError(utf8.RuneError)
google.golang.org/protobuf/internal/encoding/json
decode_string.go#L29: case r == utf8.RuneError && n == 1:
encode.go#L96: case r == utf8.RuneError && n == 1:
encode.go#L132: 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#L122: case r == utf8.RuneError && n == 1:
path
match.go#L223: 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#L281: if r == utf8.RuneError {
regexp/syntax
parse.go#L1941: if rune == utf8.RuneError && size == 1 {
parse.go#L1951: if c == utf8.RuneError && size == 1 {
prog.go#L158: 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#L219: if r == utf8.RuneError {
quote.go#L436: valid = len("'")+n+len("'") == end && (r != utf8.RuneError || n != 1)
strings
strings.go#L29: if ch == utf8.RuneError {
strings.go#L30: a[i] = string(utf8.RuneError)
strings.go#L125: case r == utf8.RuneError:
strings.go#L127: if r == utf8.RuneError {
strings.go#L150: r = utf8.RuneError
strings.go#L183: rc = utf8.RuneError
strings.go#L203: rc = utf8.RuneError
strings.go#L471: if r == c && c != utf8.RuneError {
strings.go#L476: if c == utf8.RuneError {
strings.go#L641: if c != utf8.RuneError {
vendor/golang.org/x/net/idna
idna10.0.0.go#L445: return s, bidi, runeError(utf8.RuneError)
idna10.0.0.go#L493: err = runeError(utf8.RuneError)
idna10.0.0.go#L636: return runeError(utf8.RuneError)