Lines Matching refs:text

41   next (const uint8_t *text,  in next()
50 hb_codepoint_t c = *text++; in next()
57 if (likely (text < end && in next()
58 (t1 = text[0] - 0x80u) <= 0x3Fu)) in next()
61 text++; in next()
69 if (likely (1 < end - text && in next()
70 (t1 = text[0] - 0x80u) <= 0x3Fu && in next()
71 (t2 = text[1] - 0x80u) <= 0x3Fu)) in next()
76 text += 2; in next()
84 if (likely (2 < end - text && in next()
85 (t1 = text[0] - 0x80u) <= 0x3Fu && in next()
86 (t2 = text[1] - 0x80u) <= 0x3Fu && in next()
87 (t3 = text[2] - 0x80u) <= 0x3Fu)) in next()
92 text += 3; in next()
102 return text; in next()
106 return text; in next()
110 prev (const uint8_t *text, in prev()
115 const uint8_t *end = text--; in prev()
116 while (start < text && (*text & 0xc0) == 0x80 && end - text < 4) in prev()
117 text--; in prev()
119 if (likely (next (text, end, unicode, replacement) == end)) in prev()
120 return text; in prev()
127 strlen (const uint8_t *text) in strlen()
129 return ::strlen ((const char *) text); in strlen()
140 next (const uint16_t *text, in next()
145 hb_codepoint_t c = *text++; in next()
150 return text; in next()
157 if (text < end && ((l = *text), likely (hb_in_range (l, 0xDC00u, 0xDFFFu)))) in next()
161 text++; in next()
162 return text; in next()
168 return text; in next()
172 prev (const uint16_t *text, in prev()
177 const uint16_t *end = text--; in prev()
178 hb_codepoint_t c = *text; in prev()
183 return text; in prev()
186 if (likely (start < text && hb_in_range (c, 0xDC00u, 0xDFFFu))) in prev()
187 text--; in prev()
189 if (likely (next (text, end, unicode, replacement) == end)) in prev()
190 return text; in prev()
198 strlen (const uint16_t *text) in strlen()
201 while (*text++) l++; in strlen()
213 next (const uint32_t *text, in next()
218 hb_codepoint_t c = *text++; in next()
222 return text; in next()
226 return text; in next()
230 prev (const uint32_t *text, in prev()
235 next (text - 1, text, unicode, replacement); in prev()
236 return text - 1; in prev()
240 strlen (const uint32_t *text) in strlen()
243 while (*text++) l++; in strlen()