Searched defs:utf8_length (Results 1 - 6 of 6) sorted by relevance

/external/chromium_org/ui/base/ime/
H A Dcomposition_text_util_pango.cc48 int utf8_length = strlen(utf8_text); local
57 start = std::min(start, utf8_length);
58 end = std::min(end, utf8_length);
/external/chromium_org/components/query_parser/
H A Dsnippet.cc100 // utf8_length: length of the utf8 string.
107 int32_t utf8_length,
111 DCHECK(offset >= *utf8_pos && offset <= utf8_length);
115 U8_NEXT(utf8_string, *utf8_pos, utf8_length, wide_char);
194 const int32_t utf8_length = static_cast<int32_t>(utf8_string.size()); local
197 i->first = AdvanceAndReturnUTF16Pos(utf8_cstring, utf8_length,
200 i->second = AdvanceAndReturnUTF16Pos(utf8_cstring, utf8_length,
106 AdvanceAndReturnUTF16Pos(const char* utf8_string, int32_t utf8_length, int32_t offset, int32_t* utf8_pos, size_t* utf16_pos) argument
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/utf/
H A Dunicodetext.h50 // UTF-8-encoded version of the text; 'utf8_length' returns the number
286 int utf8_length() const { return repr_.size_; } function in class:i18n::phonenumbers::UnicodeText
455 return string(t.utf8_data(), t.utf8_length());
/external/qemu/distrib/sdl-1.2.15/src/video/x11/
H A DSDL_x11events.c234 static int Utf8ToUtf16(const Uint8 *utf8, const int utf8_length, Uint16 *utf16, const int utf16_max_length) { argument
241 Uint8 const *const end_of_input = utf8 + utf8_length - 1;
/external/chromium_org/v8/src/
H A Dapi.cc4381 int utf8_length = 0; local
4384 utf8_length += *chars++ >> 7;
4387 utf8_length_ = utf8_length + length;
4392 int utf8_length = 0; local
4396 utf8_length += unibrow::Utf8::Length(c, last_character);
4399 utf8_length_ = utf8_length;
/external/chromium_org/v8/test/cctest/
H A Dtest-api.cc8174 int utf8_length = static_cast<int>(expected_len->Value()); local
8175 for (int j = utf8_length + 1; j >= 0; j--) {
8183 CHECK_GE(utf8_length + 1, utf8_written);
8184 CHECK_GE(utf8_length, utf8_written2);
8190 if (j == utf8_length + 1) {
8191 CHECK_EQ(utf8_written2, utf8_length);
8195 if (j > utf8_length) {

Completed in 271 milliseconds