Lines Matching refs:elems
398 bool IsValidModifiedUTF8(const uint8_t *elems)
400 ASSERT(elems);
402 while (*elems != '\0') {
404 switch (*elems & 0xf0) {
415 ++elems;
426 if ((*elems & 0x08) == 0) { // NOLINT(hicpp-signed-bitwise)
428 ++elems;
429 if ((*elems & 0xc0) != 0x80) { // NOLINT(hicpp-signed-bitwise, readability-magic-numbers)
441 ++elems;
442 if ((*elems & 0xc0) != 0x80) { // NOLINT(hicpp-signed-bitwise, readability-magic-numbers)
451 ++elems;
452 if ((*elems & 0xc0) != 0x80) { // NOLINT(hicpp-signed-bitwise, readability-magic-numbers)
456 ++elems;