Home
last modified time | relevance | path

Searched refs:emit_defaults (Results 1 – 3 of 3) sorted by relevance

/external/protobuf/ruby/ext/google/protobuf_c/
Dencode_decode.c960 upb_sink *sink, int depth, bool emit_defaults,
993 int depth, bool emit_defaults, bool is_json) { in putsubmsg() argument
1004 putmsg(submsg, subdesc, &subsink, depth + 1, emit_defaults, is_json, true); in putsubmsg()
1009 int depth, bool emit_defaults, bool is_json) { in putary() argument
1016 if (!emit_defaults && NUM2INT(RepeatedField_length(ary)) == 0) return; in putary()
1019 if (size == 0 && !emit_defaults) return; in putary()
1050 emit_defaults, is_json); in putary()
1065 bool emit_defaults, in put_ruby_value() argument
1111 putsubmsg(value, f, sink, depth, emit_defaults, is_json); in put_ruby_value()
1116 int depth, bool emit_defaults, bool is_json) { in putmap() argument
[all …]
/external/protobuf/ruby/tests/
Dencode_decode_test.rb82 { preserve_proto_fieldnames: true, emit_defaults: true }
/external/python/cpython3/Parser/
Dasdl_c.py1009 self.emit_defaults(name, prod.fields, 1)
1010 self.emit_defaults(name, prod.attributes, 1)
1023 self.emit_defaults(name, sum.attributes, 1)
1038 self.emit_defaults(cons.name, cons.fields, 1)
1045 def emit_defaults(self, name, fields, depth): member in PyTypesVisitor