Home
last modified time | relevance | path

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

/external/nanopb-c/generator/google/protobuf/
Dtext_format.py58 def MessageToString(message, as_utf8=False, as_one_line=False): argument
60 PrintMessage(message, out, as_utf8=as_utf8, as_one_line=as_one_line)
68 def PrintMessage(message, out, indent=0, as_utf8=False, as_one_line=False): argument
72 PrintField(field, element, out, indent, as_utf8, as_one_line)
74 PrintField(field, value, out, indent, as_utf8, as_one_line)
77 def PrintField(field, value, out, indent=0, as_utf8=False, as_one_line=False): argument
103 PrintFieldValue(field, value, out, indent, as_utf8, as_one_line)
111 as_utf8=False, as_one_line=False): argument
118 PrintMessage(value, out, indent, as_utf8, as_one_line)
122 PrintMessage(value, out, indent + 2, as_utf8, as_one_line)
[all …]
/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()
/external/nanopb-c/generator/google/protobuf/internal/
Dpython_message.py702 return text_format.MessageToString(self, as_utf8=True).decode('utf-8')