Lines Matching defs:cstr
215 svn_utf_cstring_utf8_width(const char *cstr)
219 if (*cstr == '\0')
223 if (!svn_utf__cstring_is_valid(cstr))
229 while (*cstr)
237 if ((*cstr & 0x80) == 0)
242 else if ((*cstr & 0xe0) == 0xc0)
247 else if ((*cstr & 0xf0) == 0xe0)
252 else if ((*cstr & 0xf8) == 0xf0)
264 ucs = (apr_uint32_t)(*cstr & lead_mask);
270 ucs |= (cstr[i] & 0x3f);
273 cstr += nbytes;