Lines Matching refs:context_unicode
29 const UnicodeText& context_unicode, in IsCodepointInSpan() argument
31 auto begin_it = context_unicode.begin(); in IsCodepointInSpan()
33 auto end_it = context_unicode.begin(); in IsCodepointInSpan()
40 char32 FirstSpanCodepoint(const UnicodeText& context_unicode, in FirstSpanCodepoint() argument
42 auto it = context_unicode.begin(); in FirstSpanCodepoint()
48 char32 LastSpanCodepoint(const UnicodeText& context_unicode, in LastSpanCodepoint() argument
50 auto it = context_unicode.begin(); in LastSpanCodepoint()
59 const UnicodeText context_unicode = in StripUnpairedBrackets() local
61 return StripUnpairedBrackets(context_unicode, span, unilib); in StripUnpairedBrackets()
67 CodepointSpan StripUnpairedBrackets(const UnicodeText& context_unicode, in StripUnpairedBrackets() argument
69 if (context_unicode.empty() || !ValidNonEmptySpan(span)) { in StripUnpairedBrackets()
73 const char32 begin_char = FirstSpanCodepoint(context_unicode, span); in StripUnpairedBrackets()
77 !IsCodepointInSpan(paired_begin_char, context_unicode, span)) { in StripUnpairedBrackets()
86 const char32 end_char = LastSpanCodepoint(context_unicode, span); in StripUnpairedBrackets()
90 !IsCodepointInSpan(paired_end_char, context_unicode, span)) { in StripUnpairedBrackets()