/external/protobuf/python/google/protobuf/ |
D | text_encoding.py | 56 def CEscape(text, as_utf8): argument 74 if as_utf8 and text_is_unicode: 78 if as_utf8:
|
D | text_format.py | 101 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/ |
D | text_encoding.py | 56 def CEscape(text, as_utf8): argument 74 if as_utf8 and text_is_unicode: 78 if as_utf8:
|
D | text_format.py | 100 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/ |
D | text_encoding_test.py | 56 text_encoding.CEscape(unescaped, as_utf8=False)) 58 text_encoding.CEscape(unescaped, as_utf8=True))
|
D | text_format_test.py | 332 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)
|
D | python_message.py | 1026 return text_format.MessageToString(self, as_utf8=True).decode('utf-8')
|
/external/cronet/third_party/protobuf/python/google/protobuf/internal/ |
D | text_encoding_test.py | 56 text_encoding.CEscape(unescaped, as_utf8=False)) 58 text_encoding.CEscape(unescaped, as_utf8=True))
|
D | text_format_test.py | 330 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)
|
D | python_message.py | 1026 return text_format.MessageToString(self, as_utf8=True).decode('utf-8')
|
/external/rust/crates/openssl/src/ |
D | asn1.rs | 439 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/ |
D | tests.rs | 106 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/ |
D | text_format.h | 302 void SetUseUtf8StringEscaping(bool as_utf8);
|
D | text_format.cc | 2008 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/ |
D | text_format.h | 297 void SetUseUtf8StringEscaping(bool as_utf8);
|
D | text_format.cc | 2004 void TextFormat::Printer::SetUseUtf8StringEscaping(bool as_utf8) { in SetUseUtf8StringEscaping() argument 2005 SetDefaultFieldValuePrinter(as_utf8 ? new FastFieldValuePrinterUtf8Escaping() in SetUseUtf8StringEscaping()
|