Home
last modified time | relevance | path

Searched refs:as_utf8 (Results 1 – 11 of 11) 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.py68 def MessageToString(message, as_utf8=False, as_one_line=False, argument
93 PrintMessage(message, out, as_utf8=as_utf8, as_one_line=as_one_line,
104 def PrintMessage(message, out, indent=0, as_utf8=False, as_one_line=False, argument
113 PrintField(field, element, out, indent, as_utf8, as_one_line,
117 PrintField(field, value, out, indent, as_utf8, as_one_line,
122 def PrintField(field, value, out, indent=0, as_utf8=False, as_one_line=False, argument
149 PrintFieldValue(field, value, out, indent, as_utf8, as_one_line,
158 def PrintFieldValue(field, value, out, indent=0, as_utf8=False, argument
174 PrintMessage(value, out, indent, as_utf8, as_one_line,
180 PrintMessage(value, out, indent + 2, as_utf8, as_one_line,
[all …]
Dtext_encoding.py61 def CEscape(text, as_utf8): argument
79 if as_utf8:
/external/protobuf/python/google/protobuf/internal/
Dtext_encoding_test.py57 text_encoding.CEscape(unescaped, as_utf8=False))
59 text_encoding.CEscape(unescaped, as_utf8=True))
Dtext_format_test.py226 message, as_one_line=True, as_utf8=False)
234 message, as_one_line=True, as_utf8=True)
244 text = text_format.MessageToString(message, as_utf8=True)
Dcpp_message.py631 return text_format.MessageToString(self, as_utf8=True).decode('utf-8')
Dpython_message.py748 return text_format.MessageToString(self, as_utf8=True).decode('utf-8')
/external/protobuf/src/google/protobuf/
Dtext_format.h182 void SetUseUtf8StringEscaping(bool as_utf8);
Dtext_format.cc1348 void TextFormat::Printer::SetUseUtf8StringEscaping(bool as_utf8) { in SetUseUtf8StringEscaping() argument
1349 SetDefaultFieldValuePrinter(as_utf8 in SetUseUtf8StringEscaping()
/external/v8/test/cctest/
Dtest-strings.cc896 const unsigned char as_utf8[11] = {0xCB, 0xA4, 0x64, 0xE1, 0x8B, 0xA4, 0x30, in TEST() local
919 CHECK_EQ(as_utf8[j], static_cast<unsigned char>(buffer[j])); in TEST()
/external/nanopb-c/generator/google/protobuf/internal/
Dpython_message.py702 return text_format.MessageToString(self, as_utf8=True).decode('utf-8')