Home
last modified time | relevance | path

Searched refs:emit_defaults (Results 1 - 5 of 5) sorted by relevance

/third_party/protobuf/ruby/ext/google/protobuf_c/
H A Dencode_decode.c1157 bool emit_defaults, bool is_json, bool open_msg);
1189 int depth, bool emit_defaults, bool is_json) { in putsubmsg()
1200 putmsg(submsg, subdesc, subsink, depth + 1, emit_defaults, is_json, true); in putsubmsg()
1205 bool emit_defaults, bool is_json) { in putary()
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()
1307 putsubmsg(value, f, sink, depth, emit_defaults, is_json); in put_ruby_value()
1312 bool emit_defaults, boo in putmap()
1188 putsubmsg(VALUE submsg, const upb_fielddef *f, upb_sink sink, int depth, bool emit_defaults, bool is_json) putsubmsg() argument
1204 putary(VALUE ary, const upb_fielddef* f, upb_sink sink, int depth, bool emit_defaults, bool is_json) putary() argument
1259 put_ruby_value(VALUE value, const upb_fielddef* f, VALUE type_class, int depth, upb_sink sink, bool emit_defaults, bool is_json) put_ruby_value() argument
1311 putmap(VALUE map, const upb_fielddef* f, upb_sink sink, int depth, bool emit_defaults, bool is_json) putmap() argument
1355 putjsonany(VALUE msg_rb, const Descriptor* desc, upb_sink sink, int depth, bool emit_defaults) putjsonany() argument
1437 putjsonlistvalue( VALUE msg_rb, const Descriptor* desc, upb_sink sink, int depth, bool emit_defaults) putjsonlistvalue() argument
1465 putmsg(VALUE msg_rb, const Descriptor* desc, upb_sink sink, int depth, bool emit_defaults, bool is_json, bool open_msg) putmsg() argument
1654 VALUE emit_defaults = Qfalse; Message_encode_json() local
[all...]
/third_party/protobuf/ruby/tests/
H A Dencode_decode_test.rb82 { preserve_proto_fieldnames: true, emit_defaults: true }
H A Dbasic.rb498 actual = MapMessage.encode_json(m, :emit_defaults => true)
H A Dcommon_tests.rb1129 actual = proto_module::TestMessage.encode_json(m, :emit_defaults => true)
1164 actual = proto_module::TestMessage.encode_json(m, :emit_defaults => true)
1198 actual = proto_module::TestMessage.encode_json(m, :emit_defaults => true)
/third_party/python/Parser/
H A Dasdl_c.py1137 self.emit_defaults(name, prod.fields, 1)
1138 self.emit_defaults(name, prod.attributes, 1)
1150 self.emit_defaults(name, sum.attributes, 1)
1164 self.emit_defaults(cons.name, cons.fields, 1)
1171 def emit_defaults(self, name, fields, depth): function

Completed in 9 milliseconds