Home
last modified time | relevance | path

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

/external/protobuf/python/google/protobuf/
Dtext_encoding.py56 def CEscape(text, as_utf8): argument
74 if as_utf8 and text_is_unicode:
78 if as_utf8:
Dtext_format.py101 def __init__(self, as_utf8): argument
116 as_utf8=False, argument
170 out = TextWriter(as_utf8)
174 as_utf8,
213 as_utf8=False, argument
256 out=out, indent=indent, as_utf8=as_utf8,
275 as_utf8=False, argument
286 printer = _Printer(out, indent, as_utf8, as_one_line,
299 as_utf8=False, argument
310 printer = _Printer(out, indent, as_utf8, as_one_line,
[all …]
/external/cronet/third_party/protobuf/python/google/protobuf/
Dtext_encoding.py56 def CEscape(text, as_utf8): argument
74 if as_utf8 and text_is_unicode:
78 if as_utf8:
Dtext_format.py100 def __init__(self, as_utf8): argument
115 as_utf8=False, argument
171 out = TextWriter(as_utf8)
175 as_utf8,
214 as_utf8=False, argument
227 out=out, indent=indent, as_utf8=as_utf8,
246 as_utf8=False, argument
257 printer = _Printer(out, indent, as_utf8, as_one_line,
270 as_utf8=False, argument
281 printer = _Printer(out, indent, as_utf8, as_one_line,
[all …]
/external/protobuf/python/google/protobuf/internal/
Dtext_encoding_test.py56 text_encoding.CEscape(unescaped, as_utf8=False))
58 text_encoding.CEscape(unescaped, as_utf8=True))
Dtext_format_test.py332 as_utf8=False)
341 as_utf8=True)
351 text = text_format.MessageToString(message, as_utf8=True)
447 text = text_format.MessageToString(message, as_utf8=True)
461 text = text_format.MessageToString(message, as_utf8=False) # ASCII
643 utf8_text = text_format.MessageToBytes(message, as_utf8=True)
Dpython_message.py1026 return text_format.MessageToString(self, as_utf8=True).decode('utf-8')
/external/cronet/third_party/protobuf/python/google/protobuf/internal/
Dtext_encoding_test.py56 text_encoding.CEscape(unescaped, as_utf8=False))
58 text_encoding.CEscape(unescaped, as_utf8=True))
Dtext_format_test.py330 as_utf8=False)
339 as_utf8=True)
349 text = text_format.MessageToString(message, as_utf8=True)
445 text = text_format.MessageToString(message, as_utf8=True)
459 text = text_format.MessageToString(message, as_utf8=False) # ASCII
637 utf8_text = text_format.MessageToBytes(message, as_utf8=True)
Dpython_message.py1026 return text_format.MessageToString(self, as_utf8=True).decode('utf-8')
/external/rust/crates/openssl/src/
Dasn1.rs439 pub fn as_utf8(&self) -> Result<OpensslString, ErrorStack> { in as_utf8() method
476 match self.as_utf8() { in fmt()
/external/rust/crates/openssl/src/x509/
Dtests.rs106 assert_eq!(&**friendly.data().as_utf8().unwrap(), "Example"); in test_nid_values()
129 assert_eq!(&**friendly.data().as_utf8().unwrap(), "Example"); in test_nameref_iterator()
/external/protobuf/src/google/protobuf/
Dtext_format.h302 void SetUseUtf8StringEscaping(bool as_utf8);
Dtext_format.cc2008 void TextFormat::Printer::SetUseUtf8StringEscaping(bool as_utf8) { in SetUseUtf8StringEscaping() argument
2009 SetDefaultFieldValuePrinter(as_utf8 ? new FastFieldValuePrinterUtf8Escaping() in SetUseUtf8StringEscaping()
/external/cronet/third_party/protobuf/src/google/protobuf/
Dtext_format.h297 void SetUseUtf8StringEscaping(bool as_utf8);
Dtext_format.cc2004 void TextFormat::Printer::SetUseUtf8StringEscaping(bool as_utf8) { in SetUseUtf8StringEscaping() argument
2005 SetDefaultFieldValuePrinter(as_utf8 ? new FastFieldValuePrinterUtf8Escaping() in SetUseUtf8StringEscaping()