Home
last modified time | relevance | path

Searched refs:ignore_unknown_fields (Results 1 – 15 of 15) sorted by relevance

/external/protobuf/src/google/protobuf/util/
Djson_util_test.cc307 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()
Djson_util.cc186 proto_writer_options.ignore_unknown_fields = options.ignore_unknown_fields; in JsonToBinaryStream()
188 options.ignore_unknown_fields; in JsonToBinaryStream()
Djson_util.h53 bool ignore_unknown_fields; member
63 : ignore_unknown_fields(false), in JsonParseOptions()
/external/protobuf/python/google/protobuf/
Djson_format.py394 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/
Dproto_writer.h139 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
Dprotostream_objectwriter.h84 bool ignore_unknown_fields; member
102 ignore_unknown_fields(false), in Options()
Dprotostream_objectwriter_test.cc888 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()
Dprotostream_objectwriter.cc74 set_ignore_unknown_fields(options_.ignore_unknown_fields); in ProtoStreamObjectWriter()
88 set_ignore_unknown_fields(options_.ignore_unknown_fields); in ProtoStreamObjectWriter()
/external/protobuf/conformance/
Dconformance_python.py136 ignore_unknown_fields = \
140 ignore_unknown_fields)
Dconformance_cpp.cc148 options.ignore_unknown_fields = in DoTest()
/external/autotest/utils/side_effects/
Dconfig_loader.py37 return json_format.Parse(content, config, ignore_unknown_fields=True)
/external/protobuf/ruby/tests/
Dbasic.rb265 }.to_json, { ignore_unknown_fields: true })
/external/protobuf/ruby/ext/google/protobuf_c/
Dencode_decode.c906 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/
Djson_format_test.py857 json_format.Parse(text, parsed_message, ignore_unknown_fields=True)
865 json_format.Parse(text, parsed_message, ignore_unknown_fields=True)
/external/protobuf/
DCHANGES.txt166 …n specify an option to ignore unknown fields: msg.decode_json(data, {ignore_unknown_fields: true}).