Home
last modified time | relevance | path

Searched refs:as_utf8 (Results 1 – 7 of 7) sorted by relevance

/external/protobuf/python/google/protobuf/
Dtext_format.py81 def __init__(self, as_utf8): argument
100 def MessageToString(message, as_utf8=False, as_one_line=False, argument
126 out = TextWriter(as_utf8)
127 printer = _Printer(out, 0, as_utf8, as_one_line,
144 def PrintMessage(message, out, indent=0, as_utf8=False, as_one_line=False, argument
147 printer = _Printer(out, indent, as_utf8, as_one_line,
153 def PrintField(field, value, out, indent=0, as_utf8=False, as_one_line=False, argument
156 printer = _Printer(out, indent, as_utf8, as_one_line,
161 def PrintFieldValue(field, value, out, indent=0, as_utf8=False, argument
166 printer = _Printer(out, indent, as_utf8, as_one_line,
[all …]
Dtext_encoding.py59 def CEscape(text, as_utf8): argument
77 if as_utf8:
/external/protobuf/python/google/protobuf/internal/
Dtext_encoding_test.py61 text_encoding.CEscape(unescaped, as_utf8=False))
63 text_encoding.CEscape(unescaped, as_utf8=True))
Dtext_format_test.py191 message, as_one_line=True, as_utf8=False)
199 message, as_one_line=True, as_utf8=True)
209 text = text_format.MessageToString(message, as_utf8=True)
Dpython_message.py997 return text_format.MessageToString(self, as_utf8=True).decode('utf-8')
/external/protobuf/src/google/protobuf/
Dtext_format.h185 void SetUseUtf8StringEscaping(bool as_utf8);
Dtext_format.cc1444 void TextFormat::Printer::SetUseUtf8StringEscaping(bool as_utf8) { in SetUseUtf8StringEscaping() argument
1445 SetDefaultFieldValuePrinter(as_utf8 in SetUseUtf8StringEscaping()