Searched refs:ignore_unknown_fields (Results 1 – 15 of 15) sorted by relevance
/external/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 | 186 proto_writer_options.ignore_unknown_fields = options.ignore_unknown_fields; in JsonToBinaryStream() 188 options.ignore_unknown_fields; in JsonToBinaryStream()
|
D | json_util.h | 53 bool ignore_unknown_fields; member 63 : ignore_unknown_fields(false), in JsonParseOptions()
|
/external/protobuf/python/google/protobuf/ |
D | json_format.py | 394 def Parse(text, message, ignore_unknown_fields=False, descriptor_pool=None): argument 415 return ParseDict(js, message, ignore_unknown_fields, descriptor_pool) 420 ignore_unknown_fields=False, argument 434 parser = _Parser(ignore_unknown_fields, descriptor_pool) 445 def __init__(self, ignore_unknown_fields, descriptor_pool): argument 446 self.ignore_unknown_fields = ignore_unknown_fields 503 if self.ignore_unknown_fields:
|
/external/protobuf/src/google/protobuf/util/internal/ |
D | proto_writer.h | 139 void set_ignore_unknown_fields(bool ignore_unknown_fields) { in set_ignore_unknown_fields() argument 140 ignore_unknown_fields_ = ignore_unknown_fields; in set_ignore_unknown_fields() 143 bool ignore_unknown_fields() { return ignore_unknown_fields_; } in ignore_unknown_fields() function
|
D | protostream_objectwriter.h | 84 bool ignore_unknown_fields; member 102 ignore_unknown_fields(false), in Options()
|
D | protostream_objectwriter_test.cc | 888 options_.ignore_unknown_fields = true; in TEST_P() 907 options_.ignore_unknown_fields = true; in TEST_P() 934 options_.ignore_unknown_fields = true; in TEST_P() 950 options_.ignore_unknown_fields = true; in TEST_P() 969 options_.ignore_unknown_fields = true; in TEST_P() 983 options_.ignore_unknown_fields = true; in TEST_P()
|
D | protostream_objectwriter.cc | 74 set_ignore_unknown_fields(options_.ignore_unknown_fields); in ProtoStreamObjectWriter() 88 set_ignore_unknown_fields(options_.ignore_unknown_fields); in ProtoStreamObjectWriter()
|
/external/protobuf/conformance/ |
D | conformance_python.py | 136 ignore_unknown_fields = \ 140 ignore_unknown_fields)
|
D | conformance_cpp.cc | 148 options.ignore_unknown_fields = in DoTest()
|
/external/autotest/utils/side_effects/ |
D | config_loader.py | 37 return json_format.Parse(content, config, ignore_unknown_fields=True)
|
/external/protobuf/ruby/tests/ |
D | basic.rb | 265 }.to_json, { ignore_unknown_fields: true })
|
/external/protobuf/ruby/ext/google/protobuf_c/ |
D | encode_decode.c | 906 VALUE ignore_unknown_fields = Qfalse; in Message_decode_json() local 919 ignore_unknown_fields = rb_hash_lookup2( in Message_decode_json() 943 &sink, ignore_unknown_fields); in Message_decode_json()
|
/external/protobuf/python/google/protobuf/internal/ |
D | json_format_test.py | 857 json_format.Parse(text, parsed_message, ignore_unknown_fields=True) 865 json_format.Parse(text, parsed_message, ignore_unknown_fields=True)
|
/external/protobuf/ |
D | CHANGES.txt | 166 …n specify an option to ignore unknown fields: msg.decode_json(data, {ignore_unknown_fields: true}).
|