Searched refs:utf8_length (Results 1 – 6 of 6) sorted by relevance
538 unsigned char utf8_length = 0; in utf16_literal_to_utf8() local602 utf8_length = 1; in utf16_literal_to_utf8()607 utf8_length = 2; in utf16_literal_to_utf8()613 utf8_length = 3; in utf16_literal_to_utf8()619 utf8_length = 4; in utf16_literal_to_utf8()629 for (utf8_position = (unsigned char)(utf8_length - 1); utf8_position > 0; utf8_position--) in utf16_literal_to_utf8()636 if (utf8_length > 1) in utf16_literal_to_utf8()645 *output_pointer += utf8_length; in utf16_literal_to_utf8()
121 int utf8_length() const { in utf8_length() function
1291 uint32_t utf8_length; in ReadUtf8String() local1293 if (!ReadVarint<uint32_t>().To(&utf8_length) || in ReadUtf8String()1294 utf8_length > in ReadUtf8String()1296 !ReadRawBytes(utf8_length).To(&utf8_bytes)) { in ReadUtf8String()
5398 int utf8_length = 0; in Utf8Length() local5401 utf8_length += c >> 7; in Utf8Length()5403 utf8_length += length; in Utf8Length()5407 utf8_length += unibrow::Utf8::Length(c, last_character); in Utf8Length()5411 return utf8_length; in Utf8Length()
338 Py_ssize_t utf8_length; /* Number of bytes in utf8, excluding the member
102 (((PyCompactUnicodeObject*)(op))->utf8_length)460 assert (compact->utf8_length == ascii->length); in _PyUnicode_CheckConsistency()482 assert(compact->utf8_length == 0); in _PyUnicode_CheckConsistency()1255 compact->utf8, compact->utf8_length); in _PyUnicode_Dump()1350 unicode->utf8_length = 0; in PyUnicode_New()1354 unicode->utf8_length = 0; in PyUnicode_New()