/external/rust/crates/idna/tests/ |
D | unit.rs | 48 assert_matches!(codec.to_unicode("Bloß.de", &mut out), Ok(())); in test_examples() 52 assert_matches!(codec.to_unicode("xn--blo-7ka.de", &mut out), Ok(())); in test_examples() 56 assert_matches!(codec.to_unicode("u\u{308}.com", &mut out), Ok(())); in test_examples() 60 assert_matches!(codec.to_unicode("xn--tda.com", &mut out), Ok(())); in test_examples() 64 assert_matches!(codec.to_unicode("xn--u-ccb.com", &mut out), Err(_)); in test_examples() 67 assert_matches!(codec.to_unicode("a⒈com", &mut out), Err(_)); in test_examples() 70 assert_matches!(codec.to_unicode("xn--a-ecp.ru", &mut out), Err(_)); in test_examples() 73 assert_matches!(codec.to_unicode("xn--0.pt", &mut out), Err(_)); in test_examples() 76 assert_matches!(codec.to_unicode("日本語。JP", &mut out), Ok(())); in test_examples() 80 assert_matches!(codec.to_unicode("☕.us", &mut out), Ok(())); in test_examples()
|
D | uts46.rs | 31 let mut to_unicode = unescape(&pieces.remove(0)); in collect_tests() localVariable 32 if to_unicode.is_empty() { in collect_tests() 33 to_unicode = source.clone(); in collect_tests() 40 to_unicode.clone() in collect_tests() 88 config.transitional_processing(false).to_unicode(&source); in collect_tests() 92 (&to_unicode, &to_unicode_status), in collect_tests()
|
/external/skia/experimental/tools/ |
D | generate-unicode-test-txt | 69 def to_unicode(i): function 72 def to_unicode(i): function 76 o.write(to_unicode(0xFEFF)) 85 o.write(' ' + to_unicode(i))
|
/external/skqp/experimental/tools/ |
D | generate-unicode-test-txt | 69 def to_unicode(i): function 72 def to_unicode(i): function 76 o.write(to_unicode(0xFEFF)) 85 o.write(' ' + to_unicode(i))
|
/external/rust/crates/idna/benches/ |
D | all.rs | 11 bench.iter(|| config.to_unicode(black_box(encoded))); in to_unicode_puny_label() 17 bench.iter(|| config.to_unicode(black_box(encoded))); in to_unicode_ascii() 23 bench.iter(|| config.to_unicode(black_box(encoded))); in to_unicode_merged_label()
|
/external/pdfium/fpdfsdk/ |
D | fpdf_edittext.cpp | 162 const std::map<uint32_t, uint32_t>& to_unicode) { in LoadUnicode() argument 177 for (auto iter = to_unicode.begin(); iter != to_unicode.end(); ++iter) { in LoadUnicode() 180 if (std::next(iter) == to_unicode.end() || in LoadUnicode() 201 if (next_it == to_unicode.end() || curCharcode + 1 != next_it->first) in LoadUnicode() 214 if (next_it == to_unicode.end() || curCharcode + 1 != next_it->first || in LoadUnicode() 363 std::map<uint32_t, uint32_t> to_unicode; in LoadCompositeFont() local 371 to_unicode[dwGlyphIndex] = dwCurrentChar; in LoadCompositeFont() 432 CPDF_Stream* toUnicodeStream = LoadUnicode(pDoc, to_unicode); in LoadCompositeFont()
|
/external/rust/crates/idna/src/ |
D | lib.rs | 72 Config::default().to_unicode(domain) in domain_to_unicode()
|
D | uts46.rs | 495 pub fn to_unicode<'a>(&'a mut self, domain: &str, out: &mut String) -> Result<(), Errors> { in to_unicode() method 565 pub fn to_unicode(self, domain: &str) -> (String, Result<(), Errors>) { in to_unicode() method 568 let result = codec.to_unicode(domain, &mut out); in to_unicode()
|
/external/llvm-project/llvm/utils/lit/lit/ |
D | util.py | 98 def to_unicode(s): function 151 NTPath = to_unicode(r'\\?\%s' % path)
|
D | TestRunner.py | 24 from lit.util import to_bytes, to_string, to_unicode 370 dir = to_unicode(dir) if kIsWindows else to_bytes(dir) 371 cwd = to_unicode(cwd) if kIsWindows else to_bytes(cwd) 415 path = to_unicode(path) if kIsWindows else to_bytes(path) 416 cwd = to_unicode(cwd) if kIsWindows else to_bytes(cwd) 562 redir_filename = to_unicode(redir_filename) \
|