Home | History | Annotate | Download | only in runtime

Lines Matching full:chars

173 int32_t ComputeUtf16Hash(const uint16_t* chars, size_t char_count) {
176 hash = hash * 31 + *chars++;
198 uint32_t ComputeModifiedUtf8Hash(const char* chars) {
200 while (*chars != '\0') {
201 hash = hash * 31 + *chars++;
242 size_t CountUtf8Bytes(const uint16_t* chars, size_t char_count) {
244 const uint16_t *end = chars + char_count;
245 while (chars < end) {
246 const uint16_t ch = *chars++;
256 if (chars < end) {
257 const uint16_t ch2 = *chars;
262 chars++;