reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
135 unsigned utf8_encoded_len = llvm::getNumBytesForUTF8(*buffer); 137 if (1u + std::distance(buffer, buffer_end) < utf8_encoded_len) { 139 retval = {buffer, static_cast<size_t>(1 + buffer_end - buffer)}; 139 retval = {buffer, static_cast<size_t>(1 + buffer_end - buffer)}; 149 buffer, buffer_end, next); 151 codepoint = ConvertUTF8ToCodePoint((unsigned char)*buffer, 152 (unsigned char)*(buffer + 1)); 155 codepoint = ConvertUTF8ToCodePoint((unsigned char)*buffer, 156 (unsigned char)*(buffer + 1), 157 (unsigned char)*(buffer + 2)); 161 (unsigned char)*buffer, (unsigned char)*(buffer + 1), 161 (unsigned char)*buffer, (unsigned char)*(buffer + 1), 162 (unsigned char)*(buffer + 2), (unsigned char)*(buffer + 3)); 162 (unsigned char)*(buffer + 2), (unsigned char)*(buffer + 3)); 167 retval = {buffer, 1}; 168 next = buffer + 1; 206 retval = {buffer, utf8_encoded_len}; 215 next = buffer + utf8_encoded_len; 220 retval = {buffer, 1}; 221 next = buffer + 1;