Searched refs:UnicodeSegmentation (Results 1 – 13 of 13) sorted by relevance
/external/rust/crates/unicode-segmentation/src/ |
D | test.rs | 11 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 …]
|
D | lib.rs | 86 pub trait UnicodeSegmentation { interface 262 impl UnicodeSegmentation for str {
|
D | word.rs | 738 use super::UnicodeSegmentation; in new_unicode_words() 747 use super::UnicodeSegmentation; in new_unicode_word_indices()
|
D | sentence.rs | 349 use super::UnicodeSegmentation; in new_unicode_sentences()
|
/external/rust/crates/unicode-segmentation/benches/ |
D | graphemes.rs | 5 use unicode_segmentation::UnicodeSegmentation; 12 for g in UnicodeSegmentation::graphemes(black_box(&*text), true) { in graphemes()
|
D | unicode_words.rs | 4 use unicode_segmentation::UnicodeSegmentation;
|
D | word_bounds.rs | 4 use unicode_segmentation::UnicodeSegmentation;
|
/external/rust/crates/bstr/examples/ |
D | words-std.rs | 4 use unicode_segmentation::UnicodeSegmentation;
|
D | graphemes-std.rs | 4 use unicode_segmentation::UnicodeSegmentation;
|
/external/rust/crates/heck/0.3.3/src/ |
D | lib.rs | 58 use unicode_segmentation::UnicodeSegmentation;
|
/external/rust/crates/heck/src/ |
D | lib.rs | 70 use unicode_segmentation::UnicodeSegmentation; in get_iterator()
|
/external/rust/crates/unicode-segmentation/ |
D | README.md | 9 use unicode_segmentation::UnicodeSegmentation;
|
/external/rust/crates/heck/patches/ |
D | heck-0.3.3.diff | 708 +use unicode_segmentation::UnicodeSegmentation;
|