Home
last modified time | relevance | path

Searched refs:grapheme_category (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/unicode-segmentation/src/
Dgrapheme.rs312 fn grapheme_category(&mut self, ch: char) -> GraphemeCat { in grapheme_category() method
334 self.grapheme_cat_cache = gr::grapheme_category(ch); in grapheme_category()
410 if self.grapheme_category(ch) == gr::GC_Prepend { in provide_context()
421 self.cat_before = Some(self.grapheme_category(ch)); in provide_context()
460 if self.grapheme_category(ch) != gr::GC_Regional_Indicator { in handle_regional()
481 if self.grapheme_category(ch) != gr::GC_ZWJ { in handle_emoji()
487 match self.grapheme_category(ch) { in handle_emoji()
554 self.cat_after = Some(self.grapheme_category(ch)); in is_boundary()
570 self.cat_before = Some(self.grapheme_category(ch)); in is_boundary()
639 self.cat_after = Some(self.grapheme_category(ch)); in next_boundary()
[all …]
Dtables.rs389 pub fn grapheme_category(c: char) -> (u32, u32, GraphemeCat) { in grapheme_category() function