Home
last modified time | relevance | path

Searched refs:UnicodeSegmentation (Results 1 – 13 of 13) sorted by relevance

/external/rust/crates/unicode-segmentation/src/
Dtest.rs11 use super::UnicodeSegmentation;
54 assert!(UnicodeSegmentation::graphemes(s, true).eq(g.iter().cloned())); in test_graphemes()
55 assert!(UnicodeSegmentation::graphemes(s, false).eq(g.iter().cloned())); in test_graphemes()
58 assert!(UnicodeSegmentation::graphemes(s, true) in test_graphemes()
61 assert!(UnicodeSegmentation::graphemes(s, false) in test_graphemes()
68 assert!(UnicodeSegmentation::graphemes(s, true).eq(gt.iter().cloned())); in test_graphemes()
69 assert!(UnicodeSegmentation::graphemes(s, false).eq(gf.iter().cloned())); in test_graphemes()
72 assert!(UnicodeSegmentation::graphemes(s, true) in test_graphemes()
75 assert!(UnicodeSegmentation::graphemes(s, false) in test_graphemes()
82 let gr_inds = UnicodeSegmentation::grapheme_indices(s, true).collect::<Vec<(usize, &str)>>(); in test_graphemes()
[all …]
Dlib.rs86 pub trait UnicodeSegmentation { interface
262 impl UnicodeSegmentation for str {
Dword.rs738 use super::UnicodeSegmentation; in new_unicode_words()
747 use super::UnicodeSegmentation; in new_unicode_word_indices()
Dsentence.rs349 use super::UnicodeSegmentation; in new_unicode_sentences()
/external/rust/crates/unicode-segmentation/benches/
Dgraphemes.rs5 use unicode_segmentation::UnicodeSegmentation;
12 for g in UnicodeSegmentation::graphemes(black_box(&*text), true) { in graphemes()
Dunicode_words.rs4 use unicode_segmentation::UnicodeSegmentation;
Dword_bounds.rs4 use unicode_segmentation::UnicodeSegmentation;
/external/rust/crates/bstr/examples/
Dwords-std.rs4 use unicode_segmentation::UnicodeSegmentation;
Dgraphemes-std.rs4 use unicode_segmentation::UnicodeSegmentation;
/external/rust/crates/heck/0.3.3/src/
Dlib.rs58 use unicode_segmentation::UnicodeSegmentation;
/external/rust/crates/heck/src/
Dlib.rs70 use unicode_segmentation::UnicodeSegmentation; in get_iterator()
/external/rust/crates/unicode-segmentation/
DREADME.md9 use unicode_segmentation::UnicodeSegmentation;
/external/rust/crates/heck/patches/
Dheck-0.3.3.diff708 +use unicode_segmentation::UnicodeSegmentation;