Lines Matching refs:text

38   next (const uint8_t *text,  in next()
47 hb_codepoint_t c = *text++; in next()
54 if (likely (text < end && in next()
55 (t1 = text[0] - 0x80u) <= 0x3Fu)) in next()
58 text++; in next()
66 if (likely (1 < end - text && in next()
67 (t1 = text[0] - 0x80u) <= 0x3Fu && in next()
68 (t2 = text[1] - 0x80u) <= 0x3Fu)) in next()
73 text += 2; in next()
81 if (likely (2 < end - text && in next()
82 (t1 = text[0] - 0x80u) <= 0x3Fu && in next()
83 (t2 = text[1] - 0x80u) <= 0x3Fu && in next()
84 (t3 = text[2] - 0x80u) <= 0x3Fu)) in next()
89 text += 3; in next()
99 return text; in next()
103 return text; in next()
107 prev (const uint8_t *text, in prev()
112 const uint8_t *end = text--; in prev()
113 while (start < text && (*text & 0xc0) == 0x80 && end - text < 4) in prev()
114 text--; in prev()
116 if (likely (next (text, end, unicode, replacement) == end)) in prev()
117 return text; in prev()
124 strlen (const uint8_t *text) in strlen()
126 return ::strlen ((const char *) text); in strlen()
136 next (const uint16_t *text, in next()
141 hb_codepoint_t c = *text++; in next()
146 return text; in next()
149 if (likely (c <= 0xDBFFu && text < end)) in next()
152 hb_codepoint_t l = *text; in next()
157 text++; in next()
158 return text; in next()
164 return text; in next()
168 prev (const uint16_t *text, in prev()
173 hb_codepoint_t c = *--text; in prev()
178 return text; in prev()
181 if (likely (c >= 0xDC00u && start < text)) in prev()
184 hb_codepoint_t h = text[-1]; in prev()
189 text--; in prev()
190 return text; in prev()
196 return text; in prev()
201 strlen (const uint16_t *text) in strlen()
204 while (*text++) l++; in strlen()
216 next (const uint32_t *text, in next()
221 hb_codepoint_t c = *unicode = *text++; in next()
224 return text; in next()
228 prev (const uint32_t *text, in prev()
233 hb_codepoint_t c = *unicode = *--text; in prev()
236 return text; in prev()
240 strlen (const uint32_t *text) in strlen()
243 while (*text++) l++; in strlen()
254 next (const uint8_t *text, in next()
259 *unicode = *text++; in next()
260 return text; in next()
264 prev (const uint8_t *text, in prev()
269 *unicode = *--text; in prev()
270 return text; in prev()
274 strlen (const uint8_t *text) in strlen()
277 while (*text++) l++; in strlen()