Home
last modified time | relevance | path

Searched refs:text_format (Results 1 – 21 of 21) sorted by relevance

/external/protobuf/python/google/protobuf/internal/
Dtext_format_test.py56 from google.protobuf import text_format
67 for quote in text_format._QUOTES:
112 self.RemoveRedundantZeros(text_format.MessageToString(message)),
128 text_format.MessageToString(message),
136 text_format.MessageToString(message, as_one_line=True),
147 text_format.MessageToString(message, as_one_line=True),
155 text_format.MessageToString(message, as_one_line=True),
169 text_format.MessageToString(message, as_one_line=True)),
190 wire_text = text_format.MessageToString(
193 r = text_format.Parse(wire_text, parsed_message)
[all …]
Dproto_builder_test.py47 from google.protobuf import text_format
68 'bar: "asdf"\nfoo: 12345\n', text_format.MessageToString(proto))
79 'foo: 12345\nbar: "asdf"\n', text_format.MessageToString(proto))
Dpython_message.py80 from google.protobuf import text_format
982 return text_format.MessageToString(self)
989 return text_format.MessageToString(self)
997 return text_format.MessageToString(self, as_utf8=True).decode('utf-8')
Dwell_known_types_test.py54 from google.protobuf import text_format
573 text_format.Merge(text_serialized, struct3)
Ddescriptor_test.py53 from google.protobuf import text_format
529 text_format.Merge(expected_ascii, expected_proto)
Dreflection_test.py56 from google.protobuf import text_format
2923 text_format.Merge(file_descriptor_str, file_descriptor)
2947 text_format.Merge(msg_str, msg)
2962 text_format.Merge(msg_str, msg)
2979 text_format.Merge(msg_str, msg)
Dmessage_test.py66 from google.protobuf import text_format
1827 text_format.Parse(self.file_desc, desc)
/external/nanopb-c/generator/
Dnanopb_generator.py17 import google.protobuf.text_format as text_format namespace
902 text_format.Merge(parts[1], opts)
943 sys.stderr.write(text_format.MessageToString(new_options) + "\n")
996 text_format.Merge(s, toplevel_options)
/external/protobuf/conformance/
Dconformance_test.h140 const string& text_format);
Dconformance_test.cc469 const string& test_name, const string& text_format) { in ExpectSerializeFailureForJson() argument
472 TextFormat::ParseFromString(text_format, &payload_message)) in ExpectSerializeFailureForJson()
473 << "Failed to parse: " << text_format; in ExpectSerializeFailureForJson()
/external/protobuf/cmake/
Dlibprotobuf.cmake29 ${protobuf_source_dir}/src/google/protobuf/text_format.cc
Dextract_includes.bat.in110 …{PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\text_format.h include\google\protobuf\text_for…
/external/nanopb-c/generator/google/protobuf/internal/
Dpython_message.py71 from google.protobuf import text_format
694 return text_format.MessageToString(self)
702 return text_format.MessageToString(self, as_utf8=True).decode('utf-8')
/external/protobuf/
DAndroid.bp132 "src/google/protobuf/text_format.cc",
295 "src/google/protobuf/text_format.cc",
DBUILD141 "src/google/protobuf/text_format.cc",
DMakefile.in573 python/google/protobuf/text_format.py \
DMakefile.am617 python/google/protobuf/text_format.py \
/external/protobuf/python/google/protobuf/pyext/
Dmessage.cc2469 ScopedPyObjectPtr text_format( in CheckAndGetInteger() local
2471 if (text_format == NULL) { in CheckAndGetInteger()
2480 text_format.get(), method_name.get(), self, Py_True, NULL)); in CheckAndGetInteger()
/external/protobuf/src/
DMakefile.am128 google/protobuf/text_format.h \
239 google/protobuf/text_format.cc \
/external/protobuf/util/
DBUILD141 "src/google/protobuf/text_format.cc",
DMakefile.am617 python/google/protobuf/text_format.py \