Searched refs:ignore_unknown_fields (Results 1 – 14 of 14) sorted by relevance
/third_party/protobuf/src/google/protobuf/util/ |
D | json_util_test.cc | 307 options.ignore_unknown_fields = true; in TEST_F() 374 options.ignore_unknown_fields = true; in TEST_F() 391 options.ignore_unknown_fields = true; in TEST_F() 400 ASSERT_FALSE(options.ignore_unknown_fields); in TEST_F() 409 options.ignore_unknown_fields = true; in TEST_F() 424 options.ignore_unknown_fields = true; in TEST_F() 437 options.ignore_unknown_fields = true; in TEST_F() 439 options.ignore_unknown_fields = false; in TEST_F() 451 options.ignore_unknown_fields = true; in TEST_F()
|
D | json_util.cc | 185 proto_writer_options.ignore_unknown_fields = options.ignore_unknown_fields; in JsonToBinaryStream() 187 options.ignore_unknown_fields; in JsonToBinaryStream()
|
D | json_util.h | 53 bool ignore_unknown_fields; member 63 : ignore_unknown_fields(false), in JsonParseOptions()
|
/third_party/protobuf/python/google/protobuf/ |
D | json_format.py | 411 def Parse(text, message, ignore_unknown_fields=False, descriptor_pool=None): argument 432 return ParseDict(js, message, ignore_unknown_fields, descriptor_pool) 437 ignore_unknown_fields=False, argument 451 parser = _Parser(ignore_unknown_fields, descriptor_pool) 462 def __init__(self, ignore_unknown_fields, descriptor_pool): argument 463 self.ignore_unknown_fields = ignore_unknown_fields 520 if self.ignore_unknown_fields:
|
/third_party/protobuf/src/google/protobuf/util/internal/ |
D | proto_writer.h | 144 void set_ignore_unknown_fields(bool ignore_unknown_fields) { in set_ignore_unknown_fields() argument 145 ignore_unknown_fields_ = ignore_unknown_fields; in set_ignore_unknown_fields() 148 bool ignore_unknown_fields() { return ignore_unknown_fields_; } in ignore_unknown_fields() function
|
D | protostream_objectwriter.h | 84 bool ignore_unknown_fields; member 105 ignore_unknown_fields(false), in Options()
|
D | protostream_objectwriter_test.cc | 892 options_.ignore_unknown_fields = true; in TEST_P() 911 options_.ignore_unknown_fields = true; in TEST_P() 938 options_.ignore_unknown_fields = true; in TEST_P() 954 options_.ignore_unknown_fields = true; in TEST_P() 973 options_.ignore_unknown_fields = true; in TEST_P() 987 options_.ignore_unknown_fields = true; in TEST_P()
|
D | protostream_objectwriter.cc | 72 set_ignore_unknown_fields(options_.ignore_unknown_fields); in ProtoStreamObjectWriter() 86 set_ignore_unknown_fields(options_.ignore_unknown_fields); in ProtoStreamObjectWriter()
|
/third_party/protobuf/conformance/ |
D | conformance_python.py | 133 ignore_unknown_fields = \ 137 ignore_unknown_fields)
|
D | conformance_cpp.cc | 125 options.ignore_unknown_fields = in DoTest()
|
/third_party/protobuf/python/google/protobuf/internal/ |
D | json_format_test.py | 933 json_format.Parse(text, parsed_message, ignore_unknown_fields=True) 941 json_format.Parse(text, parsed_message, ignore_unknown_fields=True)
|
/third_party/protobuf/ruby/tests/ |
D | basic.rb | 418 }.to_json, { ignore_unknown_fields: true })
|
/third_party/protobuf/ruby/ext/google/protobuf_c/ |
D | encode_decode.c | 1094 VALUE ignore_unknown_fields = Qfalse; in Message_decode_json() local 1107 ignore_unknown_fields = rb_hash_lookup2( in Message_decode_json() 1140 &se.status, RTEST(ignore_unknown_fields)); in Message_decode_json()
|
/third_party/protobuf/ |
D | CHANGES.txt | 508 …n specify an option to ignore unknown fields: msg.decode_json(data, {ignore_unknown_fields: true}).
|