/external/chromium_org/ui/base/ime/ |
H A D | composition_text_util_pango.cc | 48 int utf8_length = strlen(utf8_text); local 57 start = std::min(start, utf8_length); 58 end = std::min(end, utf8_length);
|
/external/chromium/chrome/browser/history/ |
H A D | snippet.cc | 99 // utf8_length: length of the utf8 string. 106 int32_t utf8_length, 110 DCHECK(offset >= *utf8_pos && offset <= utf8_length); 114 U8_NEXT(utf8_string, *utf8_pos, utf8_length, wide_char); 193 const int32_t utf8_length = static_cast<int32_t>(utf8_string.size()); local 196 i->first = AdvanceAndReturnUTF16Pos(utf8_cstring, utf8_length, 198 i->second = AdvanceAndReturnUTF16Pos(utf8_cstring, utf8_length, 105 AdvanceAndReturnUTF16Pos(const char* utf8_string, int32_t utf8_length, int32_t offset, int32_t* utf8_pos, size_t* utf16_pos) argument
|
/external/chromium_org/chrome/browser/history/ |
H A D | snippet.cc | 99 // utf8_length: length of the utf8 string. 106 int32_t utf8_length, 110 DCHECK(offset >= *utf8_pos && offset <= utf8_length); 114 U8_NEXT(utf8_string, *utf8_pos, utf8_length, wide_char); 193 const int32_t utf8_length = static_cast<int32_t>(utf8_string.size()); local 196 i->first = AdvanceAndReturnUTF16Pos(utf8_cstring, utf8_length, 198 i->second = AdvanceAndReturnUTF16Pos(utf8_cstring, utf8_length, 105 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 D | unicodetext.h | 50 // 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 D | SDL_x11events.c | 234 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/v8/src/ |
H A D | log.cc | 460 int utf8_length = Min(str->length(), kUtf8BufferSize - utf8_pos_); local 461 String::WriteToFlat(str, utf8_buffer_ + utf8_pos_, 0, utf8_length); 462 utf8_pos_ += utf8_length;
|
/external/chromium_org/v8/src/ |
H A D | api.cc | 4465 int utf8_length = 0; local 4468 utf8_length += *chars++ >> 7; 4471 utf8_length_ = utf8_length + length; 4476 int utf8_length = 0; local 4480 utf8_length += unibrow::Utf8::Length(c, last_character); 4483 utf8_length_ = utf8_length;
|
/external/v8/test/cctest/ |
H A D | test-api.cc | 5804 int utf8_length = static_cast<int>(expected_len->Value()); local 5805 for (int j = utf8_length + 1; j >= 0; j--) { 5813 CHECK_GE(utf8_length + 1, utf8_written); 5814 CHECK_GE(utf8_length, utf8_written2); 5820 if (j == utf8_length + 1) { 5821 CHECK_EQ(utf8_written2, utf8_length); 5825 if (j > utf8_length) {
|
/external/chromium_org/v8/test/cctest/ |
H A D | test-api.cc | 7799 int utf8_length = static_cast<int>(expected_len->Value()); local 7800 for (int j = utf8_length + 1; j >= 0; j--) { 7808 CHECK_GE(utf8_length + 1, utf8_written); 7809 CHECK_GE(utf8_length, utf8_written2); 7815 if (j == utf8_length + 1) { 7816 CHECK_EQ(utf8_written2, utf8_length); 7820 if (j > utf8_length) {
|