Searched refs:emit_defaults (Results 1 – 3 of 3) sorted by relevance
/third_party/protobuf/ruby/ext/google/protobuf_c/ |
D | encode_decode.c | 1157 bool emit_defaults, bool is_json, bool open_msg); 1189 int depth, bool emit_defaults, bool is_json) { in putsubmsg() argument 1200 putmsg(submsg, subdesc, subsink, depth + 1, emit_defaults, is_json, true); in putsubmsg() 1205 bool emit_defaults, bool is_json) { in putary() argument 1214 if (!emit_defaults && NUM2INT(RepeatedField_length(ary)) == 0) return; in putary() 1217 if (size == 0 && !emit_defaults) return; in putary() 1248 putsubmsg(val, f, subsink, depth, emit_defaults, is_json); in putary() 1260 int depth, upb_sink sink, bool emit_defaults, in put_ruby_value() argument 1307 putsubmsg(value, f, sink, depth, emit_defaults, is_json); in put_ruby_value() 1312 bool emit_defaults, bool is_json) { in putmap() argument [all …]
|
/third_party/protobuf/ruby/tests/ |
D | encode_decode_test.rb | 82 { preserve_proto_fieldnames: true, emit_defaults: true }
|
/third_party/python/Parser/ |
D | asdl_c.py | 1076 self.emit_defaults(name, prod.fields, 1) 1077 self.emit_defaults(name, prod.attributes, 1) 1090 self.emit_defaults(name, sum.attributes, 1) 1105 self.emit_defaults(cons.name, cons.fields, 1) 1112 def emit_defaults(self, name, fields, depth): member in PyTypesVisitor
|