google.golang.org/protobuf/internal/encoding/text.Decoder.in (field)
51 uses
google.golang.org/protobuf/internal/encoding/text (current package)
decode.go#L40: in []byte
decode.go#L45: return &Decoder{orig: b, in: b}
decode.go#L102: if len(d.in) == 0 {
decode.go#L122: switch ch := d.in[0]; ch {
decode.go#L142: switch d.in[0] {
decode.go#L156: switch ch := d.in[0]; ch {
decode.go#L175: switch ch := d.in[0]; ch {
decode.go#L192: switch ch := d.in[0]; ch {
decode.go#L211: switch ch := d.in[0]; ch {
decode.go#L225: switch ch := d.in[0]; ch {
decode.go#L244: switch ch := d.in[0]; ch {
decode.go#L260: switch ch := d.in[0]; ch {
decode.go#L280: switch ch := d.in[0]; ch {
decode.go#L294: switch ch := d.in[0]; ch {
decode.go#L327: switch ch := d.in[0]; ch {
decode.go#L348: switch ch := d.in[0]; ch {
decode.go#L358: line, column := d.Position(len(d.orig) - len(d.in))
decode.go#L404: if d.in[0] == '[' {
decode.go#L409: if size := parseIdent(d.in, false); size > 0 {
decode.go#L415: if num := parseNumber(d.in); num.size > 0 {
decode.go#L417: if _, err := strconv.ParseInt(string(d.in[:num.size]), 10, 32); err == nil {
decode.go#L421: return Token{}, d.newSyntaxError("invalid field number: %s", d.in[:num.size])
decode.go#L424: return Token{}, d.newSyntaxError("invalid field name: %s", errRegexp.Find(d.in))
decode.go#L433: startPos := len(d.orig) - len(d.in)
decode.go#L436: s := consume(d.in[1:], 0)
decode.go#L486: d.in = s
decode.go#L487: endPos := len(d.orig) - len(d.in)
decode.go#L562: if d.in[0] == '"' || d.in[0] == '\'' {
decode.go#L574: return Token{}, d.newSyntaxError("invalid scalar value: %s", errRegexp.Find(d.in))
decode.go#L581: size := parseIdent(d.in, true)
decode.go#L595: pos: len(d.orig) - len(d.in),
decode.go#L596: raw: d.in[:size],
decode.go#L606: line, column := d.Position(len(d.orig) - len(d.in))
decode.go#L623: if len(d.in) > 0 && d.in[0] == c {
decode.go#L632: d.in = consume(d.in, n)
decode_number.go#L9: in := d.in
decode_number.go#L20: if num.kind == numFloat && (d.in[last] == 'f' || d.in[last] == 'F') {
decode_number.go#L26: pos: len(d.orig) - len(d.in),
decode_number.go#L27: raw: d.in[:num.size],
decode_number.go#L28: str: string(d.in[:strSize]),
decode_string.go#L30: in0 := d.in
decode_string.go#L32: for len(d.in) > 0 && (d.in[0] == '"' || d.in[0] == '\'') {
decode_string.go#L44: raw: in0[:len(in0)-len(d.in)],
decode_string.go#L51: in := d.in
decode_string.go#L67: d.consume(len(d.in) - len(in))
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |